CN117608431A - Control method and device - Google Patents
Control method and device Download PDFInfo
- Publication number
- CN117608431A CN117608431A CN202311632297.9A CN202311632297A CN117608431A CN 117608431 A CN117608431 A CN 117608431A CN 202311632297 A CN202311632297 A CN 202311632297A CN 117608431 A CN117608431 A CN 117608431A
- Authority
- CN
- China
- Prior art keywords
- content
- target
- electronic device
- display
- target content
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 67
- 230000008859 change Effects 0.000 claims abstract description 35
- 230000004044 response Effects 0.000 claims abstract description 15
- 230000006870 function Effects 0.000 description 15
- 238000010586 diagram Methods 0.000 description 8
- 230000008569 process Effects 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 230000003044 adaptive effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000003780 insertion Methods 0.000 description 1
- 230000037431 insertion Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The application provides a control method and a control device, wherein the method is applied to first electronic equipment and comprises the following steps: determining a target object from a first electronic device; selecting target content from display content of a target object, wherein the target content is part of the display content; the target content is sent to the second electronic equipment to be displayed, so that the second electronic equipment receives triggering operation aiming at the target content; in response to a triggering operation of the second electronic device for the target content, the first electronic device controls a change in the display content of the target object.
Description
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a control method and apparatus.
Background
With the development of electronic devices, the user needs to use the display function of the electronic device more and more, and therefore, how to further improve the display function of the electronic device becomes a problem.
Disclosure of Invention
The application provides the following technical scheme:
in one aspect, the present application provides a control method applied to a first electronic device, including:
determining a target object from a first electronic device;
selecting target content from display content of the target object, wherein the target content is part of the display content;
Sending the target content to a second electronic device for display, so that the second electronic device receives a triggering operation for the target content;
in response to a triggering operation of the second electronic device for the target content, the first electronic device controls a change in the display content of the target object.
Selecting target content from display content of the target object, wherein the target content is part of the display content, and the method comprises the following steps:
and selecting a plurality of target contents from the display contents of the target objects, wherein each target content is part of the display contents.
Selecting target content from the display content of the target object, including:
selecting a suspended window area or a control area from the target object, and sending the content of the window area or the control area to second electronic equipment as target content;
or alternatively, the first and second heat exchangers may be,
and intercepting a partial area from the display content in the target object, and sending the content of the partial area to the second electronic equipment as target content.
The control method further includes:
and if the target content of the first electronic equipment is changed, the first electronic equipment synchronously transmits the changed target content to the second electronic equipment.
If there are a plurality of target contents, the second electronic device is provided with a plurality of target contents, and the target contents are sent to the second electronic device for display, including:
transmitting the plurality of target contents to the second electronic devices, wherein each second electronic device displays the plurality of target contents;
or sending the plurality of target contents to corresponding second electronic devices, wherein each second electronic device displays the corresponding target content.
The control method further includes:
the target content is still displayed on the first electronic equipment, and the change of the display content of the target object of the first electronic equipment is controlled in response to the triggering operation of the first electronic equipment on the target content;
or alternatively, the first and second heat exchangers may be,
the first electronic device displays display content other than the target content in the target object.
Another aspect of the present application provides a control method applied to a second electronic device, including:
receiving and displaying target content sent by first electronic equipment, wherein the target content is obtained by the following steps: determining a target object from the first electronic device; selecting target content from display content of the target object, wherein the target content is part of the display content;
Receiving triggering operation aiming at the target content, and determining control information;
and sending control information to the first electronic equipment so that the first electronic equipment controls the change of the display content of the target object.
Receiving triggering operation aiming at the target content, and determining control information, wherein the triggering operation comprises the following steps:
determining corresponding operation information based on a trigger operation for the target content;
determining a position corresponding to the trigger operation in the target content displayed by the second electronic device based on the trigger operation for the target content;
adjusting the trigger position based on the display adjustment parameters corresponding to the second electronic equipment to obtain an adjusted trigger position, wherein the display adjustment parameters are determined based on the display parameters of the first electronic equipment and the display parameters of the second electronic equipment;
and sending the operation information and the adjusted trigger position to the first electronic equipment as control information.
Receiving and displaying target content sent by first electronic equipment, wherein the target content comprises:
receiving target content sent by first electronic equipment;
adjusting the target content based on the display parameters of the second electronic equipment to obtain adjusted target content;
And displaying the adjusted target content.
A third aspect of the present application provides a control apparatus, comprising:
a first determining module for determining a target object from a first electronic device;
the selection module is used for selecting target content from the display content of the target object, wherein the target content is part of the display content;
the first sending module is used for sending the target content to a second electronic device for display so that the second electronic device receives a triggering operation aiming at the target content;
and the second control module is used for responding to the triggering operation of the second electronic equipment on the target content, and the first electronic equipment controls the change of the display content of the target object.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort to a person skilled in the art.
Fig. 1 is a schematic flow chart of a control method provided in embodiment 1 of the present application;
fig. 2 is a schematic flow chart of a control method provided in embodiment 2 of the present application;
FIG. 3 is a schematic diagram of an implementation scenario of a control method provided herein;
FIG. 4 is a schematic diagram of another implementation scenario of a control method provided herein;
FIG. 5 is a schematic diagram of still another implementation scenario of a control method provided herein;
FIG. 6 is a schematic diagram of still another implementation scenario of a control method provided herein;
FIG. 7 is a schematic diagram of still another implementation scenario of a control method provided herein;
FIG. 8 is a schematic diagram of still another implementation scenario of a control method provided herein;
fig. 9 is a schematic flow chart of a control method provided in embodiment 4 of the present application;
fig. 10 is an interaction schematic diagram of a first electronic device and a second electronic device provided in the present application;
fig. 11 is a schematic operation diagram of a first electronic device provided in the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
In order that the above-recited objects, features and advantages of the present application will become more readily apparent, a more particular description of the invention briefly described above will be rendered by reference to specific embodiments that are illustrated in the appended drawings.
Referring to fig. 1, a flow chart of a control method provided in embodiment 1 of the present application may be applied to a first electronic device, where the product type of the first electronic device is not limited, and as shown in fig. 1, the method may include, but is not limited to, the following steps:
step S101, determining a target object from a first electronic device.
In this embodiment, step S101 may include, but is not limited to: and determining an object selected by a user from the objects of the first electronic device as a target object.
The object for user selection in the first electronic device may be all objects of the first electronic device, or may be a part of objects in all objects of the first electronic device, and specifically, the object for user selection may be set according to needs, which is not limited in the present application.
In this embodiment, step S101 may also include, but is not limited to:
the first electronic device determines an object satisfying a first setting condition among objects of the first electronic device as a target object. The first setting condition may be set as needed, and is not limited in this application. For example, the first electronic device determines an object having a picture-in-picture function among objects of the first electronic device as a target object. The picture-in-picture function can be understood as displaying multiple pictures on the same screen, i.e. on a normally viewed main picture, with the insertion of one or more compressed sub-pictures, using digital technology. Still alternatively, the first electronic device determines a main screen (i.e., picture-in-picture) into which the sub-screen is inserted as the target object. Accordingly, the first electronic device may select a part of the content from the main screen into which the sub-screen is inserted to determine as the target content.
The target object may be an object that runs in the foreground or an object that runs in the background. The objects run in the foreground can be understood as: the image of the layer of the screen located in the first electronic device, where the layer of the screen may be the front layer of the screen, or may be another layer, such as a desktop layer.
The objects running in the background can be understood as: an object of the first electronic device that runs in the background, for example, an application that runs in the background and is not displayed with an application interface.
There may be one or a plurality of target objects.
Step S102, selecting target content from the display content of the target object, wherein the target content is part of the display content.
In this embodiment, step S102 may include, but is not limited to:
and selecting the corresponding content from the display content of the target object as the target content based on the content selected by the user from the display content of the target object. In the present application, the manner in which the user selects the content from the display contents of the target object is not limited. For example, the user may select a region from the display interface of the target object, and accordingly, the first electronic device may obtain the display content of the target object based on the handle of the target object, and select, as the target content, the content corresponding to the selected region from the display content of the target object.
Step S102 may also include, but is not limited to:
the first electronic device selects target content satisfying the second setting condition from the display content of the target object. The second setting condition may be set as needed, and is not limited in this application. For example, if the target object is an object having a picture-in-picture function, the display contents of the target object include: the first electronic device may select a sub-picture from the main picture and the sub-picture as the target content.
Step S103, the target content is sent to the second electronic device to be displayed, so that the second electronic device receives triggering operation for the target content.
In this embodiment, the second electronic device may, but is not limited to: and displaying the display parameters of the display content based on the first electronic equipment, so that the display parameters of the second electronic equipment on the target content are consistent with the display parameters of the first electronic equipment on the display content.
Of course, the second electronic device may also adjust the display parameter of the target content, and display the target content based on the adjusted display parameter. The display parameters of the target content may include, but are not limited to: at least one of a display size, a display position, a display resolution, and a display luminance of the target content.
The second electronic device may receive a trigger operation for the target content by displaying the target content.
There may be one or a plurality of second electronic devices. If there are a plurality of second electronic devices, each of the second electronic devices may independently display the target content, and each of the second electronic devices may independently receive a trigger operation for the target content.
Step S104, responding to the triggering operation of the second electronic device on the target content, and controlling the change of the display content of the target object by the first electronic device.
In this embodiment, by performing a triggering operation on the target content in the second electronic device, the first electronic device can be caused to control a change in the display content of the target object.
Of course, if the second electronic device can respond to the triggering operation of the target content, the second electronic device can also control the change of the target content.
If there are a plurality of second electronic devices, and the plurality of second electronic devices each receive a trigger operation for the target content, the first electronic device may respectively respond to the trigger operation of each second electronic device for the target content, and the first electronic device controls a corresponding change of the display content of the target object.
In this embodiment, the target object is determined from the first electronic device, the target content is selected from the display contents of the target object, the target content is a part of the display contents, the target content is sent to the second electronic device to be displayed, the second electronic device assists the first electronic device to display by displaying the part of the display contents of the target object, and the second electronic device receives a trigger operation for the target content, and in response to the trigger operation for the target content by the second electronic device, the first electronic device controls the change of the display contents of the target object, so that the second electronic device can assist the first electronic device in controlling the change of the display contents of the target object, thereby improving the display function of the first electronic device.
As another alternative embodiment of the present application, referring to fig. 2, a flow chart of a control method provided in embodiment 2 of the present application is mainly a refinement of step S102 in embodiment 1, as shown in fig. 2, step S102 may include, but is not limited to, the following steps:
step S1021, selecting a plurality of target contents from the display contents of the target objects, wherein each target content is part of the display contents.
In the present embodiment, it is not limited to selecting one target content from the display contents of the target objects, but a plurality of target contents may be selected from the display contents of the target objects.
The target content may be different from one target content to another. For example, if the target object is a game application, the display content of the game application is shown in part (a) of fig. 3, the first electronic device may select a first target content, a second target content, and a third target content from the display content of the game application, the first target content, the second target content, and the third target content being different from each other.
Accordingly, the first, second, and third target contents may be transmitted to the second electronic device, and as shown in part (b) of fig. 3, the second electronic device may display the first, second, and third target contents.
It should be noted that fig. 3 is only one example, and is not intended to limit the target object and the selection of the target content.
The target contents may be different from each other, but are not completely different.
Corresponding to step S1021, step S103 in the embodiment may include, but is not limited to:
Step S1031, transmitting the plurality of target contents to the second electronic device for display, so that the second electronic device receives the triggering operation for the target contents.
In this embodiment, a plurality of target contents are selected from display contents of target objects, each target content is a part of the display contents, and the plurality of target contents may be sent to a second electronic device for display, so that the second electronic device assists the first electronic device to display by displaying the plurality of target contents, and so that the second electronic device receives a trigger operation for the target contents, and in response to the trigger operation for the target contents by the second electronic device, the first electronic device controls a change in the display contents of the target objects, so that the second electronic device can assist the first electronic device in controlling a change in the display contents of the target objects, thereby improving a display function of the first electronic device.
As another alternative embodiment of the present application, a control method provided in embodiment 3 of the present application is mainly a refinement of step S102 in the foregoing embodiment 1, where step S102 may include, but is not limited to, the following steps:
step S1022, selecting a suspended window area or a control area from the target object, and sending the content of the window area or the control area to the second electronic device as target content. The target object may be a window of an application.
In this embodiment, if the target object may open a window in the first electronic device, the window may include at least one of a floating window area and a control area. For example, if the target object is a game application, as shown in part (a) of fig. 4, the display content of the game application includes a scene screen of the game application, a floating map window area and a control area in the scene screen, and the first electronic device may select the floating map window area or the control area from the display content of the game application.
Accordingly, the hovering map window area may be transmitted to the second electronic device, as shown in part (b) of fig. 4, and the second electronic device may display the hovering map window area.
For another example, if the target object is a game application, as shown in part (a) of fig. 5, the display content of the game application includes a scene screen of the game application, a map window area and a control area suspended in the scene screen, and the first electronic device may select the control area from the display content of the game application.
Accordingly, the control region may be sent to the second electronic device, which may display a floating map window region, as shown in part (b) of fig. 5.
Of course, the floating map window area and the control area may also be sent to the second electronic device, and accordingly, the second electronic device displays the floating map window area and the control area.
Of course, the target object may not be displayed in the screen of the first electronic device through the floating window area, and the embodiment may also select the control area from the target object, and send the content of the control area to the second electronic device as the target content. For example, the target object may be a desktop of the first electronic device, as shown in part (a) of fig. 6, a taskbar region (i.e., one embodiment of a control region) may be selected from the desktop, and the contents of the taskbar region may be sent to the second electronic device, as shown in part (b) of fig. 6, which may display the contents of the taskbar region of the first electronic device. If the target object is a picture-in-picture window, a control region of the picture-in-picture window can be selected to be transmitted as target content.
Of course, step S102 in embodiment 1 may also include, but is not limited to:
step S1023, intercepting a partial area from the display content in the target object, and sending the content of the partial area to the second electronic device as target content.
When a user requests to intercept the display content in the target object, executing a request operation, and intercepting a corresponding partial area from the display content of the target object by the first electronic device according to the request operation, wherein the area of the partial area is smaller than that of the display content in the target object.
For example, if the target object is an object having a picture-in-picture function, as shown in part (a) of fig. 7, the display content in the target object includes a main screen and a sub-screen inserted in the main screen, an area including the sub-screen may be cut, and the content of the area including the sub-screen may be transmitted to the second electronic device, as shown in part (b) of fig. 7, and the second electronic device may display the sub-screen of the first electronic device.
For another example, if the target object is a word document, as shown in part (a) of fig. 8, the display content of the word document includes a control and a text, an area containing the text may be intercepted, and the content of the area containing the text may be sent to the second electronic device, as shown in part (b) of fig. 8, and the second electronic device may display the text of the word document of the first electronic device.
In this embodiment, a suspended window area or a control area is selected from the target object, and the content of the window area or the control area is used as target content and sent to the second electronic device; or intercepting a partial area from the display content in the target object, and sending the content of the partial area as the target content to the second electronic device, so that the second electronic device can assist the first electronic device in displaying through displaying a suspended window area or a control area or the intercepted partial area, and the second electronic device receives a triggering operation for the target content, and the first electronic device controls the change of the display content of the target object in response to the triggering operation of the second electronic device for the target content, so that the second electronic device can assist the first electronic device in controlling the change of the display content of the target object, thereby improving the display function of the first electronic device.
As another alternative embodiment of the present application, please refer to fig. 9, which is a schematic flow chart of a control method provided in embodiment 4 of the present application, as shown in fig. 9, the method may include, but is not limited to, the following steps:
step S201, determining a target object from the first electronic device.
Step S202, selecting target content from display content of the target object, wherein the target content is part of the display content.
Step S203, the target content is sent to the second electronic device for display, so that the second electronic device receives a triggering operation for the target content.
In step S204, in response to the triggering operation of the second electronic device for the target content, the first electronic device controls the change of the display content of the target object.
The detailed procedure of steps S201-S204 can be referred to the related description of steps S101-S104 in embodiment 1, and will not be repeated here.
Step S205, if the target content of the first electronic device changes, the first electronic device synchronously sends the changed target content to the second electronic device.
In this embodiment, the content change of the target content of the first electronic device may be caused by the triggering operation performed on the target content of the first electronic device by the user. For example, if the target content of the first electronic device is the text in the word document, the user may edit (e.g., add content and delete content) the text in the word document, so that the text in the word document changes in content, the first electronic device may synchronously send the changed text to the second electronic device, and the second electronic device may synchronously display the changed text.
Alternatively, the target content of the first electronic device may be automatically changed. For example, if the target object is video playing software in the first electronic device, when the video playing software plays video to 00:02 seconds, a partial area is intercepted from the video picture of 00:02 seconds, the video picture of the partial area is sent to the second electronic device as target content, the second electronic device can display a partial video picture corresponding to 00:02 seconds, but as the video playing software continues to play, the video picture in the intercepted partial area can change, the first electronic device can send the video picture played in the intercepted partial area after 00:02 seconds to the second electronic device, so that the second electronic device synchronously displays the video picture played in the intercepted partial area after 00:02 seconds.
In this embodiment, if the target content of the first electronic device changes, the first electronic device synchronously sends the changed target content to the second electronic device, so that the second electronic device synchronously displays the changed target content, thereby further improving the display function of the first electronic device.
As another optional embodiment of the present application, a control method provided in embodiment 5 of the present application is mainly a refinement of step S103 in embodiment 1, where if there are a plurality of target contents and a plurality of second electronic devices, step S103 may include, but is not limited to, the following steps:
Step S1032, the plurality of target contents are sent to the second electronic devices, and each of the second electronic devices displays the plurality of target contents.
In the case where each of the second electronic devices displays a plurality of target contents, one of the second electronic devices may be selected from the respective second electronic devices to be available for receiving a trigger operation for the target contents.
Alternatively, without limiting each second electronic device, each second electronic device can be configured to receive a trigger operation for the target content. In this case, if different second electronic devices each receive a trigger operation for the target content, the trigger operation for the target content by the second electronic device may be responded based on the usage priority of the second electronic device.
For example, if the second electronic device m displays the control 1 and the control 2, the second electronic device n also displays the control 1 and the control 2, and the use priority of the second electronic device m is higher than that of the second electronic device n, if the second electronic device m receives the trigger operation for the control 1, the second electronic device n also receives the trigger operation for the control 2, and the trigger operation for the control 1 by the second electronic device m and the trigger operation for the control 2 by the second electronic device n can be responded preferentially; or, only in response to the triggering operation of the second electronic device m for the control 1.
Step S103 may also include, but is not limited to, the following steps:
step S1033, transmitting the plurality of target contents to the corresponding second electronic devices, where each second electronic device displays the corresponding target contents.
The display of the corresponding target content by each second electronic device may include, but is not limited to:
the target content displayed by each second electronic device is different. For example, if the target object is a word document, the content of the control and the content of the list are selected from the display content of the word document, and the content of the control may be sent to the second electronic device x11 for display, and the content of the list may be sent to the second electronic device x12 for display.
The displaying of the corresponding target content by each second electronic device may also include, but is not limited to:
the target contents displayed by the respective second electronic devices are different from each other, but not completely different from each other. For example, if the target object is a word document, the content of the control and the content of the list are selected from the display content of the word document, and the content of the control and the content of the list may be sent to the second electronic device x11 for display, and the content of the list may be sent to the second electronic device x12 for display.
In this embodiment, a plurality of target contents are selected from display contents of target objects, each target content is a part of the display contents, and the plurality of target contents may be sent to a plurality of second electronic devices to display, so that the plurality of second electronic devices assist the first electronic devices to display by displaying the plurality of target contents, and so that the second electronic devices receive a trigger operation for the target contents, and in response to the trigger operation for the target contents by the second electronic devices, the first electronic devices control a change in the display contents of the target objects, so that the second electronic devices can assist the first electronic devices to control a change in the display contents of the target objects, thereby improving a display function of the first electronic devices.
As another alternative embodiment of the present application, a control method provided in embodiment 6 of the present application may include, but is not limited to, the following steps:
step S301, determining a target object from the first electronic device.
Step S302, selecting target content from the display content of the target object, wherein the target content is part of the display content.
Step S303, the target content is sent to the second electronic device for display, so that the second electronic device receives the triggering operation for the target content.
Step S304, the first electronic device controls the change of the display content of the target object in response to the triggering operation of the second electronic device on the target content.
The detailed procedure of steps S301 to S304 can be referred to the related description of steps S101 to S104 in embodiment 1, and will not be repeated here.
In step S305, the target content is still displayed on the first electronic device, and the change of the display content of the target object of the first electronic device is controlled in response to the triggering operation of the first electronic device for the target content.
In this embodiment, the target content may be displayed on the second electronic device or may be displayed on the first electronic device.
If both the second electronic device and the first electronic device receive the trigger operation for the target content at the same time, the trigger operation for the target content may be responded based on the usage priorities of the first electronic device and the second electronic device. For example, if the target content is still displayed on the first electronic device, the first electronic device may be set to use priority higher than the second electronic device. Further, the triggering operation of the first electronic device for the target content may be preferentially responded.
In this embodiment, the target object is determined from the first electronic device, the target content is selected from the display contents of the target object, the target content is a part of the display contents, the target content is sent to the second electronic device to be displayed, the second electronic device assists the first electronic device to display by displaying the part of the display contents of the target object, and the first electronic device also displays the target content at the same time, so that the display function of the first electronic device is further improved.
As another alternative embodiment of the present application, a control method provided in embodiment 7 of the present application may include, but is not limited to, the following steps:
step S401, determining a target object from a first electronic device.
Step S402, selecting target content from the display content of the target object, wherein the target content is part of the display content.
Step S403, the target content is sent to the second electronic device for display, so that the second electronic device receives a trigger operation for the target content.
In step S404, in response to the triggering operation of the second electronic device for the target content, the first electronic device controls the change of the display content of the target object.
The detailed procedure of steps S401 to S404 can be referred to the related description of steps S101 to S104 in embodiment 1, and will not be repeated here.
Step S405, the first electronic device displays the display contents except the target content in the target object.
For example, if the target object is an object having a picture-in-picture function, the display content of the target object includes a main screen and a sub-screen inserted in the main screen, the content of the sub-screen may be selected as the target content, the content of the sub-screen is transmitted to the second electronic device, and only the main screen is displayed after the first electronic device.
In this embodiment, after the target content is sent to the second electronic device for display, the first electronic device does not display the target content any more, and the first electronic device may display the display content except for the target content in the target object, so that the content except for the target content of the target object may be displayed without being blocked, thereby improving the user experience.
As another embodiment of the present application, a control method provided in embodiment 8 of the present application may be applied to a second electronic device, where the product type of the second electronic device is not limited, and the method may include, but is not limited to, the following steps:
Step S501, receiving and displaying target content sent by a first electronic device, where the target content is obtained by: determining a target object from a first electronic device; and selecting target content from the display content of the target object, wherein the target content is part of the display content.
Step S502, receiving triggering operation for target content, and determining control information.
The manipulation information may be used for the first electronic device to control a change in display content of the target object.
Step S503, transmitting the manipulation information to the first electronic device, so that the first electronic device controls the change of the display content of the target object.
In this embodiment, for example, as shown in fig. 10, if the first electronic device intercepts the first area and the second area from the video frame, the first electronic device may send the content of the first area and the content of the second area to the second electronic device, and the second electronic device may display the content of the first area and the content of the second area, to assist the first electronic device in displaying.
The second electronic device may receive a trigger operation for the content of the first area and/or a trigger operation for the content of the second area, determine control information, and send the control information to the first electronic device, so that the first electronic device controls a change of the display content of the target object, and assist the first electronic device to control a change of the display content of the target object, so as to improve a display function of the first electronic device.
As another optional embodiment of the present application, in order to provide a control method in embodiment 9 of the present application, this embodiment is mainly a refinement of step S502 in the foregoing embodiment 8, and step S502 may include, but is not limited to, the following steps:
step S5021, based on the trigger operation for the target content, determines the corresponding operation information.
The corresponding operation information is used to characterize the triggering operation for the target content.
The trigger operation for the target content may be an operation of controlling a change in the position of the operation identifier (e.g., a mouse cursor), or a click operation for the target content, such as a single click operation or a double click operation.
Step S5022, based on the triggering operation for the target content, determining the position of the corresponding triggering operation in the target content displayed by the second electronic device.
In this embodiment, based on the trigger operation for the target content, the position of the trigger operation corresponding to the second electronic device in the screen may be determined, and based on the position of the trigger operation corresponding to the second electronic device in the screen and the position of the target content displayed by the second electronic device in the screen of the second electronic device, the position of the trigger operation corresponding to the target content displayed by the second electronic device may be determined.
For example, as shown in fig. 10, if the first electronic device intercepts the first region and the second region from the video screen, the first electronic device may transmit the content of the first region and the content of the second region to the second electronic device, and the second electronic device may display the content of the first region and the content of the second region.
If the origin of the position of the first area in the second electronic device in the screen of the second electronic device is (a, b), the corresponding position of the triggering operation for the content of the first area in the screen of the second electronic device is (x 1, y 1), and the corresponding position of the triggering operation in the first area in the second electronic device is (x-a, y-b).
If the origin of the position of the second area in the second electronic device in the screen of the second electronic device is (q, p), the corresponding position of the triggering operation for the content of the second area in the screen of the second electronic device is (x 2, y 2), and the corresponding position of the second area in the second electronic device is (x-q, y-p).
Step S5023, adjusting the trigger position based on the display adjustment parameter corresponding to the second electronic device to obtain an adjusted trigger position, where the display adjustment parameter is determined based on the display parameter of the first electronic device and the display parameter of the second electronic device.
The display parameters of the first electronic device may include, but are not limited to: at least one of a display size, a display position, a display resolution, and a display brightness of the first electronic device; the display parameters of the second electronic device may include, but are not limited to: at least one of a display size, a display position, a display resolution, and a display brightness of the second electronic device. Accordingly, the display adjustment parameter may be determined based on at least one of a display size, a display position, a display resolution, and a display luminance of the first electronic device and at least one of a display size, a display position, a display resolution, and a display luminance of the second electronic device. For example, if the display resolution of the first electronic device is mxn and the display resolution of the second electronic device is mxn, the display adjustment parameters may include: width scaling factor kx=m/M and height scaling factor ky=n/N.
For example, if the position corresponding to the trigger operation in the first area in the second electronic device is (x-a, y-b), the (x-a, y-b) is adjusted based on kx and ky, and the adjusted trigger position is ((x-a) ×kx, (y-b) ×ky).
And if the position of the second area corresponding to the triggering operation in the second electronic device is (x-q, y-p), adjusting the (x-q, y-p) based on kx and ky, and obtaining the adjusted triggering position ((x-q) ×kx, (y-p) ×ky).
Step S5024, sending the operation information and the adjusted trigger position to the first electronic device as the control information.
The first electronic device may determine a corresponding trigger position in the target content in the first electronic device based on the adjusted trigger position. For example, if the origin position of the first region in the first electronic device in the screen of the first electronic device is (e, f), the origin position of the second region in the first electronic device in the screen of the first electronic device is (h, j).
If the adjusted trigger position is ((x-a) kx, (y-b) ky), it may be determined that the trigger position corresponding to the first area in the first electronic device is ((x-a) kx+e, (y-b) ky+f).
If the adjusted trigger position is ((x-q) kx, (y-p) ky), the corresponding trigger position in the first area in the first electronic device may be determined to be ((x-q) kx+e, (y-p) ky+f).
For the first electronic device, the first electronic device may select target content from display content of the target object based on the virtual display driver, and send the target content to the second electronic device, so as to implement split-screen display. And the first electronic device can receive control information sent by the second electronic device based on the virtual touch control drive, and split screen control is realized based on the control information. For example, if the first electronic device currently plays a video frame, as shown in fig. 11, the first electronic device may establish a device connection with the second electronic device, set a cross-screen device area (i.e., intercept a partial area from the video frame as a cross-screen device area), obtain video data of the cross-screen device area based on a virtual display driver, encode the video data of the cross-screen device area, and send the encoded video data to the second electronic device for split-screen display. The first electronic device can receive control information of the second electronic device based on the virtual touch control drive, and determine a corresponding trigger position of a screen in the first electronic device in a cross-device area based on the control information to perform split-screen control.
Of course, based on the adjusted trigger position, it may be determined that the trigger position corresponding to the target content in the first electronic device is not limited to be executed by the first electronic device, or may be determined by the second electronic device based on the adjusted trigger position, where the trigger position corresponding to the target object in the first electronic device and the operation information are sent to the first electronic device by the second electronic device, so that the first electronic device no longer needs to determine the trigger position corresponding to the target content in the first electronic device, and data processing resources of the first electronic device are saved.
The detailed process of determining the corresponding trigger position in the target content in the first electronic device by the second electronic device based on the adjusted trigger position may refer to the above description related to determining the corresponding trigger position in the target content in the first electronic device based on the adjusted trigger position, which is not described herein.
As another alternative embodiment of the present application, a control method provided in embodiment 10 of the present application is mainly a refinement of step S501 in the foregoing embodiment 8, where step S501 may include, but is not limited to, the following steps:
Step S5011, receiving target content sent by the first electronic device.
And step S5012, adjusting the target content based on the display parameters of the second electronic equipment to obtain the adjusted target content.
The display parameters of the second electronic device may include, but are not limited to: at least one of a display size, a display position, a display resolution, and a display brightness of the second electronic device.
And step S5013, displaying the adjusted target content.
In this embodiment, the target content is adjusted based on the display parameter of the second electronic device, so as to obtain the adjusted target content, so that the adjusted target content can be displayed in the second electronic device in a more adaptive manner, and the user experience is improved.
Next, a control device provided in the present application will be described, and the control device described below and the control method described above may be referred to correspondingly.
Corresponding to the first electronic device, the control device includes:
and the first determining module is used for determining the target object from the first electronic equipment.
And the selection module is used for selecting target content from the display content of the target object, wherein the target content is part of the display content.
And the first sending module is used for sending the target content to the second electronic equipment for display so that the second electronic equipment receives the triggering operation aiming at the target content.
And the first control module is used for responding to the triggering operation of the second electronic equipment on the target content, and the first electronic equipment controls the change of the display content of the target object.
In this embodiment, the selection module may specifically be configured to:
and selecting a plurality of target contents from the display contents of the target objects, wherein each target content is part of the display contents.
In this embodiment, the selection module may specifically be configured to:
selecting a suspended window area or a control area from the target object, and sending the content of the window area or the control area to the second electronic equipment as target content;
or alternatively, the first and second heat exchangers may be,
and intercepting a partial area from the display content in the target object, and sending the content of the partial area to the second electronic equipment as target content.
In this embodiment, the control device may further include:
and the second sending module is used for synchronously sending the changed target content to the second electronic equipment by the first electronic equipment if the target content of the first electronic equipment is changed.
If there are a plurality of target contents, the second electronic device has a plurality of target contents, and the first sending module can be specifically used for:
transmitting the plurality of target contents to the second electronic devices, wherein each second electronic device displays the plurality of target contents;
Or, sending the plurality of target contents to corresponding second electronic equipment, and displaying the corresponding target contents by each second electronic equipment.
In this embodiment, the control device may further include:
the second control module is used for controlling the change of the display content of the target object of the first electronic equipment in response to the triggering operation of the first electronic equipment on the target content, wherein the target content is still displayed on the first electronic equipment;
or alternatively, the first and second heat exchangers may be,
and the display module is used for displaying the display contents except the target contents in the target object by the first electronic equipment.
Corresponding to the second electronic device, the control device includes:
the target content display module is used for receiving and displaying target content sent by the first electronic equipment, and the target content is obtained by the following modes: determining a target object from a first electronic device; and selecting target content from the display content of the target object, wherein the target content is part of the display content.
And the determining module is used for receiving the triggering operation aiming at the target content and determining the control information.
And the third sending module is used for sending the control information to the first electronic equipment so that the first electronic equipment controls the change of the display content of the target object.
The determining module may specifically be configured to:
determining corresponding operation information based on a trigger operation for the target content;
determining the position of the corresponding trigger operation in the target content displayed by the second electronic equipment based on the trigger operation aiming at the target content;
adjusting the trigger position based on the display adjustment parameters corresponding to the second electronic equipment to obtain an adjusted trigger position, wherein the display adjustment parameters are determined based on the display parameters of the first electronic equipment and the display parameters of the second electronic equipment;
and sending the operation information and the adjusted trigger position to the first electronic equipment as control information.
The target content display module may specifically be used for:
receiving target content sent by first electronic equipment;
adjusting the target content based on the display parameters of the second electronic equipment to obtain adjusted target content;
and displaying the adjusted target content.
Corresponding to the embodiment of the control method provided by the application, the application also provides a first electronic device embodiment applying the control method.
The first electronic device may include the following structure:
a first memory and a first processor.
A first memory for storing at least one set of instructions;
A first processor for calling and executing the instruction set in the first memory, by executing the instruction set, to perform the control method as described in any one of the above method embodiments 1-7.
Corresponding to the embodiment of the control method provided by the application, the application also provides a second electronic device embodiment applying the control method.
The second electronic device may include the following structure:
a second memory and a second processor.
A second memory for storing at least one set of instructions;
a second processor for calling and executing the instruction set in the first memory, by executing the instruction set, to perform the control method as described in any one of the above method embodiments 8-10.
It should be noted that, in each embodiment, the differences from the other embodiments are emphasized, and the same similar parts between the embodiments are referred to each other. For the apparatus class embodiments, the description is relatively simple as it is substantially similar to the method embodiments, and reference is made to the description of the method embodiments for relevant points.
Finally, it is further noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
For convenience of description, the above devices are described as being functionally divided into various modules, respectively. Of course, the functions of each module may be implemented in the same piece or pieces of software and/or hardware when implementing the present application.
From the above description of embodiments, it will be apparent to those skilled in the art that the present application may be implemented in software plus a necessary general purpose hardware platform. Based on such understanding, the technical solutions of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to perform the methods described in the embodiments or some parts of the embodiments of the present application.
The foregoing has described in detail a control method and apparatus provided herein, and specific examples have been presented herein to illustrate the principles and embodiments of the present application, the above examples being provided only to assist in understanding the method and core ideas of the present application; meanwhile, as those skilled in the art will have modifications in the specific embodiments and application scope in accordance with the ideas of the present application, the present description should not be construed as limiting the present application in view of the above.
Claims (10)
1. A control method applied to a first electronic device, comprising:
determining a target object from a first electronic device;
selecting target content from display content of the target object, wherein the target content is part of the display content;
sending the target content to a second electronic device for display, so that the second electronic device receives a triggering operation for the target content;
in response to a triggering operation of the second electronic device for the target content, the first electronic device controls a change in the display content of the target object.
2. The control method according to claim 1, selecting target content from display content of the target object, the target content being part of the display content, comprising:
and selecting a plurality of target contents from the display contents of the target objects, wherein each target content is part of the display contents.
3. The control method according to claim 1, selecting target content from display content of the target object, comprising:
selecting a suspended window area or a control area from the target object, and sending the content of the window area or the control area to second electronic equipment as target content;
Or alternatively, the first and second heat exchangers may be,
and intercepting a partial area from the display content in the target object, and sending the content of the partial area to the second electronic equipment as target content.
4. The control method according to claim 1, the control method further comprising:
and if the target content of the first electronic equipment is changed, the first electronic equipment synchronously transmits the changed target content to the second electronic equipment.
5. The control method according to claim 1, wherein if the target content is plural, the second electronic device is plural, and the transmitting the target content to the second electronic device for display includes:
transmitting the plurality of target contents to the second electronic devices, wherein each second electronic device displays the plurality of target contents;
or sending the plurality of target contents to corresponding second electronic devices, wherein each second electronic device displays the corresponding target content.
6. The control method according to claim 1, the control method further comprising:
the target content is still displayed on the first electronic equipment, and the change of the display content of the target object of the first electronic equipment is controlled in response to the triggering operation of the first electronic equipment on the target content;
Or alternatively, the first and second heat exchangers may be,
the first electronic device displays display content other than the target content in the target object.
7. A control method applied to a second electronic device, comprising:
receiving and displaying target content sent by first electronic equipment, wherein the target content is obtained by the following steps: determining a target object from the first electronic device; selecting target content from display content of the target object, wherein the target content is part of the display content;
receiving triggering operation aiming at the target content, and determining control information;
and sending control information to the first electronic equipment so that the first electronic equipment controls the change of the display content of the target object.
8. The control method of claim 7, receiving a trigger operation for the target content, determining manipulation information, comprising:
determining corresponding operation information based on a trigger operation for the target content;
determining a position corresponding to the trigger operation in the target content displayed by the second electronic device based on the trigger operation for the target content;
adjusting the trigger position based on the display adjustment parameters corresponding to the second electronic equipment to obtain an adjusted trigger position, wherein the display adjustment parameters are determined based on the display parameters of the first electronic equipment and the display parameters of the second electronic equipment;
And sending the operation information and the adjusted trigger position to the first electronic equipment as control information.
9. The control method according to claim 7, receiving and displaying target content transmitted by the first electronic device, comprising:
receiving target content sent by first electronic equipment;
adjusting the target content based on the display parameters of the second electronic equipment to obtain adjusted target content;
and displaying the adjusted target content.
10. A control apparatus comprising:
a first determining module for determining a target object from a first electronic device;
the selection module is used for selecting target content from the display content of the target object, wherein the target content is part of the display content;
the first sending module is used for sending the target content to a second electronic device for display so that the second electronic device receives a triggering operation aiming at the target content;
and the second control module is used for responding to the triggering operation of the second electronic equipment on the target content, and the first electronic equipment controls the change of the display content of the target object.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311632297.9A CN117608431A (en) | 2023-11-30 | 2023-11-30 | Control method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311632297.9A CN117608431A (en) | 2023-11-30 | 2023-11-30 | Control method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117608431A true CN117608431A (en) | 2024-02-27 |
Family
ID=89955904
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311632297.9A Pending CN117608431A (en) | 2023-11-30 | 2023-11-30 | Control method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117608431A (en) |
-
2023
- 2023-11-30 CN CN202311632297.9A patent/CN117608431A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112230758B (en) | Frame rate adjustment method, device, equipment and computer readable storage medium | |
US11962858B2 (en) | Video playback method, video playback terminal, and non-volatile computer-readable storage medium | |
US10897637B1 (en) | Synchronize and present multiple live content streams | |
US20060010392A1 (en) | Desktop sharing method and system | |
WO2022096017A1 (en) | Content display method and apparatus | |
US10863230B1 (en) | Content stream overlay positioning | |
US10404763B2 (en) | System and method for interactive and real-time visualization of distributed media | |
CN107948731B (en) | Video stream merging method, server and computer-readable storage medium | |
EP2460350B1 (en) | Video reproduction apparatus, control method thereof, and computer-readable storage medium storing program | |
CN109358941B (en) | Control method and electronic equipment | |
CN112511849A (en) | Game display method, device, equipment, system and storage medium | |
CN112533048B (en) | Video playing method, device and equipment | |
US20220058229A1 (en) | Methods, systems, and media for updating a webpage rendered with cached content | |
CN115022703B (en) | Rolling caption display method and device | |
CN111249723B (en) | Method, device, electronic equipment and storage medium for display control in game | |
CN111672132B (en) | Game control method, game control device, server, and storage medium | |
US20230195403A1 (en) | Information processing method and electronic device | |
CN117608431A (en) | Control method and device | |
EP4002860A1 (en) | Method and device for processing public event by means of key distribution, and set top box | |
CN111880869A (en) | Picture adjusting method, device and system | |
CN116882370B (en) | Content processing method and device, electronic equipment and storage medium | |
CN115277650B (en) | Screen-throwing display control method, electronic equipment and related device | |
CN115396717B (en) | Display device and display image quality adjusting method | |
CN115079923B (en) | Event processing method, device, equipment and medium | |
CN111143014B (en) | Method and system for generating scene thumbnail of wall splicing system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |