Movatterモバイル変換


[0]ホーム

URL:


CN120256007A - Display method and related equipment - Google Patents

Display method and related equipment
Download PDF

Info

Publication number
CN120256007A
CN120256007ACN202510397915.9ACN202510397915ACN120256007ACN 120256007 ACN120256007 ACN 120256007ACN 202510397915 ACN202510397915 ACN 202510397915ACN 120256007 ACN120256007 ACN 120256007A
Authority
CN
China
Prior art keywords
target
control
target object
application
display
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202510397915.9A
Other languages
Chinese (zh)
Inventor
刘学鹏
刘鑫
沈艳
张阳阳
鹿一鸣
张超
李英杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
BOE Technology Group Co Ltd
Original Assignee
BOE Technology Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by BOE Technology Group Co LtdfiledCriticalBOE Technology Group Co Ltd
Priority to CN202510397915.9ApriorityCriticalpatent/CN120256007A/en
Publication of CN120256007ApublicationCriticalpatent/CN120256007A/en
Pendinglegal-statusCriticalCurrent

Links

Landscapes

Abstract

The application provides a display method and related equipment, which can select applications, tools or menus without the need of a user to move positions. Especially, when being applied to large-screen display equipment, greatly promote user and use equipment efficiency, also can promote user experience. The method comprises the steps of detecting the position of a target object, determining an associated display area corresponding to the target object based on the position of the target object, wherein the associated display area is a range for displaying a first menu, and displaying the first menu in the associated display area corresponding to the target object.

Description

