Equipment control method and device, equipment and storage medium
By setting sensors in the device, automatically judging the device status and conditions, and achieving automatic data flow between devices, it solves the problem of manual operation of data flow between devices in the prior art, and improves the user experience.
Patent Information
- Application Number
- CN202311011164.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-10
- Publication Date
- 2025-02-18
AI Technical Summary
In the prior art, when data flows between multiple devices of the same user, the user needs to operate manually, which is cumbersome and time-consuming, affecting the user experience.
By setting sensors in the device, obtaining the detection information of the device, automatically determining the device status and conditions, and automatically realizing automatic data transmission between devices based on preset communication connections.
It realizes automatic data flow between devices, simplifies operational processes, saves operation time, and improves user experience.
Smart Images

Figure CN119484918A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of terminal technology, and in particular to a device control method, apparatus, device, and storage medium. Background Art
[0002] With the development of terminal technologies, the functions of electronic devices (such as smartphones and tablets) are increasing. Among them, the display function has become one of the indispensable functions of electronic devices, bringing a lot of fun to users' lives and work. However, in related technologies, when transferring data between multiple devices of the same user, manual operations are usually required. The operation process is cumbersome and time-consuming, which in turn affects the user's experience. Summary of the Invention
[0003] To overcome the problems existing in the related art, the embodiments of the present disclosure provide a device control method, apparatus, device and storage medium to solve the defects in the related art.
[0004] According to a first aspect of an embodiment of the present disclosure, a device control method is provided, the method comprising:
[0005] In response to the state of the first device being a preset display state, obtaining first detection information collected by a first sensing device of the first device;
[0006] In response to the first detection information satisfying a first set condition, obtaining second detection information collected by a second sensing device of a second device, where the second device is a device that satisfies the set device condition in an environment where the first device is located;
[0007] In response to the second detection information satisfying a second set condition, the target data currently displayed by the first device is transmitted to the second device based on a preset communication connection, so that the second device displays the target data.
[0008] In some embodiments, the method further comprises:
[0009] Searching for a second device that meets the set device condition in the environment where the first device is located;
[0010] In response to searching for the second device, performing the operation of acquiring the second detection information collected by the second sensing device of the second device;
[0011] The set device condition includes at least one of the following:
[0012] The user is logged in with the same account as the first device;
[0013] Being in the same local area network as the first device;
[0014] The distance between the first device and the first device is less than or equal to a first set distance threshold.
[0015] In some embodiments, the first sensor is a first image acquisition device, and the first detection information is a first human eye image;
[0016] The method further comprises:
[0017] identifying a first gaze area of a human eye in the first human eye image;
[0018] In response to the first note area leaving the first screen of the first device, it is determined that the first detection information satisfies the first set condition.
[0019] In some embodiments, the preset display state includes a state in which the target data is displayed in a small window;
[0020] The method further comprises:
[0021] In response to the first gaze area changing from the first preset area to the second preset area, the small window is moved from the first preset area to the second preset area. The first preset area is the preset area of the screen where the small window is currently located, and the second preset area is the area other than the first preset area.
[0022] In some embodiments, the first sensor is a first time-of-flight (TOF) sensor, and the first detection information is a first distance between the first device and a target object;
[0023] The method further comprises:
[0024] In response to the first distance being greater than or equal to a second set distance threshold, it is determined that the first detection information meets the first set condition.
[0025] In some embodiments, the second sensor is a second image acquisition device, and the second detection information is a second human eye image;
[0026] The method further comprises:
[0027] identifying a second gaze area of the human eye in the second human eye image;
[0028] In response to the second gaze area being located on the second screen of the second device, it is determined that the second detection information satisfies the second set condition.
[0029] In some embodiments, the second sensor is a second time-of-flight (TOF) sensor, and the second detection information is a second distance between the second device and the target object;
[0030] The method further comprises:
[0031] In response to the second distance being less than or equal to a third set distance threshold, it is determined that the second detection information satisfies the second set condition.
[0032] In some embodiments, the method further comprises:
[0033] In response to obtaining third detection information collected by the third sensing device of the first device, determining first identity information of a current user of the first device based on the third detection information;
[0034] In response to acquiring fourth detection information collected by a fourth sensing device of the second device, determining second identity information of a current user of the second device based on the fourth detection information;
[0035] In response to the first identity information being the same as the second identity information, it is determined that the second detection information satisfies the second set condition.
[0036] In some embodiments, the method further comprises:
[0037] In response to the first detection information satisfying the first set condition, obtaining a first timestamp at this time;
[0038] In response to the second detection information satisfying the second set condition, obtaining a second timestamp corresponding to this time;
[0039] In response to the interval between the second timestamp and the first timestamp being less than or equal to a preset time interval threshold, the operation of transmitting the target data currently displayed by the first device to the second device based on the preset communication connection is performed.
[0040] In some embodiments, the method further comprises:
[0041] Sending a virtual screen creation instruction to the second device, where the virtual screen creation instruction is used to instruct the second device to create a virtual screen;
[0042] In response to receiving feedback information sent by the second device, the operation of transmitting the target data currently displayed by the first device to the second device based on the preset communication connection is performed, and the feedback information includes information sent by the second device after completing the creation of the virtual screen.
[0043] According to a second aspect of an embodiment of the present disclosure, there is provided a device control apparatus, the apparatus comprising:
[0044] a first acquisition module, configured to acquire first detection information collected by a first sensing device of the first device in response to the state of the first device being a preset display state;
[0045] a second acquisition module, configured to acquire, in response to the first detection information satisfying a first set condition, second detection information collected by a second sensing device of a second device, where the second device is a device in an environment where the first device is located that satisfies the set device condition;
[0046] The data transmission module is configured to transmit the target data currently displayed by the first device to the second device based on a preset communication connection in response to the second detection information satisfying a second set condition, so that the second device displays the target data.
[0047] In some embodiments, the apparatus further comprises:
[0048] a device search module, configured to search for a second device that meets the set device condition in the environment where the first device is located;
[0049] The second acquisition module is further configured to, in response to searching for the second device, execute the operation of acquiring the second detection information collected by the second sensing device of the second device;
[0050] The second device that meets the set device condition includes at least one of the following:
[0051] The user is logged in with the same account as the first device;
[0052] Being in the same local area network as the first device;
[0053] The distance between the first device and the first device is less than or equal to a first set distance threshold.
[0054] In some embodiments, the first sensor is a first image acquisition device, and the first detection information is a first human eye image;
[0055] The second acquisition module further includes a first determination unit;
[0056] The first determining unit is configured to:
[0057] identifying a first gaze area of a human eye in the first human eye image;
[0058] In response to the first note area leaving the first screen of the first device, it is determined that the first detection information satisfies the first set condition.
[0059] In some embodiments, the preset display state includes a state in which the target data is displayed in a small window;
[0060] The device further comprises:
[0061] A window moving module is used to move the small window from the first preset area to the second preset area in response to the first gaze area changing from the first preset area to the second preset area. The first preset area is the preset area of the screen where the small window is currently located, and the second preset area is the area other than the first preset area.
[0062] In some embodiments, the first sensor is a first time-of-flight (TOF) sensor, and the first detection information is a first distance between the first device and a target object;
[0063] The second acquisition module further includes a second determination unit;
[0064] The second determining unit is configured to:
[0065] In response to the first distance being greater than or equal to a second set distance threshold, it is determined that the first detection information meets the first set condition.
[0066] In some embodiments, the second sensor is a second image acquisition device, and the second detection information is a second human eye image;
[0067] The second acquisition module further includes a third determination unit;
[0068] The third determining unit is configured to:
[0069] identifying a second gaze area of the human eye in the second human eye image;
[0070] In response to the second gaze area being located on the second screen of the second device, it is determined that the second detection information satisfies the second set condition.
[0071] In some embodiments, the second sensor is a second time-of-flight (TOF) sensor, and the second detection information is a second distance between the second device and the target object;
[0072] The second acquisition module further includes a fourth determination unit;
[0073] The fourth determining unit is configured to:
[0074] In response to the second distance being less than or equal to a third set distance threshold, it is determined that the second detection information satisfies the second set condition.
[0075] In some embodiments, the second acquisition module further includes a fifth determination unit;
[0076] The fifth determining unit is configured to:
[0077] In response to obtaining third detection information collected by the third sensing device of the first device, determining first identity information of a current user of the first device based on the third detection information;
[0078] In response to acquiring fourth detection information collected by a fourth sensing device of the second device, determining second identity information of a current user of the second device based on the fourth detection information;
[0079] In response to the first identity information being the same as the second identity information, it is determined that the second detection information satisfies the second set condition.
[0080] In some embodiments, the second acquisition module further includes a sixth determination unit;
[0081] The sixth determining unit is configured to:
[0082] In response to the first detection information satisfying the first set condition, obtaining a first timestamp at this time;
[0083] In response to the second detection information satisfying the second set condition, obtaining a second timestamp corresponding to this time;
[0084] In response to the interval between the second timestamp and the first timestamp being less than or equal to a preset time interval threshold, the operation of transmitting the target data currently displayed by the first device to the second device based on the preset communication connection is performed.
[0085] In some embodiments, the apparatus further comprises:
[0086] an instruction sending module, configured to send a virtual screen creation instruction to the second device, wherein the virtual screen creation instruction is used to instruct the second device to create a virtual screen;
[0087] The data transmission module is also used to execute the operation of transmitting the target data currently displayed by the first device to the second device based on the preset communication connection in response to receiving feedback information sent by the second device, and the feedback information includes information sent by the second device after completing the creation of the virtual screen.
[0088] According to a third aspect of an embodiment of the present disclosure, there is provided an electronic device, the device comprising:
[0089] a processor and a memory for storing a computer program;
[0090] The processor is configured to, when executing the computer program, implement:
[0091] In response to the state of the first device being a preset display state, obtaining first detection information collected by a first sensing device of the first device;
[0092] In response to the first detection information satisfying a first set condition, obtaining second detection information collected by a second sensing device of a second device, where the second device is a device that satisfies the set device condition in an environment where the first device is located;
[0093] In response to the second detection information satisfying a second set condition, the target data currently displayed by the first device is transmitted to the second device based on a preset communication connection, so that the second device displays the target data.
[0094] According to a fourth aspect of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored. When the program is executed by a processor, the following is achieved:
[0095] In response to the state of the first device being a preset display state, obtaining first detection information collected by a first sensing device of the first device;
[0096] In response to the first detection information satisfying a first set condition, obtaining second detection information collected by a second sensing device of a second device, where the second device is a device that satisfies the set device condition in an environment where the first device is located;
[0097] In response to the second detection information satisfying a second set condition, the target data currently displayed by the first device is transmitted to the second device based on a preset communication connection, so that the second device displays the target data.
[0098] The technical solutions provided by the embodiments of the present disclosure may have the following beneficial effects:
[0099] The present disclosure obtains first detection information collected by a first sensing device of the first device in response to the state of the first device being a preset display state, and obtains second detection information collected by a second sensing device of the second device in response to the first detection information satisfying a first set condition, and then transmits the target data currently displayed by the first device to the second device based on a preset communication connection in response to the second detection information satisfying a second set condition, so that the second device can display the target data. This can realize automatic control of the flow of display data between the first device and the second device based on the detection information collected by the sensors of the first device and the second device, without the user having to manually operate, which can simplify the operation process, save operation time, and thus improve the user experience.
[0100] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0101] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0102] Figure 1A is a schematic diagram of a system architecture of a device control method according to an exemplary embodiment;
[0103] Figure 1B is a flow chart showing a device control method according to an exemplary embodiment of the present disclosure;
[0104] Figure 1C is a schematic diagram showing a control effect of a first device according to an exemplary embodiment of the present disclosure;
[0105] Figure 1D is a schematic diagram showing a control effect of a first device according to another exemplary embodiment of the present disclosure;
[0106] Figure 2 is a flow chart illustrating how to obtain second detection information collected by a second sensing device of a second device according to an exemplary embodiment of the present disclosure;
[0107] Figure 3 is a flowchart illustrating how to determine whether the second detection information satisfies the second setting condition according to an exemplary embodiment of the present disclosure;
[0108] Figure 4 is a flowchart illustrating how to transmit target data currently displayed by the first device to the second device based on a preset communication connection according to an exemplary embodiment of the present disclosure;
[0109] Figure 5 is a block diagram of a device control apparatus according to an exemplary embodiment of the present disclosure;
[0110] Figure 6 is a block diagram showing another device control apparatus according to an exemplary embodiment of the present disclosure;
[0111] Figure 7 is a block diagram of an electronic device according to an exemplary embodiment of the present disclosure. DETAILED DESCRIPTION
[0112] Exemplary embodiments will be described in detail herein, with examples illustrated in the accompanying drawings. In the following description, when referring to the drawings, identical numerals in different figures represent identical or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments are not intended to represent all embodiments consistent with the present disclosure. Rather, they are merely examples of apparatuses and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
[0113] With the development of terminal technology, the functions of electronic devices (such as smart phones and tablet computers) are increasing. Among them, the display function has become one of the indispensable functions of electronic devices, bringing a lot of fun to users' lives and work.
[0114] In related technologies, in order to facilitate users to view the contents of multiple applications at the same time, a small window display method can be used for one or more of the applications, that is, the contents of the application are displayed in a small window (e.g., a non-full-screen window) on an electronic device (e.g., a smartphone, a tablet computer).
[0115] Currently, when a user displays the content of an application in a small window on one electronic device, if they want to display the content of the application on another electronic device, they need to manually open the application on the other electronic device to display the content of the application. As can be seen, the device control solutions for electronic devices in the related art usually require users to manually operate, which is cumbersome and time-consuming, and thus affects the user experience.
[0116] In view of this, the present disclosure provides the following device control method, apparatus, device and storage medium to solve the above-mentioned drawbacks in the related art.
[0117] Figure 1A FIG. 1 is a schematic diagram of a system architecture of a device control method according to an exemplary embodiment; FIG. Figure 1A As shown in the figure, the system architecture mainly includes the following parts:
[0118] 1) Hardware, including low-power always-on cameras (AON cameras) and other hardware, which can be used for human eye and / or face recognition;
[0119] 2) Hardware Abstraction Layer HAL, including Camera HIDL interface (Camera HIDL), is used to define the interface between the framework layer (Frameworks) and the hardware abstraction layer (HAL);
[0120] 3) Natives, including AON services, used to implement local services and link libraries;
[0121] 4) Framework layer (Frameworks), including attention event management (Attention Manager), screen display management (Display Manager) and window management (Window Manager), etc., used to implement corresponding system services;
[0122] Among them, screen display management can be used to manage the status of the currently used screen device, wherein the currently used screen device may include the physical screen of the device and / or the virtual screen across the device ends, etc.
[0123] 5) Application layer (Applications), including various applications, such as APP1, APP2, etc.
[0124] 6) Protocol layer, including mature cross-device screen projection protocols in related technologies, such as miracast protocol, WiFi protocol, etc., which can be used to realize cross-device screen projection and display content flow.
[0125] Specifically, Figure 1B This is a flow chart of a device control method according to an exemplary embodiment; the method of this embodiment can be executed by a device control device, which can be configured in an electronic device, such as a server, workstation, personal computer, mobile terminal (such as a mobile phone, tablet computer, etc.), wearable device (such as glasses, watches, etc.), etc. The above electronic device can be the first device itself, or can be a control device for the first device and / or the second device. Figure 1B As shown, the method includes the following steps S101-S103:
[0126] In step S101 , in response to a state of a first device being a preset display state, first detection information collected by a first sensing device of the first device is acquired.
[0127] In this embodiment, the status of the first device can be detected when the first device is in the bright screen unlocked state, and then when the state of the first device is detected to be the preset display state, the first detection information collected by the first sensing device of the first device can be obtained.
[0128] It is worth noting that the above-mentioned preset display status can be set based on actual scene requirements, such as being set to display in a small window, or being set to display in a normal window (such as displaying in a full-screen or other non-small window mode), etc. This embodiment does not limit this.
[0129] The first sensing device may be a first image acquisition device provided on the first device, such as a camera, including but not limited to an AON (Always on) camera or an always-on camera; and / or may be a first distance detection device provided on the first device, such as a time-of-flight (TOF) sensor. Accordingly, the first detection information acquired by the first image acquisition device may be first image information, such as a first human eye image (i.e., an image of the eyes of the current user of the first device); and the first detection information acquired by the first distance detection device may be a first distance between the first device and a target object.
[0130] In step S102, in response to the first detection information satisfying a first set condition, second detection information collected by a second sensor device of a second device is acquired.
[0131] In this embodiment, after obtaining the first detection information collected by the first sensor device of the first device, the second detection information collected by the second sensor device of the second device may be obtained in response to the first detection information satisfying the first set condition.
[0132] Wherein, the second device is a device that satisfies the set device condition in the environment where the first device is located. It is worth noting that the above-mentioned set device condition can be set based on the needs of the actual scene, and this embodiment does not limit this. In other embodiments, the setting of the above-mentioned set device condition can also refer to the following Figure 2 The illustrated embodiment will not be described in detail here.
[0133] Taking the first detection information as a first eye image as an example, after acquiring the first eye image, the gaze information (e.g., gaze point and / or gaze direction, etc.) of the eye in the first eye image can be identified based on a preset image recognition algorithm. Furthermore, based on the matching results between the gaze information and the pre-divided areas of the screen, the first gaze area of the eye in the first eye image (named the first gaze area for ease of distinction) can be identified. Furthermore, in response to the first gaze area leaving the first screen of the first device, the first detection information can be determined to satisfy the first set condition, thereby acquiring the second detection information captured by the second sensing device of the second device. Exemplarily, the first image capture device of the first device can capture the first eye image multiple times. Furthermore, after acquiring each captured first eye image, the electronic device can detect the first gaze area of the eye in each first eye image. When it is detected that the gaze area of the eye changes from the preset area on the first screen to an area outside the first screen (i.e., the first gaze area of the eye leaves the first screen), the first detection information can be determined to satisfy the first set condition.
[0134] Taking the first detection information as the first distance as an example, after obtaining the first distance, the first distance can be compared with the second set distance threshold, and then the first distance can be greater than or equal to the second set distance threshold, and it can be determined that the first detection information meets the first set condition, thereby obtaining the second detection information collected by the second sensing device of the second device.
[0135] The second sensing device may be a second image acquisition device provided on the second device, such as a camera, including but not limited to an AON (Always on) camera or an always-on camera; and / or may be a second distance detection device provided on the second device, such as a time-of-flight (TOF) sensor. Accordingly, the second detection information acquired by the second image acquisition device may be second image information, such as a second human eye image (i.e., an image of the eyes of the current user of the second device); and the second detection information acquired by the second distance detection device may be a second distance between the second device and the target object.
[0136] In some embodiments, the operations of steps S101 - S102 may be performed in the background of the electronic device, which is not limited in this embodiment.
[0137] In step S103 , in response to the second detection information satisfying a second set condition, the target data currently displayed by the first device is transmitted to the second device based on a preset communication connection, so that the second device displays the target data.
[0138] In this embodiment, in response to the first detection information satisfying the first set condition, after obtaining the second detection information collected by the second sensor device of the second device, it can be determined whether the second detection information satisfies the second set condition. Then, when the second detection information satisfies the second set condition, the target data currently displayed by the first device is transmitted to the second device based on the preset communication connection, so that the second device can display the target data. The target data includes, but is not limited to, images, videos, audio, and files (such as PPT slides, etc.).
[0139] Taking the second detection information as a second human eye image as an example, after obtaining the second human eye image, the gaze information of the human eye in the second human eye image (such as gaze point and / or gaze direction, etc.) can be identified based on a preset image recognition algorithm, and then based on the matching results of the gaze information with the various areas in the pre-divided screen, the gaze area of the human eye in the second human eye image (named the second gaze area for ease of distinction) can be determined, and then, in response to the second gaze area being located on the second screen of the second device, it can be determined that the second detection information meets the second set condition, thereby transmitting the target data currently displayed by the first device to the second device based on the preset communication connection.
[0140] Taking the second detection information as the second distance as an example, after obtaining the second distance, the second distance can be compared with the third set distance threshold, and then, in response to the second distance being less than or equal to the third set distance threshold, it can be determined that the second detection information meets the second set condition, thereby obtaining the second detection information collected by the second sensing device of the second device.
[0141] That is to say, a preset control method for the first device can be set in advance based on the actual application scenario (for example, controlling the flow of display data between the first device and the second device), and it can be associated with the set conditions that the first detection information and the second detection information need to meet, so that after it is detected that the first detection information and the second detection information meet the corresponding set conditions, the first device and the second device can be controlled according to the preset control method, that is, the flow of display data between the first device and the second device can be controlled.
[0142] The preset communication connection may include a connection established in advance between the first device and the second device, such as a connection based on the Miracast protocol and / or the Wifi protocol (eg, the Wifi P2P protocol).
[0143] For example, when it is detected that the second detection information meets the second set condition, the above-mentioned connection can be established between the first device and the second device, and the target data currently displayed by the first device is transmitted to the second device so that the second device can display the target data.
[0144] In some embodiments, when the electronic device detects that the second detection information satisfies a second set condition, it may send a virtual screen creation instruction to the second device to instruct the second device to create a virtual screen, and then, in response to receiving feedback information sent by the second device, perform the operation of transmitting the target data currently displayed by the first device to the second device based on the preset communication connection. The feedback information may include information sent by the second device after completing the creation of the virtual screen.
[0145] For example, Figure 1C is a schematic diagram showing a control effect of a first device according to an exemplary embodiment of the present disclosure; Figure 1D is a schematic diagram showing a control effect of a first device according to another exemplary embodiment of the present disclosure; Figure 1CAs shown, user 100 may have a first device 200 and a second device 300. When user 100 displays the display content of an application on the first device 200, the first image acquisition device (e.g., an AON camera) of the first device may acquire a first eye image of user 100, and may identify the gaze information of the eye (e.g., gaze direction A, etc.) in the first eye image based on a preset image recognition algorithm, and then identify the first gaze area of the eye in the first eye image; further, when it is determined that the first gaze area of the eye in the first eye image leaves the first screen of the first device, it may be determined that the first gaze area meets the first set condition; on this basis, a second eye image acquired by the second image acquisition device based on the second device may be acquired, and then, in response to the second eye image meeting the second set condition, for example, identifying the gaze information of the eye (e.g., gaze direction B, etc.) in the second eye image, and identifying that the second gaze area of the eye in the second eye image is located on the second screen of the second device, the first device's attention event management Attention Manager may report the event to the screen display management Display Manager, and then the screen display management Display Manager The Manager can establish a communication connection between the first device and the second device, and send a virtual screen creation instruction to the second device to instruct the second device to create a virtual screen. Then, when it is determined that the second device has completed the creation of the virtual screen, the data currently displayed by the first device can be transmitted to the second device based on the above-mentioned communication connection, so that the second device can decode the received data and display the corresponding image and / or sound.
[0146] like Figure 1D As shown, the target data currently displayed by the first device 200 has been transferred to the second device 300 for display, and the user does not need to perform manual operation during the entire process, which simplifies the operation process for the user, saves time, and thus improves the user experience.
[0147] For another example, when user 100 is operating a slide PPT on the first device 200, if user 100 stands up and walks towards the second device 300, the electronic device can obtain the first distance collected by the first ToF sensor of the first device 200 to identify that the target object has left, so as to control the first device 200 to turn off the screen to save power consumption; on this basis, the electronic device can obtain the second distance collected by the second ToF sensor of the second device 300 to identify that the target object is approaching, so as to control the second device 300 to light up the screen, and transfer the PPT that user 100 is operating on the first device 200 to the second device 300 for display.
[0148] In some other embodiments, the preset display state of the first device may further include a state of displaying the target data in a small window;
[0149] On this basis, the electronic device can identify the first gaze area of the human eye in the first human eye image, and in response to the first gaze area changing from the first preset area to the second preset area, move the small window from the first preset area to the second preset area. The first preset area is the preset area of the screen where the small window is currently located, and the second preset area is the area other than the first preset area.
[0150] That is to say, when the user triggers the small window function on the first device, the arrangement of the small window can be automatically changed by detecting the gaze area of the human eye, without the user having to manually drag the small window to the specified position. This can simplify the control process, save operation time, and thus improve the user experience.
[0151] It can be seen from the above description that the method of this embodiment obtains the first detection information collected by the first sensing device of the first device in response to the state of the first device being a preset display state, and obtains the second detection information collected by the second sensing device of the second device in response to the first detection information satisfying the first set condition, and then in response to the second detection information satisfying the second set condition, transmits the target data currently displayed by the first device to the second device based on the preset communication connection, so that the second device can display the target data. This can realize automatic control of the flow of display data between the first device and the second device based on the detection information collected by the sensors of the first device and the second device, without the user having to manually operate, which can simplify the operation process, save operation time, and thus improve the user experience.
[0152] Figure 2 This is a flowchart showing how to obtain the second detection information collected by the second sensing device of the second device according to an exemplary embodiment of the present disclosure; based on the above embodiment, this embodiment uses the example of how to obtain the second detection information collected by the second sensing device of the second device as an example to illustrate.
[0153] On this basis, if Figure 2 As shown, the controlling of the first device based on the preset control mode described in the above step S103 may include the following steps S201-S202:
[0154] In step S201, a second device that meets the set device condition is searched in the environment where the first device is located.
[0155] In this embodiment, after determining that the first detection information meets a first set condition, a second device meeting the set device condition may be searched in the environment where the first device is located.
[0156] The above-mentioned equipment conditions include at least one of the following (1) to (3):
[0157] (1) Log in with the same account as the first device;
[0158] (2) being in the same local area network as the first device;
[0159] (3) The distance between the first device and the first device is less than or equal to a first set distance threshold.
[0160] In step S202, in response to searching for the second device, the operation of acquiring the second detection information collected by the second sensing device of the second device is performed.
[0161] In this embodiment, after a second device that meets the set device condition is searched in the environment where the first device is located, the operation of obtaining the second detection information collected by the second sensor device of the second device as described in step S102 may be performed.
[0162] As can be seen from the above description, this embodiment ensures the reliability of the solution by searching for a second device that meets the set device conditions in the environment where the first device is located, and performing the operation of obtaining the second detection information collected by the second sensing device of the second device in response to the search for the second device. It can lay the foundation for the subsequent response to the second detection information meeting the second set condition, transmitting the target data currently displayed by the first device to the second device based on a preset communication connection, so that the second device can display the target data. It can realize automatic control of the flow of display data between the first device and the second device based on the detection information collected by the sensors of the first device and the second device, without the user having to manually operate, which can simplify the operation process, save operation time, and thus improve the user experience.
[0163] Figure 3 This is a flowchart showing how to determine whether the second detection information satisfies the second setting condition according to an exemplary embodiment of the present disclosure; based on the above embodiment, this embodiment uses an example of how to determine whether the second detection information satisfies the second setting condition.
[0164] like Figure 3 As shown, the device control method of this embodiment may further include determining, based on the following steps S301-S303, that the second detection information satisfies the second set condition:
[0165] In step S301, in response to obtaining third detection information collected by a third sensing device of the first device, first identity information of a current user of the first device is determined based on the third detection information.
[0166] In this embodiment, to improve the accuracy of transmitting the data currently displayed on the first device and avoid inadvertently transmitting such data to other irrelevant devices in the environment of the first device, further determination may be made based on the method of this embodiment after detecting that "the second gaze area is located on the second screen of the second device" and / or "the second distance is less than or equal to a third set distance threshold." Specifically, upon detecting that "the second gaze area is located on the second screen of the second device" and / or "the second distance is less than or equal to the third set distance threshold," the first identity information of the current user of the first device may be determined based on the third detection information acquired by the third sensing device of the first device.
[0167] The third sensor may be a third image acquisition device (which may be the same device as the first image acquisition device or a different device), and the third detection information may be first biometric information (e.g., fingerprint information, iris information, or facial feature information) of the current user of the first device. Upon obtaining the third detection information, the first identity information of the current user of the first device may be determined based on the third detection information.
[0168] In step S302, in response to obtaining fourth detection information collected by a fourth sensor device of the second device, second identity information of a current user of the second device is determined based on the fourth detection information.
[0169] In this embodiment, after the first identity information of the current user of the first device is determined based on the third detection information, the second identity information of the current user of the second device can be determined based on the fourth detection information in response to obtaining the fourth detection information collected by the fourth sensing device of the second device.
[0170] The fourth sensor may be a fourth image acquisition device (which may be the same device as the second image acquisition device or a different device), and the fourth detection information may be second biometric information (e.g., fingerprint information, iris information, or facial feature information) of the current user of the second device. Upon obtaining the fourth detection information, the second identity information of the current user of the second device may be determined based on the fourth detection information.
[0171] In step S303 , in response to the first identity information being the same as the second identity information, it is determined that the second detection information meets the second set condition.
[0172] In this embodiment, after obtaining the first identity information and the second identity information, the first identity information can be compared with the second identity information. When it is determined that the first identity information is the same as the second identity information, it can be determined that the second human eye image meets the second set condition.
[0173] As can be seen from the above description, this embodiment determines the first identity information of the current user of the first device based on the third detection information in response to the third detection information collected by the third sensor device of the first device, and determines the second identity information of the current user of the second device based on the fourth detection information in response to the fourth detection information collected by the fourth sensor device of the second device, and determines that the second detection information satisfies the second set condition in response to the first identity information being the same as the second identity information. This can achieve more accurate determination that the second detection information satisfies the second set condition, avoid mistakenly transmitting the above data to other irrelevant devices in the environment where the first device is located, improve the accuracy of transmitting the data currently displayed by the first device, and thus improve the accuracy of controlling the device.
[0174] Figure 4 This is a flowchart illustrating how to transmit target data currently displayed on a first device to a second device based on a preset communication connection according to an exemplary embodiment of the present disclosure. This embodiment, based on the above embodiment, uses an example of how to transmit target data currently displayed on a first device to a second device based on a preset communication connection.
[0175] In this embodiment, considering the actual application scenario, if the user wants to transmit the target data currently displayed on the first device to the second device for display, he or she will usually get up and walk towards the second device immediately after leaving the first device. Therefore, the time interval between the time when "the first detection information meets the first set condition" and the time when "the second detection information meets the second set condition" will not usually be very long. On the contrary, if the user does some other work after leaving the first device and then walks towards the second device, it is very likely that the user does not want to transmit the target data currently displayed on the first device to the second device for display. In this case, the above-mentioned time interval is usually relatively long. Therefore, in order to avoid the target data currently displayed on the first device from being mistakenly transmitted to the second device, so as to improve the accuracy of the transmission of the data currently displayed on the first device, the method provided in this embodiment can be used to achieve the transmission of the target data currently displayed on the first device.
[0176] Specifically, if Figure 4 As shown, the device control method of this embodiment may further include implementing the transmission of the target data currently displayed by the first device to the second device based on the preset communication connection based on the following steps S401-S403:
[0177] In step S401 , in response to the first detection information satisfying the first set condition, a first timestamp at this time is acquired.
[0178] In this embodiment, after it is determined that the first detection information meets the first set condition, a first timestamp at this time, such as t1, may be acquired.
[0179] In step S402, in response to the second detection information satisfying the second set condition, a second timestamp corresponding to this time is acquired.
[0180] In this embodiment, after it is determined that the second detection information meets the second set condition, a second timestamp at this time, such as t2, may be acquired.
[0181] In step S403, in response to the interval between the second timestamp and the first timestamp being less than or equal to a preset time interval threshold, the operation of transmitting the target data currently displayed by the first device to the second device based on the preset communication connection is performed.
[0182] Since the second detection information collected by the second sensing device of the second device is obtained only after the first detection information satisfies the first set condition, it can be known that the second timestamp t2 is later than the first timestamp t1. On this basis, the interval Δt between the second timestamp and the first timestamp can be determined based on the following formula (4-1):
[0183] △t= t2-t1; (4-1)
[0184] Furthermore, after obtaining the above-mentioned interval △t, the △t can be compared with the preset time interval threshold. When it is determined that the interval △t is less than or equal to the preset time interval threshold, the operation of transmitting the target data currently displayed by the first device to the second device based on the preset communication connection in step S103 can be executed, thereby accurately judging from the time level whether the target data currently displayed by the first device is transmitted to the second device, avoiding the target data currently displayed by the first device from being mistakenly transmitted to the second device, and improving the accuracy of transmitting the data currently displayed by the first device.
[0185] As can be seen from the above description, this embodiment obtains the first timestamp at this time in response to the first detection information satisfying the first setting condition, and obtains the corresponding second timestamp at this time in response to the second detection information satisfying the second setting condition, and then performs the operation of transmitting the target data currently displayed by the first device to the second device based on the preset communication connection in response to the interval between the second timestamp and the first timestamp being less than or equal to the preset time interval threshold. This can achieve more accurate determination of whether the target data currently displayed by the first device is to be transmitted to the second device based on the preset communication connection, avoid the target data currently displayed by the first device from being mistakenly transmitted to the second device, and improve the accuracy of transmitting the data currently displayed by the first device, thereby improving the accuracy of controlling the device.
[0186] Figure 5 This is a block diagram of a device control apparatus according to an exemplary embodiment of the present disclosure; the apparatus of this embodiment can be configured in electronic devices, such as servers, workstations, personal computers, mobile terminals (such as mobile phones, tablet computers, etc.), wearable devices (such as glasses, watches, etc.), etc. The electronic device can be the first device itself, or can be a control device for the first device and / or the second device. Figure 5 As shown, the apparatus may include: a first acquisition module 110, a second acquisition module 120 and a data transmission module 130, wherein:
[0187] A first acquisition module 110 is configured to acquire first detection information collected by a first sensor device of the first device in response to the state of the first device being a preset display state;
[0188] A second acquisition module 120 is configured to acquire, in response to the first detection information satisfying a first set condition, second detection information collected by a second sensor device of a second device, where the second device is a device in an environment where the first device is located that satisfies the set device condition;
[0189] The data transmission module 130 is configured to transmit the target data currently displayed by the first device to the second device based on a preset communication connection in response to the second detection information satisfying a second set condition, so that the second device displays the target data.
[0190] From the above description, it can be seen that the device of this embodiment obtains the first detection information collected by the first sensing device of the first device in response to the state of the first device being a preset display state, and obtains the second detection information collected by the second sensing device of the second device in response to the first detection information satisfying the first set condition, and then in response to the second detection information satisfying the second set condition, transmits the target data currently displayed by the first device to the second device based on the preset communication connection, so that the second device can display the target data. This can realize automatic control of the flow of display data between the first device and the second device based on the detection information collected by the sensors of the first device and the second device, without the user having to manually operate, which can simplify the operation process, save operation time, and thus improve the user experience.
[0191] Figure 6 This is a block diagram of another device control device according to an exemplary embodiment of the present disclosure; the device of this embodiment can be configured in electronic devices, such as servers, workstations, personal computers, mobile terminals (such as mobile phones, tablet computers, etc.), wearable devices (such as glasses, watches, etc.), etc. Among them, the first acquisition module 210, the second acquisition module 220 and the data transmission module 230 are similar to the aforementioned Figure 5 The first acquisition module 110 , the second acquisition module 120 and the data transmission module 130 in the illustrated embodiment have the same functions and are not described in detail herein.
[0192] like Figure 6 As shown, the device control apparatus of this embodiment may further include:
[0193] A device search module 240 is configured to search for a second device that meets the set device condition in the environment where the first device is located;
[0194] Furthermore, the second acquisition module 220 is further configured to, in response to searching for the second device, execute the operation of acquiring the second detection information collected by the second sensing device of the second device;
[0195] The second device that meets the set device condition may include at least one of the following:
[0196] The user is logged in with the same account as the first device;
[0197] Being in the same local area network as the first device;
[0198] The distance between the first device and the first device is less than or equal to a first set distance threshold.
[0199] In some embodiments, the first sensor may be a first image acquisition device, and the first detection information may be a first human eye image;
[0200] Furthermore, the second acquisition module 220 may further include a first determination unit 221;
[0201] The first determining unit 221 may be configured to:
[0202] identifying a first gaze area of a human eye in the first human eye image;
[0203] In response to the first note area leaving the first screen of the first device, it is determined that the first detection information satisfies the first set condition.
[0204] In some embodiments, the preset display state includes a state in which the target data is displayed in a small window;
[0205] Furthermore, the above device may further include:
[0206] The window moving module 250 is used to move the small window from the first preset area to the second preset area in response to the first gaze area changing from the first preset area to the second preset area. The first preset area is the preset area of the screen where the small window is currently located, and the second preset area is the area other than the first preset area.
[0207] In some embodiments, the first sensor is a first time-of-flight (TOF) sensor, and the first detection information is a first distance between the first device and a target object;
[0208] The second acquisition module 220 further includes a second determination unit 222;
[0209] The second determining unit 222 may be configured to:
[0210] In response to the first distance being greater than or equal to a second set distance threshold, it is determined that the first detection information meets the first set condition.
[0211] In some embodiments, the second sensor may be a second image acquisition device, and the second detection information may be a second human eye image;
[0212] The second acquisition module 220 may further include a third determination unit 223;
[0213] The third determining unit 223 may be configured to:
[0214] identifying a second gaze area of the human eye in the second human eye image;
[0215] In response to the second gaze area being located on the second screen of the second device, it is determined that the second detection information satisfies the second set condition.
[0216] In some embodiments, the second sensor may be a second time-of-flight (TOF) sensor, and the second detection information may be a second distance between the second device and the target object.
[0217] The second acquisition module 220 may further include a fourth determination unit 224;
[0218] The fourth determining unit 224 may be configured to:
[0219] In response to the second distance being less than or equal to a third set distance threshold, it is determined that the second detection information satisfies the second set condition.
[0220] In some embodiments, the second acquisition module 220 further includes a fifth determination unit 225;
[0221] The fifth determining unit 225 may be configured to:
[0222] In response to obtaining third detection information collected by the third sensing device of the first device, determining first identity information of a current user of the first device based on the third detection information;
[0223] In response to acquiring fourth detection information collected by a fourth sensing device of the second device, determining second identity information of a current user of the second device based on the fourth detection information;
[0224] In response to the first identity information being the same as the second identity information, it is determined that the second detection information satisfies the second set condition.
[0225] In some embodiments, the second obtaining module 220 further includes a sixth determining unit 226;
[0226] The sixth determining unit 226 may be configured to:
[0227] In response to the first detection information satisfying the first set condition, obtaining a first timestamp at this time;
[0228] In response to the second detection information satisfying the second set condition, obtaining a second timestamp corresponding to this time;
[0229] In response to the interval between the second timestamp and the first timestamp being less than or equal to a preset time interval threshold, the operation of transmitting the target data currently displayed by the first device to the second device based on the preset communication connection is performed.
[0230] In some embodiments, the above apparatus may further include:
[0231] An instruction sending module 260 is configured to send a virtual screen creation instruction to the second device, wherein the virtual screen creation instruction is used to instruct the second device to create a virtual screen;
[0232] Furthermore, the data transmission module 230 can also be used to execute the operation of transmitting the target data currently displayed by the first device to the second device based on the preset communication connection in response to receiving feedback information sent by the second device, and the feedback information includes information sent by the second device after completing the creation of the virtual screen.
[0233] Regarding the apparatus in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0234] Figure 7 9 is a block diagram of an electronic device according to an exemplary embodiment. For example, device 900 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
[0235] Reference Figure 7 , device 900 may include one or more of the following components: a processing component 902 , a memory 904 , a power component 906 , a multimedia component 908 , an audio component 910 , an input / output (I / O) interface 912 , a sensor component 914 , and a communication component 916 .
[0236] The processing component 902 generally controls the overall operation of the device 900, such as operations associated with display, phone calls, data communications, camera operation, and recording operations. The processing component 902 may include one or more processors 920 to execute instructions to perform all or part of the steps of the device control method described above. In addition, the processing component 902 may include one or more modules to facilitate interaction between the processing component 902 and other components. For example, the processing component 902 may include a multimedia module to facilitate interaction between the multimedia component 908 and the processing component 902.
[0237] The memory 904 is configured to store various types of data to support operations on the device 900. Examples of such data include instructions for any application or method operating on the device 900, contact data, phone book data, messages, pictures, videos, etc. The memory 904 can be implemented by any type of volatile or non-volatile storage device, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk, or optical disk.
[0238] The power supply component 906 provides power to the various components of the device 900. The power supply component 906 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the device 900.
[0239] The multimedia component 908 includes a screen that provides an output interface between the device 900 and the user. In some embodiments, the screen may include a liquid crystal display panel and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor can not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 908 includes a front camera and / or a rear camera. When the device 900 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera can receive external multimedia data. Each front camera and rear camera can be a fixed optical lens system or have a focal length and optical zoom capability.
[0240] The audio component 910 is configured to output and / or input audio signals. For example, the audio component 910 includes a microphone (MIC), which is configured to receive external audio signals when the device 900 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal can be further stored in the memory 904 or transmitted via the communication component 916. In some embodiments, the audio component 910 also includes a speaker for outputting audio signals.
[0241] I / O interface 912 provides an interface between processing component 902 and peripheral interface modules, such as a keyboard, click wheel, buttons, etc. These buttons may include but are not limited to: a home button, volume buttons, a start button, and a lock button.
[0242] The sensor assembly 914 includes one or more sensors for providing various aspects of status assessment for the device 900. For example, the sensor assembly 914 can detect the open / closed state of the device 900, the relative positioning of components, such as the display panel and keypad of the device 900. The sensor assembly 914 can also detect changes in the position of the device 900 or a component of the device 900, the presence or absence of user contact with the device 900, the orientation or acceleration / deceleration of the device 900, and temperature changes of the device 900. The sensor assembly 914 can also include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 914 can also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 914 can also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0243] The communication component 916 is configured to facilitate wired or wireless communication between the device 900 and other devices. The device 900 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, 4G or 5G or a combination thereof. In an exemplary embodiment, the communication component 916 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 916 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0244] In an exemplary embodiment, the device 900 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above-described device control method.
[0245] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 904 including instructions. The instructions can be executed by the processor 920 of the device 900 to implement the above-mentioned device control method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0246] Other embodiments of the present disclosure will readily occur to those skilled in the art after considering the specification and practicing the disclosure herein. This disclosure is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art not disclosed herein. The description and examples are to be considered as exemplary only, with the true scope and spirit of the present disclosure being indicated by the following claims.
[0247] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes can be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A device control method, characterized in that: The method comprises: In response to the state of the first device being a preset display state, obtaining first detection information collected by a first sensor device of the first device; In response to the first detection information satisfying a first set condition, obtaining second detection information collected by a second sensor device of a second device, where the second device is a device that satisfies the set device condition in an environment where the first device is located; In response to the second detection information satisfying a second set condition, the target data currently displayed by the first device is transmitted to the second device based on a preset communication connection, so that the second device displays the target data.
2. The method according to claim 1, characterized in that The method further comprises: Searching for a second device that meets the set device condition in the environment where the first device is located; In response to searching for the second device, performing the operation of acquiring the second detection information collected by the second sensing device of the second device; The setting of equipment conditions includes at least one of the following: The same account is used to log in to the first device; Being in the same local area network as the first device; The distance between the first device and the first device is less than or equal to a first set distance threshold.
3. The method according to claim 1, characterized in that: The first sensor is a first image acquisition device, and the first detection information is a first human eye image; The method further comprises: Identifying a first gaze area of a human eye in the first human eye image; In response to the first attention area leaving the first screen of the first device, it is determined that the first detection information satisfies the first set condition.
4. The method according to claim 3, characterized in that The preset display state includes a state in which the target data is displayed in a small window; The method further comprises: In response to the first gaze area changing from a first preset area to a second preset area, the small window is moved from the first preset area to the second preset area, the first preset area is the preset area of the screen where the small window is currently located, and the second preset area is the area excluding the first preset area.
5. The method according to claim 1, characterized in that The first sensor is a first time-of-flight TOF sensor, and the first detection information is a first distance between the first device and a target object; The method further comprises: In response to the first distance being greater than or equal to a second set distance threshold, it is determined that the first detection information satisfies the first set condition.
6. The method according to claim 1, characterized in that The second sensor is a second image acquisition device, and the second detection information is a second human eye image; The method further comprises: Identifying a second gaze area of the human eye in the second human eye image; In response to the second gaze area being located on the second screen of the second device, it is determined that the second detection information satisfies the second set condition.
7. The method according to claim 1, characterized in that The second sensor is a second time-of-flight TOF sensor, and the second detection information is a second distance between the second device and the target object; The method further comprises: In response to the second distance being less than or equal to a third set distance threshold, it is determined that the second detection information satisfies the second set condition.
8. The method according to any one of claims 1 to 7, characterized in that: The method further comprises: In response to obtaining third detection information collected by a third sensor device of the first device, determining first identity information of a current user of the first device based on the third detection information; In response to acquiring fourth detection information collected by a fourth sensor device of the second device, determining second identity information of a current user of the second device based on the fourth detection information; In response to the first identity information being the same as the second identity information, it is determined that the second detection information satisfies the second set condition.
9. The method according to claim 8, characterized in that The method further comprises: In response to the first detection information satisfying the first setting condition, obtaining a first timestamp at this time; In response to the second detection information satisfying the second set condition, acquiring a second timestamp corresponding to this time; In response to the interval between the second timestamp and the first timestamp being less than or equal to a preset time interval threshold, the operation of transmitting the target data currently displayed by the first device to the second device based on the preset communication connection is performed.
10. The method according to claim 1, characterized in that The method further comprises: Sending a virtual screen creation instruction to the second device, where the virtual screen creation instruction is used to instruct the second device to create a virtual screen; In response to receiving feedback information sent by the second device, the operation of transmitting the target data currently displayed by the first device to the second device based on the preset communication connection is performed, and the feedback information includes information sent by the second device after completing the creation of the virtual screen.
11. A device control device, characterized in that: The device comprises: A first acquisition module, configured to acquire first detection information collected by a first sensor device of the first device in response to the state of the first device being a preset display state; A second acquisition module, configured to acquire, in response to the first detection information satisfying a first set condition, second detection information collected by a second sensor device of a second device, where the second device is a device that satisfies the set device condition in an environment where the first device is located; The data transmission module is used to transmit the target data currently displayed by the first device to the second device based on a preset communication connection in response to the second detection information satisfying a second set condition, so that the second device can display the target data.
12. An electronic device, characterized in that: The device comprises: a processor and a memory for storing a computer program; Wherein, the processor is configured to implement, when executing the computer program: In response to the state of the first device being a preset display state, obtaining first detection information collected by a first sensor device of the first device; In response to the first detection information satisfying a first set condition, obtaining second detection information collected by a second sensor device of a second device, where the second device is a device that satisfies the set device condition in an environment where the first device is located; In response to the second detection information satisfying a second set condition, the target data currently displayed by the first device is transmitted to the second device based on a preset communication connection, so that the second device displays the target data.
13. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by the processor, it realizes: In response to the state of the first device being a preset display state, obtaining first detection information collected by a first sensor device of the first device; In response to the first detection information satisfying a first set condition, obtaining second detection information collected by a second sensor device of a second device, where the second device is a device that satisfies the set device condition in an environment where the first device is located; In response to the second detection information satisfying a second set condition, the target data currently displayed by the first device is transmitted to the second device based on a preset communication connection, so that the second device displays the target data.
Citation Information
Patent Citations
Method and system for continuing playing video content
CN104270668A
Display screen control method and device, equipment and computer readable storage medium
CN108469893A
Data communication method between devices, electronic device and readable storage medium
CN115708059A
Enhanced Content Viewing Experience Based on User Engagement
US20170257669A1
Display method and apparatus
WO2019080065A1