Display method and related equipment
Technical Field
The present application relates to the field of electronic technologies, and in particular, to a display method and related devices.
Background
As the user's demand for large screen display devices increases, display devices, such as 75,85,98,110,135 inches, are increasingly used by users. In a conference scenario, during use of a large screen display device, as shown in fig. 1, a user may need to walk to a location to be able to click on an application, tool, or menu displayed on the screen.
Disclosure of Invention
The application provides a display method and related equipment, which can select applications, tools or menus without the need of a user to move positions. Especially, when being applied to large-screen display equipment, greatly promote user and use equipment efficiency, also can promote user experience.
In a first aspect, an embodiment of the present application provides a display method, which may be applied to a display device, where the method includes:
Detecting the position of a target object;
determining an associated display area corresponding to the target object based on the position of the target object, wherein the associated display area is a range for displaying a first menu;
and displaying the first menu in the associated display area corresponding to the target object.
In a possible implementation manner, in the display method provided by the embodiment of the present application, the target object is a controlled window, and determining, based on the position of the target object, an associated display area corresponding to the target object includes:
And determining an associated display area corresponding to the target object based on the position of the controlled window.
In a possible implementation manner, in the display method provided by the embodiment of the present application, the determining, based on the position of the controlled window, the associated display area of the target object includes:
and determining an associated display area of the target object based on the position of the target boundary of the controlled window.
In a possible implementation manner, in the display method provided by the embodiment of the present application, the area size of the associated display area is preconfigured.
In a possible implementation manner, in the display method provided by the embodiment of the present application, the target boundary is a preset boundary of the controlled window, or
The target boundary is a boundary meeting a preset condition in all boundaries of the controlled window, wherein the preset condition is any one of the following conditions:
The distance between each boundary and the ground is the smallest;
the distance between each boundary and the most recent user operation occurrence position is the smallest among the distances between the target boundary and the most recent user operation occurrence positions;
and in all the boundaries, any display object does not exist in a target range of one side of the target boundary far away from the controlled window.
In a possible implementation manner, in the display method provided by the embodiment of the present application, the determining, based on the position of the controlled window, the associated display area of the target object includes:
and determining an associated display area of the target object based on the position of the vertex of the controlled window.
In a possible implementation manner, in the display method provided by the embodiment of the application, the target object is a user, and the position of the target object is determined based on the image including the user acquired by the image acquisition device.
In a possible implementation manner, in the display method provided by the embodiment of the present application, the method further includes:
and in response to detecting that the position of the target object is updated, updating an associated display area corresponding to the target object based on the updated position of the target object, and displaying the first menu in the updated associated display area.
In a possible implementation manner, in the display method provided by the embodiment of the present application, the first menu includes at least one fixed function control, where a function of the fixed function control is preconfigured.
In a possible implementation manner, in the display method provided by the embodiment of the present application, the first menu includes at least one first control.
In a possible implementation manner, in the display method provided by the embodiment of the present application, the at least one first control is determined based on the display content corresponding to the target object.
In a possible implementation manner, in the display method provided by the embodiment of the present application, when the detected target objects are different, the first controls included in the first menu are different.
In a possible implementation manner, in the display method provided by the embodiment of the present application, the target object is a controlled window, and the display content corresponding to the target object refers to the content in the controlled window.
In a possible implementation manner, in the display method provided by the embodiment of the present application, the target object is a user, and the display content corresponding to the target object is content in a use area of the user.
In a possible implementation manner, in the display method provided by the embodiment of the present application, the displaying, in an associated display area corresponding to the target object, a first menu corresponding to the target object includes:
Displaying a second menu in the associated display area corresponding to the target object, wherein the second menu comprises at least one second control;
And responding to the operation of the target second control, and displaying the first menu in the associated display area corresponding to the target object.
In a possible implementation manner, in the display method provided by the embodiment of the present application, the display content corresponding to the target object includes one or more of the following:
a launch control for the application, a window for the application;
one of the first controls corresponds to any one of the following:
a function of a launch control of the application and a partial function of the application.
In a possible implementation manner, in the display method provided by the embodiment of the application, the display content corresponding to the target object comprises a starting control of the target application program, and the at least one first control comprises a target first control corresponding to the function of the starting control of the target application program;
the method further comprises the steps of:
in response to an operation on a target first control, a simulated click event for a launch control of the target application is generated.
In a possible implementation manner, in the display method provided by the embodiment of the application, the display content corresponding to the target object comprises a window of a target application program, and the at least one first control comprises a target first control corresponding to part of functions of the target application program;
And responding to the operation of the target first control, and triggering part of functions of the target application program.
In a possible implementation manner, in the display method provided by the embodiment of the application, the display content corresponding to the target object comprises a window of a target application program, the at least one first control comprises a target first control, and the target first control corresponds to part of functions of the target application program;
the responding to the operation of the target first control triggers part of functions of the target application program, and the method comprises the following steps:
And responding to the operation of the target first control, and generating a simulated click event in a window of the target application program based on the simulated click position so as to trigger part of functions of the target application program.
In a possible implementation manner, in the display method provided by the embodiment of the application, the display content corresponding to the target object comprises a window of a target application program, and the at least one first control comprises a target first control corresponding to part of functions of the target application program;
the responding to the operation of the target first control triggers part of functions of the target application program, and the method comprises the following steps:
In response to operation of the target first control, generating a plurality of simulated click events in sequence in a window of the target application program to trigger a part of functions of the target application program.
In a possible implementation manner, in the display method provided by the embodiment of the present application, part of functions of the target application program correspond to a plurality of simulated click positions with a preset arrangement order;
The generating a plurality of simulated click events in sequence in the window of the target application program comprises the following steps:
And in the window of the target application program, simulating clicking positions according to the plurality of the simulated clicking positions with the preset arrangement order, and generating a plurality of simulated clicking events.
In a possible implementation manner, in the display method provided by the embodiment of the present application, the portion of the target application program is a target function, and the plurality of simulated click positions corresponding to the target function and having a preset arrangement order are determined by adopting the following manner:
Responding to the operation of the target application program, and displaying an interface screenshot;
And identifying the controls in the screenshot by utilizing a pre-trained identification model, and determining the positions of a plurality of identified third controls serving as the plurality of simulated click positions with the preset arrangement sequence, wherein the plurality of third controls are used for triggering the target function in the target application program.
In a possible implementation manner, in the display method provided by the embodiment of the present application, a part of functions of the application program are determined based on usage conditions of each function in the application program;
the use cases of the functions include any one of the following:
The method comprises the steps of using frequency of each function in the current device, using frequency of each function provided by an application program provider, and using frequency of each function in the application program by a user using the current device.
In a possible implementation manner, in the display method provided by the embodiment of the present application, the at least one first control is determined based on the intention of the target user.
In a possible implementation manner, in the display method provided by the embodiment of the present application, the method further includes:
And determining a first control in the first menu based on the display content corresponding to the target object and the target user intention.
In a possible implementation manner, in the display method provided by the embodiment of the present application, the method further includes:
determining a target scene based on the display content corresponding to the target object;
determining the target user intention based on the target scene and a target operation of the display device by a user.
In a possible implementation manner, in the display method provided by the embodiment of the present application, the display content corresponding to the target object includes one or more of the following:
a launch control for the application, a window for the application;
the method further comprises the steps of:
matching each function of each application program in the display content corresponding to the target object with the target user intention, wherein the matching result comprises the function of a starting control of at least one application program and/or part of the functions of at least one application program;
And determining a first control in the first menu based on the function in the matching result.
In a possible implementation manner, in the display method provided by the embodiment of the present application, display content corresponding to the target object is provided by a screen-throwing sending end;
the method further comprises the steps of:
Determining a first coordinate mapping relation based on first coordinate information and second coordinate information, wherein the first coordinate information is coordinate information of the display content when the screen projection transmitting end displays the display content with a target resolution, and the second coordinate information is coordinate information of the display content when the display device displays the display content with the target resolution;
and determining a second coordinate mapping relation based on third coordinate information of the display content and the second coordinate information when the display device currently displays the display content.
In a possible implementation manner, in the display method provided by the embodiment of the present application, the at least one first control includes a target first control, and the target first control corresponds to a function of a start control of a target application program;
the method further comprises the steps of:
and responding to the operation of the target first control, acquiring a first coordinate of a starting control of the target first application program in a display interface of the display equipment, determining a second coordinate corresponding to the first coordinate based on the first coordinate mapping relation and the second coordinate mapping relation, and sending the second coordinate to the screen throwing sending end so that the screen throwing sending end can generate a simulated click event corresponding to the second coordinate.
In a possible implementation manner, in the display method provided by the embodiment of the present application, the at least one first control includes a target first control, where the target first control corresponds to a part of functions of a target application program;
the method further comprises the steps of:
Responding to the operation of the target first control, determining third coordinates corresponding to each simulated click position based on the first coordinate mapping relation and the second coordinate mapping relation, providing the third coordinates corresponding to each simulated click position for the screen throwing sending end and indicating the sequence corresponding to each simulated click position, so that the screen throwing sending end sequentially generates simulated click events of the third coordinates corresponding to each simulated click position according to the sequence
In a possible implementation manner, in the display method provided by the embodiment of the present application, the number of detected target objects is a plurality of;
displaying a first menu corresponding to the target object in an associated display area corresponding to the target object, wherein the first menu comprises:
And displaying a first menu corresponding to any one of the detected target objects in an associated display area corresponding to the any one of the target objects.
In a possible implementation manner, in the display method provided by the embodiment of the present application, the method further includes:
And determining a controlled area corresponding to the any target object based on the position of the any target object, wherein the first menu corresponding to the any target object is generated based on the content in the controlled area corresponding to the any target object.
In a second aspect, the present application provides a display method, which may be applied to a display device, the display method may include:
Detecting the position of a target object;
Determining display content corresponding to the target object based on the position of the target object;
determining a first menu corresponding to the target object based on the display content corresponding to the target object;
and displaying the first menu.
In a possible implementation manner, in the display method provided by the embodiment of the present application, the target object is a controlled window. The position of the target object is the position of the controlled window. When the controlled window is switched, the switched controlled window is used as a target object.
In a possible implementation manner, in the display method provided by the embodiment of the application, the target object is a user, and the position of the target object is determined based on the image including the user acquired by the image acquisition device.
In a possible implementation manner, in the display method provided by the embodiment of the present application, the method further includes:
and in response to detecting that the position of the target object is updated, updating display content corresponding to the target object based on the updated position of the target object, updating the first menu, and displaying the updated first menu.
In a possible implementation manner, in the display method provided by the embodiment of the present application, the first menu includes at least one fixed function control, where a function of the fixed function control is preconfigured.
In a possible implementation manner, in the display method provided by the embodiment of the present application, the first menu includes at least one first control.
In a possible implementation manner, in the display method provided by the embodiment of the present application, the at least one first control is determined based on the display content corresponding to the target object.
In a possible implementation manner, in the display method provided by the embodiment of the present application, when the detected target objects are different, the first controls included in the first menu are different.
In a possible implementation manner, in the display method provided by the embodiment of the present application, the target object is a controlled window, and the display content corresponding to the target object refers to the content in the controlled window.
In a possible implementation manner, in the display method provided by the embodiment of the present application, the target object is a user, and the display content corresponding to the target object is content in a use area of the user.
In a possible implementation manner, in the display method provided by the embodiment of the present application, the method further includes:
Displaying a second menu, the second menu comprising at least one second control;
and responding to the operation of the target second control, and displaying the first menu.
In a possible implementation manner, in the display method provided by the embodiment of the present application, the display content corresponding to the target object includes one or more of the following:
a launch control for the application, a window for the application;
one of the first controls corresponds to any one of the following:
a function of a launch control of the application and a partial function of the application.
In a possible implementation manner, in the display method provided by the embodiment of the application, the display content corresponding to the target object comprises a starting control of the target application program, and the at least one first control comprises a target first control corresponding to the function of the starting control of the target application program;
the method further comprises the steps of:
in response to an operation on a target first control, a simulated click event for a launch control of the target application is generated.
In a possible implementation manner, in the display method provided by the embodiment of the application, the display content corresponding to the target object comprises a window of a target application program, and the at least one first control comprises a target first control corresponding to part of functions of the target application program;
And responding to the operation of the target first control, and triggering part of functions of the target application program.
In a possible implementation manner, in the display method provided by the embodiment of the application, the display content corresponding to the target object comprises a window of a target application program, the at least one first control comprises a target first control, and the target first control corresponds to part of functions of the target application program;
the responding to the operation of the target first control triggers part of functions of the target application program, and the method comprises the following steps:
And responding to the operation of the target first control, and generating a simulated click event in a window of the target application program based on the simulated click position so as to trigger part of functions of the target application program.
In a possible implementation manner, in the display method provided by the embodiment of the application, the display content corresponding to the target object comprises a window of a target application program, and the at least one first control comprises a target first control corresponding to part of functions of the target application program;
the responding to the operation of the target first control triggers part of functions of the target application program, and the method comprises the following steps:
In response to operation of the target first control, generating a plurality of simulated click events in sequence in a window of the target application program to trigger a part of functions of the target application program.
In a possible implementation manner, in the display method provided by the embodiment of the present application, part of functions of the target application program correspond to a plurality of simulated click positions with a preset arrangement order;
The generating a plurality of simulated click events in sequence in the window of the target application program comprises the following steps:
And in the window of the target application program, simulating clicking positions according to the plurality of the simulated clicking positions with the preset arrangement order, and generating a plurality of simulated clicking events.
In a possible implementation manner, in the display method provided by the embodiment of the present application, the portion of the target application program is a target function, and the plurality of simulated click positions corresponding to the target function and having a preset arrangement order are determined by adopting the following manner:
Responding to the operation of the target application program, and displaying an interface screenshot;
And identifying the controls in the screenshot by utilizing a pre-trained identification model, and determining the positions of a plurality of identified third controls serving as the plurality of simulated click positions with the preset arrangement sequence, wherein the plurality of third controls are used for triggering the target function in the target application program.
In a possible implementation manner, in the display method provided by the embodiment of the present application, a part of functions of the application program are determined based on usage conditions of each function in the application program;
the use cases of the functions include any one of the following:
The method comprises the steps of using frequency of each function in the current device, using frequency of each function provided by an application program provider, and using frequency of each function in the application program by a user using the current device.
In a possible implementation manner, in the display method provided by the embodiment of the present application, the at least one first control is determined based on the intention of the target user.
In a possible implementation manner, in the display method provided by the embodiment of the present application, the method further includes:
And determining a first control in the first menu based on the display content corresponding to the target object and the target user intention.
In a possible implementation manner, in the display method provided by the embodiment of the present application, the method further includes:
determining a target scene based on the display content corresponding to the target object;
determining the target user intention based on the target scene and a target operation of the display device by a user.
In a possible implementation manner, in the display method provided by the embodiment of the present application, the display content corresponding to the target object includes one or more of the following:
a launch control for the application, a window for the application;
the method further comprises the steps of:
matching each function of each application program in the display content corresponding to the target object with the target user intention, wherein the matching result comprises the function of a starting control of at least one application program and/or part of the functions of at least one application program;
And determining a first control in the first menu based on the function in the matching result.
In a possible implementation manner, in the display method provided by the embodiment of the present application, display content corresponding to the target object is provided by a screen-throwing sending end;
the method further comprises the steps of:
Determining a first coordinate mapping relation based on first coordinate information and second coordinate information, wherein the first coordinate information is coordinate information of the display content when the screen projection transmitting end displays the display content with a target resolution, and the second coordinate information is coordinate information of the display content when the display device displays the display content with the target resolution;
and determining a second coordinate mapping relation based on third coordinate information of the display content and the second coordinate information when the display device currently displays the display content.
In a possible implementation manner, in the display method provided by the embodiment of the present application, the at least one first control includes a target first control, and the target first control corresponds to a function of a start control of a target application program;
the method further comprises the steps of:
and responding to the operation of the target first control, acquiring a first coordinate of a starting control of the target first application program in a display interface of the display equipment, determining a second coordinate corresponding to the first coordinate based on the first coordinate mapping relation and the second coordinate mapping relation, and sending the second coordinate to the screen throwing sending end so that the screen throwing sending end can generate a simulated click event corresponding to the second coordinate.
In a possible implementation manner, in the display method provided by the embodiment of the present application, the at least one first control includes a target first control, where the target first control corresponds to a part of functions of a target application program;
the method further comprises the steps of:
Responding to the operation of the target first control, determining third coordinates corresponding to each simulated click position based on the first coordinate mapping relation and the second coordinate mapping relation, providing the third coordinates corresponding to each simulated click position for the screen throwing sending end and indicating the sequence corresponding to each simulated click position, so that the screen throwing sending end sequentially generates simulated click events of the third coordinates corresponding to each simulated click position according to the sequence
In a possible implementation manner, in the display method provided by the embodiment of the present application, the number of detected target objects is a plurality of;
and displaying a first menu corresponding to any one of the detected target objects based on the position corresponding to the any one of the target objects.
In a possible implementation manner, based on the position corresponding to any target object, an associated display area corresponding to the target object is determined, and the associated display area corresponding to the target object displays a first menu corresponding to the target object.
In a possible implementation manner, in the display method provided by the embodiment of the present application, the method further includes:
And determining a controlled area corresponding to the any target object based on the position of the any target object, wherein the first menu corresponding to the any target object is generated based on the content in the controlled area corresponding to the any target object.
In a third aspect, the present application further provides a display device, including a display module and a processing module;
The display module is used for displaying the content;
the processing module is configured to perform a display method as provided in the first aspect and any implementation manner thereof.
In one possible implementation, a display device may include a display module and a processing module;
The display module is used for displaying the content;
The processing module is used for:
Detecting the position of a target object;
determining an associated display area corresponding to the target object based on the position of the target object, wherein the associated display area is a range for displaying a first menu;
And enabling the display module to display the first menu in the associated display area corresponding to the target object.
In a possible implementation manner, in the display device provided by the embodiment of the present application, the target object is a controlled window, and the processing module determines, based on the position of the target object, an associated display area corresponding to the target object, where the associated display area is specifically configured to:
And determining an associated display area corresponding to the target object based on the position of the controlled window.
In a possible implementation manner, in the display device provided by the embodiment of the present application, the processing module determines, based on the position of the controlled window, an associated display area of the target object, and is specifically configured to:
and determining an associated display area of the target object based on the position of the target boundary of the controlled window.
In a possible implementation manner, in the display device provided by the embodiment of the present application, a region size of the associated display region is preconfigured.
In a possible implementation manner, in the display device provided by the embodiment of the present application,
The target boundary is the preset boundary of the controlled window, or
The target boundary is a boundary meeting a preset condition in all boundaries of the controlled window, wherein the preset condition is any one of the following conditions:
The distance between each boundary and the ground is the smallest;
the distance between each boundary and the most recent user operation occurrence position is the smallest among the distances between the target boundary and the most recent user operation occurrence positions;
and in all the boundaries, any display object does not exist in a target range of one side of the target boundary far away from the controlled window.
In a possible implementation manner, in the display device provided by the embodiment of the present application, the determining, based on the position of the controlled window, the associated display area of the target object includes:
and determining an associated display area of the target object based on the position of the vertex of the controlled window.
In a possible implementation manner, in the display device provided by the embodiment of the application, the target object is a user, and the position of the target object is determined based on the image including the user acquired by the image acquisition device.
In a possible implementation manner, in the display device provided by the embodiment of the present application, the processing module is further configured to:
and in response to detecting that the position of the target object is updated, updating an associated display area corresponding to the target object based on the updated position of the target object, and displaying the first menu in the updated associated display area.
In a possible implementation manner, in the display device provided by the embodiment of the present application, the first menu includes at least one fixed function control, where a function of the fixed function control is preconfigured.
In a possible implementation manner, in the display device provided by the embodiment of the present application, the first menu includes at least one first control.
In a possible implementation manner, in the display device provided by the embodiment of the present application, the at least one first control is determined based on the display content corresponding to the target object.
In a possible implementation manner, in the display device provided by the embodiment of the present application, when the detected target objects are different, the first controls included in the first menu are different.
In a possible implementation manner, in the display device provided by the embodiment of the present application, the target object is a controlled window, and the display content corresponding to the target object refers to the content in the controlled window.
In a possible implementation manner, in the display device provided by the embodiment of the present application, the target object is a user, and the display content corresponding to the target object is content in a use area of the user.
In a possible implementation manner, in the display device provided by the embodiment of the present application, the processing module is configured to display, in an associated display area corresponding to the target object, a first menu corresponding to the target object, where the first menu is specifically configured to:
Displaying a second menu in the associated display area corresponding to the target object, wherein the second menu comprises at least one second control;
And responding to the operation of the target second control, and displaying the first menu in the associated display area corresponding to the target object.
In a possible implementation manner, in the display device provided by the embodiment of the present application, the display content corresponding to the target object includes one or more of the following:
a launch control for the application, a window for the application;
the first control corresponds to any one of the following:
a function of a launch control of the application and a partial function of the application.
In a possible implementation manner, in the display device provided by the embodiment of the present application, a part of functions of the application program are triggered based on a control in the application program.
In a possible implementation manner, in the display device provided by the embodiment of the application, the display content corresponding to the target object includes a start control of the target application program, and the at least one first control includes a target first control corresponding to a function of the start control of the target application program;
the processing module is further configured to:
and calling an interface for starting the target application program in response to the operation of the target first control.
In a possible implementation manner, in the display device provided by the embodiment of the application, the display content corresponding to the target object includes a start control of the target application program, and the at least one first control includes a target first control corresponding to a function of the start control of the target application program;
the processing module is further configured to:
in response to an operation on a target first control, a simulated click event for a launch control of the target application is generated.
In a possible implementation manner, in the display device provided by the embodiment of the application, the display content corresponding to the target object includes a window of a target application program, and the at least one first control includes a target first control, where the target first control corresponds to a part of functions of the target application program;
the processing module is further configured to:
And responding to the operation of the target first control, and triggering part of functions of the target application program.
In a possible implementation manner, in the display device provided by the embodiment of the application, the display content corresponding to the target object comprises a window of a target application program, the at least one first control comprises a target first control, and the target first control corresponds to part of functions of the target application program;
The processing module is used for responding to the operation of the target first control and triggering part of functions of the target application program, and the processing module is specifically used for:
And responding to the operation of the target first control, and generating a simulated click event in a window of the target application program based on the simulated click position so as to trigger part of functions of the target application program.
In a possible implementation manner, in the display device provided by the embodiment of the application, the display content corresponding to the target object includes a window of a target application program, and the at least one first control includes a target first control, where the target first control corresponds to a part of functions of the target application program;
The processing module is used for responding to the operation of the target first control and triggering part of functions of the target application program, and the processing module is specifically used for:
In response to operation of the target first control, generating a plurality of simulated click events in sequence in a window of the target application program to trigger a part of functions of the target application program.
In a possible implementation manner, in the display device provided by the embodiment of the present application, part of functions of the target application program correspond to a plurality of simulated click positions with a preset arrangement order;
the processing module generates a plurality of simulated click events in sequence in a window of the target application program, and the simulated click events are specifically used for:
And in the window of the target application program, simulating clicking positions according to the plurality of the simulated clicking positions with the preset arrangement order, and generating a plurality of simulated clicking events.
In a possible implementation manner, in the display device provided by the embodiment of the present application, the portion of the target application program is a target function, and the plurality of simulated click positions corresponding to the target function and having a preset arrangement order are determined by adopting the following manner:
Responding to the operation of the target application program, and displaying an interface screenshot;
And identifying the controls in the screenshot by utilizing a pre-trained identification model, and determining the positions of a plurality of identified third controls serving as the plurality of simulated click positions with the preset arrangement sequence, wherein the plurality of third controls are used for triggering the target function in the target application program.
In a possible implementation manner, in the display device provided by the embodiment of the present application, a part of functions of the application program are determined based on usage conditions of each function in the application program;
the use cases of the functions include any one of the following:
The method comprises the steps of using frequency of each function in the current device, using frequency of each function provided by an application program provider, and using frequency of each function in the application program by a user using the current device.
In a possible implementation manner, in the display device provided by the embodiment of the present application, the at least one first control is determined based on the intention of the target user.
In a possible implementation manner, in the display device provided by the embodiment of the present application, the processing module is further configured to:
And determining a first control in the first menu based on the display content corresponding to the target object and the target user intention.
In a possible implementation manner, in the display device provided by the embodiment of the present application, the processing module is further configured to:
determining a target scene based on the display content corresponding to the target object;
determining the target user intention based on the target scene and a target operation of the display device by a user.
In a possible implementation manner, in the display device provided by the embodiment of the present application, the display content corresponding to the target object includes one or more of the following:
a launch control for the application, a window for the application;
the processing module is further configured to:
matching each function of each application program in the display content corresponding to the target object with the target user intention, wherein the matching result comprises the function of a starting control of at least one application program and/or part of the functions of at least one application program;
And determining a first control in the first menu based on the function in the matching result.
In a possible implementation manner, in the display device provided by the embodiment of the present application, display content corresponding to the target object is provided by a screen-throwing sending end;
the processing module is further configured to:
Determining a first coordinate mapping relation based on first coordinate information and second coordinate information, wherein the first coordinate information is coordinate information of the display content when the screen projection transmitting end displays the display content with a target resolution, and the second coordinate information is coordinate information of the display content when the display device displays the display content with the target resolution;
and determining a second coordinate mapping relation based on third coordinate information of the display content and the second coordinate information when the display device currently displays the display content.
In a possible implementation manner, in the display device provided by the embodiment of the present application, the at least one first control includes a target first control, and the target first control corresponds to a function of a start control of a target application program;
the processing module is further configured to:
and responding to the operation of the target first control, acquiring a first coordinate of a starting control of the target first application program in a display interface of the display equipment, determining a second coordinate corresponding to the first coordinate based on the first coordinate mapping relation and the second coordinate mapping relation, and sending the second coordinate to the screen throwing sending end so that the screen throwing sending end can generate a simulated click event corresponding to the second coordinate.
In a possible implementation manner, in the display device provided by the embodiment of the present application, the at least one first control includes a target first control, where the target first control corresponds to a part of functions of a target application program;
the processing module is further configured to:
Responding to the operation of the target first control, determining third coordinates corresponding to each simulated click position based on the first coordinate mapping relation and the second coordinate mapping relation, providing the third coordinates corresponding to each simulated click position for the screen throwing sending end and indicating the sequence corresponding to each simulated click position, so that the screen throwing sending end sequentially generates simulated click events of the third coordinates corresponding to each simulated click position according to the sequence
In a possible implementation manner, in the display device provided by the embodiment of the present application, the number of detected target objects is a plurality of;
Displaying the first menu in the associated display area corresponding to the target object, wherein the first menu comprises:
And displaying a first menu corresponding to any one of the detected target objects in an associated display area corresponding to the any one of the target objects.
In a possible implementation manner, in the display device provided by the embodiment of the present application, the processing module is further configured to:
And determining a controlled area corresponding to the any target object based on the position of the any target object, wherein the first menu corresponding to the any target object is generated based on the content in the controlled area corresponding to the any target object.
In a fourth aspect, the present application further provides a display device, including a display module and a processing module;
The display module is used for displaying the content;
the processing module is configured to perform a display method as provided in the second aspect and any one of its embodiments.
In a fifth aspect, the present application also provides a display system, the system including an electronic device and a display device;
the electronic equipment provides screen throwing content for the display equipment;
the display device is configured to perform a display method as provided in the first aspect and any implementation manner thereof.
In a sixth aspect, the present application also provides a display system, the system including an electronic device and a display device;
the electronic equipment provides screen throwing content for the display equipment;
The display device is configured to perform a display method as provided in the second aspect and any one of its embodiments.
In a seventh aspect, the present application also provides a computer readable storage medium comprising a computer program for causing an electronic device to perform the steps of the display method as provided in the first aspect and any one of its embodiments, when the computer program is run on the electronic device.
In an eighth aspect, the present application also provides a computer readable storage medium comprising a computer program for causing an electronic device to perform the steps of the display method as provided in the second aspect and any one of its embodiments, when the computer program is run on the electronic device.
In a ninth aspect, there is also provided a computer program product comprising a computer program which, when run on a computer, causes the computer to perform the display method as provided in the first aspect and any one of its embodiments.
In a tenth aspect, there is also provided a computer program product comprising a computer program which, when run on a computer, causes the computer to perform the display method as provided in the second aspect and any one of its embodiments.
In an eleventh aspect, an embodiment of the present application further provides a chip coupled to a memory in an electronic device, for invoking a computer program stored in the memory and performing a display method as provided in the first aspect and any one of its embodiments.
In a twelfth aspect, embodiments of the present application further provide a chip coupled to a memory in an electronic device, for invoking a computer program stored in the memory and performing a display method as provided in the second aspect and any one of its embodiments.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the description of the embodiments will be briefly described below, it will be apparent that the drawings in the following description are only some embodiments of the present invention, and that other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic diagram of an application scenario provided in an embodiment of the present application;
FIG. 2a is a schematic flow chart of a display method according to an embodiment of the application;
FIG. 2b is a schematic diagram of a display interface of a display device according to an embodiment of the present application;
FIG. 2c is a schematic diagram of a display interface of a display device according to an embodiment of the present application;
FIG. 2d is a schematic diagram of a display interface of a display device according to an embodiment of the application;
FIG. 3a is a schematic diagram of a window boundary;
FIG. 3b is a schematic view of the boundary of the window and the last user operation position;
FIG. 3c is a schematic diagram of a target range corresponding to each boundary of a window;
FIG. 3d is a schematic view of the vertices of a window;
fig. 4 is a schematic diagram of an application scenario provided in an embodiment of the present application;
fig. 5 is a schematic diagram of a display interface of a display device according to an embodiment of the present application;
FIG. 6 is a schematic flow chart of a display method according to an embodiment of the present application;
FIGS. 7a-7c are schematic diagrams of display interfaces of a display device according to an embodiment of the present application;
fig. 7d and fig. 7e are schematic diagrams of a partition of a display device according to an embodiment of the present application;
FIG. 7f is a schematic diagram of a user location and a used area provided by an embodiment of the present application;
FIGS. 8a-8e are schematic diagrams illustrating display interfaces of a display device according to an embodiment of the present application;
FIG. 8f is a schematic illustration of relationships between option controls in a multi-level menu of a target application;
FIG. 8g is a schematic diagram of relationships between option controls in a multi-level menu;
Fig. 8h is a schematic diagram of a display interface of a display device according to an embodiment of the present application;
FIG. 8i is a schematic diagram of a trigger sequence relationship of the option control Ya in the third application;
Fig. 9 is a schematic diagram of a display interface of a display device according to an embodiment of the present application;
Fig. 10a is a schematic diagram of a display interface of a display device according to an embodiment of the present application in a screen-projection scenario;
Fig. 10b is a schematic diagram of a display interface of a display device according to an embodiment of the present application in a screen-projection scenario;
Fig. 11a is a schematic diagram of a display interface of a display device according to an embodiment of the present application;
FIG. 11b is a schematic diagram of a display interface of a display device according to an embodiment of the present application;
FIGS. 12a-12f are schematic flow diagrams of a display method according to an embodiment of the present application;
fig. 13 is a schematic structural diagram of a display device according to an embodiment of the present application;
Fig. 14 is a schematic structural diagram of a display device according to an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present application more apparent, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application. Embodiments of the application and features of the embodiments may be combined with one another arbitrarily without conflict. Also, while a logical order of illustration is depicted in the flowchart, in some cases the steps shown or described may be performed in a different order than presented.
The terms first and second in the description and claims of the application and in the above-mentioned figures are used for distinguishing between different objects and not for describing a particular sequential order. Furthermore, the term "include" and any variations thereof is intended to cover non-exclusive protection. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those listed steps or elements but may include other steps or elements not listed or inherent to such process, method, article, or apparatus. The term "plurality" in the present application may mean at least two, for example, two, three or more, and embodiments of the present application are not limited. "A and/or B" in the present application may represent three cases A, B, A and B.
Fig. 2a shows a display method according to an embodiment of the present application, which may be applied to a display device. The display method may include the steps of:
s201, detecting the position of the target object.
S202, determining an associated display area corresponding to the target object based on the position of the target object, wherein the associated display area is a range for displaying a first menu.
And S203, displaying the first menu in an associated display area corresponding to the target object.
In the present application, please refer to fig. 2b, wherein the associated display area corresponding to the target object is determined according to the position of the target object. The purpose of the associated display area is to determine a first menu in the associated display area. The user can operate the first menu in the associated display area without moving the position, so that the efficiency of using the display device by the user is improved, and the user experience is improved.
In some application scenarios, multiple users may use the display device at the same time, and the number of target objects detected by the display device may be multiple. In this case, the display device may determine an associated display area to which each target object corresponds. The first menu corresponding to each target object may not be identical. A and B are not identical may mean that the presence of a portion of content in a is identical to a portion of content in B, and the presence of a portion of content in a is different from a portion of content in B. And the display equipment displays a first menu corresponding to each target object in the associated display area corresponding to the target object.
In one possible application scenario, the target object may be implemented as a controlled window. A window of any application, a window of any component, may be displayed in a display interface of the display device. The user can operate on either window. In the present application, an application program may include an object of the type of application, component, or the like.
The window being used by the user may be the controlled window. Or the window operated by the user last time is used as the controlled window. Alternatively, the display device may comprise a touch screen. The display device may determine the controlled window based on the user touch location, as well as the location of each window. For example, the display interface includes a plurality of windows, wherein only one window covers the touch position, and the window is taken as a controlled window. For another example, the display interface includes a plurality of windows, where two windows respectively cover the touch position, and a window located at an uppermost layer of the two windows is used as a controlled window.
Alternatively, the user may interact with the display device through the control means. The user may send a first signal to the screen of the display device using the control means. The screen of the display device may detect the first signal and determine the user operation position based on the detected position of the first signal. The display device may determine the controlled window based on the user's operation position, and the position of each window. For example, the display interface includes a plurality of windows, wherein only one window covers the user operation position, and the window is taken as a controlled window. For another example, the display interface includes a plurality of windows, where two windows respectively cover the user operation position, and a window located at an uppermost layer of the two windows is used as a controlled window.
In a possible implementation manner, in the operation of determining, by the display device, the associated display area corresponding to the target object based on the position of the target object in the step S202, the display device may determine, by the display device, the associated display area corresponding to the target object based on the position of the controlled window. Referring to fig. 2c, the display device may determine the associated display area corresponding to the target object in combination with the position of the controlled window. The size of the associated display area may be preconfigured. The size of the associated display area may be implemented as an area size of the associated display area, and/or. The outline size of the display area is associated.
For example, a region about 20px below the lower left vertex of the entire position of the controlled window is determined as the associated display region. One skilled in the art can determine the specific location and size of the associated display area according to the needs of the actual application. The display device may employ, but is not limited to, the process of determining an associated display area of a target object provided in the examples below.
The display device may determine an associated display area of the target object based on the location of the target boundary of the controlled window.
In one possible design, the target object is a controlled window. The position of the controlled window is updated, i.e. the position of the target object is also updated. The associated display area of the target object is updated along with the update, so that the display position of the first menu is dynamically changed.
The display device detects the position of the target object, which may include, but is not limited to, detecting the position of the latest controlled window. Let us assume in fig. 2c that at a first instant t1, the controlled window is the window of application 1. The display device determines an associated display area of the target object according to the position of the window of the application program 1, and the display device displays a first menu in the associated display area.
The controlled window can be switched, and when the user uses other windows, the switching of the controlled window is triggered. Referring to fig. 2c and 2d, assume that at a second time t2 (time after t2 is t 1), the display device detects that the latest controlled window is the window of the application 2. The display device updates the associated display area of the target object in accordance with the window position of the application 2, in which the display device displays the first menu. It can be seen that the display position of the first menu in the present design is changed along with the position of the controlled window.
In some examples, referring to fig. 3a, the target boundary may be a preset boundary of the controlled window. The outline of the window is typically rectangular. For example, the controlled window includes an upper boundary, a lower boundary, a left boundary, and a right boundary. The preset boundary may be an upper boundary, or a lower boundary, or a left boundary, or a right boundary. Fig. 3a shows a case where the preset boundary is a lower boundary.
In other examples, the target boundary may be a boundary that meets a preset condition in all boundaries of the controlled window, where the preset condition is any one of the following conditions:
condition 1, the distance between each boundary and the ground is the smallest;
The distance between the target boundary and the most recent user operation occurrence position is the smallest among the distances between each boundary and the most recent user operation occurrence position under condition 2;
And 3, in all the boundaries, any display object does not exist in a target range of one side of the target boundary far away from the controlled window.
The outline shape of the controlled window in this embodiment is not particularly limited. The outline of the controlled window may be composed of a plurality of boundaries. The position of one boundary may be implemented as the position of a preset end point of the boundary, or may be implemented as the position of a center point of the boundary, or as the position of a point having a preset distance from the preset end point of the boundary.
In one possible design, the preset condition is condition 1. For example, referring to fig. 3a, the outline of the controlled window may be rectangular, and the distance between the lower boundary and the ground is the smallest among all the boundaries of the controlled window, and the display device may take the lower boundary as the target boundary.
In one possible design, the preset condition is condition 2. Referring to fig. 3b, the display device may determine the distance between each boundary of the controlled window and the position UP where the last user operation occurred. Wherein the distance between the boundary S2 and the last user operation occurrence position UP is minimal. The display device may determine the boundary S2 as the target boundary.
In one possible design, the preset condition is condition 3. The display device may determine whether a display object exists within a target range of the controlled window's boundaries away from the side of the controlled window. Referring to fig. 3c, taking the boundary S1 as an example, the boundary S1 is far away from the side of the controlled window, i.e. above the boundary S1. The target range S1-1 above the boundary S1 may be implemented to be within a distance of d pixels above the boundary S1. Alternatively, the target range S1-1 is above the boundary S1, and the distance between each point in the target range S1-1 and the boundary S1 is less than or equal to d pixels. Each target range is illustrated in fig. 3c by a black dashed line. In fig. 3c is shown the boundary S2 and the target range S2-2 on the side of the boundary S2 remote from the controlled window. Boundary S3 and a target range S3-3 on the side of boundary S3 remote from the controlled window. Boundary S4 and a target range S4-4 on the side of boundary S4 remote from the controlled window.
For example, only none of the objects displayed in the target scope S4-4, that is, none of the windows of the other applications are obscured in the target scope S4-4, none of the windows of the other components are obscured, and none of the controls are obscured. The display device may determine the boundary S4 as the target boundary.
For example, none of the target ranges S4-4, S3-3 has any display object. The display device may determine any one of the boundaries S3, S4 as the target boundary.
In some examples, when the display device determines the associated display area of the target object based on the position of the controlled window, the display device may determine the associated display area of the target object based on the position of the vertex of the controlled window.
Referring to fig. 3d, the window is generally rectangular in outline. The rectangle has 4 vertices. Respectively marked as an upper left vertex, a lower left vertex, an upper right vertex and a lower right vertex.
The display device may determine the associated display area of the target object based on the position of any one of the vertices of the controlled window. The outline of the associated display area may also be configured as a rectangle. Alternatively, the position of one vertex of the outline of the associated display area may be the same as any vertex of the controlled window, and the associated display area does not obstruct the controlled window.
Optionally, the display device may determine the associated display area of the target object based on the position of the preset vertex of the controlled window. For example, the preset vertex may be an upper left vertex, or a lower left vertex, or an upper right vertex, or a lower right vertex. Referring to fig. 3D, it is convenient to introduce that a plane coordinate system is established by taking the bottom left vertex of the display interface as the origin, the preset vertex is the bottom left vertex D1 of the controlled window as an example, the abscissa of each point in the associated display area of the target object is smaller than or equal to the abscissa of the bottom left vertex D1 of the controlled window, and the ordinate of each point in the associated display area of the target object is smaller than or equal to the ordinate of the bottom left vertex D1 of the controlled window.
For another example, when the preset vertex is the lower right vertex D2 of the controlled window, the abscissa of each point in the associated display area of the target object is greater than or equal to the abscissa of the lower right vertex D2 of the controlled window, and the ordinate of each point in the associated display area of the target object is less than or equal to the ordinate of the lower right vertex D2 of the controlled window.
For another example, the preset vertex is the upper left vertex D3 of the controlled window, the abscissa of each point in the associated display area of the target object is smaller than or equal to the abscissa of the upper left vertex D3 of the controlled window, and the ordinate of each point in the associated display area of the target object is larger than or equal to the ordinate of the upper left vertex D3 of the controlled window.
For another example, when the preset vertex is the upper right vertex D4 of the controlled window, the abscissa of each point in the associated display area of the target object is greater than or equal to the abscissa of the upper right vertex D4 of the controlled window, and the ordinate of each point in the associated display area of the target object is greater than or equal to the ordinate of the upper right vertex D4 of the controlled window.
In one possible application scenario, the target object is a user. The position of the target object is determined based on the image acquired by the image acquisition device and containing the user. Alternatively, the display device may determine the location of the user based on the image containing the user. The user may also be referred to as a pedestrian.
The target object may be a user interacting with the display device. Alternatively, the pedestrian captured by the image capturing device may be the user interacting with the display device.
The display device may have an image capturing function. The display device may comprise image acquisition means, such as acquisition means like a camera. The number of acquisition devices may be one or more. The display device may have a pre-configured pedestrian detection model. The display device may have a preset mapping relation stored in advance. Referring to fig. 4, when a user uses the display device, the distance between the user and the display device is generally denoted as df cm. Generally, the value of df can be configured according to the actual application scenario. The preset mapping is generally determined based on df. The preset mapping relation is used for determining the position and the height of the user in the actual space according to the position and the height of the user in the image.
The display device may perform pedestrian detection based on the image acquired by the image acquisition device. The display device may determine an actual height of the pedestrian and a relative position of the pedestrian and the display device based on the detected relative position and height of the pedestrian in the image and a preset mapping relationship.
The mode how the pedestrian detection model detects the pedestrian is not particularly limited in the embodiment of the application. It should be understood that a detection model that detects whether a pedestrian (or a person, or a user) is included in an image may be implemented by any detection algorithm, and may be used as the pedestrian detection model in the present application.
In some examples, the pedestrian detection model may be a detection model based on convolutional neural network (Convolutional Neural Networks, CNN) technology. In some examples, the pedestrian detection model may detect based on a global feature method, and the pedestrian detection model may describe pedestrians by using various static features of images such as edge features, shape features, statistical features or transformation features, such as Haar wavelet features, HOG features, edgelet features, shape features, outline template features, and the like. In some examples, the pedestrian detection model may detect based on a method of a human body part, for example, dividing a human body into several components, then detecting each component separately, and finally integrating the detection results according to a certain constraint relationship, so as to finally determine whether a pedestrian exists. In some examples, the pedestrian detection model may detect based on a stereoscopic method, such as images acquired by at least two acquisition devices, and analyze three-dimensional information of objects in the images to identify pedestrians.
The display device may determine the user-touchable area based on the user's position in real space and height. For example, the display device may take as positions in the touchable area both positions where the user's hand can be touched.
Generally, the display device may be preconfigured with a calculation relationship between the position of the touchable region in the actual space and the height of the user, and the display device may determine the touchable region based on the calculation relationship, the position of the user in the actual space and the height of the user, and use the touchable region as the associated display region corresponding to the target object, that is, the associated display region corresponding to the user. Such a design may allow a user to perform a control operation through a first menu in the associated display area without moving the position.
Based on the display method provided in any one of the foregoing embodiments, the display device may further perform, after step S203, a process of updating, in response to detecting that the position of the target object is updated, an associated display area corresponding to the target object based on the updated position of the target object, and displaying the first menu in the updated associated display area. Such a design may allow the position of the first menu to be dynamically changed. The position of the target object is affected by the position of the user or the operation of the user, and the display position of the first menu is dynamically changed through updating the associated display area of the target object, so that the display device can be controlled through the first menu under the condition that the user can not move the position.
The display device may detect the position of the target object in real time or periodically or dynamically. As shown in fig. 5, taking the target object as an example of a user, if the position of the target object changes, dynamically determining an associated display area corresponding to the target object based on the position of the current target object, and displaying a first menu corresponding to the target object in the updated associated display area.
Based on the display method provided in any one of the foregoing embodiments, the first menu corresponding to the target object may include one or more first controls, and any one of the first controls may be configured with a function. The user may trigger a function of the control through a first control in the first menu.
In one possible design, in the operation of step S203, the display device may directly display the first menu corresponding to the target object in the associated display area corresponding to the target object.
In another possible design, in the operation of the aforementioned step S203, please refer to fig. 6, the display device may perform the following procedures:
s601, displaying a second menu in an associated display area corresponding to the target object, wherein the second menu comprises at least one second control.
S602, responding to the operation of the target second control, and displaying the first menu in an associated display area corresponding to the target object.
Referring to fig. 7a, the display device may display a second menu 701 in an associated display area 700 corresponding to the target object, and one or more second controls 702 may be included in the second menu 701. The functionality of each second control 702 may be preconfigured. Optionally, the at least one second control may include, but is not limited to, a return control, a return system main interface control (also referred to as a home control), a target second control.
The function of the return control may be to undo the last user operation. The return to system desktop control function may be to return directly to the system desktop interface. The function of the target second control is to display the first menu.
Alternatively, as shown in fig. 7a, the second menu may be displayed in an expanded form. Or as shown in fig. 7b, the second menu may be displayed in a collapsed form, and the second menu may include an expand control 703. After the user triggers the expand control 703, the second menu can be triggered to expand, and all the second controls in the second menu are displayed. Or as shown in fig. 7c, the second menu may be displayed in a semi-collapsed form. In the semi-collapsed form, a portion of the second control is displayed along with the expand control 703. Another portion of the second control is hidden. The user may trigger the displayed second control. After the user triggers the expand control 703, all of the second controls in the second menu are presented.
Based on the display method provided in any one of the foregoing embodiments, the first menu may include at least one fixed function control, where the at least one fixed function control may include, but is not limited to, a return control, a return system main interface control (also referred to as a home control). In such a design, the user may trigger a fixed function through a fixed function control in the first menu. The fixed function controls in the first menu are unchanged and are not influenced by the position change of the target object, the display content change of the target object, the change of the user intention and the like.
Based on the display method provided by any one of the foregoing embodiments, the display device may determine at least one first control in the first menu based on an actual use condition of the display device by a user. Optionally, the controls in the first menu may include at least one first control, and may further include at least one fixed function control as described above.
In one possible design, at least one first control in the first menu is determined based on the display content corresponding to the target object. Optionally, when the display content corresponding to the target object changes, the first menu is updated based on the display content corresponding to the changed target object.
In some examples, the target object is a controlled window, and the display content corresponding to the target object refers to content in the controlled window.
The window being used by the user may be the controlled window. Or the window operated by the user last time is used as the controlled window. Alternatively, the display device may comprise a touch screen. The display device may determine the controlled window based on the user touch location, as well as the location of each window. For example, the display interface includes a plurality of windows, wherein only one window covers the touch position, and the window is taken as a controlled window. For another example, the display interface includes a plurality of windows, where two windows respectively cover the touch position, and a window located at an uppermost layer of the two windows is used as a controlled window.
Alternatively, the user may interact with the display device through the control means. The user may send a first signal to the screen of the display device using the control means. The screen of the display device may detect the first signal and determine the user operation position based on the detected position of the first signal. The display device may determine the controlled window based on the user's operation position, and the position of each window. For example, the display interface includes a plurality of windows, wherein only one window covers the user operation position, and the window is taken as a controlled window. For another example, the display interface includes a plurality of windows, where two windows respectively cover the user operation position, and a window located at an uppermost layer of the two windows is used as a controlled window.
In some examples, the target object is a user, and the display content corresponding to the target object may refer to content in a region used by the user. The area used by the user may include, but is not limited to, a window used by the user, or a screen partition used by the user, or an area preset by the user.
In some application scenarios, the display device may support split screen modes. The display device may divide the display screen into a plurality of sub-screens, and one sub-screen may be a screen division.
Alternatively, a plurality of screen sections may be arranged in the horizontal direction. Referring to fig. 7d, the number of the plurality of screen sections is 3, and the screen sections are sequentially arranged along the horizontal direction. Or the number of the screen partitions can be 2, 4 and the like, and the screen partitions are flexibly configured according to the actual application requirements. In one possible design, the display device may detect the location of the user, determining the partition closest to the user as the screen partition used by the user. In another possible design, the display device may determine the screen partition to be used by the user based on the partition in which the location of the last user operation was.
Alternatively, multiple screen sections may be arranged in an array. Referring to fig. 7e, the number of the plurality of screen partitions may be 4, which are respectively an upper left partition, an upper right partition, a lower left partition, and a lower right partition. Or the number of the screen partitions can be 6, 8 and the like, and the screen partitions are flexibly configured according to the actual application requirements. In one possible design, the display device may detect the location of the user, determining the partition closest to the user as the screen partition used by the user. In another possible design, the display device may determine the screen partition to be used by the user based on the partition in which the location of the last user operation was.
In some examples, the area used by the user may be a pre-sized area allocated by the display device based on the user's location. The size of the area allocated by the display device is preset. The specific location of the area to which the user is assigned is determined based on the user's location. Referring to fig. 7f, the display device may determine the region position corresponding to the current user position according to the mapping relationship between the region position of the pre-device and the user position. Optionally, after the user moves, the user position changes, and the display device may determine the position of the allocated area according to the latest user position.
Alternatively, when a user uses the display device, the display content corresponding to the target object may be implemented as content in a display interface of the display device.
Alternatively, the display device may support multi-person use, the display device may support multi-person multi-window, or a split screen mode. In the case where the display device detects that the number of target objects is plural, the display content corresponding to one target object may refer to the content in the usage area corresponding to one user. For example, the display content corresponding to the first user refers to the content in the use area of the first user, and the display content corresponding to the second user refers to the content in the use area of the second user.
In one possible design, the first control included in the first menu is different when the target object detected by the display device is different. For example, the target object is a controlled window, and the display device detects a plurality of target objects. Each controlled window has a corresponding first menu. The first menu corresponding to the controlled window is determined based on the display content in the controlled window, and as the display content in each controlled window is different, the first control contained in the first menu corresponding to each controlled window is different. Optionally, the fixed function controls included in the first menu corresponding to each controlled window are the same.
In one possible design, the first controls included in the first menu may be identical or not identical when the target objects detected by the display device are different.
For example, the target objects are users, and the display device detects a plurality of target objects, each user having a corresponding first menu. The first menu corresponding to the user is determined based on the content in the user usage area, and because the user usage areas may be partially overlapped, the first controls included in the first menu corresponding to the user may be identical or partially identical. Optionally, the fixed function controls included in the first menu corresponding to each user are the same.
In the display method provided based on any one of the foregoing embodiments, the display content corresponding to the target object includes one or more of the following:
a launch control for the application, a window for the application;
one of the first controls corresponds to any one of the following:
a function of a launch control of the application and a partial function of the application.
The display content corresponding to the target object comprises at least one starting control of the first application program and/or at least one window of the second application program.
Some of the functions of an application may be implemented as any one of the entire functions in the application. Typically, in using one application, all functions of the application may include a first type of function and a second type of function. For functions in the first class of functions, each function may be triggered by a single user operation in a window of the application. For functions in the second type of functions, each function is triggered by multiple user operations in the window of the application.
In one possible design, some of the functionality of an application may be triggered based on controls in the application. For an application, the application has a plurality of controls. There are some controls that are controls in the level one menu. The controls in the primary menu may refer to controls displayed by default in the window of the application. The aforementioned first type of functionality may be triggered by a control in a primary menu.
There may also be some controls in the application that are controls in a non-primary menu. For example, controls in the secondary menu whose functionality depends on controls in the primary menu. The control in the secondary menu is required to be operated by a user through the control in the primary menu, the secondary menu is triggered to be displayed, then the control in the secondary menu can be operated by the user through the displayed secondary menu, and the function of the control in the secondary menu is triggered. The aforementioned second type of functionality may be triggered by a control in a non-primary menu.
In some examples, the display content corresponding to the target object may include launch controls for at least one first application. Referring to fig. 8a, the display content corresponding to the target object may include a start control of the application P1, a start control of the application P2, and a start control of the application P3. In the application, the function of the starting control of one application program is to start the application program. The user may launch the application by triggering operation of a launch control of the application. Alternatively, the launch control may also be referred to as a shortcut, icon, or initiator, etc.
In at least one first control in the first menu, the function of one first control may be the same as the function of the launch control of one first application, or the function of one first control may be the same as part of the total functions of one first application.
In some examples, the display content corresponding to the target object may include a window of at least one second application. Referring to fig. 8b, the display content corresponding to the target object may include a window of the application program T1. Referring to fig. 8c, the display content corresponding to the target object may include a window of the application program T2 and a window of the application program T1. The window of the application T1 is located at the uppermost layer, and a part of the window of the application T2 may be blocked by the window of the application T2.
In at least one first control in the first menu, the function of one first control may be the same as the function of the launch control of one second application, or the function of one first control may be the same as part of the total functions of one second application.
In some examples, the display content corresponding to the target object may include a launch control of at least one first application and a window of at least one second application. For example, referring to fig. 8d, the display content corresponding to the target object may include a launch control of the application P1, a launch control of the application P2, and a window of the application T1.
In at least one first control in the first menu, the function of one first control may be the same as the function of the start control of one first application, or the function of one first control may be the same as part of the whole functions of one second application, or the function of one first control may be the same as the function of the start control of one second application.
Referring to fig. 8d and 8e, the display content corresponding to the target object may include a start control of the application P1, a start control of the application P2, and a window of the application T1. The first menu may include a first control D1, a first control D2, a first control D3, and a first control D4. The application P1 may be a system setting component, and the application T1 may be an application having a handwriting function. The first control D1 may correspond to a function of a launch control of the application P1. The function of the first control D2 may correspond to a network setting function in the application P1. The first control D3 may correspond to an eraser function in the application program T1, and the first control D4 may correspond to an adjustment brush function in the application program T1.
In one possible implementation, there may be a function in the first menu that corresponds to the launch control of the first application for one first control. For convenience of introduction, the user can perform a selection operation on the first control in the first menu, and the selected first control is marked as a target first control.
The display content corresponding to the target object comprises a starting control of the target application program, and the at least one first control comprises a target control. In some examples, the functionality of the target first control corresponding to the launch control of the target application may be implemented as an interface (e.g., API) of the target first control corresponding to the launch target application. The display device may also invoke an interface for starting the target application program in response to the operation of the target first control, so that a control effect of opening the target application program may be achieved.
In some examples, the display device may pre-store at least one simulated click location corresponding to the first control. The display device can generate a corresponding simulated click event based on the simulated click position corresponding to the first control, so as to trigger the function corresponding to the first control. The function of the starting control of the target application corresponding to the target first control can be implemented in such a way that the simulated clicking position corresponding to the target first control is the position of the starting control of the target application.
The display device can respond to the operation of the target first control to generate a simulated click event of a simulated click position corresponding to the target first control, namely, generate a simulated click event of a starting control of the target application program, so that the starting control of the target application program can be triggered, and the target application program can be started.
In a possible implementation manner, there may be a part of functions of one first control corresponding to one application program in the first menu, and the interface of one of all functions of the first control corresponding to the application program may be implemented. For convenience of introduction, the user can perform a selection operation on the first control in the first menu, and the selected first control is marked as a target first control.
In some examples, the display content corresponding to the target object comprises a window of the target application program, and the partial function corresponding to the target application program by the target first control can be implemented as a target function interface in the full-level function interfaces corresponding to the target application program by the target first control. Alternatively, the target application may be the first application or the second application, which is not limited in particular in the embodiment of the present application.
The display device may invoke the target function interface of the target application in response to the operation of the target first control, thus implementing the target function that triggers the target application.
In some examples, the display device may pre-store at least one simulated click location corresponding to the first control. The display device can generate a corresponding simulated click event based on the simulated click position corresponding to the first control, so as to trigger the function corresponding to the first control.
Referring to fig. 8f, after the target application is started, a level one menu may be included in the window of the target application and may be independently displayed at the top of the window or in the position of the sidebar. A plurality of option controls may be included in the primary menu. A certain option control in the primary menu may trigger the display of a secondary menu, which may include a plurality of option controls. Similarly, according to actual needs, a certain option control in the secondary menu can trigger to display the tertiary menu, and a plurality of option controls can also be included in the tertiary menu. It can be seen that if the function of the option control in the secondary menu needs to be triggered, the secondary menu is triggered to be displayed by the option control in the primary menu.
Similarly, please refer to fig. 8g, functionality of the option control Ax in the level X menu, the option control Ax-1 in the level X-1 menu is toggled, the option control Ax-2 in the level X-2 menu is toggled, and the option control A1 in the level 1 menu is toggled. Therefore, according to a preset level triggering sequence, the option control A1 in the level 1 menu, the option control Ax-2 in the level X-2 menu and the option control Ax-1 in the level X-1 menu are triggered in sequence, so that the function of triggering and displaying the level X menu can be realized, and the function of triggering the option control Ax can be realized through the displayed level X menu.
In the embodiment of the application, the partial function of the target first control corresponding to the target application program is recorded as the target function of the target application program. The target function may be a function of any option control in any level menu in the target application.
In some examples, the display content corresponding to the target object comprises a window of the target application program, and the target first control corresponds to a part of functions of the target application program. The at least one first control comprises a target first control, wherein the target first control corresponds to part of functions of the target application program, and the part of functions of the target application program corresponds to a simulated click position.
When the display device triggers a part of functions of the target application program in response to the operation of the target first control, a simulated click event can be generated in a window of the target application program based on the simulated click position in response to the operation of the target first control so as to trigger the part of functions of the target application program.
In one possible scenario, the target first control corresponds to a target function of the target application, which is a function of the target option control in the level 1 menu of the target application. The simulated click position corresponding to the target first control may be implemented as the position of the target option control in the target application level 1 menu. The level 1 menu of the target application, i.e., the level one menu of the target application. Typically a primary menu of the target application may be displayed independently at a position at the top or side of the window.
The display device can respond to the operation of the target first control, and generate a simulated click event corresponding to the simulated click position of the target first control in the window of the target application program, namely generate a simulated click event corresponding to the position of the target option control in the level 1 menu of the target application program, so that the target control in the level 1 menu of the target application program can be triggered, and the function of calling the target control in the level 1 menu of the target application program is realized.
In some examples, the display content corresponding to the target object comprises a window of a target application program, and the at least one first control comprises a target first control corresponding to a part of functions of the target application program.
When the display device triggers a part of functions of the target application program in response to the operation of the target first control, a plurality of simulated click events can be generated in sequence in a window of the target application program in response to the operation of the target first control so as to trigger the part of functions of the target application program.
In one possible design, the partial functions of the target application program correspond to a plurality of simulated click positions with a preset arrangement order, and when the display device generates a plurality of simulated click events in sequence in the window of the target application program, the display device can generate a plurality of simulated click events according to the plurality of simulated click positions with the preset arrangement order in the window of the target application program.
The partial function of the target first control corresponding to the target application program can be recorded as the target function of the target application program. The target function corresponds to a plurality of simulated click positions, and the corresponding order of each simulated click position in the plurality of simulated click positions is preconfigured. And the display equipment can respond to the operation of the target first control, and then in the window of the target application program, the simulated click events corresponding to the simulated click positions are sequentially generated according to the sequence.
In this embodiment, the target function of the target application program corresponds to a plurality of simulated click positions, and the target function may be a function of any option control in any level menu except the level one menu in the target application program. Assume that the target function is a function of a target option control of an X-level menu in the target application program, and X is a positive integer greater than 1. The target function of the target application includes X simulated click positions corresponding to the plurality of simulated click positions. The X simulated click positions include simulated click positions of the target option control in the X-level menu, as well as positions of the option control in the X-1 level menu, the option control in the X-2 level menu, and the option control in the 1 level menu on which the target option control depends.
As an example, the order of the X simulated click positions may be implemented as a predetermined hierarchical triggering sequence corresponding to the target function. The display device may respond to the operation on the target first control, generate the 1 st simulated click event based on the 1 st simulated click position (the position of the option control A1 in the 1 st level menu is assumed) in the X simulated click positions, and may implement clicking the option control A1 in the 1 st level menu to trigger displaying the 2 nd level menu. Then, the display device generates the 2 nd simulated click event based on the 2 nd simulated click position (the position of the option control A2 in the 2 nd level menu is assumed), so that the 3 rd level menu can be triggered and displayed by clicking the option control A2 in the 2 nd level menu. Similarly, the display device generates the ith simulated click event based on the ith simulated click position (assumed to be the position of the option control Ai in the i-level menu), and can trigger the i+1-level menu to be displayed by clicking the option control Ai in the i-level menu. Based on the rule execution, until the X-th simulated click event is generated based on the X-th simulated click position (the position of the option control Ax in the X-level menu is assumed), the function of triggering the option control Ax by clicking the option control Ax in the X-level menu can be realized.
In one possible design, the part of the target application program is a target function, and a plurality of simulated click positions with preset arrangement sequences corresponding to the target function are determined by adopting the following modes:
Responding to the operation of the target application program, and displaying an interface screenshot;
And identifying the controls in the screenshot by utilizing a pre-trained identification model, and determining the positions of a plurality of identified third controls serving as the plurality of simulated click positions with the preset arrangement sequence, wherein the plurality of third controls are used for triggering the target function in the target application program.
The display device may pre-store at least one simulated click position corresponding to the first control. The display device can generate a corresponding simulated click event based on the simulated click position corresponding to the first control, so as to trigger the function corresponding to the first control. Wherein, in some examples, at least one simulated click position corresponding to any one of the first controls in the first menu is preconfigured. In other examples, at least one simulated click position corresponding to any one of the first controls in the first menu is predetermined by the display device.
The manner in which the display device determines the at least one simulated click position corresponding to the first control is described below. For any application (denoted as a third application), the display device may screen capture the display interface during use of the third application by the user. The display device may display an interface screenshot in response to a user operation of the third application. For example, each time the user operates the third application program, the display device captures a screen of the operated display interface, so as to obtain a screen capture of the display interface corresponding to each operation. Referring to fig. 8h, the display device includes a pre-trained recognition model. The display device may identify the controls in each screenshot using a pre-trained identification model. Through the identification of the screenshot, the positions of the option controls in the menus of all levels of the third application program and the functions of the option controls in the menus of all levels can be determined. Typically, the option controls in the various levels of menus are configured with descriptive information that may indicate the functionality of the option controls. The descriptive information is typically in text form. For example, the description information of the "file" option control is "file". For another example, the description information of the "brush" option control is "brush".
The display device can obtain the triggering sequence relation among all the option controls in the third application program through the positions of the option controls in the menus of all levels and the functions of the option controls. As shown in fig. 8i, the option control Ya in the level 3 menu is triggered depending on the option control Yb in the level 2 menu and the option control Yc in the level 1 menu. The display device may obtain a trigger sequence including the option control Ya in the 3-level menu, that is, the option control Yc in the 1-level menu, the option control Yb in the 2-level menu, and the option control Ya in the 3-level menu. The display device may obtain a trigger sequence including the option control Yb in the level 2 menu, that is, the option control Yc in the level 1 menu and the option control Yb in the level 2 menu.
The display device can obtain the triggering sequence relation of all option controls except the first-level menu in the third application program. For the function Ta of the option control Ya in the level 3 menu, the display device may determine a plurality of simulated click positions corresponding to the function Ta based on the trigger sequence relationship including the option control Ya in the level 3 menu. Specifically, it is assumed that a first trigger sequence relationship among any trigger sequence relationships including the option control Ya in the 3-level menu is used. In the first trigger sequence relationship, the option control Ya in the 3-level menu is the option control of the mth serial number in the first trigger sequence relationship, and then the multiple simulated click positions corresponding to the function Ta are determined as the positions of the first m option controls in the first trigger sequence relationship.
Similarly, for a plurality of simulated click positions corresponding to the target function, the display device may display an interface screenshot in response to an operation on the target application. And identifying the control in the screenshot by utilizing a pre-trained identification model, and determining the position of the identified third control and the function of the third control. The display device may determine a trigger sequence relationship between a plurality of third controls in the target application, the number of trigger sequence relationships being one or more. In the target triggering sequence relation comprising the third controls corresponding to the target functions, the third control with the ith serial number is the third control corresponding to the target functions. The display device may use the positions of the first i serial numbers of the third control in the target trigger sequence relationship as a plurality of simulated click positions corresponding to the target function, where i is an integer greater than 1.
Optionally, in the foregoing embodiment, the display device may perform the simulated touch event through InputManager based on the simulated click position corresponding to the target first control, that is, generate the simulated click event.
Based on any of the foregoing embodiments, the first menu may include at least one first control. The at least one first control is determined based on display content corresponding to the target object. The display content corresponding to the target object comprises one or more of an application program starting control and an application program window. One of the first controls corresponds to any one of the functions of a launch control of the application and a portion of the functions of the application.
The application program comprises a user, an application program provider and an application program, wherein part of functions of the application program are determined based on the use condition of each function in the application program, and the use condition of each function comprises any one of the use frequency of each function in the current device, the use frequency of each function provided by the application program provider and the use frequency of each function in the application program used by the user of the current device. Optionally, part of the functions of the application may also be determined based on the configuration of the user. The user may use a certain application, and the function of the first control in the first menu may correspond to the designated function of the certain application configured by the user.
In some application scenarios, the display device may pre-store each function use case of any application program. For example, the display device may store in file, json format, sorted by application package name for the application.
In some examples, the display content corresponding to the target object includes a window of the fourth application. Some or all of the first controls in the first menu generated by the display device may correspond to some of the functions of the fourth application. For example, a portion of the first controls in the first menu correspond to a portion of the functions of the fourth application, and a portion of the functions of the fourth application corresponding to each of the first controls in the first controls are determined based on the frequency of use of each of the functions in the fourth application in the current device. If the number of the partial first controls is s, the s first controls can respectively correspond to s functions with highest use frequency in the fourth application program in the current device.
Based on any of the foregoing embodiments, the first menu may include at least one first control. The functionality of the first control in the first menu may be configurable by a user. The functionality of one first control may be configured as the functionality of any application launch control. Or the functionality of one first control may be configured as part of the functionality of any application. Optionally, the display device may set a correspondence between the first control and an interface for starting the corresponding application program, or set a correspondence between the first control and a functional interface of the corresponding application program, according to a configuration situation of the user on the first control.
Based on any of the foregoing embodiments, the first menu may include at least one first control. One of the first controls corresponds to any one of the functions of a launch control of an application and a portion of the functions of the application. In some application scenarios, the first control corresponds to a function of a launch control of an application, and a presentation style of the first control may be determined based on a presentation style of the launch control of the application. For example, the display device may capture a screenshot of a presentation style of a start control of the application program to obtain a first image, zoom the first image according to a preset size setting to obtain a second image, and the display device may configure the second image as the presentation style of the first control.
Similarly, in some application scenarios, the first control corresponds to a portion of the functionality of an application, such as the functionality of an option control of an application. The presentation style of the first control may be determined based on the presentation style of the option control of the application. For example, the display device may perform screenshot on an option style of a start control of the application program to obtain a third image, perform scaling processing on the third image according to a preset size setting to obtain a fourth image, and may configure the fourth image as a presentation style of the first control.
Based on any of the foregoing embodiments, the first menu may include at least one first control. The at least one first control is determined based on display content corresponding to the target object. In some application scenarios, the number of first controls in the first menu may be preconfigured. If the number of the first controls determined by the display device based on the display content corresponding to the target object is greater than the number of the first controls configured in advance, the display device can sort the determined first controls based on a preset elimination strategy, and delete the first controls with the sorted first controls. For example, the display device may use a least recently used algorithm (LEAST RECENTLY used, LRU) as a preset elimination policy. LRU is a memory data elimination strategy that uses data that is usually needed to eliminate the least recently used when memory is insufficient.
In another possible design, the display device may determine at least one first control in the first menu based on the user's actual use of the display device. The at least one first control is determined based on the target user intent.
In some examples, the display device may be configured with a multimodal big model, or the display device may have the ability to invoke a multimodal big model. A multi-modal large model generally refers to a model that can handle multiple types of data, such as text, audio-visual, pictorial, etc., types of data. The multi-mode large model can be fused with various information to execute more complex scenes and tasks, and the current scene, the following intention and other operations can be judged more accurately. The embodiment of the application does not limit the generation mode or the training mode of the multi-mode large model in particular. Those skilled in the art will appreciate that the effect of performing a task with a multi-modal large model, typically related to the performance of the multi-modal large model, may be improved by existing techniques.
The display device may determine the target user intent using a multi-modal large model. The display device may input one or more types of data into the multimodal big model to output the target user intent by the multimodal big model, wherein the data input into the multimodal big model may include, but is not limited to, the following types of data:
The display equipment displays the screenshot data of the interface;
writing data such as track, speed, pressure and the like on a touch screen of the display device;
displaying information of an application program running in the device;
voice text of audio collected by an audio collection module of the display device;
gaze point information of a viewer viewing the display device.
In some examples, the display device may infer that the user needs to use the function based on the target user intent. The display device may determine the speculative function as a function of the at least one first control. Alternatively, the display device may determine the target user intent in real-time, dynamically update the inference function, and dynamically update the first control in the first menu. Such a design may reduce the complexity of the operation when the user selects the first control from the first menu.
In one possible design, the display device may further determine the target scene based on the display content corresponding to the target object. Optionally, the display device may determine the target scene according to a window of the application program included in the display content corresponding to the target object. For example, the display content corresponding to the target object includes a window of the conference application, and the target scene may be determined to be the conference scene. For another example, the display content corresponding to the target object includes a window of the handwriting application, and the target scene may be determined to be a lecture scene.
The display device may determine the target user intent based on the target scene and a target operation of the display device by a user. The target operation of the display device by the user may include, but is not limited to, an operation of forming a track on a touch screen of the display device, an operation of applying pressure to the touch screen, and the like. Based on the operation of forming the trajectory, speed data can be obtained. The display device may determine the target user intent based on the target operation of the user on the display device in combination with the target scene.
In some examples, the display device may also determine a first control in the first menu based on the display content corresponding to the target object and the target user intent.
In one possible design, the display device may determine one or more alternative controls based on display content corresponding to the target object. The display content corresponding to the target object comprises one or more of a starting control of the first application program and a window of the second application program. The functionality of one alternative control may correspond to a portion of the functionality of the first application, or the functionality of a launch control of the first application, or a portion of the functionality of the second application. The display device may match the target user intent with the functionality of each of the candidate controls, and determine the candidate control that matches the target user intent as the first control in the first menu.
For example, referring to FIG. 9, the target user intent may be to adjust the writing. The display content corresponding to the target object includes a window of the writing application. The function of the alternative control determined by the display device may be a function of an option control in a menu of each level in the writing application. The display device may match the target user intent of "adjust writing" with the functionality of the option controls in the various levels of menus in the writing application. Functions associated with adjusting writing such as handwriting erasing, brush color adjusting, brush thickness adjusting, brush type adjusting, etc. The display device may configure the matched function as a function of the first control in the first menu. In such a design, the user may trigger the function of erasing the handwriting, or adjust the color of the brush, or adjust the thickness of the brush, or adjust the type of brush through a first control in the first menu.
In one possible design, the display content corresponding to the target object includes a window of the second application program, where the number of the second application programs is one or more. The display device may determine a window that the user is operating, i.e., a controlled window, based on the display content corresponding to the target object. The controlled window is a window of the fifth application. The display device matches the functions of the fifth application with the target user intent. The display device may configure the matched function as a function of the first control in the first menu.
In one possible design, the display content corresponding to the target object comprises one or more of an application program starting control and an application program window.
The display device may also match each function of each application in the display content corresponding to the target object with the target user intent, where the matching result includes a function of a launch control of at least one application, and/or a partial function of at least one application.
The display device may determine a first control in the first menu based on the function in the matching result. The display device may configure the function in the matching result as the function of the first control in the first menu.
Based on the display method provided by any one of the embodiments, the display method can be applied to a screen-projection scene, and the display device can be used as a screen-projection receiving end. The display content corresponding to the target object in the foregoing embodiment is provided by the screen-throwing sender.
Referring to fig. 10a, the display device may determine the first control in the first menu based on the display content corresponding to the target object, and also determine the first control in the first menu based on the screen content provided by the screen sending end. The display device may display the first menu in a display interface of the display device. It is clear that the first menu is generated by the display device and displayed on the display device. There is no first menu at the screen-drop transmitting end.
The display device can feed back the operation of the user on the display device to the screen-throwing transmitting end, so that the screen-throwing transmitting end is remotely controlled. Because the resolution ratio of the screen-throwing transmitting end is often not matched with that of the display equipment, the coordinate data of the user operation point at the display equipment is required to be converted, so that the screen-throwing transmitting end can be accurately controlled to execute corresponding operation.
In some examples, the display device may determine a first coordinate mapping relationship based on first coordinate information and second coordinate information, where the first coordinate information is coordinate information of the display content when the screen-casting transmitting end displays the display content with a target resolution, and the second coordinate information is coordinate information of the display content when the display device displays the display content with the target resolution. The display device may determine a second coordinate mapping relation based on third coordinate information of the display content and the second coordinate information when the display device currently displays the display content.
The screen-throwing sending end may provide the coordinate information of the screen-throwing content when the screen-throwing sending end displays the screen-throwing content with the target resolution to the display device, and record the coordinate information as first coordinate information, for example, at the screen-throwing sending end, the coordinate information of the area vertex of the coverage area of the screen-throwing content (or the coordinate information of the central point of the area, the coordinate information of the preset reference point of the area). Alternatively, the target resolution may be the resolution of the content displayed on the screen sending end.
The display device may determine in advance coordinate information of the screen contents when the screen contents are displayed at the target resolution, and record as the second coordinate information. For example, at the display device, the screen content covers the coordinate information of the area vertex of the area (or the coordinate information of the center point of the area, the coordinate information of the preset reference point of the area).
In the actual application scene, the display device displays the screen projection content with other resolutions, so that the description is convenient to record as the actual resolution. The display device may be based on third coordinate information when the screen contents are displayed at the actual resolution, such as coordinate information of the vertices of the area covered by the screen contents (or coordinate information of the center point of the area, coordinate information of a preset reference point of the area).
The display device may determine the second coordinate mapping relation based on the third coordinate information and the second coordinate information. Namely, the coordinate mapping relation between the position of the screen contents in the actual resolution and the position of the screen contents in the target coordinate system.
Referring to fig. 10b, the display device may determine, based on the first coordinate mapping relationship and the second coordinate mapping relationship, a coordinate Q 'corresponding to a coordinate Q of a target point in a current display interface of the display device, where the coordinate Q' is a coordinate of the target point when the screen content is displayed by the screen sending end with the target resolution.
In one possible design, the at least one first control includes a target first control according to the display method provided in the foregoing embodiment, where the target first control corresponds to a function of a start control of the target application.
The display device may further obtain a first coordinate of a start control of the target first application program in a display interface of the display device in response to the operation of the target first control, determine a second coordinate corresponding to the first coordinate based on the first coordinate mapping relationship and the second coordinate mapping relationship, and send the second coordinate to the screen sending end, so that the screen sending end generates a simulated click event corresponding to the second coordinate.
The display device acquires first coordinates of a starting control of the target first application program in a display interface of the display device, namely, acquires coordinate information of the starting control of the target application program when the display device currently displays target content.
The display device may determine a second coordinate corresponding to the first coordinate based on the first coordinate mapping relationship and the second coordinate mapping relationship, where the second coordinate is a coordinate of a start control of the target application program when the screen-throwing sending end displays the display content corresponding to the target object with the target resolution.
And the display equipment sends the second coordinates to the screen throwing sending end, so that the screen throwing sending end generates a simulated click event corresponding to the second coordinates, and the virtual click of the position of a starting control of the target application program in the display content corresponding to the target object displayed by the screen throwing sending end is realized. In the design, a user can realize reverse control of the screen throwing transmitting end through the first control in the first menu.
Optionally, the actual display resolution of the screen-throwing sending end is not the target resolution, similar to the processing procedure of the display device, the screen-throwing sending end can determine the third coordinate mapping relation based on the target resolution and the actual display resolution of the screen-throwing sending end, and determine the position corresponding to the received second coordinate, that is, the screen-throwing sending end determines the position corresponding to the second coordinate under the actual display resolution.
In a possible design, based on the display method provided in the foregoing embodiment, the at least one first control includes a target first control, where the target first control corresponds to a part of functions of a target application program, the part of functions of the target first control corresponds to a plurality of simulated click positions in a display interface of the display device, and an order corresponding to each simulated click position in the plurality of simulated click positions is preconfigured.
The display device may further determine third coordinates corresponding to each simulated click position based on the first coordinate mapping relationship and the second coordinate mapping relationship in response to the operation of the target first control, provide the third coordinates corresponding to each simulated click position to the screen-throwing sending end and indicate an order corresponding to each simulated click position, so that the screen-throwing sending end sequentially generates simulated click events of the third coordinates corresponding to each simulated click position according to the order.
For a plurality of simulated click positions corresponding to the function of the target first control, the display device may determine coordinates corresponding to the simulated click positions when the screen projection transmitting end displays display content corresponding to the target object with target resolution based on the first coordinate mapping relation and the second coordinate mapping relation.
Based on the display method provided in any one of the foregoing embodiments, the display device may support multi-user synchronous use, or the display device may support multi-window synchronous use. For example, the display device may support a multi-window mode, or a split screen mode.
In the operation of the display device detecting the position of the target object, a plurality of target objects may be detected. The display device may display, for any detected target object, a first menu corresponding to the target object in an associated display area corresponding to each target object.
As shown in fig. 11a, in the multi-window usage mode, the display device displays a first menu AA corresponding to the target object a in the associated display area of the target object a. The first menu BB corresponding to the target object B is displayed in the associated display area of the target object B.
As shown in fig. 11b, the display device is in a split screen usage mode, or partition usage mode. And displaying a first menu AA corresponding to the target object A in the associated display area of the target object A. The first menu BB corresponding to the target object B is displayed in the associated display area of the target object B.
In one possible design, the display device may determine, based on the position of the any target object, a controlled area corresponding to the any target object, where the first menu corresponding to the any target object is generated based on content in the controlled area corresponding to the any target object.
In some examples, the target object is a controlled window. And the content in the controlled area corresponding to the target object is the content in the controlled window.
In some examples, the target object is a user. The content in the controlled area corresponding to the user may be implemented as content in a partition used by one user, or may be implemented as content in a window used by one user. In some application scenarios, multiple users may operate the same partition or the same window, where the content in the controlled area corresponding to each user is the same. The associated display area for each user is determined based on the user's location. The locations of the users are different, and the associated display areas corresponding to the users are also different. Generally, the associated display area to which the user corresponds is in the vicinity of the user's location and is a touchable area for that user.
The process of generating the first menu corresponding to the target object by the display device based on the content in the controlled area corresponding to the target object may refer to the related description in the foregoing embodiment, which is not repeated herein.
Based on the foregoing description of the display method, the embodiment of the present application further provides a display method, which may be performed by a display device, as shown in fig. 12a, where the display method may include the following steps:
s1201a, detecting a position of a target object;
S1202a, determining an associated display area corresponding to the target object based on the position of the target object, wherein the associated display area is a range for displaying a first menu;
S1203a, determining a first control in the first menu.
Optionally, the display device may determine the first control in the first menu based on the display content corresponding to the target object. The execution process of the display device may be referred to the related description in the foregoing embodiments, and will not be repeated here.
Or the display device may determine the first control in the first menu based on the target user intent. The execution process of the display device may be referred to the related description in the foregoing embodiments, and will not be repeated here.
And S1204a, displaying a first menu in the associated display area corresponding to the target object.
In this embodiment, the display device performs the operations in steps S1201a, S1202a, S1204a, which can be referred to the related description in the foregoing embodiment, and will not be repeated here.
Based on the foregoing description of the display method, the embodiment of the present application further provides a display method, which may be performed by a display device, as shown in fig. 12b, where the display method may include the following steps:
S1201b, detecting a position of the target object;
S1202b, determining an associated display area corresponding to the target object based on the position of the target object, wherein the associated display area is a range for displaying a first menu;
S1203b, determining a first control in the first menu, where a function of the first control in the first menu is determined based on the display content corresponding to the target object.
Or the display device may determine the first control in the first menu based on the target user intent. The execution process of the display device may be referred to the related description in the foregoing embodiments, and will not be repeated here.
S1204b, displaying a first menu in an associated display area corresponding to the target object;
s1205b, responding to the operation of a target first control, and calling an interface for starting the target application program, wherein the target first control corresponds to the starting control of the target application program.
In this embodiment, the display device performs the operations in steps S1201b-1205b, which can be referred to in the related description of the previous embodiment, and will not be described here again.
Based on the foregoing description of the display method, the embodiment of the present application further provides a display method, which may be performed by a display device, as shown in fig. 12c, where the display method may include the following steps:
S1201c, detecting a position of the target object;
s1202c, determining an associated display area corresponding to the target object based on the position of the target object, wherein the associated display area is a range for displaying a first menu;
s1203c, determining a first control in the first menu, where the function of the first control in the first menu is determined based on the display content corresponding to the target object.
Or the display device may determine the first control in the first menu based on the target user intent. The execution process of the display device may be referred to the related description in the foregoing embodiments, and will not be repeated here.
S1204c, displaying a first menu in the associated display area corresponding to the target object;
and S1205c, responding to the operation of a target first control, and generating a simulated click event for the position of a starting control of the target application program, wherein the target first control corresponds to the starting control of the target application program.
In this embodiment, the display device performs the operations in steps S1201c-1205c, which can be referred to in the related description in the previous embodiment, and will not be described here again.
Based on the foregoing description of the display method, the embodiment of the present application further provides a display method, which may be performed by a display device, as shown in fig. 12d, where the display method may include the following steps:
s1201d, detecting a position of the target object;
s1202d, determining an associated display area corresponding to the target object based on the position of the target object, wherein the associated display area is a range for displaying a first menu;
s1203d, determining a first control in the first menu, where the function of the first control in the first menu is determined based on the display content corresponding to the target object.
Or the display device may determine the first control in the first menu based on the target user intent. The execution process of the display device may be referred to the related description in the foregoing embodiments, and will not be repeated here.
S1204d, displaying a first menu in an associated display area corresponding to the target object;
The target first control corresponds to a target function of a target application program, and the target function corresponds to a plurality of simulated click positions. Wherein the order in which each of the plurality of simulated click positions corresponds is preconfigured.
And S1205d, responding to the operation of the first control of the target, and sequentially generating simulated click events corresponding to a plurality of simulated click positions corresponding to the target function.
In this embodiment, the display device performs the operations in steps S1201d-1205d, which can be referred to in the related description of the previous embodiment, and will not be described here again.
Based on the foregoing description of the display method, the embodiment of the present application further provides a display method, which may be performed by a display device, as shown in fig. 12e, where the display method may include the following steps:
s1201e, detecting whether the display device has an image capturing device, if so, executing step S1202e next, and if not, executing step S1203e next.
S1202e, taking the current controlled window as a target object.
And S1203e, taking the pedestrian as a target object, and calling a pedestrian detection model to detect the image acquired by the image acquisition device.
S1204e, determining the associated display area corresponding to each target object
S1205e, determining a first menu corresponding to each target object.
S1206e, displaying the first menu corresponding to each target object in the associated display area corresponding to the target object.
The operations performed by the display device in this embodiment may be referred to the related descriptions in the foregoing embodiments, and will not be repeated here.
The embodiment of the application also provides a display method, which can be executed by a display device, as shown in fig. 12f, and the display method can include the following steps:
s1201f, detecting a position of a target object;
s1202f, determining display content corresponding to the target object based on the position of the target object;
s1203f, determining a first menu corresponding to the target object based on the display content corresponding to the target object.
And S1204f, displaying the first menu.
In this embodiment, the display device performs the operations of steps S1201f-S1203f, which can be referred to the related description in the previous embodiment, and will not be repeated here.
In step S1204f, the display device may display the first menu at an arbitrary position in the display interface. The specific location where the display device displays the first menu may be determined based on a preset menu display policy.
Optionally, the preset menu display policy may include, but is not limited to, any of the following:
The method comprises the steps that 1, a first menu is displayed in an associated display area of a target object;
Strategy 2, displaying a first menu at a position below the display interface, wherein any display object is not blocked;
Policy 3, displaying a first menu in a user use area;
Strategy 4, following the user to move the position, and displaying a first menu at a position which can be touched by the hand of the user;
strategy 5, displaying a first menu according to the position configured by the user;
and 6, displaying a first menu according to a default position of the system.
In a possible implementation manner, in the display method provided by the embodiment of the present application, the target object is a controlled window. The position of the target object is the position of the controlled window. When the controlled window is switched, the switched controlled window is used as a target object.
In a possible implementation manner, in the display method provided by the embodiment of the application, the target object is a user, and the position of the target object is determined based on the image including the user acquired by the image acquisition device.
In a possible implementation manner, in the display method provided by the embodiment of the present application, the method further includes:
and in response to detecting that the position of the target object is updated, updating display content corresponding to the target object based on the updated position of the target object, updating the first menu, and displaying the updated first menu.
In a possible implementation manner, in the display method provided by the embodiment of the present application, the first menu includes at least one fixed function control, and functions of each fixed function control are preconfigured.
In a possible implementation manner, in the display method provided by the embodiment of the present application, the first menu includes at least one first control.
In a possible implementation manner, in the display method provided by the embodiment of the present application, the at least one first control is determined based on the display content corresponding to the target object.
In a possible implementation manner, in the display method provided by the embodiment of the present application, when the detected target objects are different, the first controls included in the first menu are different.
In a possible implementation manner, in the display method provided by the embodiment of the present application, the target object is a controlled window, and the display content corresponding to the target object refers to the content in the controlled window.
In a possible implementation manner, in the display method provided by the embodiment of the present application, the target object is a user, and the display content corresponding to the target object is content in a use area of the user.
In a possible implementation manner, in the display method provided by the embodiment of the present application, the method further includes:
Displaying a second menu, the second menu comprising at least one second control;
and responding to the operation of the target second control, and displaying the first menu.
In a possible implementation manner, in the display method provided by the embodiment of the present application, the display content corresponding to the target object includes one or more of the following:
a launch control for the application, a window for the application;
one of the first controls corresponds to any one of the following:
a function of a launch control of the application and a partial function of the application.
In a possible implementation manner, in the display method provided by the embodiment of the application, the display content corresponding to the target object comprises a starting control of the target application program, and the at least one first control comprises a target first control corresponding to the function of the starting control of the target application program;
the method further comprises the steps of:
in response to an operation on a target first control, a simulated click event for a launch control of the target application is generated.
In a possible implementation manner, in the display method provided by the embodiment of the application, the display content corresponding to the target object comprises a window of a target application program, and the at least one first control comprises a target first control corresponding to part of functions of the target application program;
And responding to the operation of the target first control, and triggering part of functions of the target application program.
In a possible implementation manner, in the display method provided by the embodiment of the application, the display content corresponding to the target object comprises a window of a target application program, the at least one first control comprises a target first control, and the target first control corresponds to part of functions of the target application program;
the responding to the operation of the target first control triggers part of functions of the target application program, and the method comprises the following steps:
And responding to the operation of the target first control, and generating a simulated click event in a window of the target application program based on the simulated click position so as to trigger part of functions of the target application program.
In a possible implementation manner, in the display method provided by the embodiment of the application, the display content corresponding to the target object comprises a window of a target application program, and the at least one first control comprises a target first control corresponding to part of functions of the target application program;
the responding to the operation of the target first control triggers part of functions of the target application program, and the method comprises the following steps:
In response to operation of the target first control, generating a plurality of simulated click events in sequence in a window of the target application program to trigger a part of functions of the target application program.
In a possible implementation manner, in the display method provided by the embodiment of the present application, part of functions of the target application program correspond to a plurality of simulated click positions with a preset arrangement order;
The generating a plurality of simulated click events in sequence in the window of the target application program comprises the following steps:
And in the window of the target application program, simulating clicking positions according to the plurality of the simulated clicking positions with the preset arrangement order, and generating a plurality of simulated clicking events.
In a possible implementation manner, in the display method provided by the embodiment of the present application, the portion of the target application program is a target function, and the plurality of simulated click positions corresponding to the target function and having a preset arrangement order are determined by adopting the following manner:
Responding to the operation of the target application program, and displaying an interface screenshot;
And identifying the controls in the screenshot by utilizing a pre-trained identification model, and determining the positions of a plurality of identified third controls serving as the plurality of simulated click positions with the preset arrangement sequence, wherein the plurality of third controls are used for triggering the target function in the target application program.
In a possible implementation manner, in the display method provided by the embodiment of the present application, a part of functions of the application program are determined based on usage conditions of each function in the application program;
the use cases of the functions include any one of the following:
The method comprises the steps of using frequency of each function in the current device, using frequency of each function provided by an application program provider, and using frequency of each function in the application program by a user using the current device.
In a possible implementation manner, in the display method provided by the embodiment of the present application, the at least one first control is determined based on the intention of the target user.
In a possible implementation manner, in the display method provided by the embodiment of the present application, the method further includes:
And determining a first control in the first menu based on the display content corresponding to the target object and the target user intention.
In a possible implementation manner, in the display method provided by the embodiment of the present application, the method further includes:
determining a target scene based on the display content corresponding to the target object;
determining the target user intention based on the target scene and a target operation of the display device by a user.
In a possible implementation manner, in the display method provided by the embodiment of the present application, the display content corresponding to the target object includes one or more of the following:
a launch control for the application, a window for the application;
the method further comprises the steps of:
matching each function of each application program in the display content corresponding to the target object with the target user intention, wherein the matching result comprises the function of a starting control of at least one application program and/or part of the functions of at least one application program;
And determining a first control in the first menu based on the function in the matching result.
In a possible implementation manner, in the display method provided by the embodiment of the present application, display content corresponding to the target object is provided by a screen-throwing sending end;
the method further comprises the steps of:
Determining a first coordinate mapping relation based on first coordinate information and second coordinate information, wherein the first coordinate information is coordinate information of the display content when the screen projection transmitting end displays the display content with a target resolution, and the second coordinate information is coordinate information of the display content when the display device displays the display content with the target resolution;
and determining a second coordinate mapping relation based on third coordinate information of the display content and the second coordinate information when the display device currently displays the display content.
In a possible implementation manner, in the display method provided by the embodiment of the present application, the at least one first control includes a target first control, and the target first control corresponds to a function of a start control of a target application program;
the method further comprises the steps of:
and responding to the operation of the target first control, acquiring a first coordinate of a starting control of the target first application program in a display interface of the display equipment, determining a second coordinate corresponding to the first coordinate based on the first coordinate mapping relation and the second coordinate mapping relation, and sending the second coordinate to the screen throwing sending end so that the screen throwing sending end can generate a simulated click event corresponding to the second coordinate.
In a possible implementation manner, in the display method provided by the embodiment of the present application, the at least one first control includes a target first control, where the target first control corresponds to a part of functions of a target application program;
the method further comprises the steps of:
Responding to the operation of the target first control, determining third coordinates corresponding to each simulated click position based on the first coordinate mapping relation and the second coordinate mapping relation, providing the third coordinates corresponding to each simulated click position for the screen throwing sending end and indicating the sequence corresponding to each simulated click position, so that the screen throwing sending end sequentially generates simulated click events of the third coordinates corresponding to each simulated click position according to the sequence
In a possible implementation manner, in the display method provided by the embodiment of the present application, the number of detected target objects is a plurality of;
and displaying a first menu corresponding to any one of the detected target objects based on the position corresponding to the any one of the target objects.
In a possible implementation manner, based on the position corresponding to any target object, an associated display area corresponding to the target object is determined, and the associated display area corresponding to the target object displays a first menu corresponding to the target object.
In a possible implementation manner, in the display method provided by the embodiment of the present application, the method further includes:
And determining a controlled area corresponding to the any target object based on the position of the any target object, wherein the first menu corresponding to the any target object is generated based on the content in the controlled area corresponding to the any target object.
Based on the same inventive concept, the present application also provides a display apparatus, please refer to fig. 13, which may include a display module and a processing module;
The display module is used for displaying the content;
The processing module is configured to execute the steps in the display method provided in any one of the foregoing embodiments.
In a possible embodiment, the processing module is configured to:
Detecting the position of a target object;
determining an associated display area corresponding to the target object based on the position of the target object, wherein the associated display area is a range for displaying a first menu;
And enabling the display module to display the first menu in the associated display area corresponding to the target object.
In a possible implementation manner, in the display device provided by the embodiment of the present application, the target object is a controlled window, and the processing module determines, based on the position of the target object, an associated display area corresponding to the target object, where the associated display area is specifically configured to:
And determining an associated display area corresponding to the target object based on the position of the controlled window.
In a possible implementation manner, in the display device provided by the embodiment of the present application, the processing module determines, based on the position of the controlled window, an associated display area of the target object, and is specifically configured to:
and determining an associated display area of the target object based on the position of the target boundary of the controlled window.
In a possible implementation manner, in the display device provided by the embodiment of the present application, a region size of the associated display region is preconfigured.
In a possible implementation manner, in the display device provided by the embodiment of the present application,
The target boundary is the preset boundary of the controlled window, or
The target boundary is a boundary meeting a preset condition in all boundaries of the controlled window, wherein the preset condition is any one of the following conditions:
The distance between each boundary and the ground is the smallest;
the distance between each boundary and the most recent user operation occurrence position is the smallest among the distances between the target boundary and the most recent user operation occurrence positions;
and in all the boundaries, any display object does not exist in a target range of one side of the target boundary far away from the controlled window.
In a possible implementation manner, in the display device provided by the embodiment of the present application, the determining, based on the position of the controlled window, the associated display area of the target object includes:
and determining an associated display area of the target object based on the position of the vertex of the controlled window.
In a possible implementation manner, in the display device provided by the embodiment of the application, the target object is a user, and the position of the target object is determined based on the image including the user acquired by the image acquisition device.
In a possible implementation manner, in the display device provided by the embodiment of the present application, the processing module is further configured to:
and in response to detecting that the position of the target object is updated, updating an associated display area corresponding to the target object based on the updated position of the target object, and displaying the first menu in the updated associated display area.
In a possible implementation manner, in the display device provided by the embodiment of the present application, the first menu includes at least one fixed function control, where a function of the fixed function control is preconfigured.
In a possible implementation manner, in the display device provided by the embodiment of the present application, the first menu includes at least one first control.
In a possible implementation manner, in the display device provided by the embodiment of the present application, the at least one first control is determined based on the display content corresponding to the target object.
In a possible implementation manner, in the display device provided by the embodiment of the present application, when the detected target objects are different, the first controls included in the first menu are different.
In a possible implementation manner, in the display device provided by the embodiment of the present application, the target object is a controlled window, and the display content corresponding to the target object refers to the content in the controlled window.
In a possible implementation manner, in the display device provided by the embodiment of the present application, the target object is a user, and the display content corresponding to the target object is content in a use area of the user.
In a possible implementation manner, in the display device provided by the embodiment of the present application, the processing module is configured to display, in an associated display area corresponding to the target object, a first menu corresponding to the target object, where the first menu is specifically configured to:
Displaying a second menu in the associated display area corresponding to the target object, wherein the second menu comprises at least one second control;
And responding to the operation of the target second control, and displaying the first menu in the associated display area corresponding to the target object.
In a possible implementation manner, in the display device provided by the embodiment of the present application, the display content corresponding to the target object includes one or more of the following:
a launch control for the application, a window for the application;
the first control corresponds to any one of the following:
a function of a launch control of the application and a partial function of the application.
In a possible implementation manner, in the display device provided by the embodiment of the present application, a part of functions of the application program are triggered based on a control in the application program.
In a possible implementation manner, in the display device provided by the embodiment of the application, the display content corresponding to the target object includes a start control of the target application program, and the at least one first control includes a target first control corresponding to a function of the start control of the target application program;
the processing module is further configured to:
and calling an interface for starting the target application program in response to the operation of the target first control.
In a possible implementation manner, in the display device provided by the embodiment of the application, the display content corresponding to the target object includes a start control of the target application program, and the at least one first control includes a target first control corresponding to a function of the start control of the target application program;
the processing module is further configured to:
in response to an operation on a target first control, a simulated click event for a launch control of the target application is generated.
In a possible implementation manner, in the display device provided by the embodiment of the application, the display content corresponding to the target object includes a window of a target application program, and the at least one first control includes a target first control, where the target first control corresponds to a part of functions of the target application program;
the processing module is further configured to:
And responding to the operation of the target first control, and triggering part of functions of the target application program.
In a possible implementation manner, in the display device provided by the embodiment of the application, the display content corresponding to the target object comprises a window of a target application program, the at least one first control comprises a target first control, and the target first control corresponds to part of functions of the target application program;
The processing module is used for responding to the operation of the target first control and triggering part of functions of the target application program, and the processing module is specifically used for:
And responding to the operation of the target first control, and generating a simulated click event in a window of the target application program based on the simulated click position so as to trigger part of functions of the target application program.
In a possible implementation manner, in the display device provided by the embodiment of the application, the display content corresponding to the target object includes a window of a target application program, and the at least one first control includes a target first control, where the target first control corresponds to a part of functions of the target application program;
The processing module is used for responding to the operation of the target first control and triggering part of functions of the target application program, and the processing module is specifically used for:
In response to operation of the target first control, generating a plurality of simulated click events in sequence in a window of the target application program to trigger a part of functions of the target application program.
In a possible implementation manner, in the display device provided by the embodiment of the present application, part of functions of the target application program correspond to a plurality of simulated click positions with a preset arrangement order;
the processing module generates a plurality of simulated click events in sequence in a window of the target application program, and the simulated click events are specifically used for:
And in the window of the target application program, simulating clicking positions according to the plurality of the simulated clicking positions with the preset arrangement order, and generating a plurality of simulated clicking events.
In a possible implementation manner, in the display device provided by the embodiment of the present application, the portion of the target application program is a target function, and the plurality of simulated click positions corresponding to the target function and having a preset arrangement order are determined by adopting the following manner:
Responding to the operation of the target application program, and displaying an interface screenshot;
And identifying the controls in the screenshot by utilizing a pre-trained identification model, and determining the positions of a plurality of identified third controls serving as the plurality of simulated click positions with the preset arrangement sequence, wherein the plurality of third controls are used for triggering the target function in the target application program.
In a possible implementation manner, in the display device provided by the embodiment of the present application, a part of functions of the application program are determined based on usage conditions of each function in the application program;
the use cases of the functions include any one of the following:
The method comprises the steps of using frequency of each function in the current device, using frequency of each function provided by an application program provider, and using frequency of each function in the application program by a user using the current device.
In a possible implementation manner, in the display device provided by the embodiment of the present application, the at least one first control is determined based on the intention of the target user.
In a possible implementation manner, in the display device provided by the embodiment of the present application, the processing module is further configured to:
And determining a first control in the first menu based on the display content corresponding to the target object and the target user intention.
In a possible implementation manner, in the display device provided by the embodiment of the present application, the processing module is further configured to:
determining a target scene based on the display content corresponding to the target object;
determining the target user intention based on the target scene and a target operation of the display device by a user.
In a possible implementation manner, in the display device provided by the embodiment of the present application, the display content corresponding to the target object includes one or more of the following:
a launch control for the application, a window for the application;
the processing module is further configured to:
matching each function of each application program in the display content corresponding to the target object with the target user intention, wherein the matching result comprises the function of a starting control of at least one application program and/or part of the functions of at least one application program;
And determining a first control in the first menu based on the function in the matching result.
In a possible implementation manner, in the display device provided by the embodiment of the present application, display content corresponding to the target object is provided by a screen-throwing sending end;
the processing module is further configured to:
Determining a first coordinate mapping relation based on first coordinate information and second coordinate information, wherein the first coordinate information is coordinate information of the display content when the screen projection transmitting end displays the display content with a target resolution, and the second coordinate information is coordinate information of the display content when the display device displays the display content with the target resolution;
and determining a second coordinate mapping relation based on third coordinate information of the display content and the second coordinate information when the display device currently displays the display content.
In a possible implementation manner, in the display device provided by the embodiment of the present application, the at least one first control includes a target first control, and the target first control corresponds to a function of a start control of a target application program;
the processing module is further configured to:
and responding to the operation of the target first control, acquiring a first coordinate of a starting control of the target first application program in a display interface of the display equipment, determining a second coordinate corresponding to the first coordinate based on the first coordinate mapping relation and the second coordinate mapping relation, and sending the second coordinate to the screen throwing sending end so that the screen throwing sending end can generate a simulated click event corresponding to the second coordinate.
In a possible implementation manner, in the display device provided by the embodiment of the present application, the at least one first control includes a target first control, where the target first control corresponds to a part of functions of a target application program;
the processing module is further configured to:
Responding to the operation of the target first control, determining third coordinates corresponding to each simulated click position based on the first coordinate mapping relation and the second coordinate mapping relation, providing the third coordinates corresponding to each simulated click position for the screen throwing sending end and indicating the sequence corresponding to each simulated click position, so that the screen throwing sending end sequentially generates simulated click events of the third coordinates corresponding to each simulated click position according to the sequence
In a possible implementation manner, in the display device provided by the embodiment of the present application, the number of detected target objects is a plurality of;
Displaying the first menu in the associated display area corresponding to the target object, wherein the first menu comprises:
And displaying a first menu corresponding to any one of the detected target objects in an associated display area corresponding to the any one of the target objects.
In a possible implementation manner, in the display device provided by the embodiment of the present application, the processing module is further configured to:
And determining a controlled area corresponding to the any target object based on the position of the any target object, wherein the first menu corresponding to the any target object is generated based on the content in the controlled area corresponding to the any target object.
On the other hand, the application also provides a display system which can comprise the electronic equipment and the display equipment, wherein the electronic equipment can be used as a screen projection sending end for providing screen projection content for the display equipment. The display device may perform the steps of the display method provided in any of the foregoing embodiments.
Based on the same concept, fig. 14 is a schematic structural diagram of an electronic device 1800 provided by an embodiment of the present application. The electronic device 1800 may be the first device or the second device in the foregoing. As shown in fig. 14, the electronic device 1800 may include one or more processors 1801, one or more memories 1802, a communication interface 1803, and one or more computer programs 1804, which may be coupled via one or more communication buses 1805. Wherein the one or more computer programs 1804 are stored in the memory 1802 and configured to be executed by the one or more processors 1801, the one or more computer programs 1804 comprising instructions. For example, the above-described instructions may be used to perform the relevant steps in the display method performed by the display device as in the corresponding embodiment above. The communication interface 1803 is used to support connections with other devices, for example, the communication interface may be a transceiver.
In the embodiments of the present application described above, the method provided by the embodiments of the present application is described in terms of the display device as the execution subject. In order to implement the functions in the method provided by the embodiment of the present application, the display device may include a hardware structure and/or a software module, and implement the functions in the form of a hardware structure, a software module, or a hardware structure plus a software module. Some of the functions described above are performed in a hardware configuration, a software module, or a combination of hardware and software modules, depending on the specific application of the solution and design constraints.
In addition, an embodiment of the present application provides a computer-readable storage medium for storing a computer program that, when run on a computer, causes the computer to perform the steps of any one of the display methods described above.
As used in the above embodiments, the term "when" or "after" may be interpreted as meaning "if" or "after" or "in response to determining" or "in response to detecting" depending on the context. Similarly, the phrase "when determining..or" if (a stated condition or event) is detected "may be interpreted to mean" if determined.+ -. "or" in response to determining.+ -. "or" when (a stated condition or event) is detected "or" in response to (a stated condition or event) "depending on the context. In addition, in the above-described embodiments, relational terms such as first and second are used to distinguish one entity from another entity without limiting any actual relationship or order between the entities.
Reference in the specification to "one embodiment" or "some embodiments" or the like means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," and the like in the specification are not necessarily all referring to the same embodiment, but mean "one or more but not all embodiments" unless expressly specified otherwise. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless expressly specified otherwise.
In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product.
Embodiments of the present application also provide a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, produces a flow or function in accordance with embodiments of the present application, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in or transmitted from one computer-readable storage medium to another, for example, by wired (e.g., coaxial cable, optical fiber, digital Subscriber Line (DSL)), or wireless (e.g., infrared, wireless, microwave, etc.). The computer readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains an integration of one or more available media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid state disk Solid STATE DISK (SSD)), etc. The schemes of the above embodiments may be used in combination without conflict.

Claims (74)

Translated fromChinese
1.一种显示方法,其中,应用于显示设备,包括:1. A display method, wherein the method is applied to a display device, comprising:检测目标对象的位置;Detect the location of the target object;基于所述目标对象的位置,确定所述目标对象对应的关联显示区域,所述关联显示区域是用于显示第一菜单的范围;Based on the position of the target object, determining an associated display area corresponding to the target object, wherein the associated display area is a range for displaying a first menu;在所述目标对象对应的关联显示区域内,显示所述第一菜单。Thefirst menu is displayed in the associated display area corresponding to the target object.2.如权利要求1所述的方法,其中,所述目标对象为被控窗口;基于所述目标对象的位置,确定所述目标对象对应的关联显示区域,包括:2. The method according to claim 1, wherein the target object is a controlled window; and based on the position of the target object, determining the associated display area corresponding to the target object comprises:基于所述被控窗口的位置,确定所述目标对象对应的关联显示区域。Based on the position of the controlled window, an associated display area corresponding to the target object is determined.3.如权利要求2所述的方法,其中,所述基于所述被控窗口的位置,确定所述目标对象的关联显示区域,包括:3. The method according to claim 2, wherein determining the associated display area of the target object based on the position of the controlled window comprises:基于所述被控窗口的目标边界的位置,确定所述目标对象的关联显示区域。Based on the position of the target boundary of the controlled window, an associated display area of the target object is determined.4.如权利要求3所述的方法,其中,所述关联显示区域的区域大小是预先配置的。The method of claim 3 , wherein the area size of the associated display area is preconfigured.5.如权利要求3所述的方法,其中,5. The method of claim 3, wherein:所述目标边界为所述被控窗口的预设边界;或者,The target boundary is a preset boundary of the controlled window; or,所述目标边界是在所述被控窗口的全部边界中符合预设条件的边界,其中,所述预设条件为如下任一条件:The target boundary is a boundary that meets a preset condition among all boundaries of the controlled window, wherein the preset condition is any one of the following conditions:每个边界与地面之间的距离中,所述目标边界与地面之间的距离是最小的;Among the distances between each boundary and the ground, the distance between the target boundary and the ground is the smallest;每个边界与最近一次用户操作发生位置之间的距离中,所述目标边界与所述最近一次用户操作发生位置之间的距离是最小的;Among the distances between each boundary and the location where the most recent user operation occurred, the distance between the target boundary and the location where the most recent user operation occurred is the smallest;在所述全部边界中,所述目标边界远离所述被控窗口的一侧的目标范围内不存在任一显示对象。Among all the boundaries, no display object exists within the target range of the target boundary on a side away from the controlled window.6.如权利要求2所述的方法,其中,所述基于所述被控窗口的位置,确定所述目标对象的关联显示区域,包括:6. The method of claim 2, wherein determining the associated display area of the target object based on the position of the controlled window comprises:基于所述被控窗口的顶点的位置,确定所述目标对象的关联显示区域。Based on the positions of the vertices of the controlled window, an associated display area of the target object is determined.7.如权利要求1所述的方法,其中,所述目标对象为用户;所述目标对象的位置是基于图像采集设备采集到的包含所述用户的图像确定的。7. The method according to claim 1, wherein the target object is a user; and the position of the target object is determined based on an image containing the user captured by an image acquisition device.8.如权利要求1所述的方法,其中,所述方法还包括:8. The method of claim 1, wherein the method further comprises:响应于检测到所述目标对象的位置发生更新,基于更新后的所述目标对象的位置,更新所述目标对象对应的关联显示区域,并在更新后的关联显示区域内显示所述第一菜单。In response to detecting that the position of the target object is updated, based on the updated position of the target object, the associated display area corresponding to the target object is updated, and the first menu is displayed in the updated associated display area.9.如权利要求8所述的方法,其中,所述第一菜单包括至少一个固定功能控件,其中,所述固定功能控件的功能是预先配置的。9 . The method of claim 8 , wherein the first menu comprises at least one fixed-function control, wherein a function of the fixed-function control is preconfigured.10.如权利要求1-9任一所述的方法,其中,所述第一菜单包括至少一个第一控件。10. The method according to any one of claims 1 to 9, wherein the first menu includes at least one first control.11.如权利要求10所述的方法,其中,所述至少一个第一控件是基于所述目标对象对应的显示内容确定的。The method of claim 10 , wherein the at least one first control is determined based on display content corresponding to the target object.12.如权利要求10所述的方法,其中,检测到的目标对象不同时,所述第一菜单中包含的第一控件不同。12 . The method of claim 10 , wherein when the detected target object is different, the first control included in the first menu is different.13.如权利要求12所述的方法,其中,13. The method of claim 12, wherein:所述目标对象为被控窗口,所述目标对象对应的显示内容是指所述被控窗口中的内容。The target object is a controlled window, and the display content corresponding to the target object refers to the content in the controlled window.14.如权利要求12所述的方法,其中,14. The method of claim 12, wherein:所述目标对象为用户,所述目标对象对应的显示内容是指被所述用户使用区域中的内容。The target object is a user, and the display content corresponding to the target object refers to the content in the area used by the user.15.如权利要求10所述的方法,其中,所述在所述目标对象对应的关联显示区域内,显示所述目标对象对应的第一菜单,包括:15. The method according to claim 10, wherein displaying a first menu corresponding to the target object in an associated display area corresponding to the target object comprises:在所述目标对象对应的关联显示区域内,显示第二菜单,所述第二菜单包括至少一个第二控件;Displaying a second menu in the associated display area corresponding to the target object, wherein the second menu includes at least one second control;响应于对目标第二控件的操作,在所述目标对象对应的关联显示区域中显示所述第一菜单。In response to an operation on a target second control, the first menu is displayed in an associated display area corresponding to the target object.16.如权利要求10所述的方法,其中,所述目标对象对应的显示内容中包括如下中的一种或多种:16. The method according to claim 10, wherein the display content corresponding to the target object includes one or more of the following:应用程序的启动控件,应用程序的窗口;The application's startup controls and application's windows;所述第一控件对应如下任意一个:The first control corresponds to any one of the following:一个所述应用程序的启动控件的功能,一个所述应用程序的部分功能。One is a function of launching a control of the application, and the other is a partial function of the application.17.如权利要求16所述的方法,其中,所述应用程序的部分功能是基于所述应用程序中的控件触发的。The method of claim 16 , wherein part of the functions of the application are triggered based on controls in the application.18.如权利要求16所述的方法,其中,所述目标对象对应的显示内容包括目标应用程序的启动控件;所述至少一个第一控件包括目标第一控件,所述目标第一控件对应所述目标应用程序的启动控件的功能;18. The method of claim 16, wherein the display content corresponding to the target object includes a start control of a target application; the at least one first control includes a target first control, and the target first control corresponds to the function of the start control of the target application;所述方法还包括:The method further comprises:响应于对目标第一控件的操作,调用启动所述目标应用程序的接口。In response to an operation on the target first control, an interface for starting the target application is called.19.如权利要求16所述的方法,其中,所述目标对象对应的显示内容包括目标应用程序的启动控件;所述至少一个第一控件包括目标第一控件,所述目标第一控件对应所述目标应用程序的启动控件的功能;19. The method of claim 16, wherein the display content corresponding to the target object includes a start control of a target application; the at least one first control includes a target first control, and the target first control corresponds to the function of the start control of the target application;所述方法还包括:The method further comprises:响应于对目标第一控件的操作,生成对所述目标应用程序的启动控件的模拟点击事件。In response to the operation on the target first control, a simulated click event is generated for the launch control of the target application.20.如权利要求16所述的方法,其中,所述目标对象对应的显示内容包括目标应用程序的窗口;所述至少一个第一控件包括目标第一控件,所述目标第一控件对应所述目标应用程序的部分功能;20. The method of claim 16, wherein the display content corresponding to the target object comprises a window of a target application; the at least one first control comprises a target first control, and the target first control corresponds to a part of the function of the target application;所述方法还包括:The method further comprises:响应于对目标第一控件的操作,触发所述目标应用程序的部分功能。In response to an operation on a target first control, a portion of functions of the target application is triggered.21.如权利要求20所述的方法,其中,所述目标对象对应的显示内容包括目标应用程序的窗口;所述至少一个第一控件包括目标第一控件,所述目标第一控件对应所述目标应用程序的部分功能;所述目标应用程序的部分功能对应一个模拟点击位置;21. The method of claim 20, wherein the display content corresponding to the target object comprises a window of a target application; the at least one first control comprises a target first control, the target first control corresponds to a partial function of the target application; the partial function of the target application corresponds to a simulated click position;所述响应于对目标第一控件的操作,触发所述目标应用程序的部分功能,包括:The triggering of part of the functions of the target application in response to the operation on the target first control includes:响应于对所述目标第一控件的操作,在所述目标应用程序的窗口中,基于所述模拟点击位置,生成模拟点击事件,以触发所述目标应用程序的部分功能。In response to the operation on the target first control, a simulated click event is generated in the window of the target application based on the simulated click position to trigger a partial function of the target application.22.如权利要求20所述的方法,其中,所述目标对象对应的显示内容包括目标应用程序的窗口;所述至少一个第一控件包括目标第一控件,所述目标第一控件对应所述目标应用程序的部分功能;22. The method of claim 20, wherein the display content corresponding to the target object comprises a window of a target application; the at least one first control comprises a target first control, and the target first control corresponds to a part of the function of the target application;所述响应于对目标第一控件的操作,触发所述目标应用程序的部分功能,包括:The triggering of part of the functions of the target application in response to the operation on the target first control includes:响应于对所述目标第一控件的操作,在所述目标应用程序的窗口中,按照次序生成多个模拟点击事件,以触发所述目标应用程序的部分功能。In response to the operation on the target first control, a plurality of simulated click events are generated in sequence in the window of the target application to trigger partial functions of the target application.23.如权利要求22所述的方法,其中,所述目标应用程序的部分功能对应多个具有预设排列次序模拟点击位置;23. The method of claim 22, wherein the partial functions of the target application correspond to a plurality of simulated click positions having a preset arrangement order;所述在所述目标应用程序的窗口中,按照次序生成多个模拟点击事件,包括:In the window of the target application, a plurality of simulated click events are generated in order, including:在所述目标应用程序的窗口中,根据所述多个具有预设排列次序模拟点击位置,生成多个模拟点击事件。In the window of the target application, a plurality of simulated click events are generated according to the plurality of simulated click positions having a preset arrangement order.24.如权利要求23所述的方法,其中,所述目标应用程序的部分为目标功能;所述目标功能对应的多个具有预设排列次序模拟点击位置,采用如下方式确定:24. The method of claim 23, wherein the part of the target application is a target function; and the plurality of simulated click positions corresponding to the target function and having a preset arrangement order are determined in the following manner:响应于对所述目标应用程序的操作,对显示界面截图;In response to an operation on the target application, taking a screenshot of the display interface;利用预先训练的识别模型,对所述截图中的控件进行识别,确定识别出的多个第三控件的位置,作为所述多个具有预设排列次序模拟点击位置,所述多个第三控件用于在所述目标应用程序中触发所述目标功能。Using a pre-trained recognition model, the controls in the screenshot are identified, and the positions of the multiple identified third controls are determined as the multiple simulated click positions with a preset arrangement order. The multiple third controls are used to trigger the target function in the target application.25.如权利要求16所述的方法,其中,所述应用程序的部分功能是基于所述应用程序中各功能的使用情况确定的;25. The method of claim 16, wherein the partial functions of the application are determined based on usage of each function in the application;所述各功能的使用情况包括如任意一个:The usage of each function includes any one of:在当前设备中的各功能的使用频率、应用程序供应商提供的各功能的使用频率、使用所述当前设备的用户使用所述应用程序中各功能的使用频率。The usage frequency of each function in the current device, the usage frequency of each function provided by the application provider, and the usage frequency of each function in the application by the user using the current device.26.如权利要求10所述的方法,其中,所述至少一个第一控件是基于目标用户意图确定的。26. The method of claim 10, wherein the at least one first control is determined based on a target user intent.27.如权利要求26所述的方法,其中,所述方法还包括:27. The method of claim 26, wherein the method further comprises:基于所述目标对象对应的显示内容和所述目标用户意图,确定所述第一菜单中的第一控件。Based on the display content corresponding to the target object and the target user intention, a first control in the first menu is determined.28.如权利要求27所述的方法,其中,所述方法还包括:28. The method of claim 27, wherein the method further comprises:基于所述目标对象对应的显示内容,确定目标场景;Determining a target scene based on the display content corresponding to the target object;基于所述目标场景,以及用户对所述显示设备的目标操作,确定所述目标用户意图。The target user intention is determined based on the target scenario and the user's target operation on the display device.29.如权利要求27或28所述的方法,其中,所述目标对象对应的显示内容包括如下一种或多种:29. The method according to claim 27 or 28, wherein the display content corresponding to the target object includes one or more of the following:应用程序的启动控件,应用程序的窗口;The application's startup controls and application's windows;所述方法还包括:The method further comprises:将所述目标对象对应的显示内容中每个应用程序的各功能,与所述目标用户意图匹配,匹配结果包括至少一个应用程序的启动控件的功能,和/或,至少一个应用程序的部分功能;Matching each function of each application in the display content corresponding to the target object with the target user intention, wherein the matching result includes a function of a startup control of at least one application and/or a partial function of at least one application;基于匹配结果中的功能,确定所述第一菜单中的第一控件。Based on the functions in the matching results, a first control in the first menu is determined.30.如权利要求16所述的方法,其中,所述目标对象对应的显示内容是投屏发送端提供的;30. The method of claim 16, wherein the display content corresponding to the target object is provided by the screen projection sending end;所述方法还包括:The method further comprises:基于第一坐标信息和第二坐标信息,确定第一坐标映射关系,其中,所述第一坐标信息为所述投屏发送端以目标分辨率显示所述显示内容时所述显示内容的坐标信息,所述第二坐标信息为所述显示设备以所述目标分辨率显示所述显示内容时所述显示内容的坐标信息;Determine a first coordinate mapping relationship based on the first coordinate information and the second coordinate information, wherein the first coordinate information is the coordinate information of the display content when the projection sending end displays the display content at the target resolution, and the second coordinate information is the coordinate information of the display content when the display device displays the display content at the target resolution;基于所述显示设备当前显示所述显示内容时所述显示内容的第三坐标信息以及所述第二坐标信息,确定第二坐标映射关系。A second coordinate mapping relationship is determined based on the third coordinate information of the display content and the second coordinate information when the display device currently displays the display content.31.如权利要求30所述的方法,其中,所述至少一个第一控件包括目标第一控件,且所述目标第一控件对应目标应用程序的启动控件的功能;31. The method of claim 30, wherein the at least one first control comprises a target first control, and the target first control corresponds to a function of a launch control of a target application;所述方法还包括:The method further comprises:响应于对所述目标第一控件的操作,获取在所述显示设备的显示界面中所述目标第一应用程序的启动控件的第一坐标,并基于所述第一坐标映射关系和所述第二坐标映射关系,确定所述第一坐标对应的第二坐标,将所述第二坐标发送给所述投屏发送端,以便所述投屏发送端生成所述第二坐标对应的模拟点击事件。In response to an operation on the target first control, the first coordinate of the startup control of the target first application in the display interface of the display device is obtained, and based on the first coordinate mapping relationship and the second coordinate mapping relationship, the second coordinate corresponding to the first coordinate is determined, and the second coordinate is sent to the screen projection sending end so that the screen projection sending end generates a simulated click event corresponding to the second coordinate.32.如权利要求30所述的方法,其中,所述至少一个第一控件包括目标第一控件,且所述目标第一控件对应目标应用程序的部分功能;所述目标第一控件的部分功能对应所述显示设备的显示界面中多个模拟点击位置,所述多个模拟点击位置中各模拟点击位置对应的次序是预先配置的;32. The method of claim 30, wherein the at least one first control comprises a target first control, and the target first control corresponds to a portion of functions of a target application; the portion of functions of the target first control corresponds to a plurality of simulated click positions in a display interface of the display device, and the order in which each simulated click position corresponds to the plurality of simulated click positions is preconfigured;所述方法还包括:The method further comprises:响应于对所述目标第一控件的操作,基于所述第一坐标映射关系和所述第二坐标映射关系,确定各模拟点击位置对应的第三坐标,向所述投屏发送端提供各模拟点击位置对应的第三坐标并指示各模拟点击位置对应的次序,以便所述投屏发送端按照所述次序,依次生成各模拟点击位置对应的第三坐标的模拟点击事件。In response to the operation on the target first control, the third coordinates corresponding to each simulated click position are determined based on the first coordinate mapping relationship and the second coordinate mapping relationship, and the third coordinates corresponding to each simulated click position are provided to the projection screen sending end and the order corresponding to each simulated click position is indicated, so that the projection screen sending end generates simulated click events for the third coordinates corresponding to each simulated click position in sequence according to the order.33.如权利要求1所述的方法,其中,检测到所述目标对象的数量为多个;33. The method of claim 1, wherein the number of the target objects detected is multiple;在所述目标对象对应的关联显示区域内,显示所述第一菜单,包括:Displaying the first menu in the associated display area corresponding to the target object includes:针对检测到的任一目标对象,在所述任一目标对象对应的关联显示区域内,显示所述任一目标对象对应的第一菜单。For any detected target object, a first menu corresponding to the target object is displayed in an associated display area corresponding to the target object.34.如权利要求33所述的方法,其中,所述方法还包括:34. The method of claim 33, wherein the method further comprises:基于所述任一目标对象的位置,确定所述任一目标对象对应的被控区域,所述任一目标对象对应的第一菜单是基于所述任一目标对象对应的被控区域中的内容生成的。Based on the position of any target object, a controlled area corresponding to any target object is determined, and a first menu corresponding to any target object is generated based on content in the controlled area corresponding to any target object.35.一种显示方法,其中,所述方法包括:35. A display method, wherein the method comprises:检测目标对象的位置;Detect the location of the target object;基于所述目标对象的位置,确定所述目标对象对应的显示内容;Based on the position of the target object, determining display content corresponding to the target object;基于所述目标对象对应的显示内容,确定所述目标对象对应的第一菜单;Determining a first menu corresponding to the target object based on the display content corresponding to the target object;显示所述第一菜单。The first menu is displayed.36.一种显示设备,其中,包括显示模块和处理模块;36. A display device, comprising a display module and a processing module;所述显示模块用于显示内容;The display module is used to display content;所述处理模块用于:The processing module is used for:检测目标对象的位置;Detect the location of the target object;基于所述目标对象的位置,确定所述目标对象对应的关联显示区域,所述关联显示区域是用于显示第一菜单的范围;Based on the position of the target object, determining an associated display area corresponding to the target object, wherein the associated display area is a range for displaying a first menu;使所述显示模块在所述目标对象对应的关联显示区域内,显示所述第一菜单。The display module is enabled to display the first menu in an associated display area corresponding to the target object.37.如权利要求36所述的设备,其中,所述目标对象为被控窗口;所述处理模块基于所述目标对象的位置,确定所述目标对象对应的关联显示区域,具体用于:37. The device of claim 36, wherein the target object is a controlled window; and the processing module determines the associated display area corresponding to the target object based on the position of the target object, specifically for:基于所述被控窗口的位置,确定所述目标对象对应的关联显示区域。Based on the position of the controlled window, an associated display area corresponding to the target object is determined.38.如权利要求37所述的设备,其中,所述处理模块基于所述被控窗口的位置,确定所述目标对象的关联显示区域,具体用于:38. The device of claim 37, wherein the processing module determines the associated display area of the target object based on the position of the controlled window, specifically for:基于所述被控窗口的目标边界的位置,确定所述目标对象的关联显示区域。Based on the position of the target boundary of the controlled window, an associated display area of the target object is determined.39.如权利要求38所述的设备,其中,所述关联显示区域的区域大小是预先配置的。39. The device of claim 38, wherein the area size of the associated display area is preconfigured.40.如权利要求38所述的设备,其中,40. The apparatus of claim 38, wherein:所述目标边界为所述被控窗口的预设边界;或者,The target boundary is a preset boundary of the controlled window; or,所述目标边界是在所述被控窗口的全部边界中符合预设条件的边界,其中,所述预设条件为如下任一条件:The target boundary is a boundary that meets a preset condition among all boundaries of the controlled window, wherein the preset condition is any one of the following conditions:每个边界与地面之间的距离中,所述目标边界与地面之间的距离是最小的;Among the distances between each boundary and the ground, the distance between the target boundary and the ground is the smallest;每个边界与最近一次用户操作发生位置之间的距离中,所述目标边界与所述最近一次用户操作发生位置之间的距离是最小的;Among the distances between each boundary and the location where the most recent user operation occurred, the distance between the target boundary and the location where the most recent user operation occurred is the smallest;在所述全部边界中,所述目标边界远离所述被控窗口的一侧的目标范围内不存在任一显示对象。Among all the boundaries, no display object exists within the target range of the target boundary on a side away from the controlled window.41.如权利要求37所述的设备,其中,所述基于所述被控窗口的位置,确定所述目标对象的关联显示区域,包括:41. The device of claim 37, wherein the determining the associated display area of the target object based on the position of the controlled window comprises:基于所述被控窗口的顶点的位置,确定所述目标对象的关联显示区域。Based on the positions of the vertices of the controlled window, an associated display area of the target object is determined.42.如权利要求36所述的设备,其中,所述目标对象为用户;所述目标对象的位置是基于图像采集设备采集到的包含所述用户的图像确定的。42. The device of claim 36, wherein the target object is a user; and the position of the target object is determined based on an image containing the user captured by an image capture device.43.如权利要求36所述的设备,其中,所述处理模块还用于:43. The apparatus of claim 36, wherein the processing module is further configured to:响应于检测到所述目标对象的位置发生更新,基于更新后的所述目标对象的位置,更新所述目标对象对应的关联显示区域,并在更新后的关联显示区域内显示所述第一菜单。In response to detecting that the position of the target object is updated, based on the updated position of the target object, the associated display area corresponding to the target object is updated, and the first menu is displayed in the updated associated display area.44.如权利要求43所述的设备,其中,所述第一菜单包括至少一个固定功能控件,其中,所述固定功能控件的功能是预先配置的。44. The device of claim 43, wherein the first menu includes at least one fixed-function control, wherein a function of the fixed-function control is preconfigured.45.如权利要求36-44任一所述的设备,其中,所述第一菜单包括至少一个第一控件。45. The device of any one of claims 36-44, wherein the first menu comprises at least one first control.46.如权利要求45所述的设备,其中,所述至少一个第一控件是基于所述目标对象对应的显示内容确定的。46. The device of claim 45, wherein the at least one first control is determined based on display content corresponding to the target object.47.如权利要求45所述的设备,其中,检测到的目标对象不同时,所述第一菜单中包含的第一控件不同。47. The device of claim 45, wherein the first control included in the first menu is different when the detected target object is different.48.如权利要求47所述的设备,其中,48. The apparatus of claim 47, wherein:所述目标对象为被控窗口,所述目标对象对应的显示内容是指所述被控窗口中的内容。The target object is a controlled window, and the display content corresponding to the target object refers to the content in the controlled window.49.如权利要求47所述的设备,其中,49. The apparatus of claim 47, wherein:所述目标对象为用户,所述目标对象对应的显示内容是指被所述用户使用区域中的内容。The target object is a user, and the display content corresponding to the target object refers to the content in the area used by the user.50.如权利要求45所述的设备,其中,所述处理模块在所述目标对象对应的关联显示区域内,显示所述目标对象对应的第一菜单,具体用于:50. The device of claim 45, wherein the processing module displays a first menu corresponding to the target object in an associated display area corresponding to the target object, specifically for:在所述目标对象对应的关联显示区域内,显示第二菜单,所述第二菜单包括至少一个第二控件;Displaying a second menu in the associated display area corresponding to the target object, wherein the second menu includes at least one second control;响应于对目标第二控件的操作,在所述目标对象对应的关联显示区域中显示所述第一菜单。In response to an operation on a target second control, the first menu is displayed in an associated display area corresponding to the target object.51.如权利要求45所述的设备,其中,所述目标对象对应的显示内容中包括如下中的一种或多种:51. The device of claim 45, wherein the display content corresponding to the target object includes one or more of the following:应用程序的启动控件,应用程序的窗口;The application's startup controls and application's windows;所述第一控件对应如下任意一个:The first control corresponds to any one of the following:一个所述应用程序的启动控件的功能,一个所述应用程序的部分功能。One is a function of launching a control of the application, and the other is a partial function of the application.52.如权利要求51所述的设备,其中,所述应用程序的部分功能是基于所述应用程序中的控件触发的。52. The device of claim 51, wherein part of the functions of the application are triggered based on controls in the application.53.如权利要求51所述的设备,其中,所述目标对象对应的显示内容包括目标应用程序的启动控件;所述至少一个第一控件包括目标第一控件,所述目标第一控件对应所述目标应用程序的启动控件的功能;53. The device of claim 51, wherein the display content corresponding to the target object includes a start control of a target application; the at least one first control includes a target first control, and the target first control corresponds to a function of the start control of the target application;所述处理模块还用于:The processing module is also used for:响应于对目标第一控件的操作,调用启动所述目标应用程序的接口。In response to an operation on the target first control, an interface for starting the target application is called.54.如权利要求51所述的设备,其中,所述目标对象对应的显示内容包括目标应用程序的启动控件;所述至少一个第一控件包括目标第一控件,所述目标第一控件对应所述目标应用程序的启动控件的功能;54. The device of claim 51, wherein the display content corresponding to the target object includes a start control of a target application; the at least one first control includes a target first control, and the target first control corresponds to a function of the start control of the target application;所述处理模块还用于:The processing module is also used for:响应于对目标第一控件的操作,生成对所述目标应用程序的启动控件的模拟点击事件。In response to the operation on the target first control, a simulated click event is generated for the launch control of the target application.55.如权利要求51所述的设备,其中,所述目标对象对应的显示内容包括目标应用程序的窗口;所述至少一个第一控件包括目标第一控件,所述目标第一控件对应所述目标应用程序的部分功能;55. The device of claim 51, wherein the display content corresponding to the target object comprises a window of a target application; the at least one first control comprises a target first control, and the target first control corresponds to a part of the function of the target application;所述处理模块还用于:The processing module is also used for:响应于对目标第一控件的操作,触发所述目标应用程序的部分功能。In response to an operation on a target first control, a portion of functions of the target application is triggered.56.如权利要求55所述的设备,其中,所述目标对象对应的显示内容包括目标应用程序的窗口;所述至少一个第一控件包括目标第一控件,所述目标第一控件对应所述目标应用程序的部分功能;所述目标应用程序的部分功能对应一个模拟点击位置;56. The device of claim 55, wherein the display content corresponding to the target object comprises a window of a target application; the at least one first control comprises a target first control, the target first control corresponds to a partial function of the target application; the partial function of the target application corresponds to a simulated click position;所述处理模块响应于对目标第一控件的操作,触发所述目标应用程序的部分功能,具体用于:The processing module triggers part of the functions of the target application in response to the operation on the target first control, specifically for:响应于对所述目标第一控件的操作,在所述目标应用程序的窗口中,基于所述模拟点击位置,生成模拟点击事件,以触发所述目标应用程序的部分功能。In response to the operation on the target first control, a simulated click event is generated in the window of the target application based on the simulated click position to trigger a partial function of the target application.57.如权利要求55所述的设备,其中,所述目标对象对应的显示内容包括目标应用程序的窗口;所述至少一个第一控件包括目标第一控件,所述目标第一控件对应所述目标应用程序的部分功能;57. The device of claim 55, wherein the display content corresponding to the target object comprises a window of a target application; the at least one first control comprises a target first control, and the target first control corresponds to a part of the function of the target application;所述处理模块响应于对目标第一控件的操作,触发所述目标应用程序的部分功能,具体用于:The processing module triggers part of the functions of the target application in response to the operation on the target first control, specifically for:响应于对所述目标第一控件的操作,在所述目标应用程序的窗口中,按照次序生成多个模拟点击事件,以触发所述目标应用程序的部分功能。In response to the operation on the target first control, a plurality of simulated click events are generated in sequence in the window of the target application to trigger partial functions of the target application.58.如权利要求57所述的设备,其中,所述目标应用程序的部分功能对应多个具有预设排列次序模拟点击位置;58. The device of claim 57, wherein the partial functions of the target application correspond to a plurality of simulated click positions having a preset arrangement order;所述处理模块在所述目标应用程序的窗口中,按照次序生成多个模拟点击事件,具体用于:The processing module generates a plurality of simulated click events in sequence in the window of the target application, specifically for:在所述目标应用程序的窗口中,根据所述多个具有预设排列次序模拟点击位置,生成多个模拟点击事件。In the window of the target application, a plurality of simulated click events are generated according to the plurality of simulated click positions having a preset arrangement order.59.如权利要求58所述的设备,其中,所述目标应用程序的部分为目标功能;所述目标功能对应的多个具有预设排列次序模拟点击位置,采用如下方式确定:59. The device of claim 58, wherein the part of the target application is a target function; and the plurality of simulated click positions corresponding to the target function and having a preset arrangement order are determined in the following manner:响应于对所述目标应用程序的操作,对显示界面截图;In response to an operation on the target application, taking a screenshot of the display interface;利用预先训练的识别模型,对所述截图中的控件进行识别,确定识别出的多个第三控件的位置,作为所述多个具有预设排列次序模拟点击位置,所述多个第三控件用于在所述目标应用程序中触发所述目标功能。Using a pre-trained recognition model, the controls in the screenshot are identified, and the positions of the multiple identified third controls are determined as the multiple simulated click positions with a preset arrangement order. The multiple third controls are used to trigger the target function in the target application.60.如权利要求51所述的设备,其中,所述应用程序的部分功能是基于所述应用程序中各功能的使用情况确定的;60. The device of claim 51, wherein the partial functions of the application are determined based on usage of each function in the application;所述各功能的使用情况包括如任意一个:The usage of each function includes any one of:在当前设备中的各功能的使用频率、应用程序供应商提供的各功能的使用频率、使用所述当前设备的用户使用所述应用程序中各功能的使用频率。The usage frequency of each function in the current device, the usage frequency of each function provided by the application provider, and the usage frequency of each function in the application by the user using the current device.61.如权利要求45所述的设备,其中,所述至少一个第一控件是基于目标用户意图确定的。61. The device of claim 45, wherein the at least one first control is determined based on a target user intent.62.如权利要求61所述的设备,其中,所述处理模块还用于:62. The apparatus of claim 61, wherein the processing module is further configured to:基于所述目标对象对应的显示内容和所述目标用户意图,确定所述第一菜单中的第一控件。Based on the display content corresponding to the target object and the target user intention, a first control in the first menu is determined.63.如权利要求62所述的设备,其中,所述处理模块还用于:63. The apparatus of claim 62, wherein the processing module is further configured to:基于所述目标对象对应的显示内容,确定目标场景;Determining a target scene based on the display content corresponding to the target object;基于所述目标场景,以及用户对所述显示设备的目标操作,确定所述目标用户意图。The target user intention is determined based on the target scenario and the user's target operation on the display device.64.如权利要求62或63所述的设备,其中,所述目标对象对应的显示内容包括如下一种或多种:64. The device of claim 62 or 63, wherein the display content corresponding to the target object includes one or more of the following:应用程序的启动控件,应用程序的窗口;The application's startup controls and application's windows;所述处理模块还用于:The processing module is also used for:将所述目标对象对应的显示内容中每个应用程序的各功能,与所述目标用户意图匹配,匹配结果包括至少一个应用程序的启动控件的功能,和/或,至少一个应用程序的部分功能;Matching each function of each application in the display content corresponding to the target object with the target user intention, wherein the matching result includes a function of a startup control of at least one application and/or a partial function of at least one application;基于匹配结果中的功能,确定所述第一菜单中的第一控件。Based on the functions in the matching results, a first control in the first menu is determined.65.如权利要求51所述的设备,其中,所述目标对象对应的显示内容是投屏发送端提供的;65. The device of claim 51, wherein the display content corresponding to the target object is provided by the screen projection sending end;所述处理模块还用于:The processing module is also used for:基于第一坐标信息和第二坐标信息,确定第一坐标映射关系,其中,所述第一坐标信息为所述投屏发送端以目标分辨率显示所述显示内容时所述显示内容的坐标信息,所述第二坐标信息为所述显示设备以所述目标分辨率显示所述显示内容时所述显示内容的坐标信息;Determine a first coordinate mapping relationship based on the first coordinate information and the second coordinate information, wherein the first coordinate information is the coordinate information of the display content when the projection sending end displays the display content at the target resolution, and the second coordinate information is the coordinate information of the display content when the display device displays the display content at the target resolution;基于所述显示设备当前显示所述显示内容时所述显示内容的第三坐标信息以及所述第二坐标信息,确定第二坐标映射关系。A second coordinate mapping relationship is determined based on the third coordinate information of the display content and the second coordinate information when the display device currently displays the display content.66.如权利要求65所述的设备,其中,所述至少一个第一控件包括目标第一控件,且所述目标第一控件对应目标应用程序的启动控件的功能;66. The device of claim 65, wherein the at least one first control comprises a target first control, and the target first control corresponds to a function of a launch control of a target application;所述处理模块还用于:The processing module is also used for:响应于对所述目标第一控件的操作,获取在所述显示设备的显示界面中所述目标第一应用程序的启动控件的第一坐标,并基于所述第一坐标映射关系和所述第二坐标映射关系,确定所述第一坐标对应的第二坐标,将所述第二坐标发送给所述投屏发送端,以便所述投屏发送端生成所述第二坐标对应的模拟点击事件。In response to an operation on the target first control, the first coordinate of the startup control of the target first application in the display interface of the display device is obtained, and based on the first coordinate mapping relationship and the second coordinate mapping relationship, the second coordinate corresponding to the first coordinate is determined, and the second coordinate is sent to the screen projection sending end so that the screen projection sending end generates a simulated click event corresponding to the second coordinate.67.如权利要求65所述的设备,其中,所述至少一个第一控件包括目标第一控件,且所述目标第一控件对应目标应用程序的部分功能;所述目标第一控件的部分功能对应所述显示设备的显示界面中多个模拟点击位置,所述多个模拟点击位置中各模拟点击位置对应的次序是预先配置的;67. The device of claim 65, wherein the at least one first control comprises a target first control, and the target first control corresponds to a part of the functions of the target application; the part of the functions of the target first control corresponds to a plurality of simulated click positions in a display interface of the display device, and the order in which each simulated click position in the plurality of simulated click positions corresponds is preconfigured;所述处理模块还用于:The processing module is also used for:响应于对所述目标第一控件的操作,基于所述第一坐标映射关系和所述第二坐标映射关系,确定各模拟点击位置对应的第三坐标,向所述投屏发送端提供各模拟点击位置对应的第三坐标并指示各模拟点击位置对应的次序,以便所述投屏发送端按照所述次序,依次生成各模拟点击位置对应的第三坐标的模拟点击事件。In response to the operation on the target first control, the third coordinates corresponding to each simulated click position are determined based on the first coordinate mapping relationship and the second coordinate mapping relationship, and the third coordinates corresponding to each simulated click position are provided to the projection screen sending end and the order corresponding to each simulated click position is indicated, so that the projection screen sending end generates simulated click events for the third coordinates corresponding to each simulated click position in sequence according to the order.68.如权利要求36所述的设备,其中,检测到所述目标对象的数量为多个;68. The apparatus of claim 36, wherein the number of the target objects detected is plural;在所述目标对象对应的关联显示区域内,显示所述第一菜单,包括:Displaying the first menu in the associated display area corresponding to the target object includes:针对检测到的任一目标对象,在所述任一目标对象对应的关联显示区域内,显示所述任一目标对象对应的第一菜单。For any detected target object, a first menu corresponding to the target object is displayed in an associated display area corresponding to the target object.69.如权利要求68所述的设备,其中,所述处理模块还用于:69. The apparatus of claim 68, wherein the processing module is further configured to:基于所述任一目标对象的位置,确定所述任一目标对象对应的被控区域,所述任一目标对象对应的第一菜单是基于所述任一目标对象对应的被控区域中的内容生成的。Based on the position of any target object, a controlled area corresponding to any target object is determined, and a first menu corresponding to any target object is generated based on content in the controlled area corresponding to any target object.70.一种显示设备,其中,包括处理模块和显示模块:70. A display device, comprising a processing module and a display module:所述显示模块用于显示内容;The display module is used to display content;所述处理模块用于The processing module is used to检测目标对象的位置;Detect the location of the target object;基于所述目标对象的位置,确定所述目标对象对应的显示内容;Based on the position of the target object, determining display content corresponding to the target object;基于所述目标对象对应的显示内容,确定所述目标对象对应的第一菜单;Determining a first menu corresponding to the target object based on the display content corresponding to the target object;是所述显示模块显示所述第一菜单。The display module displays the first menu.71.一种显示系统,其中,所述系统包括电子设备和显示设备;71. A display system, wherein the system comprises an electronic device and a display device;所述电子设备向所述显示设备提供投屏内容;The electronic device provides screen projection content to the display device;所述显示设备用于执行如权利要求1所述的显示方法。The display device is used to execute the display method as claimed in claim 1.72.一种显示系统,其中所述系统包括电子设备和显示设备;72. A display system, wherein the system comprises an electronic device and a display device;所述电子设备向所述显示设备提供投屏内容;The electronic device provides screen projection content to the display device;所述显示设备用于执行如权利要求35所述的显示方法。The display device is used to execute the display method as claimed in claim 35.73.一种计算机可读存储介质,其中,其包括计算机程序,当所述计算机程序在电子设备上运行时,所述计算机程序用于使所述电子设备执行权利要求1所述方法的步骤。73. A computer-readable storage medium, comprising a computer program, which, when executed on an electronic device, causes the electronic device to execute the steps of the method of claim 1.74.一种计算机可读存储介质,其中,其包括计算机程序,当所述计算机程序在电子设备上运行时,所述计算机程序用于使所述电子设备执行权利要求35所述方法的步骤。74. A computer-readable storage medium, comprising a computer program, which, when executed on an electronic device, causes the electronic device to execute the steps of the method of claim 35.
CN202510397915.9A2025-03-312025-03-31 Display method and related equipmentPendingCN120256007A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202510397915.9ACN120256007A (en)2025-03-312025-03-31 Display method and related equipment

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202510397915.9ACN120256007A (en)2025-03-312025-03-31 Display method and related equipment

Publications (1)

Publication NumberPublication Date
CN120256007Atrue CN120256007A (en)2025-07-04

Family

ID=96190363

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202510397915.9APendingCN120256007A (en)2025-03-312025-03-31 Display method and related equipment

Country Status (1)

CountryLink
CN (1)CN120256007A (en)

Similar Documents

PublicationPublication DateTitle
US11290651B2 (en)Image display system, information processing apparatus, image display method, image display program, image processing apparatus, image processing method, and image processing program
US11042294B2 (en)Display device and method of displaying screen on said display device
US9894115B2 (en)Collaborative data editing and processing system
CN110471596B (en)Split screen switching method and device, storage medium and electronic equipment
US9158391B2 (en)Method and apparatus for controlling content on remote screen
US9324305B2 (en)Method of synthesizing images photographed by portable terminal, machine-readable storage medium, and portable terminal
JP2012094138A (en)Apparatus and method for providing augmented reality user interface
US12124633B2 (en)Using natural movements of a hand-held device to manipulate digital content
US20140232739A1 (en)Apparatus and method for processing object on screen of terminal
US9632592B1 (en)Gesture recognition from depth and distortion analysis
CN114237419B (en)Display device and touch event identification method
KR101690254B1 (en)Method and apparatus for processing user interface in image processor
US20150019961A1 (en)Portable terminal and method for controlling data merging
CN111083374B (en)Filter adding method and electronic equipment
US20160321968A1 (en)Information processing method and electronic device
CN111093035B (en)Image processing method, electronic device, and storage medium
CN113076031B (en)Display equipment, touch positioning method and device
CN120256007A (en) Display method and related equipment
US20130106757A1 (en)First response and second response
CN108984677A (en)A kind of Image Mosaic method and terminal
US20110161860A1 (en)Method and apparatus for separating events
CN116661656B (en)Picture interaction method and shooting display system
CN120321443A (en) Image processing method and display device

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination

[8]ページ先頭

©2009-2025 Movatter.jp