WO2022206763A1 - 一种显示方法、电子设备和系统 - Google Patents
一种显示方法、电子设备和系统 Download PDFInfo
- Publication number
- WO2022206763A1 WO2022206763A1 PCT/CN2022/083727 CN2022083727W WO2022206763A1 WO 2022206763 A1 WO2022206763 A1 WO 2022206763A1 CN 2022083727 W CN2022083727 W CN 2022083727W WO 2022206763 A1 WO2022206763 A1 WO 2022206763A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- electronic device
- interface
- information
- display
- interface element
- 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.)
- Ceased
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; 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/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
- G06F3/1454—Digital output to display device ; Cooperation and interconnection of the display device with other functional units involving copying of the display data of a local workstation or window to a remote workstation or window so that an actual copy of the data is displayed simultaneously on two or more displays, e.g. teledisplay
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/16—Constructional details or arrangements
- G06F1/1613—Constructional details or arrangements for portable computers
- G06F1/1633—Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
- G06F1/1684—Constructional details or arrangements related to integrated I/O peripherals not covered by groups G06F1/1635 - G06F1/1675
- G06F1/1698—Constructional details or arrangements related to integrated I/O peripherals not covered by groups G06F1/1635 - G06F1/1675 the I/O peripheral being a sending/receiving arrangement to establish a cordless communication link, e.g. radio or infrared link, integrated cellular phone
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; 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 OR CALCULATING; 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
- G06F3/04817—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 using icons
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; 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
- G06F3/04842—Selection of displayed objects or displayed text elements
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; 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/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
- G06F3/1423—Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
- G06F9/452—Remote windowing, e.g. X-Window System, desktop virtualisation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/7243—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
- H04M1/72436—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for text messaging, e.g. short messaging services [SMS] or e-mails
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/16—Constructional details or arrangements
- G06F1/20—Cooling means
- G06F1/206—Cooling means comprising thermal management
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2354/00—Aspects of interface with display user
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2370/00—Aspects of data communication
- G09G2370/16—Use of wireless transmission of display information
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G5/00—Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
- G09G5/14—Display of multiple viewports
Definitions
- the present application relates to the field of terminals, and more particularly, to a display method, electronic device and system.
- the technology used to restore a user interface (UI) between devices is mainly a video projection type restoration technology (for example, Miracast).
- the basic principle is to encode the picture of the source device (source device) into a video and play the video on the client device (sink device), so as to realize the restoration of the user interface of the source device by the client device.
- Such techniques for restoring the UI require the capabilities of the client device (eg, video decoding capabilities) and cannot be used on devices without video decoding capabilities.
- the embodiments of the present application provide a display method, an electronic device, and a system.
- the source device adds label information to interface elements on the user interface, and the client device can restore a user interface suitable for the client device through the label information of the interface element. There is no need to rely on the video decoding capabilities of the client device.
- a system in a first aspect, includes a first electronic device and a second electronic device, the first electronic device communicates with the second electronic device through a short-range wireless connection, wherein the first electronic device uses In response to receiving the first indication, displaying a first interface and sending first information to the second electronic device, the first information including one or more interface elements on the first interface and the one or more interface elements the label information; the second electronic device is configured to, in response to receiving the first information, display a second interface according to the label information of the one or more interface elements, and the second interface displays the one or more interface elements at least some of the interface elements in .
- the first electronic device may send one or more interface elements on the first interface and label information of the one or more interface elements to the second electronic device Electronic device (client device), so that the second electronic device can restore the interface suitable for the second electronic device according to the label information, and the user can experience different interface styles on different devices, which helps to improve the user's experience; at the same time,
- the first electronic device does not need to rely on its video encoding capability when sending interface elements and its label information
- the second electronic device does not need to rely on its video decoding capability when restoring the interface.
- each of the one or more interface elements in the first information corresponds to label information of each interface element.
- the first electronic device is further configured to acquire a plurality of interface elements on the first interface before sending the first information to the second electronic device, and label the plurality of interface elements with label information.
- the label information may be the name of the interface element.
- the second electronic device is specifically configured to: display the second interface according to the label information of the one or more interface elements and the first mapping relationship, and the first A mapping relationship is a mapping relationship between the display area of the at least part of the interface element and the label information of the at least part of the interface element.
- the first electronic device saves the first mapping relationship, and when the first electronic device receives the first instruction, in addition to sending the interface element and its label information to the second electronic device, it can also Send the first mapping relationship to the second electronic device.
- the first electronic device may store multiple mapping relationships in the same scene. For example, when a first electronic device (eg, a mobile phone) sends a first mapping relationship to a second electronic device (eg, a laptop), the first electronic device (eg, a mobile phone) can send the first mapping relationship to a third electronic device (eg, a smart watch) ) to send the second mapping relationship.
- a first electronic device eg, a mobile phone
- a third electronic device eg, a smart watch
- the first mapping relationship may be stored in the second electronic device.
- the second electronic device receives the interface element and the label information sent by the first electronic device, the second interface can be displayed according to the first mapping relationship.
- different display interfaces can be restored according to different mapping relationships.
- different styles of display interfaces can be restored in the same scene, so that users can experience different interface styles on different types of devices, which helps to improve the user experience.
- the first electronic device is specifically configured to: in response to detecting that the user starts the first application program, display the first interface to the second electronic device Send the first information.
- the first electronic device when the first electronic device detects an operation by the user to start the first application, the first electronic device may display the display interface of the first application and send the interface elements on the display interface to the second electronic device As well as the label information of the interface elements, the display interface of the first application program can be restored on the second electronic device without the user performing other cumbersome operations, which helps to improve the user's experience.
- the first electronic device is specifically configured to: in response to detecting that the user starts the first application program, display the first interface and prompt the user whether to apply the One or more interface elements on the first interface are sent to the second electronic device for display; in response to detecting that the user determines to send one or more interface elements on the first interface to the second electronic device for display operation to send the first information to the second electronic device.
- the first electronic device when the first electronic device detects that the user starts the first application, the first electronic device may also prompt the user whether to send the interface element to the second electronic device for display, which is helpful for the user to clarify on which device The interface of an application program is displayed.
- the first electronic device is further configured to: in response to detecting an operation of the user starting the first application program, display the first interface to the second electronic device
- the device sends first indication information, where the first indication information is used to indicate that the first electronic device has started the first application; the second electronic device is also used to prompt the user whether to respond to receiving the first indication information Display the display interface of the first application program through the second electronic device; the second electronic device is further configured to, in response to detecting that the user determines to display the display interface of the first application program through the second electronic device, to The first electronic device sends first request information, where the first request information is used to request to display interface elements on the first interface; the first electronic device is specifically configured to, in response to receiving the first request information, send a request to the The second electronic device sends the first information.
- the first electronic device when the first electronic device starts the first application, the first electronic device may indicate to the second electronic device that it has started the first application.
- the second electronic device can prompt the user whether to display the display interface of the first application program on the second electronic device, which helps the user to specify on which device the interface of the first application program needs to be displayed.
- the second electronic device is further configured to send second request information to the first electronic device in response to detecting the user's operation, the second request information Used to request the display of interface elements on the first interface; the first electronic device is specifically configured to: in response to receiving the second request information sent by the second electronic device, display the first interface and send the request to the second electronic device Send the first information.
- the second electronic device when the second electronic device detects the user's operation, the second electronic device may determine that the user's current focus is on the second electronic device. In this way, the second electronic device can request interface elements on the first interface from the first electronic device, thereby restoring the display interface on the first electronic device.
- the user's operation may be an operation of the user moving or clicking a mouse, or the user's operation may be an operation of the user clicking a physical key on the keyboard.
- the user's operation may be an operation of the user clicking on an icon associated with the first application.
- the first electronic device is further configured to determine the first electronic device and the second electronic device before sending the first information to the second electronic device The distance between the devices is less than or equal to the preset distance.
- the at least part of the interface elements include a first interface element
- the first electronic device is further configured to send the second electronic device to the second electronic device in response to an update of the first interface element.
- the device sends second information, the second information includes the updated first interface element and the label information of the first interface element; the second electronic device is further configured to respond to receiving the second information, in the first interface element
- the updated first interface element is displayed on the second interface.
- the first electronic device can send the updated first interface element to the second electronic device in real time for display, thereby ensuring that the first electronic device and interface elements displayed on the second electronic device may be synchronized.
- the first interface element may be a video playback progress bar or image information in a video display window.
- the first interface element may be lyrics information corresponding to the currently playing audio.
- the first electronic device may send the first interface element to the second electronic device according to a certain period.
- the at least part of the interface elements include a second interface element
- the second electronic device is further configured to respond to detecting a user's input to the second interface element, Sending second indication information to the first electronic device, where the second indication information is used to instruct the second electronic device to detect the user's input to the second interface element; the first electronic device is further configured to respond to the received The second instruction information executes the operation for the input.
- the second electronic device when the second electronic device detects the user's input on the second interface element, the second electronic device may instruct the first electronic device to detect the user's input on the second interface element, so that the first electronic device can make the first electronic device detect the user's input on the second interface element.
- the electronic device performs the corresponding operation.
- the second interface element is a download control
- the second electronic device may indicate to the first electronic device that it has detected a user click event on the download control.
- the first electronic device may complete the download of the file (song, document or video, etc.) in the background of the first electronic device.
- the first electronic device is further configured to, in response to performing the operation, update the third interface element by the first electronic device, and the at least part of the interface element includes the third interface element.
- the first electronic device is further configured to send third information to the second electronic device, where the third information includes the updated third interface element and label information of the third interface element;
- the second The electronic device is further configured to display the updated third interface element on the second interface in response to receiving the third information.
- the first electronic device may update the updated interface element.
- the information of the third interface element or the newly added interface element is sent to the second electronic device for display, thereby ensuring that the interface elements displayed on the first electronic device and the second electronic device can be synchronized.
- the first information further includes information of a scene corresponding to the first interface.
- a display method is provided, the method is applied to a first electronic device, the first electronic device communicates with the second electronic device through a short-range wireless connection, and the method includes: the first electronic device receives the first electronic device. an indication; in response to receiving the first indication, the first electronic device displays a first interface and sends first information to the second electronic device, the first information including one or more interface elements on the first interface and Label information of the one or more interface elements.
- the method further includes: the first electronic device sending information of a first mapping relationship to the second electronic device, where the first mapping relationship is the display of interface elements The mapping relationship between the area and the label information of the interface element.
- the first electronic device receiving the first indication includes: the first electronic device detects an operation of the user starting the first application program.
- the first electronic device in response to receiving the first indication, displays the first interface and sends the first information to the second electronic device, including: in response to receiving the first indication Detecting the user's operation of starting the first application, displaying the first interface and prompting the user whether to send one or more interface elements on the first interface to the second electronic device for display; in response to detecting that the user determines The operation of sending one or more interface elements on the first interface to the second electronic device for display is to send the first information to the second electronic device.
- the first electronic device sending the first information to the second electronic device includes: the first electronic device receiving the First request information sent by the second electronic device, where the first request information is used to request to display interface elements on the first interface; the first electronic device responds to receiving the first request information, and sends the second electronic device to the Send the first information.
- the method further includes: before sending the first information to the second electronic device, the first electronic device determining the first electronic device and the second electronic device The distance between the electronic devices is less than or equal to the preset distance.
- the one or more interface elements include a first interface element
- the method further includes: in response to an update of the first interface element, the first electronic device reports to the The second electronic device sends second information, where the second information includes the updated first interface element and label information of the first interface element.
- the one or more interface elements include a second interface element
- the method further includes: the first electronic device receiving a second indication sent by the second electronic device information, the second indication information is used to instruct the second electronic device to detect the user's input to the second interface element; in response to receiving the second indication information, the first electronic device performs an operation for the input.
- the method further includes: in response to performing the operation, the first electronic device updates a third interface element, the one or more interface elements including the third interface element; the first electronic device sends third information to the second electronic device, where the third information includes the updated third interface element and the label information of the third interface element.
- a display method is provided, the method is applied to a second electronic device, the second electronic device communicates with the first electronic device through a short-range wireless connection, the method includes: the second electronic device receives the first electronic device The first information sent by the electronic device, the first information includes one or more interface elements on the first interface displayed by the first electronic device and the label information of the one or more interface elements; in response to receiving the label information , the second electronic device displays a second interface according to the label information of the one or more interface elements, and the second interface displays at least part of the one or more interface elements.
- the second electronic device displays the second interface according to the label information of the one or more interface elements, including: the second electronic device displays the second interface according to the one or more interface elements.
- label information of each interface element and a first mapping relationship the second interface is displayed, and the first mapping relationship is a mapping relationship between the display area of the at least part of the interface element and the label information of the at least part of the interface element.
- the method before the second electronic device receives the first information sent by the first electronic device, the method further includes: the second electronic device receives the first electronic device The first indication information sent by the device, the first indication information is used to indicate that the first electronic device has started the first application; in response to receiving the first indication information, the second electronic device prompts the user whether to pass the first indication The second electronic device displays the display interface of the first application; in response to detecting that the user determines to display the display interface of the first application through the second electronic device, the second electronic device sends the first electronic device to the first electronic device.
- Request information the first request information is used to request to display interface elements on the first interface.
- the method before the second electronic device receives the first information sent by the first electronic device, the method further includes: in response to detecting a user's operation, the first The second electronic device sends second request information to the first electronic device, where the second request information is used to request to display interface elements on the first interface.
- the at least part of the interface elements include a first interface element
- the method further includes: the second electronic device receiving second information sent by the first electronic device, the The second information includes the updated first interface element and the label information of the first interface element; in response to receiving the second information, the second electronic device displays the updated first interface on the second interface element.
- the at least part of the interface elements include a second interface element, and in response to detecting a user's input to the second interface element, the second electronic device sends a message to the first interface element.
- the electronic device sends second indication information, where the second indication information is used to instruct the second electronic device to detect the user's input to the second interface element.
- the at least part of the interface elements include a third interface element
- the method further includes: if the first electronic device updates the second indication information after receiving the second indication information a third interface element, the second electronic device receives third information sent by the first electronic device, the third information includes the updated third interface element and the label information of the third interface element; in response to receiving the third interface element The third information, the third electronic device displays the updated third interface element on the second interface.
- an apparatus comprising: a receiving unit for receiving a first instruction; a display unit for displaying a first interface in response to receiving the first instruction; and a sending unit for sending the first instruction to the The second electronic device sends first information, where the first information includes one or more interface elements on the first interface and label information of the one or more interface elements.
- an apparatus comprising: a receiving unit configured to receive first information sent by the first electronic device, where the first information includes one or more information on a first interface displayed by the first electronic device. a plurality of interface elements and label information of the one or more interface elements; a display unit, configured to, in response to receiving the label information, display a second interface according to the label information of the one or more interface elements, the second interface Displaying at least a portion of the one or more interface elements.
- an electronic device comprising: one or more processors; a memory; and one or more computer programs. Wherein, one or more computer programs are stored in the memory, the one or more computer programs comprising instructions. When the instructions are executed by the electronic device, the electronic device is caused to execute the method in any one of the possible implementations of the second aspect above.
- an electronic device comprising: one or more processors; a memory; and one or more computer programs. Wherein, one or more computer programs are stored in the memory, the one or more computer programs comprising instructions. When the instructions are executed by the electronic device, the electronic device is caused to execute the method in any one of the possible implementations of the third aspect above.
- a computer program product containing instructions, when the computer program product is run on a first electronic device, the electronic device causes the electronic device to perform the method described in the second aspect; or, when the computer program product is executed on a first electronic device
- the computer program product when running on the second electronic device, causes the electronic device to perform the method of the third aspect above.
- a computer-readable storage medium comprising instructions, when the instructions are executed on a first electronic device, the electronic device causes the electronic device to perform the method described in the second aspect; or, when the instructions are executed When the instruction is executed on the second electronic device, the electronic device is caused to execute the method described in the third aspect.
- a chip for executing an instruction, and when the chip is running, the chip executes the method described in the second aspect; or, the chip executes the method described in the third aspect.
- FIG. 1 is a schematic diagram of a hardware structure of an electronic device provided by an embodiment of the present application.
- FIG. 2 is a block diagram of a software structure provided by an embodiment of the present application.
- FIG. 3 is a set of graphical user interfaces provided by an embodiment of the present application.
- FIG. 4 is another set of graphical user interfaces provided by an embodiment of the present application.
- FIG. 5 is another set of graphical user interfaces provided by the embodiments of the present application.
- FIG. 6 is a schematic block diagram of a system architecture provided by an embodiment of the present application.
- FIG. 7 is a schematic diagram of a drawing instruction provided by an embodiment of the present application.
- FIG. 8 is a schematic diagram of area distribution of interface elements in a music scene provided by an embodiment of the present application.
- FIG. 9 is a schematic diagram of area distribution of interface elements in a chat scenario provided by an embodiment of the present application.
- FIG. 10 is a schematic flowchart of a display method provided by an embodiment of the present application.
- FIG. 11 is a schematic structural diagram of an apparatus provided by an embodiment of the present application.
- FIG. 12 is another schematic structural diagram of an apparatus provided by an embodiment of the present application.
- FIG. 13 is another schematic structural diagram of an electronic device provided by an embodiment of the present application.
- first and second are only used for descriptive purposes, and should not be construed as indicating or implying relative importance or implicitly indicating the number of indicated technical features.
- a feature defined as “first” or “second” may expressly or implicitly include one or more of that feature.
- plural means two or more.
- the methods provided in the embodiments of the present application can be applied to mobile phones, tablet computers, wearable devices, in-vehicle devices, augmented reality (AR)/virtual reality (VR) devices, notebook computers, ultra-mobile personal computers (ultra mobile personal computers) -mobile personal computer, UMPC), netbook, personal digital assistant (personal digital assistant, PDA) and other electronic devices, the embodiments of the present application do not impose any restrictions on the specific types of electronic devices.
- AR augmented reality
- VR virtual reality
- notebook computers notebook computers
- netbook personal digital assistant
- PDA personal digital assistant
- FIG. 1 shows a schematic structural diagram of an electronic device 100 .
- the electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charge management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2 , mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, sensor module 180, buttons 190, motor 191, indicator 192, camera 193, display screen 194, and User identification (subscriber identification module, SIM) card interface 195 and so on.
- SIM Subscriber identification module
- the sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, and ambient light. Sensor 180L, bone conduction sensor 180M, etc.
- the structures illustrated in the embodiments of the present application do not constitute a specific limitation on the electronic device 100 .
- the electronic device 100 may include more or less components than shown, or combine some components, or separate some components, or arrange different components.
- the illustrated components may be implemented in hardware, software, or a combination of software and hardware.
- the processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), controller, memory, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing unit (NPU) Wait. Wherein, different processing units may be independent devices, or may be integrated in one or more processors.
- application processor application processor, AP
- modem processor graphics processor
- graphics processor graphics processor
- ISP image signal processor
- controller memory
- video codec digital signal processor
- DSP digital signal processor
- NPU neural-network processing unit
- the controller may be the nerve center and command center of the electronic device 100 .
- the controller can generate an operation control signal according to the instruction operation code and timing signal, and complete the control of fetching and executing instructions.
- a memory may also be provided in the processor 110 for storing instructions and data.
- the memory in processor 110 is cache memory. This memory may hold instructions or data that have just been used or recycled by the processor 110 . If the processor 110 needs to use the instruction or data again, it can be called directly from the memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby increasing the efficiency of the system.
- the processor 110 may include one or more interfaces.
- the interface may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous transceiver (universal asynchronous transmitter) receiver/transmitter, UART) interface, mobile industry processor interface (MIPI), general-purpose input/output (GPIO) interface, subscriber identity module (SIM) interface, and / or universal serial bus (universal serial bus, USB) interface, etc.
- I2C integrated circuit
- I2S integrated circuit built-in audio
- PCM pulse code modulation
- PCM pulse code modulation
- UART universal asynchronous transceiver
- MIPI mobile industry processor interface
- GPIO general-purpose input/output
- SIM subscriber identity module
- USB universal serial bus
- the I2C interface is a bidirectional synchronous serial bus that includes a serial data line (SDA) and a serial clock line (SCL).
- the processor 110 may contain multiple sets of I2C buses.
- the processor 110 can be respectively coupled to the touch sensor 180K, the charger, the flash, the camera 193 and the like through different I2C bus interfaces.
- the processor 110 may couple the touch sensor 180K through the I2C interface, so that the processor 110 and the touch sensor 180K communicate with each other through the I2C bus interface, so as to realize the touch function of the electronic device 100 .
- the I2S interface can be used for audio communication.
- the processor 110 may contain multiple sets of I2S buses.
- the processor 110 may be coupled with the audio module 170 through an I2S bus to implement communication between the processor 110 and the audio module 170 .
- the audio module 170 can transmit audio signals to the wireless communication module 160 through the I2S interface, so as to realize the function of answering calls through a Bluetooth headset.
- the PCM interface can also be used for audio communications, sampling, quantizing and encoding analog signals.
- the audio module 170 and the wireless communication module 160 may be coupled through a PCM bus interface.
- the audio module 170 can also transmit audio signals to the wireless communication module 160 through the PCM interface, so as to realize the function of answering calls through the Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.
- the UART interface is a universal serial data bus used for asynchronous communication.
- the bus may be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication.
- a UART interface is typically used to connect the processor 110 with the wireless communication module 160 .
- the processor 110 communicates with the Bluetooth module in the wireless communication module 160 through the UART interface to implement the Bluetooth function.
- the audio module 170 can transmit audio signals to the wireless communication module 160 through the UART interface, so as to realize the function of playing music through the Bluetooth headset.
- the MIPI interface can be used to connect the processor 110 with peripheral devices such as the display screen 194 and the camera 193 .
- MIPI interfaces include camera serial interface (CSI), display serial interface (DSI), etc.
- the processor 110 communicates with the camera 193 through a CSI interface, so as to realize the photographing function of the electronic device 100 .
- the processor 110 communicates with the display screen 194 through the DSI interface to implement the display function of the electronic device 100 .
- the GPIO interface can be configured by software.
- the GPIO interface can be configured as a control signal or as a data signal.
- the GPIO interface may be used to connect the processor 110 with the camera 193, the display screen 194, the wireless communication module 160, the audio module 170, the sensor module 180, and the like.
- the GPIO interface can also be configured as I2C interface, I2S interface, UART interface, MIPI interface, etc.
- the USB interface 130 is an interface that conforms to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, and the like.
- the USB interface 130 can be used to connect a charger to charge the electronic device 100, and can also be used to transmit data between the electronic device 100 and peripheral devices. It can also be used to connect headphones to play audio through the headphones.
- the interface can also be used to connect other electronic devices, such as AR devices.
- the interface connection relationship between the modules illustrated in the embodiments of the present application is only a schematic illustration, and does not constitute a structural limitation of the electronic device 100 .
- the electronic device 100 may also adopt different interface connection manners in the foregoing embodiments, or a combination of multiple interface connection manners.
- the charging management module 140 is used to receive charging input from the charger.
- the charger may be a wireless charger or a wired charger.
- the charging management module 140 may receive charging input from the wired charger through the USB interface 130 .
- the charging management module 140 may receive wireless charging input through a wireless charging coil of the electronic device 100 . While the charging management module 140 charges the battery 142 , it can also supply power to the electronic device through the power management module 141 .
- the power management module 141 is used for connecting the battery 142 , the charging management module 140 and the processor 110 .
- the power management module 141 receives input from the battery 142 and/or the charging management module 140 and supplies power to the processor 110 , the internal memory 121 , the external memory, the display screen 194 , the camera 193 , and the wireless communication module 160 .
- the power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle times, battery health status (leakage, impedance).
- the power management module 141 may also be provided in the processor 110 .
- the power management module 141 and the charging management module 140 may also be provided in the same device.
- the wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modulation and demodulation processor, the baseband processor, and the like.
- Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals.
- Each antenna in electronic device 100 may be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization.
- the antenna 1 can be multiplexed as a diversity antenna of the wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
- the mobile communication module 150 may provide wireless communication solutions including 2G/3G/4G/5G etc. applied on the electronic device 100 .
- the mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA) and the like.
- the mobile communication module 150 can receive electromagnetic waves from the antenna 1, filter and amplify the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation.
- the mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and then turn it into an electromagnetic wave for radiation through the antenna 1 .
- at least part of the functional modules of the mobile communication module 150 may be provided in the processor 110 .
- at least part of the functional modules of the mobile communication module 150 may be provided in the same device as at least part of the modules of the processor 110 .
- the modem processor may include a modulator and a demodulator.
- the modulator is used to modulate the low-frequency baseband signal to be sent into a medium-high-frequency signal.
- the demodulator is used to demodulate the received electromagnetic wave signal into a low frequency baseband signal. Then the demodulator transmits the demodulated low-frequency baseband signal to the baseband processor for processing.
- the low frequency baseband signal is processed by the baseband processor and passed to the application processor.
- the application processor outputs sound signals through audio devices (not limited to the speaker 170A, the receiver 170B, etc.), or displays images or videos through the display screen 194 .
- the modem processor may be a stand-alone device.
- the modem processor may be independent of the processor 110, and may be provided in the same device as the mobile communication module 150 or other functional modules.
- the wireless communication module 160 can provide applications on the electronic device 100 including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellites Wireless communication solutions such as global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), and infrared technology (IR).
- WLAN wireless local area networks
- BT Bluetooth
- GNSS global navigation satellite system
- FM frequency modulation
- NFC near field communication
- IR infrared technology
- the wireless communication module 160 may be one or more devices integrating at least one communication processing module.
- the wireless communication module 160 receives electromagnetic waves via the antenna 2 , frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110 .
- the wireless communication module 160 can also receive the signal to be sent from the processor 110 , perform frequency modulation on it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2 .
- the antenna 1 of the electronic device 100 is coupled with the mobile communication module 150, and the antenna 2 is coupled with the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology.
- the wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), broadband Code Division Multiple Access (WCDMA), Time Division Code Division Multiple Access (TD-SCDMA), Long Term Evolution (LTE), BT, GNSS, WLAN, NFC , FM, and/or IR technology, etc.
- the GNSS may include global positioning system (global positioning system, GPS), global navigation satellite system (global navigation satellite system, GLONASS), Beidou navigation satellite system (beidou navigation satellite system, BDS), quasi-zenith satellite system (quasi -zenith satellite system, QZSS) and/or satellite based augmentation systems (SBAS).
- global positioning system global positioning system, GPS
- global navigation satellite system global navigation satellite system, GLONASS
- Beidou navigation satellite system beidou navigation satellite system, BDS
- quasi-zenith satellite system quadsi -zenith satellite system, QZSS
- SBAS satellite based augmentation systems
- the electronic device 100 implements a display function through a GPU, a display screen 194, an application processor, and the like.
- the GPU is a microprocessor for image processing, and is connected to the display screen 194 and the application processor.
- the GPU is used to perform mathematical and geometric calculations for graphics rendering.
- Processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
- Display screen 194 is used to display images, videos, and the like.
- Display screen 194 includes a display panel.
- the display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (active-matrix organic light).
- LED diode AMOLED
- flexible light-emitting diode flexible light-emitting diode (flex light-emitting diode, FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diode (quantum dot light emitting diodes, QLED) and so on.
- the electronic device 100 may include one or N display screens 194 , where N is a positive integer greater than one.
- the electronic device 100 may implement a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, an application processor, and the like.
- the ISP is used to process the data fed back by the camera 193 .
- the shutter is opened, the light is transmitted to the camera photosensitive element through the lens, the light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converts it into an image visible to the naked eye.
- ISP can also perform algorithm optimization on image noise, brightness, and skin tone.
- ISP can also optimize the exposure, color temperature and other parameters of the shooting scene.
- the ISP may be provided in the camera 193 .
- Camera 193 is used to capture still images or video.
- the object is projected through the lens to generate an optical image onto the photosensitive element.
- the photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor.
- CMOS complementary metal-oxide-semiconductor
- the photosensitive element converts the optical signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it into a digital image signal.
- the ISP outputs the digital image signal to the DSP for processing.
- DSP converts digital image signals into standard RGB, YUV and other formats of image signals.
- the electronic device 100 may include 1 or N cameras 193 , where N is a positive integer greater than 1.
- a digital signal processor is used to process digital signals, in addition to processing digital image signals, it can also process other digital signals. For example, when the electronic device 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy and so on.
- Video codecs are used to compress or decompress digital video.
- the electronic device 100 may support one or more video codecs.
- the electronic device 100 can play or record videos of various encoding formats, such as: Moving Picture Experts Group (moving picture experts group, MPEG) 1, MPEG2, MPEG3, MPEG4 and so on.
- MPEG Moving Picture Experts Group
- MPEG2 moving picture experts group
- MPEG3 MPEG4
- MPEG4 Moving Picture Experts Group
- the NPU is a neural-network (NN) computing processor.
- NN neural-network
- Applications such as intelligent cognition of the electronic device 100 can be implemented through the NPU, such as image recognition, face recognition, speech recognition, text understanding, and the like.
- the external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100 .
- the external memory card communicates with the processor 110 through the external memory interface 120 to realize the data storage function. For example to save files like music, video etc in external memory card.
- Internal memory 121 may be used to store computer executable program code, which includes instructions.
- the processor 110 executes various functional applications and data processing of the electronic device 100 by executing the instructions stored in the internal memory 121 .
- the internal memory 121 may include a storage program area and a storage data area.
- the storage program area can store an operating system, an application program required for at least one function (such as a sound playback function, an image playback function, etc.), and the like.
- the storage data area may store data (such as audio data, phone book, etc.) created during the use of the electronic device 100 and the like.
- the internal memory 121 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, universal flash storage (UFS), and the like.
- the electronic device 100 may implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, an application processor, and the like. Such as music playback, recording, etc.
- the audio module 170 is used for converting digital audio information into analog audio signal output, and also for converting analog audio input into digital audio signal. Audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be provided in the processor 110 , or some functional modules of the audio module 170 may be provided in the processor 110 .
- Speaker 170A also referred to as a "speaker" is used to convert audio electrical signals into sound signals.
- the electronic device 100 can listen to music through the speaker 170A, or listen to a hands-free call.
- the receiver 170B also referred to as "earpiece" is used to convert audio electrical signals into sound signals.
- the voice can be answered by placing the receiver 170B close to the human ear.
- the microphone 170C also called “microphone” or “microphone” is used to convert sound signals into electrical signals.
- the user can make a sound by approaching the microphone 170C through a human mouth, and input the sound signal into the microphone 170C.
- the electronic device 100 may be provided with at least one microphone 170C. In other embodiments, the electronic device 100 may be provided with two microphones 170C, which can implement a noise reduction function in addition to collecting sound signals. In other embodiments, the electronic device 100 may further be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, and implement directional recording functions.
- the earphone jack 170D is used to connect wired earphones.
- the earphone interface 170D may be the USB interface 130, or may be a 3.5mm open mobile terminal platform (OMTP) standard interface, a cellular telecommunications industry association of the USA (CTIA) standard interface.
- OMTP open mobile terminal platform
- CTIA cellular telecommunications industry association of the USA
- the pressure sensor 180A is used to sense pressure signals, and can convert the pressure signals into electrical signals.
- the pressure sensor 180A may be provided on the display screen 194 .
- the capacitive pressure sensor may be comprised of at least two parallel plates of conductive material. When a force is applied to the pressure sensor 180A, the capacitance between the electrodes changes.
- the electronic device 100 determines the intensity of the pressure according to the change in capacitance. When a touch operation acts on the display screen 194, the electronic device 100 detects the intensity of the touch operation according to the pressure sensor 180A.
- the electronic device 100 may also calculate the touched position according to the detection signal of the pressure sensor 180A.
- touch operations acting on the same touch position but with different touch operation intensities may correspond to different operation instructions. For example, when a touch operation whose intensity is less than the first pressure threshold acts on the short message application icon, the instruction for viewing the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the short message application icon, the instruction to create a new short message is executed.
- the gyro sensor 180B may be used to determine the motion attitude of the electronic device 100 .
- the angular velocity of electronic device 100 about three axes ie, x, y, and z axes
- the gyro sensor 180B can be used for image stabilization.
- the gyro sensor 180B detects the shaking angle of the electronic device 100, calculates the distance that the lens module needs to compensate according to the angle, and allows the lens to offset the shaking of the electronic device 100 through reverse motion to achieve anti-shake.
- the gyro sensor 180B can also be used for navigation and somatosensory game scenarios.
- the air pressure sensor 180C is used to measure air pressure.
- the electronic device 100 calculates the altitude through the air pressure value measured by the air pressure sensor 180C to assist in positioning and navigation.
- the magnetic sensor 180D includes a Hall sensor.
- the electronic device 100 can detect the opening and closing of the flip holster using the magnetic sensor 180D.
- the electronic device 100 can detect the opening and closing of the flip according to the magnetic sensor 180D. Further, according to the detected opening and closing state of the leather case or the opening and closing state of the flip cover, characteristics such as automatic unlocking of the flip cover are set.
- the acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 100 in various directions (generally three axes).
- the magnitude and direction of gravity can be detected when the electronic device 100 is stationary. It can also be used to identify the posture of electronic devices, and can be used in applications such as horizontal and vertical screen switching, pedometers, etc.
- the electronic device 100 can measure the distance through infrared or laser. In some embodiments, when shooting a scene, the electronic device 100 can use the distance sensor 180F to measure the distance to achieve fast focusing.
- Proximity light sensor 180G may include, for example, light emitting diodes (LEDs) and light detectors, such as photodiodes.
- the light emitting diodes may be infrared light emitting diodes.
- the electronic device 100 emits infrared light to the outside through the light emitting diode.
- Electronic device 100 uses photodiodes to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 100 . When insufficient reflected light is detected, the electronic device 100 may determine that there is no object near the electronic device 100 .
- the electronic device 100 can use the proximity light sensor 180G to detect that the user holds the electronic device 100 close to the ear to talk, so as to automatically turn off the screen to save power.
- Proximity light sensor 180G can also be used in holster mode, pocket mode automatically unlocks and locks the screen.
- the ambient light sensor 180L is used to sense ambient light brightness.
- the electronic device 100 can adaptively adjust the brightness of the display screen 194 according to the perceived ambient light brightness.
- the ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures.
- the ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in a pocket, so as to prevent accidental touch.
- the fingerprint sensor 180H is used to collect fingerprints.
- the electronic device 100 can use the collected fingerprint characteristics to realize fingerprint unlocking, accessing application locks, taking pictures with fingerprints, answering incoming calls with fingerprints, and the like.
- the temperature sensor 180J is used to detect the temperature.
- the electronic device 100 uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold value, the electronic device 100 reduces the performance of the processor located near the temperature sensor 180J in order to reduce power consumption and implement thermal protection.
- the electronic device 100 when the temperature is lower than another threshold, the electronic device 100 heats the battery 142 to avoid abnormal shutdown of the electronic device 100 caused by the low temperature.
- the electronic device 100 boosts the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.
- Touch sensor 180K also called “touch panel”.
- the touch sensor 180K may be disposed on the display screen 194 , and the touch sensor 180K and the display screen 194 form a touch screen, also called a “touch screen”.
- the touch sensor 180K is used to detect a touch operation on or near it.
- the touch sensor can pass the detected touch operation to the application processor to determine the type of touch event.
- Visual output related to touch operations may be provided through display screen 194 .
- the touch sensor 180K may also be disposed on the surface of the electronic device 100 , which is different from the location where the display screen 194 is located.
- the bone conduction sensor 180M can acquire vibration signals.
- the bone conduction sensor 180M can acquire the vibration signal of the vibrating bone mass of the human voice.
- the bone conduction sensor 180M can also contact the pulse of the human body and receive the blood pressure beating signal.
- the bone conduction sensor 180M can also be disposed in the earphone, combined with the bone conduction earphone.
- the audio module 170 can analyze the voice signal based on the vibration signal of the vocal vibration bone block obtained by the bone conduction sensor 180M, so as to realize the voice function.
- the application processor can analyze the heart rate information based on the blood pressure beat signal obtained by the bone conduction sensor 180M, and realize the function of heart rate detection.
- the keys 190 include a power-on key, a volume key, and the like. Keys 190 may be mechanical keys. It can also be a touch key.
- the electronic device 100 may receive key inputs and generate key signal inputs related to user settings and function control of the electronic device 100 .
- Motor 191 can generate vibrating cues.
- the motor 191 can be used for vibrating alerts for incoming calls, and can also be used for touch vibration feedback.
- touch operations acting on different applications can correspond to different vibration feedback effects.
- the motor 191 can also correspond to different vibration feedback effects for touch operations on different areas of the display screen 194 .
- Different application scenarios for example: time reminder, receiving information, alarm clock, games, etc.
- the touch vibration feedback effect can also support customization.
- the indicator 192 can be an indicator light, which can be used to indicate the charging state, the change of power, and can also be used to indicate a message, a missed call, a notification, and the like.
- the SIM card interface 195 is used to connect a SIM card.
- the SIM card can be contacted and separated from the electronic device 100 by inserting into the SIM card interface 195 or pulling out from the SIM card interface 195 .
- the electronic device 100 may support 1 or N SIM card interfaces, where N is a positive integer greater than 1.
- the SIM card interface 195 can support Nano SIM card, Micro SIM card, SIM card and so on. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the plurality of cards may be the same or different.
- the SIM card interface 195 can also be compatible with different types of SIM cards.
- the SIM card interface 195 is also compatible with external memory cards.
- the electronic device 100 interacts with the network through the SIM card to implement functions such as call and data communication.
- the electronic device 100 adopts an embedded SIM (embedded-SIM, eSIM) card, that is, an embedded SIM card.
- the eSIM card can be embedded in the electronic device 100 and cannot be separated from the
- the telephone cards in the embodiments of the present application include but are not limited to SIM cards, eSIM cards, universal subscriber identity modules (USIM), universal integrated telephone cards (universal integrated circuit cards, UICC) and the like.
- the software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture.
- the embodiments of the present application take an Android system with a layered architecture as an example to exemplarily describe the software structure of the electronic device 100 .
- FIG. 2 is a block diagram of the software structure of the electronic device 100 according to the embodiment of the present application.
- the layered architecture divides the software into several layers, and each layer has a clear role and division of labor. Layers communicate with each other through software interfaces.
- the Android system is divided into four layers, which are, from top to bottom, an application layer, an application framework layer, an Android runtime (Android runtime) and a system library, and a kernel layer.
- the application layer can include a series of application packages.
- the application package can include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message and so on.
- the application framework layer provides an application programming interface (application programming interface, API) and a programming framework for applications in the application layer.
- the application framework layer includes some predefined functions.
- the application framework layer may include window managers, content providers, view systems, telephony managers, resource managers, notification managers, and the like.
- a window manager is used to manage window programs.
- the window manager can get the size of the display screen, determine whether there is a status bar, lock the screen, take screenshots, etc.
- Content providers are used to store and retrieve data and make these data accessible to applications.
- the data may include video, images, audio, calls made and received, browsing history and bookmarks, phone book, etc.
- the view system includes visual controls, such as controls for displaying text, controls for displaying pictures, and so on. View systems can be used to build applications.
- a display interface can consist of one or more views.
- the display interface including the short message notification icon may include a view for displaying text and a view for displaying pictures.
- the phone manager is used to provide the communication function of the electronic device 100 .
- the management of call status including connecting, hanging up, etc.).
- the resource manager provides various resources for the application, such as localization strings, icons, pictures, layout files, video files and so on.
- the notification manager enables applications to display notification information in the status bar, which can be used to convey notification-type messages, and can disappear automatically after a brief pause without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc.
- the notification manager can also display notifications in the status bar at the top of the system in the form of a graphic or scroll bar text, such as notifications from applications running in the background, or on-screen notifications in the form of a dialog window. For example, text information is prompted in the status bar, a prompt sound is issued, the electronic device vibrates, and the indicator light flashes.
- Android Runtime includes core libraries and a virtual machine. Android runtime is responsible for scheduling and management of the Android system.
- the core library consists of two parts: one is the function functions that the java language needs to call, and the other is the core library of Android.
- the application layer and the application framework layer run in virtual machines.
- the virtual machine executes the java files of the application layer and the application framework layer as binary files.
- the virtual machine is used to perform functions such as object lifecycle management, stack management, thread management, safety and exception management, and garbage collection.
- a system library can include multiple functional modules. For example: surface manager (surface manager), media library (media library), 3D graphics processing library (eg: OpenGL ES), 2D graphics engine (eg: SGL), etc.
- surface manager surface manager
- media library media library
- 3D graphics processing library eg: OpenGL ES
- 2D graphics engine eg: SGL
- the Surface Manager is used to manage the display subsystem and provides a fusion of 2D and 3D layers for multiple applications.
- the media library supports playback and recording of a variety of commonly used audio and video formats, as well as still image files.
- the media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
- the 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.
- 2D graphics engine is a drawing engine for 2D drawing.
- the kernel layer is the layer between hardware and software.
- the kernel layer contains at least display drivers, camera drivers, audio drivers, and sensor drivers.
- FIG. 3 is a set of graphical user interfaces (graphical user interface, GUI) provided by the embodiments of the present application.
- the mobile phone displays the desktop of the mobile phone.
- the notebook computer is located near the mobile phone, and the notebook computer can display the desktop of the notebook computer.
- the networking methods include but are not limited to access point (access point, AP) networking and peer-to-peer (peer-to-peer, P2P) networking.
- the AP networking refers to devices under the same AP (for example, a home Wi-Fi router), which can communicate with each other through the AP devices, thereby forming a many-to-many networking.
- the mobile phone and the laptop can be located under the same home router, and when the laptop is close to the mobile phone, the mobile phone can use the received signal strength indication (RSSI) technology to calculate the mobile phone and the laptop according to the received signal strength.
- RSSI received signal strength indication
- Wi-Fi direct Also known as Wi-Fi peer to peer (Wi-Fi P2P), it is a point-to-point connection method. It enables multiple Wi-Fi devices to communicate with each other in a peer-to-peer network (P2P network) without an access point (AP).
- P2P network peer-to-peer network
- One of the stations (station, STA) can act as an AP in the traditional sense and is called a group owner (GO); the other STA can be called a group client (GC), GC It is possible to connect to the GO just like an AP.
- one STA can play the role of GO (ie, act as AP), and other STAs can play the role of GC.
- the device on the left when one device is close to another device, the device on the left may be the GO by default, and the device on the right may be the GC.
- a phone can be a GO and a laptop can be a GC.
- the device when a user's swipe to the right is detected on one device, the device can act as a GC and the device can choose another device on its left to be a GO; or, when a device detects a user's swipe When swiping left, the device can act as a GC and the device can select another device on its right as a GO.
- the discovery phase After the discovery, the establishment of the P2P connection can be triggered.
- the mobile phone can use the RSSI technology to calculate the distance between the mobile phone and the notebook computer according to the RSSI.
- the distance is less than or equal to the preset distance, the mobile phone and the notebook computer can perform P2P networking.
- Wi-Fi P2P technology is the foundation of upper-layer services.
- P2P applications built on P2P mainly include Miracast applications and WLAN direct connection applications.
- Miracast application scenario an electronic device that supports P2P can be scanned to discover and connect to a large-screen device that supports P2P, and then the video, pictures and other resources of the electronic device can be directly sent to the large-screen device for display.
- P2P technology the experience of Wi-Fi technology will be greatly enriched.
- the mobile phone and the notebook computer can display the GUI as shown in (b) of FIG. 3 .
- the mobile phone in response to detecting that the user clicks the icon of the music application, can display a music playing interface, wherein the music playing interface includes a plurality of interface elements, such as the cover picture 301 of the music album , song name 302 (eg, "Song 1"), artist name 303, lyrics display area 304, currently playing lyrics 305 (eg, "ExxxxxxxF” played from 00:12 to 00:15), download controls 306, share control 307, volume adjustment control 308, more function selection control 309, song playback progress bar 310, mode selection control 311 (the mode selection control can be used to select sequential play, single track loop, random play, etc.) , play previous song control 312 , pause/start control 313 , play next song control 314 and like control 315 .
- the music playing interface includes a plurality of interface elements, such as the cover picture 301 of the music album , song name 302 (eg, "Song 1"), artist name 303, lyrics display area 304, currently playing lyrics
- the mobile phone when the mobile phone determines that the distance between the laptop computer and the mobile phone is less than or equal to the preset distance, the mobile phone can send the information of multiple interface elements on the currently displayed music playing interface and the audio content of the song to the laptop computer. .
- the notebook computer in response to receiving the information of multiple interface elements sent by the mobile phone, the notebook computer can display a music playing window 316, wherein the music playing window 316 includes the cover picture 301 of the music album, the song Name 302 , artist name 303 , currently playing lyrics 305 , like control 315 , play previous song control 312 , pause/start control 313 , play next song control 314 .
- a mobile phone, a laptop computer and a smart watch are networked.
- the phone detects that the user has tapped the music app's icon, the phone can compare the distance between the phone and the laptop and the distance between the phone and the smartwatch.
- the mobile phone can send the information of multiple interface elements on the currently displayed music playing interface and the audio content of the song to the notebook computer.
- the mobile phone when the mobile phone detects that the user has started the music application, if the mobile phone has been connected to the laptop computer, the mobile phone can prompt the user whether to send the display interface of the music application to the laptop computer.
- the mobile phone detects that the user determines to send the display interface of the music application to the notebook computer, the mobile phone can send the information of multiple interface elements on the currently displayed music playing interface and the audio content of the song to the notebook computer.
- the mobile phone can prompt the user to send the display interface of the music application to the laptop computer or the smart watch. For example, in response to detecting that the user determines to send the display interface of the music application to the notebook computer, the mobile phone can send the information of multiple interface elements on the currently displayed music playing interface and the audio content of the song to the notebook computer; another example , in response to detecting that the user determines to send the display interface of the music application to the smart watch, the mobile phone can send the information of multiple interface elements on the currently displayed music playing interface and the audio content of the song to the smart watch.
- an icon associated with the music application may be displayed on the display interface of the notebook computer.
- the notebook computer detects that the user clicks the icon, the notebook computer can send request information to the mobile phone, and the request information is used to request the mobile phone to send the information of multiple interface elements on the music playing interface and the audio content of the song to the notebook computer computer.
- the laptop computer when the laptop computer detects the user's first operation (for example, clicking the mouse or clicking a key on the keyboard), the laptop computer can send instruction information to the mobile phone, where the instruction information is used to instruct the laptop computer to detect to the user's first action.
- the mobile phone In response to receiving the indication information and the mobile phone is currently displaying the music playing interface, the mobile phone may send the information of the plurality of interface elements and the audio content of the song to the laptop computer.
- the mobile phone may also send the device name of the mobile phone (eg, Mate 40) and the user name (eg, Lily) to the laptop computer.
- the notebook computer can also prompt the user on the music playing window 316 that the music playing interface is from Lily's Mate 40.
- the mobile phone when the mobile phone sends the information of the plurality of interface elements and the audio content to the notebook computer, the mobile phone may continue to display the music playing interface and the mobile phone may not play the audio content of the song.
- the mobile phone can extend a plurality of interface elements on the display interface of the currently running application program to the notebook computer, which is convenient for the user to see the display interface of the application program on the mobile phone terminal on the notebook computer, and helps to improve the user's experience. experience.
- the music playback interface displayed on the laptop is different from the music playback interface on the mobile phone.
- the music playback interface displayed on the laptop is more suitable for the playback style of the laptop, which helps the user experience the display suitable for the current device on different devices. Way.
- FIG. 4 is a set of GUIs provided by an embodiment of the present application.
- the mobile phone displays the desktop of the mobile phone.
- the notebook computer is located near the mobile phone, and the notebook computer can display the desktop of the notebook computer.
- the mobile phone detects that the user clicks the icon of the social application, the mobile phone and the notebook computer can display the GUI as shown in (b) of FIG. 4 .
- the mobile phone and the notebook computer can be networked, and the networking process can refer to the description in the above embodiment, which is not repeated here.
- the mobile phone may display the home page of the social application, where the home page of the social application includes a plurality of interface elements, for example, the user and the contact
- the chat record 400 with the contact father includes the avatar information 401 of the contact father, the name 402 of the contact father, the latest chat record 403 with the contact father, and the occurrence of the latest chat record time 404.
- the mobile phone can send information of multiple interface elements on the home page of the currently displayed social application to the laptop computer.
- the laptop computer may display a home page display window 408 of another social application, wherein the window 408 includes the user's contact information with the contact dad. Chat log 400, chat log 405 with contact mom, chat log 406 with contact Sam, and chat log 407 with contact Lucy.
- the mobile phone may also send the device name of the mobile phone (eg, Mate 40) and the user name (eg, Lily) to the laptop computer.
- the laptop can also prompt the user on the window 408 that the display interface of the social application is from Lily's Mate 40.
- the laptop in response to receiving the information of multiple interface elements sent by the mobile phone, the laptop can draw a minimize window control 409 and a close window control 410 in addition to restoring the home page of the social application displayed on the mobile phone.
- the notebook computer when the notebook computer detects the user's operation of reducing or expanding the window 408, the notebook computer can also adjust the size of the window 408.
- the mobile phone and the laptop can display the GUI as shown in (c) of FIG. 4 .
- the notebook computer in response to detecting that the user clicks on the chat record with the contact father, can send the touch event and the tag information of the chat record 400 to the mobile phone.
- the mobile phone in response to receiving the touch event and the tag information, can determine that the user has clicked on the chat record with the contact dad on the laptop, so that the mobile phone can display a chat interface between the user and the contact dad, and the chat interface includes a plurality of Interface elements, such as the return control 411, the name of the contact father 412, the time information 413 of the last chat record between the user and the contact father, the user's avatar 414, and the content 415 of the last chat record between the user and the contact father.
- Interface elements such as the return control 411, the name of the contact father 412, the time information 413 of the last chat record between the user and the contact father, the user's avatar 414, and the content 415 of the last chat record between the user and the contact father.
- the mobile phone can also send information of multiple interface elements on the chat interface to the laptop computer.
- the laptop may update the content in window 408 in response to receiving information from the cell phone for the various interface elements.
- the notebook computer can display the return control 411, the name of the contact father 412, the time information 413 of the last chat record between the user and the contact father, the user's avatar 414, and the user and contact in the window 408. Content 415 of the last chat log of the man's father.
- the notebook computer may also draw a text input box 416 in the window 408, wherein the text input box 416 may be used for text input, and the text input box may also include voice controls 417 and send Control 418.
- the mobile phone can display another chat interface between the user and the contact's father.
- a number of interface elements are added to the chat interface, for example, the time information 419 (for example, "08:00") when the mobile phone receives the message , the avatar information 420 of the contact father, and the content 421 of the message.
- the mobile phone may also send the information of the interface elements added after the interface update to the laptop computer, for example, the time information 419 , the avatar information 420 of the contact father, and the information of the content 421 of the message.
- the laptop may update the content in window 408 in response to receiving information from the cell phone for the various interface elements.
- the notebook computer can display the return control 411, the name of the contact father 412, the time information 413, the user's avatar 414, the content of the chat record 415 and the newly added interface element (time) in the window 408.
- the notebook computer When the notebook computer detects that the user has entered the text content "OK" in the text input box 416, the notebook computer can send the text content to the mobile phone. In response to receiving the textual content, the cell phone may display the textual content "OK" in the text input box 422.
- the notebook computer detects that the user clicks the operation of sending the control 418 , the notebook computer can send the touch event and the label information of the control 418 to the mobile phone.
- the mobile phone In response to receiving the touch event and the label information of the control 418, the mobile phone can determine that the user has clicked the send control on the laptop. Therefore, the mobile phone can send the content "OK" in the text input box to the contact father.
- the cell phone in response to sending the textual content to the contact dad, may display another chat interface between the user and the contact dad.
- the chat interface also adds the user's avatar 423 and the content 424 of the user's reply.
- the mobile phone may also send the information of the interface elements added after the interface update to the laptop computer, for example, the user's avatar 423 and the content 424 of the user's reply.
- the laptop may update the content in window 408 in response to receiving information from the cell phone for the various interface elements.
- the notebook computer can display the return control 411, the name of the contact father 412, the time information 413, the user's avatar 414, the content of the chat record 415, the time information 419, the contact father 415 in the window 408 avatar information 420, message content 421, and newly added interface elements (the user's avatar 423 and the content 424 of the user's reply).
- the mobile phone may send a plurality of interface elements on the display interface of the social application to the laptop computer, so as to display the window 408 on the laptop computer.
- the window 408 is adapted to the wide screen of the notebook computer.
- the text input box 416 in the window 408 has a larger area than the text input box 422 on the mobile phone, which is more convenient for the user to input text, so that the user's input is no longer limited by the narrowness of the mobile phone. Limits for text input boxes.
- the input method and text input box of the laptop can be invoked, and the user can use the keyboard to input text, so that the user can quickly complete the reply to the message.
- FIG. 5 is a set of GUIs provided by an embodiment of the present application.
- the mobile phone displays the desktop of the mobile phone.
- the notebook computer is located near the mobile phone, and the notebook computer can display the desktop of the notebook computer.
- the mobile phone detects that the user clicks on the icon of the gallery application, the mobile phone and the notebook computer can display the GUI as shown in (b) of FIG. 5 .
- the mobile phone and the notebook computer can be networked, and the networking process can refer to the description in the above embodiment, which is not repeated here.
- the mobile phone in response to detecting that the user clicks on the icon of the gallery application, the mobile phone may display a display interface of the gallery application, wherein the display interface of the gallery application includes multiple interface elements, for example, multiple Thumbnails of photos 501-515.
- the mobile phone may send information of multiple interface elements on the home page of the currently displayed gallery application to the laptop computer.
- the notebook computer may display a window 516, wherein the window 516 includes thumbnails of the plurality of photos.
- the mobile phone may also send the device name of the mobile phone (eg, Mate 40) and the user name (eg, Lily) to the laptop computer.
- the laptop computer can also prompt the user on the window 516 that the display interface of the gallery application is from Lily's Mate 40.
- the notebook computer when the notebook computer detects that the user selects the thumbnails of photos 501-509 and drags them into the folder, the notebook computer can send request information to the mobile phone, the request information For requesting image information of photos 501-509, the request information also includes tag information of thumbnails of photos 501-509.
- the cell phone In response to receiving the request information, the cell phone can send image information of the photos 501-509 to the laptop computer.
- the notebook computer In response to receiving the image information of the photos 501-509 sent by the cell phone, the notebook computer may save the photos 501-509 in the folder.
- the notebook computer when the notebook computer detects that the user double-clicks the folder, the notebook computer can display a display window 517 of the folder, and the display window 517 of the folder includes the information of the photos 501-509 .
- the mobile phone may send a plurality of interface elements on the display interface of the gallery application to the laptop computer, so as to display the window 516 on the laptop computer.
- FIG. 6 shows a schematic block diagram of a system architecture provided by an embodiment of the present application, where the system architecture includes a source device (source device) and a client device (sink device).
- the source device includes an application layer and a service layer, wherein the application layer includes a tagged view module 601, a content fetcher module 602, and an action dispatcher module 603; the service layer includes A data transfer module 604 and a remote action receiver module 605 .
- markup view module 601 the content extraction module 602 and the action scheduling module 603 can be implemented by the view system in the application framework layer in FIG. 2 .
- the sink device includes a view content parser module 606 and an action translator module 607 . Each module in the source-end device and the sink-end device is described in detail below.
- the markup view module 601 is used to mark scenes and interface elements. Taking the music playing interface displayed by the mobile phone in (b) of FIG. 3 as an example, the mobile phone can mark the entire interface as a music scene. Multiple interface elements on the interface are also marked respectively.
- the source terminal device may mark the multiple interface elements with corresponding labels, and the labels include information such as attributes and names of the interface elements. Exemplarily, Table 1 shows a schematic diagram of the correspondence between an interface element and its corresponding label.
- the source device may further group multiple interface elements, and then label the interface elements in each group respectively after grouping.
- the mobile phone can mark the entire interface as a chat scene.
- the mobile phone can firstly group (list) each chat record. After grouping, the phone can label the interface elements in each list.
- Table 2 shows a schematic diagram of the correspondence between interface elements and their corresponding labels.
- the content extraction module 602 is configured to extract interface elements and send the extracted interface elements to the data transmission module 604 of the service layer. Taking the music scene shown in (b) in FIG. 3 as an example, the content extraction module 602 of the source device can extract the interface element 301 corresponding to the cover image, the interface element 302 corresponding to the song name, the interface element 303 corresponding to the singer, and the current The interface element 305 corresponding to the lyrics being played, the interface element 315 corresponding to the like control, the interface element 312 corresponding to the play previous song control, the pause/play control 313, and the play next song control 314.
- the manner in which the content extraction module 602 extracts interface elements includes but is not limited to the following manners:
- the instructions for drawing the layer include all the information restored for each interface element.
- Figure 7 shows a schematic diagram of drawing instructions. There are more than 40 drawing instructions, of which there are two types of instructions, drawText and drawImage.
- the source device can extract the content of interface elements from these two types of instructions.
- Extract interface elements from the view layer or control layer.
- developers can call the interface setText of TextView to set the text to be displayed.
- the source device may record the set text, so as to complete the extraction of the interface element whose attribute is TextView.
- the developer can also call the interface setImage of ImageView to set the image information to be displayed, and the source device can record the set image information, thereby completing the extraction of the interface element whose attribute is ImageView.
- the application layer may include a drawing layer and a view layer (or a control layer), and the drawing layer and the view layer may implement interface display on the source side.
- the view layer can provide developers with interface elements for building interfaces, such as TextView or ImageView, and developers can set the text style, text size, text thickness, etc. through the interface provided by TextView (for example, setText).
- the content extraction module 602 can directly complete the extraction of interface elements at the view layer.
- the interface elements provided by the view layer can be converted into commands such as drawText and drawImage in the drawing layer, and the content extraction module 602 can also extract the interface elements in the drawing layer through commands such as drawText and drawImage.
- the developer of the application can customize the content. For example, the developer can set content in the format of ⁇ key, value> for multiple interface elements on the interface, so that the source device can extract the interface elements with the content in this format.
- the data transmission module 604 can send the name of the scene displayed on the source side (for example, scenes such as music, chat, etc.) and the information of the marked interface element (including the label information of the interface element and the interface element extracted by the content extraction module 602) To the content parsing module 606 of the sink device.
- the source end device may send a BLE data packet to the sink end device, and the BLE data packet may carry interface elements and label information of the interface elements.
- the BLE data packet includes a protocol data unit (PDU), and the interface element and the label information of the interface element can be carried in the service data (service data) field in the PDU, or can also be carried in the manufacturer in the PDU.
- specific data manufacturer specific data
- the payload of the service data field may include multiple bits, wherein the multiple bits include scalable bits.
- the source end device and the sink end device can agree on the content of a certain extensible bit.
- the source device can perform image encoding on the graphical interface element through image encoding technology, and carry the encoded image data in the first bit (the first bit may include a or multiple bits); at the same time, the source device can encode the label information of the graphical interface element.
- the label information of the interface element 301 may be the name "cover picture”.
- the source device can encode the tag information through GBK, ISO8859-1 or Unicode (for example, UTF-8, UTF-16) and other encoding methods, and carry the encoded data in the second bit (the second bit may include one or more bits); the source device may associate the first bit with the second bit.
- the sink device After receiving the BLE data packet, the sink device can decode the data on the first bit through the image decoding technology to obtain the interface element 301; at the same time, the sink device can also decode the information on the second bit Thus, the label information "cover image" of the interface element 301 is obtained.
- the source device can encode the text-based interface element by encoding methods such as GBK, ISO8859-1, or Unicode (for example, UTF-8, UTF-16), and convert the image
- the encoded data is carried in the third bit (the third bit may include one or more bits); at the same time, the source device may encode the label information of the text-based interface element.
- the label information of the interface element 303 may be the name "singer".
- the source device can encode the tag information through GBK, ISO8859-1 or Unicode (for example, UTF-8, UTF-16) and other encoding methods, and carry the encoded data in the fourth bit (the fourth bit may include one or more bits); the source device may associate the third bit with the fourth bit.
- the sink device After receiving the BLE data packet, the sink device can decode the data on the third bit through the corresponding decoding technology to obtain the interface element 303; at the same time, the sink device can also decode the information on the fourth bit. Decode to obtain the label information "singer" of the interface element 303 .
- the source device can convert these interface elements and switch controls into strings, so that the source device also
- These interface elements and their label information may be encoded by using encoding methods such as GBK, ISO8859-1, or Unicode (for example, UTF-8, UTF-16).
- the source device may also send scene information corresponding to the interface element to the sink device.
- the BLE data packet sent by the mobile phone to the laptop may also carry scene information "music".
- the implementation process of the source end carrying the scene information in the BLE data packet can refer to the process of the source end device carrying the label information in the BLE data packet, which will not be repeated here.
- the tag information may be a name or an ID.
- the source device and the sink device may agree that the name corresponding to the interface element with ID 1 is "cover picture", and the name corresponding to the interface element with ID 2 can be "song name”, etc.
- the source end device may send a user datagram protocol (UDP) data packet to the sink end device, and the UDP data packet may carry the interface element and label information of the interface element.
- UDP user datagram protocol
- the UPD packet includes the data portion of the IP datagram.
- the data portion of an IP datagram may include extensible bits.
- the source-side device and the sink-side device can agree on the extensible bits therein. Therefore, the source terminal device can carry the interface element and the label information of the interface element in the extensible bits.
- the source end device may send a transmission control protocol (transmission control protocol, TCP) data packet to the sink end device, and the TCP data packet may carry the interface element and label information of the interface element.
- TCP data packet includes a TCP header and a TCP data part, and the notification information can be carried in the TCP data part.
- the TCP data portion may include multiple bits, wherein the multiple bits include scalable bits. Therefore, the source terminal device can carry the interface element and the label information of the interface element in the extensible bits.
- the content parsing (view content parser) module 606 of the sink device is used to parse the received data packet after receiving the data packet sent by the data transmission module 604 of the source end device, thereby obtaining one or more interface elements and its label information.
- the sink device may also acquire current scene information.
- the sink device stores the corresponding relationship between the display area of the interface element and the label information of the interface element in different scenarios.
- 8 and 9 respectively output schematic diagrams of the area distribution of interface elements in the music scene and the chat scene.
- FIG. 8 shows a schematic diagram of area distribution of interface elements of a music scene saved by a sink device.
- Area 801 can display the cover image
- area 802 can display the song title
- area 803 can display the singer
- area 804 can display the currently playing lyrics
- area 805 can display the like control
- area 806 can display the on-play.
- Controls for one song, pause/play controls may be displayed in area 807, and controls to play the next song may be displayed in area 808.
- the content parsing module can place the interface elements into the designated area according to each interface element parsed and the label information corresponding to each interface element.
- the sink device parses out the interface element 301 and the name in the label information of the interface element 301 is the cover image
- the sink device can put the interface element 301 into the area 801; when the sink device parses out the interface element 302 And the name in the label information of the interface element 302 is the song name, then the sink device can put the interface element 302 into the area 802 .
- FIG. 9 shows a schematic diagram of the area distribution of interface elements of the chat scene saved by the sink device.
- the name of the application can be displayed in the area 901; the first group of chat records can be displayed in the area 902, and the area 902 can also include multiple sub-areas, for example, the avatar of the contact can be displayed in the area 9021, and the contact can be displayed in the area 9022 , the content of the last chat between the user and the contact can be displayed in the area 9023, and the realization information of the last chat between the user and the contact can be displayed in the area 9024.
- the second group of chat records, the third group of chat records, and the fourth group of chat records can be displayed in the areas 903-905.
- the content parsing module can put each interface element into the specified area according to each interface element parsed and the label information corresponding to each interface element.
- the sink device parses the interface elements 401-404 as the interface elements in the first group of chat records. If the name in the label information of the interface element 401 is the name of the contact, the sink device can put the interface element 401 into the area 9021; if the name in the label information of the interface element 402 is the name of the contact, the sink device can put the interface element 401 into the area 9021.
- the element 402 is placed in the area 9022; if the name in the label information of the interface element 403 is the latest chat content, then the sink device can put the interface element 403 into the area 9023; if the name in the label information of the interface element 404 is The time information of the last chat, then the sink device can put the interface element 404 into the area 9024. Similarly, the sink device can put other interface elements into the areas 902-904 respectively.
- the action translation module 607 is used to send the corresponding event and the interface element corresponding to the event to the remote action receiving module 605 of the source device when the sink device detects a touch event (for example, a click event for a certain control). label information.
- a touch event for example, a click event for a certain control.
- the sink side device can send a BLE data packet to the source side device, and the BLE data packet includes the type information of the event and the first interface element. Label information for an interface element.
- the BLE data packet includes a protocol data unit, and the interface element and the label information of the interface element may be carried in the service data field in the PDU, or may also be carried in the manufacturer-specific data field in the PDU.
- the payload of the service data field may include multiple bits, wherein the multiple bits include scalable bits.
- the source end device and the sink end device can agree on the content of a certain extensible bit.
- the sink device when some extensible bits are 00, it indicates that the type of the event is to select the first interface element; when some extensible bits are 01, it indicates that The type of event is right-click after selecting the first interface element.
- the sink device can encode the label information corresponding to the first interface element by encoding methods such as GBK, ISO8859-1 or Unicode (for example, UTF-8, UTF-16), and carry the encoded data in an or on multiple scalable bits. After parsing the BLE data packet, the source device can learn the type of the event and the label information of the corresponding interface element, so as to know that the sink device detects the corresponding event on the first interface element.
- the remote action receiving module 605 can send the received information to the action scheduling module 603 .
- the action scheduling module 603 can find the corresponding interface element according to the label information of the interface element, and determine the specific operation of the interface element by the user on the sink device according to the event type. Therefore, the action scheduling module 603 can update the interface elements on the current display interface.
- the notebook computer when the notebook computer detects the user's input to the pause/play control, the notebook computer can send the event type (click event) and the label information of the interface element 313 to the mobile phone. .
- the mobile phone In response to receiving the above information, the mobile phone can determine that the user has clicked on the pause/play control on the laptop computer, so that the mobile phone can pause the currently playing music.
- the mobile phone updates the interface element 313 from the playing state to the paused state, and at the same time, the mobile phone stops sending the audio content corresponding to the song to the notebook computer, and the mobile phone can also send the updated interface element 313 and the label information of the interface element 313 to the notebook computer, so that the notebook computer
- the computer may display the updated interface element 313 .
- the first electronic device is sending the one or more interface elements and its state to the second electronic device.
- the first electronic device can send the updated second interface element and its label information to the second electronic device in real time after detecting the state update of the second interface element.
- the currently playing lyrics are updated in real time. 00:18
- the lyrics "GxxxxxxxH” are played.
- the mobile phone can send the updated interface element 305 ("GxxxxxxxH") and its label information to the laptop computer.
- the notebook computer can update the content of the currently playing lyrics.
- the notebook computer when the notebook computer detects that the user has input the text content "OK" in the text input box 416, the notebook computer can send the text to the mobile phone.
- the content and label information of the text input box Exemplarily, the laptop can send a BLE data packet to the mobile phone, and the text content and the label information of the text input box can be carried in the service data field in the PDU.
- the notebook computer can use GBK, ISO8859-1 or Unicode (for example, UTF-8, UTF-16) and other encoding methods to encode the text content and the label information of the text input box, and carry the encoded data in the service data field. expandable bits.
- the mobile phone After the mobile phone receives the BLE data packet, it can decode the data on the expandable bits to obtain the text content and the label information of the text input box, so that the mobile phone can put the text content into the text input box 422 of the mobile phone for display. .
- the notebook computer When the notebook computer detects that the user clicks the operation of sending the control 418, the notebook computer can send the corresponding event type and the label information of the control 418 to the mobile phone.
- the mobile phone After receiving the event type and the label information of the control 418, the mobile phone can determine that the notebook computer detects that the user has clicked the sending control. Thus, the mobile phone can complete the sending of the content in the text input box 422 .
- the text input box 416 may be drawn by a laptop computer.
- the notebook computer and the mobile phone can pre-determine the text input box 416 , the voice control 417 and the label information of the sending control 418 . In this way, after receiving the content sent by the notebook computer, the mobile phone can know the operations performed by the user on the notebook computer.
- FIG. 10 shows a schematic flowchart of a display method 1000 provided by an embodiment of the present application.
- the method 1000 may be executed by a first electronic device and a second electronic device, where the first electronic device may be the above-mentioned source device, and the first electronic device The second electronic device may be the above sink device.
- the method 1000 includes:
- the first electronic device receives a first instruction.
- the first indication may be that the first electronic device detects that the user starts the first application.
- the first indication may be that the first electronic device receives indication information sent by the second electronic device, where the indication information is used to instruct the first electronic device to send the interface element on the first interface to the second electronic device.
- the second electronic device may send indication information to the first electronic device when detecting that the user clicks on an icon associated with the first application.
- the first electronic device in response to receiving the first instruction, displays a first interface and sends one or more interface elements and label information of the one or more interface elements to the second electronic device, where the first interface includes an or multiple interface elements.
- the first electronic device may be a mobile phone
- the first interface may be a music playing interface
- the music playing interface includes interface elements 301 to 315 .
- the first electronic device may prompt the user to send one or more interface elements on the first interface to the second electronic device. Displayed by electronic equipment.
- the first electronic device may send the one or more interface elements and the label of the one or more interface elements to the second electronic device information.
- the first electronic device when the first electronic device determines that the devices networked with the first electronic device include an electronic device that supports displaying one or more interface elements, the first electronic device may send the one or more interface elements to the second electronic device. or multiple interface elements and label information of the one or more interface elements.
- the first electronic device may send a query request to a device networked with the first electronic device, where the query request is used to query whether the device receiving the query request supports one or more interface elements are displayed.
- the second electronic device can send a response (ACK) to the first electronic device, thereby The first electronic device is made to know that the second electronic device supports displaying one or more interface elements.
- the first electronic device may send a BLE data packet to the second electronic device, and the BLE data packet may carry the query request.
- the BLE data packet includes a PDU
- the query request may be carried in a service data field in the PDU, or may also be carried in a vendor-specific data field in the PDU.
- the payload of the service data field may include multiple bits, wherein the multiple bits include scalable bits.
- the first electronic device and the second electronic device may agree on the content of a certain extensible bit. For example, when a certain extensible bit is 1, the second electronic device can learn that the first electronic device requests to query whether the second electronic device supports displaying one or more interface elements.
- the second electronic device may send a BLE data packet to the first electronic device. For example, when a certain extensible bit in the BLE data packet is 1, the first electronic device can learn that the second electronic device supports displaying one or more interface elements.
- the first electronic device may also prompt the user to where to send the one or more interface elements. displayed on one device.
- the first electronic device may prompt the user to display the one or more interface elements. The element is sent to the second electronic device or the third electronic device for display.
- the first electronic device may send the one or more interface elements and label information of the one or more interface elements to the second electronic device.
- the first indication may also be request information from the second electronic device.
- the display interface of the second electronic device may include an icon of an application. After the second electronic device detects that the user clicks the icon, the second electronic device may send request information to the first electronic device, where the request information is used to request information of one or more interface elements on the display interface under the application .
- an icon of an application on the display interface of the second electronic device does not mean that the application is installed by the second electronic device.
- the second electronic device can trigger the second electronic device to send request information to the first electronic device, where the request information is used to request the first electronic device to send to the second electronic device one of the Icons for multiple applications.
- the second electronic device may send a BLE data packet to the first electronic device.
- the first electronic device can know that the second electronic device requests one or more interface elements on the display interface of the first application from the first electronic device Information.
- the second electronic device may send a query request to the first electronic device, where the query request is used to request to query whether the first electronic device has installed the first application.
- the second electronic device may send a BLE data packet to the first electronic device, and the BLE data packet may carry the query request.
- the payload of the service data field in the BLE data packet may include multiple bits, wherein the multiple bits include scalable bits.
- the first electronic device and the second electronic device may agree on the content of a certain extensible bit. For example, when a certain extensible bit is 1, the first electronic device can learn that the second electronic device requests to inquire whether the first electronic device has installed the first application.
- the first electronic device may send a response (ACK) to the second electronic device, so that the second electronic device may know that the first electronic device has installed the first application. Thereafter, if the second electronic device detects that the user clicks the icon of the first application, the second electronic device may send the request information to the first electronic device.
- ACK response
- the second electronic device may display a second interface according to label information of one or more interface elements, where at least part of the one or more interface elements is displayed on the second interface.
- the second electronic device may display the second interface according to the label information of the one or more interface elements.
- the second electronic device may select an interface element corresponding to the label information with a higher priority level from the label information to display.
- the mobile phone can send the interface elements 301-315 and their label information to the second electronic device, and the second electronic device can store the priority information of the label information (for example, , the priority from high to low is song title, artist, currently playing lyrics, play previous song control, pause/play control and play next lyrics control).
- the second electronic device may sequentially display the interface elements 302 , 303 , 305 , 312 , 313 and 314 according to the priority information and the label information of the interface elements 301 - 315 .
- the second electronic device displays at least part of the one or more interface elements according to a first mapping relationship and label information of one or more interface elements, where the first mapping relationship is one or more interface elements.
- the first mapping relationship may be stored in the first electronic device.
- the first electronic device may also send the first mapping relationship to the second electronic device.
- the first electronic device may store different mapping relationships for different devices.
- the mobile phone may store a first mapping relationship and a second mapping relationship, and the first mapping relationship is the mapping between the display area of the interface element in the notebook computer and the label information of the interface element.
- the second mapping relationship is the mapping relationship between the display area of the interface element in the smart watch and the label information of the interface element.
- the mobile phone can send different interface elements and label information of the interface elements.
- the mobile phone can send interface elements 301-303, 305, 312-315 and their corresponding label information to the laptop; for another example, for a smart watch, the mobile phone can send interface elements 302-303, 305 to the smart watch , 312-314 and their corresponding label information.
- the first mapping relationship may also be stored in the second electronic device.
- the second electronic device receives the interface element and the label information from the first electronic device, it can display the second interface according to the label information of the interface element and the first mapping relationship.
- the second electronic device may store the mapping relationship between the display area of the interface element and the label information of the interface element in different scenarios.
- the sink device may store the mapping relationship between the label information of different areas and different interface elements in the music scene and the chat scene.
- the first electronic device may send all the labeled interface elements under the first interface and their label information to the second electronic device. After receiving all the labeled interface elements and their label information, the second electronic device can select some or all of these interface elements to display according to the first mapping relationship.
- the mobile phone can send the labeled interface elements 301-315 and their corresponding label information to the notebook computer.
- the notebook computer can select the interface element 301, the interface element 302, the interface element from the interface elements 301-315 according to the corresponding relationship between the display area of the interface element and the label information shown in FIG. 8 .
- 303, interface element 305, and interface elements 312-315 are displayed.
- the first electronic device may store information of interface elements required in a certain scenario.
- the first electronic device can send the interface elements to be displayed by the second electronic device and the label information thereof to the second electronic device.
- the second electronic device may send the information of the interface element required in the first scenario to the first electronic device.
- the second electronic device may send a BLE data packet to the first electronic device, and the BLE data packet may contain information of the first scenario and information of interface elements required in the first scenario.
- the payload of the service data field in the BLE data packet may include multiple bits, wherein the multiple bits include scalable bits.
- the first electronic device and the second electronic device may agree on the content of a certain extensible bit.
- the second electronic device can use GBK, ISO8859-1 or Unicode (for example, UTF-8, UTF-16) and other encoding methods to encode the information of the first scene (for example, music), and can use GBK, ISO8859- 1 or Unicode (for example, UTF-8, UTF-16) and other encoding methods to encode the label information of the interface elements required in the first scenario, so as to carry the encoded data in one or more scalable bits superior.
- the first electronic device After receiving the BLE data packet, the first electronic device can decode it to obtain the label information of the interface element required by the second electronic device in the first scenario. In this way, after the first electronic device receives the first instruction, it can send the interface elements and label information required by the second electronic device to the second electronic device.
- FIG. 11 shows a schematic block diagram of an apparatus 1100 provided by an embodiment of the present application.
- the apparatus 1100 can be set in the first electronic device in the above-mentioned FIG. 10 , and the apparatus 1100 includes: a receiving unit 1110 for receiving the first indication; and a display unit 1120 for displaying in response to receiving the first indication A first interface; the sending unit 1130 is configured to send first information to the second electronic device, where the first information includes one or more interface elements on the first interface and label information of the one or more interface elements.
- FIG. 12 shows a schematic block diagram of an apparatus 1200 provided by an embodiment of the present application.
- the apparatus 1200 can be set in the second electronic device in the above-mentioned FIG. 10, and the apparatus 1200 includes: a receiving unit 1210, configured to receive first information sent by the first electronic device, where the first information includes the first electronic device One or more interface elements on the first interface displayed by the device and label information of the one or more interface elements; the display unit 1220 is configured to respond to receiving the label information, according to the label of the one or more interface elements information, displaying a second interface, where the second interface displays at least part of the one or more interface elements.
- a receiving unit 1210 configured to receive first information sent by the first electronic device, where the first information includes the first electronic device One or more interface elements on the first interface displayed by the device and label information of the one or more interface elements
- the display unit 1220 is configured to respond to receiving the label information, according to the label of the one or more interface elements information, displaying a second interface, where the second interface displays at least
- FIG. 13 shows a schematic structural diagram of an electronic device 1300 provided by an embodiment of the present application.
- the electronic device includes: one or more processors 1310, one or more memories 1320, and the one or more memory stores 1320 store one or more computer programs, the one or more computer programs Include instructions.
- the instruction is executed by the one or more processors 1310, the first electronic device or the second electronic device executes the technical solutions in the above embodiments.
- An embodiment of the present application provides a system including a first electronic device and a second electronic device, and the system is used to implement the technical solutions in the foregoing embodiments.
- the implementation principle and technical effect thereof are similar to the related embodiments of the above method, and are not repeated here.
- Embodiments of the present application provide a computer program product, which enables the first electronic device to execute the technical solutions in the foregoing embodiments when the computer program product runs on a first electronic device (or a notebook computer in the foregoing embodiment).
- the implementation principle and technical effect thereof are similar to the related embodiments of the above method, and are not repeated here.
- the embodiments of the present application provide a computer program product, which enables the second electronic device to execute the technical solutions in the foregoing embodiments when the computer program product runs on the second electronic device (or the mobile phone in the foregoing embodiment).
- the implementation principle and technical effect thereof are similar to the related embodiments of the above method, and are not repeated here.
- An embodiment of the present application provides a readable storage medium, where the readable storage medium contains instructions, when the instructions are executed on a first electronic device (or, the notebook computer in the above embodiment), the first electronic device is executed.
- the device executes the technical solutions of the foregoing embodiments. The implementation principle and technical effect thereof are similar, and are not repeated here.
- An embodiment of the present application provides a readable storage medium, where the readable storage medium contains instructions, when the instructions are executed on a second electronic device (or, the mobile phone in the above-mentioned embodiment), the second electronic device causes the second electronic device to be executed.
- the technical solutions of the above embodiments are implemented. The implementation principle and technical effect thereof are similar, and are not repeated here.
- An embodiment of the present application provides a chip, which is used for executing an instruction, and when the chip is running, executes the technical solutions in the foregoing embodiments.
- the implementation principle and technical effect thereof are similar, and are not repeated here.
- the disclosed system, apparatus and method may be implemented in other manners.
- the apparatus embodiments described above are only illustrative.
- the division of the units is only a logical function division. In actual implementation, there may be other division methods.
- multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented.
- the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
- the units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
- each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
- the functions, if implemented in the form of software functional units and sold or used as independent products, may be stored in a computer-readable storage medium.
- the technical solutions of the embodiments of the present application can be embodied in the form of software products in essence, or the parts that make contributions to the prior art or the parts of the technical solutions, and the computer software products are stored in a storage medium , including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application.
- the aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk and other media that can store program codes .
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Computer Hardware Design (AREA)
- Business, Economics & Management (AREA)
- General Business, Economics & Management (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
Description
Claims (30)
- 一种系统,其特征在于,所述系统包括第一电子设备和第二电子设备,所述第一电子设备通过近距离无线连接与所述第二电子设备通信,其中,所述第一电子设备,用于响应于接收到第一指示,显示第一界面并向所述第二电子设备发送第一信息,所述第一信息包括所述第一界面上的一个或者多个界面元素以及所述一个或者多个界面元素的标签信息;所述第二电子设备,用于响应于接收到所述第一信息,根据所述一个或者多个界面元素的标签信息,显示第二界面,所述第二界面显示所述一个或者多个界面元素中的至少部分界面元素。
- 根据权利要求1所述的系统,其特征在于,所述第二电子设备具体用于:根据所述一个或者多个界面元素的标签信息以及第一映射关系,显示所述第二界面,所述第一映射关系为所述至少部分界面元素的显示区域与所述至少部分界面元素的标签信息的映射关系。
- 根据权利要求1或2所述的系统,其特征在于,所述第一电子设备具体用于:响应于检测到用户启动第一应用程序的操作,显示所述第一界面并向所述第二电子设备发送所述第一信息。
- 根据权利要求3所述的系统,其特征在于,所述第一电子设备具体用于:响应于检测到用户启动所述第一应用程序的操作,显示所述第一界面并提示用户是否将所述第一界面上的一个或者多个界面元素发送给所述第二电子设备进行显示;响应于检测到用户确定将所述第一界面上的一个或者多个界面元素发送给所述第二电子设备进行显示的操作,向所述第二电子设备发送所述第一信息。
- 根据权利要求3所述的系统,其特征在于,所述第一电子设备还用于:响应于检测到用户启动所述第一应用程序的操作,显示所述第一界面并向所述第二电子设备发送第一指示信息,所述第一指示信息用于指示所述第一电子设备已启动所述第一应用程序;所述第二电子设备,还用于响应于接收到所述第一指示信息,提示用户是否通过所述第二电子设备显示所述第一应用程序的显示界面;所述第二电子设备,还用于响应于检测到用户确定通过所述第二电子设备显示所述第一应用程序的显示界面的操作,向所述第一电子设备发送第一请求信息,所述第一请求信息用于请求显示所述第一界面上的界面元素;所述第一电子设备,具体用于响应于接收到所述第一请求信息,向所述第二电子设备发送所述第一信息。
- 根据权利要求1或2所述的系统,其特征在于,所述第二电子设备,还用于响应于检测到用户的操作,向所述第一电子设备发送第二请求信息,所述第二请求信息用于请求显示所述第一界面上的界面元素;所述第一电子设备具体用于:响应于接收到所述第二电子设备发送的第二请求信息,显示所述第一界面并向所述第二电子设备发送所述第一信息。
- 根据权利要求1至6中任一项所述的系统,其特征在于,所述第一电子设备,还 用于在向所述第二电子设备发送所述第一信息之前,确定所述第一电子设备和所述第二电子设备之间的距离小于或者等于预设距离。
- 根据权利要求1至7中任一项所述的系统,其特征在于,所述至少部分界面元素包括第一界面元素,所述第一电子设备,还用于响应于第一界面元素发生更新,向所述第二电子设备发送第二信息,所述第二信息包括更新后的所述第一界面元素以及所述第一界面元素的标签信息;所述第二电子设备,还用于响应于接收到所述第二信息,在所述第二界面上显示更新后的所述第一界面元素。
- 根据权利要求1至8中任一项所述的系统,其特征在于,所述至少部分界面元素包括第二界面元素,所述第二电子设备,还用于响应于检测到用户对所述第二界面元素的输入,向所述第一电子设备发送第二指示信息,所述第二指示信息用于指示所述第二电子设备检测到用户对所述第二界面元素的输入;所述第一电子设备,还用于响应于接收到所述第二指示信息,执行针对所述输入的操作。
- 根据权利要求9所述的系统,其特征在于,所述第一电子设备,还用于响应于执行所述操作,所述第一电子设备更新第三界面元素,所述至少部分界面元素包括所述第三界面元素;所述第一电子设备,还用于向所述第二电子设备发送第三信息,所述第三信息包括更新后的所述第三界面元素以及所述第三界面元素的标签信息;所述第二电子设备,还用于响应于接收到所述第三信息,在所述第二界面上显示更新后的所述第三界面元素。
- 根据权利要求1至10中任一项所述的系统,其特征在于,所述第一信息中还包括所述第一界面对应的场景的信息。
- 一种显示方法,其特征在于,所述方法应用于第一电子设备中,所述第一电子设备通过近距离无线连接与第二电子设备通信,所述方法包括:所述第一电子设备接收到第一指示;响应于接收到第一指示,所述第一电子设备显示第一界面并向所述第二电子设备发送第一信息,所述第一信息包括所述第一界面上的一个或者多个界面元素以及所述一个或者多个界面元素的标签信息。
- 根据权利要求12所述的方法,其特征在于,所述方法还包括:所述第一电子设备向所述第二电子设备发送第一映射关系的信息,所述第一映射关系为界面元素的显示区域与界面元素的标签信息的映射关系。
- 根据权利要求12或13所述的方法,其特征在于,所述第一电子设备接收到第一指示,包括:所述第一电子设备检测到用户启动第一应用程序的操作。
- 根据权利要求14所述的方法,其特征在于,所述响应于接收到第一指示,所述第一电子设备显示第一界面并向所述第二电子设备发送第一信息,包括:响应于检测到用户启动所述第一应用程序的操作,显示所述第一界面并提示用户是否将所述第一界面上的一个或者多个界面元素发送给所述第二电子设备进行显示;响应于检测到用户确定将所述第一界面上的一个或者多个界面元素发送给所述第二电子设备进行显示的操作,向所述第二电子设备发送所述第一信息。
- 根据权利要求14所述的方法,其特征在于,所述响应于接收到第一指示,所述第一电子设备向所述第二电子设备发送第一信息,包括:所述第一电子设备接收所述第二电子设备发送的第一请求信息,所述第一请求信息用于请求显示所述第一界面上的界面元素;所述第一电子设备响应于接收到所述第一请求信息,向所述第二电子设备发送所述第一信息。
- 根据权利要求12至16中任一项所述的方法,其特征在于,所述方法还包括:在向所述第二电子设备发送所述第一信息之前,所述第一电子设备确定所述第一电子设备和所述第二电子设备之间的距离小于或者等于预设距离。
- 根据权利要求12至17中任一项所述的方法,其特征在于,所述一个或者多个界面元素包括第一界面元素,所述方法还包括:响应于第一界面元素发生更新,所述第一电子设备向所述第二电子设备发送第二信息,所述第二信息包括更新后的所述第一界面元素以及所述第一界面元素的标签信息。
- 根据权利要求12至18中任一项所述的方法,其特征在于,所述一个或者多个界面元素包括第二界面元素,所述方法还包括:所述第一电子设备接收所述第二电子设备发送的第二指示信息,所述第二指示信息用于指示所述第二电子设备检测到用户对所述第二界面元素的输入;响应于接收到所述第二指示信息,所述第一电子设备执行针对所述输入的操作。
- 根据权利要求19所述的方法,其特征在于,所述方法还包括:响应于执行所述操作,所述第一电子设备更新第三界面元素,所述一个或者多个界面元素包括所述第三界面元素;所述第一电子设备向所述第二电子设备发送第三信息,所述第三信息包括更新后的所述第三界面元素以及所述第三界面元素的标签信息。
- 一种显示方法,其特征在于,所述方法应用于第二电子设备,所述第二电子设备通过近距离无线连接与第一电子设备通信,所述方法包括:所述第二电子设备接收所述第一电子设备发送的第一信息,所述第一信息包括所述第一电子设备显示的第一界面上的一个或者多个界面元素以及所述一个或者多个界面元素的标签信息;响应于接收到所述标签信息,所述第二电子设备根据所述一个或者多个界面元素的标签信息,显示第二界面,所述第二界面显示所述一个或者多个界面元素中的至少部分界面元素。
- 根据权利要求21所述的方法,其特征在于,所述第二电子设备根据所述一个或者多个界面元素的标签信息,显示第二界面,包括:所述第二电子设备根据所述一个或者多个界面元素的标签信息以及第一映射关系,显示所述第二界面,所述第一映射关系为所述至少部分界面元素的显示区域与所述至少部分 界面元素的标签信息的映射关系。
- 根据权利要求21或22所述的方法,其特征在于,所述第二电子设备接收所述第一电子设备发送的所述第一信息之前,所述方法还包括:所述第二电子设备接收所述第一电子设备发送的第一指示信息,所述第一指示信息用于指示所述第一电子设备已启动所述第一应用程序;响应于接收到所述第一指示信息,所述第二电子设备提示用户是否通过所述第二电子设备显示所述第一应用程序的显示界面;响应于检测到用户确定通过所述第二电子设备显示所述第一应用程序的显示界面的操作,所述第二电子设备向所述第一电子设备发送第一请求信息,所述第一请求信息用于请求显示所述第一界面上的界面元素。
- 根据权利要求21或22所述的方法,其特征在于,所述第二电子设备接收所述第一电子设备发送的所述第一信息之前,所述方法还包括:响应于检测到用户的操作,所述第二电子设备向所述第一电子设备发送第二请求信息,所述第二请求信息用于请求显示所述第一界面上的界面元素。
- 根据权利要求21至24中任一项所述的方法,其特征在于,所述至少部分界面元素包括第一界面元素,所述方法还包括:所述第二电子设备接收所述第一电子设备发送的第二信息,所述第二信息包括更新后的所述第一界面元素以及所述第一界面元素的标签信息;响应于接收到所述第二信息,所述第二电子设备在所述第二界面上显示更新后的所述第一界面元素。
- 根据权利要求21至25中任一项所述的方法,其特征在于,所述至少部分界面元素包括第二界面元素,响应于检测到用户对所述第二界面元素的输入,所述第二电子设备向所述第一电子设备发送第二指示信息,所述第二指示信息用于指示所述第二电子设备检测到用户对所述第二界面元素的输入。
- 根据权利要求26所述的方法,其特征在于,所述至少部分界面元素包括第三界面元素,所述方法还包括:若所述第一电子设备在接收到所述第二指示信息后更新了所述第三界面元素,所述第二电子设备接收所述第一电子设备发送的第三信息,所述第三信息包括更新后的所述第三界面元素以及所述第三界面元素的标签信息;响应于接收到所述第三信息,所述第三电子设备在所述第二界面上显示更新后的所述第三界面元素。
- 一种电子设备,其特征在于,所述电子设备包括:一个或多个处理器;一个或多个存储器;所述一个或多个存储器存储有一个或者多个计算机程序,所述一个或者多个计算机程序包括指令,当所述指令被所述一个或多个处理器执行时,使得所述电子设备执行如权利要求12至20中任一项所述的方法。
- 一种电子设备,其特征在于,所述电子设备包括:一个或多个处理器;一个或多个存储器;所述一个或多个存储器存储有一个或者多个计算机程序,所述一个或者多个计算机程序包括指令,当所述指令被所述一个或多个处理器执行时,使得所述电子设备执行如权利要求21至27中任一项所述的方法。
- 一种计算机可读存储介质,其特征在于,包括计算机指令,当所述计算机指令在电子设备上运行时,使得所述电子设备执行如权利要求12至20中任一项所述的方法;或者,当所述计算机指令在电子设备上运行时,使得所述电子设备执行如权利要求21至27中任一项所述的方法。
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| EP22778945.0A EP4287014A4 (en) | 2021-03-31 | 2022-03-29 | Display method, electronic device, and system |
| US18/284,138 US12578913B2 (en) | 2021-03-31 | 2022-03-29 | Display method, electronic device, and system |
Applications Claiming Priority (4)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202110350080.3 | 2021-03-31 | ||
| CN202110350080 | 2021-03-31 | ||
| CN202110484031.9 | 2021-04-30 | ||
| CN202110484031.9A CN115145518B (zh) | 2021-03-31 | 2021-04-30 | 一种显示方法、电子设备和系统 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2022206763A1 true WO2022206763A1 (zh) | 2022-10-06 |
Family
ID=83405500
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2022/083727 Ceased WO2022206763A1 (zh) | 2021-03-31 | 2022-03-29 | 一种显示方法、电子设备和系统 |
Country Status (4)
| Country | Link |
|---|---|
| US (1) | US12578913B2 (zh) |
| EP (1) | EP4287014A4 (zh) |
| CN (1) | CN115145518B (zh) |
| WO (1) | WO2022206763A1 (zh) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20230409194A1 (en) * | 2022-05-17 | 2023-12-21 | Apple Inc. | Systems and methods for remote interaction between electronic devices |
| WO2024152722A1 (zh) * | 2023-01-20 | 2024-07-25 | 华为技术有限公司 | 一种通信方法、系统与终端设备 |
| RU2860417C2 (ru) * | 2023-01-20 | 2026-04-17 | Хуавей Текнолоджиз Ко., Лтд. | Способ и система связи и оконечное устройство |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115145665A (zh) | 2021-03-31 | 2022-10-04 | 华为技术有限公司 | 一种显示方法、电子设备和系统 |
| EP4543021A4 (en) * | 2022-06-20 | 2025-06-18 | LG Electronics Inc. | Image display device |
| CN118444820A (zh) * | 2023-02-03 | 2024-08-06 | 株式会社日立制作所 | 作业辅助系统以及作业辅助方法 |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103744810A (zh) * | 2013-12-23 | 2014-04-23 | 西安酷派软件科技有限公司 | 终端、电子设备、同步显示系统和方法 |
| US20150188776A1 (en) * | 2013-12-27 | 2015-07-02 | Kt Corporation | Synchronizing user interface across multiple devices |
| CN106843661A (zh) * | 2015-12-07 | 2017-06-13 | 深圳创锐思科技有限公司 | 一种信息交互的方法、电子设备及控制终端 |
| CN108347464A (zh) * | 2017-01-23 | 2018-07-31 | 国基电子(上海)有限公司 | 应用程序的运行状态同步方法、系统及电子设备 |
| US20190235707A1 (en) * | 2012-08-29 | 2019-08-01 | Apple Inc. | Content Presentation and Interaction Across Multiple Displays |
Family Cites Families (16)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20050010418A1 (en) * | 2003-07-10 | 2005-01-13 | Vocollect, Inc. | Method and system for intelligent prompt control in a multimodal software application |
| US20100064228A1 (en) * | 2008-09-11 | 2010-03-11 | Ely Tsern | Expandable system architecture comprising a handheld computer device that dynamically generates different user environments with secondary devices with displays of various form factors |
| DE202014004560U1 (de) * | 2013-06-08 | 2014-09-12 | Apple Inc. | Vorrichtung und grafische Benutzerschnittstelle zum Synchronisieren zweier oder mehrerer Anzeigen |
| WO2016040291A1 (en) * | 2014-09-12 | 2016-03-17 | Lineage Labs, Inc. | Sharing media |
| US20160182603A1 (en) * | 2014-12-19 | 2016-06-23 | Microsoft Technology Licensing, Llc | Browser Display Casting Techniques |
| KR102389038B1 (ko) * | 2015-09-02 | 2022-04-21 | 엘지전자 주식회사 | 전자 기기 및 전자 기기의 제어 방법 |
| CN105589506B (zh) | 2016-02-29 | 2017-10-17 | 华为技术有限公司 | 功率跟踪方法、装置及光伏发电系统 |
| CN107239203A (zh) * | 2016-03-29 | 2017-10-10 | 北京三星通信技术研究有限公司 | 一种图像管理方法和装置 |
| DK179186B1 (en) * | 2016-05-19 | 2018-01-15 | Apple Inc | REMOTE AUTHORIZATION TO CONTINUE WITH AN ACTION |
| WO2018144026A1 (en) * | 2017-02-06 | 2018-08-09 | Hewlett-Packard Development Company, L.P. | Media content control of source devices on sink devices |
| EP3813334B1 (en) * | 2018-08-13 | 2024-10-09 | Huawei Technologies Co., Ltd. | Photo sharing method and electronic device |
| CN111666119B (zh) * | 2019-03-06 | 2023-11-21 | 华为终端有限公司 | Ui组件显示的方法及电子设备 |
| US11600245B2 (en) * | 2019-07-25 | 2023-03-07 | National Christmas Products Llc | System, apparatus, and method for providing an interactive device |
| CN112351412B (zh) * | 2019-08-06 | 2025-03-11 | 华为技术有限公司 | 一种内容接续方法、系统及电子设备 |
| CN114201128A (zh) * | 2020-09-02 | 2022-03-18 | 华为技术有限公司 | 一种显示方法及设备 |
| US11397956B1 (en) * | 2020-10-26 | 2022-07-26 | Wells Fargo Bank, N.A. | Two way screen mirroring using a smart table |
-
2021
- 2021-04-30 CN CN202110484031.9A patent/CN115145518B/zh active Active
-
2022
- 2022-03-29 US US18/284,138 patent/US12578913B2/en active Active
- 2022-03-29 WO PCT/CN2022/083727 patent/WO2022206763A1/zh not_active Ceased
- 2022-03-29 EP EP22778945.0A patent/EP4287014A4/en active Pending
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20190235707A1 (en) * | 2012-08-29 | 2019-08-01 | Apple Inc. | Content Presentation and Interaction Across Multiple Displays |
| CN103744810A (zh) * | 2013-12-23 | 2014-04-23 | 西安酷派软件科技有限公司 | 终端、电子设备、同步显示系统和方法 |
| US20150188776A1 (en) * | 2013-12-27 | 2015-07-02 | Kt Corporation | Synchronizing user interface across multiple devices |
| CN106843661A (zh) * | 2015-12-07 | 2017-06-13 | 深圳创锐思科技有限公司 | 一种信息交互的方法、电子设备及控制终端 |
| CN108347464A (zh) * | 2017-01-23 | 2018-07-31 | 国基电子(上海)有限公司 | 应用程序的运行状态同步方法、系统及电子设备 |
Non-Patent Citations (1)
| Title |
|---|
| See also references of EP4287014A4 |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20230409194A1 (en) * | 2022-05-17 | 2023-12-21 | Apple Inc. | Systems and methods for remote interaction between electronic devices |
| US12175070B2 (en) * | 2022-05-17 | 2024-12-24 | Apple Inc. | Systems and methods for remote interaction between electronic devices |
| WO2024152722A1 (zh) * | 2023-01-20 | 2024-07-25 | 华为技术有限公司 | 一种通信方法、系统与终端设备 |
| RU2860417C2 (ru) * | 2023-01-20 | 2026-04-17 | Хуавей Текнолоджиз Ко., Лтд. | Способ и система связи и оконечное устройство |
Also Published As
| Publication number | Publication date |
|---|---|
| CN115145518A (zh) | 2022-10-04 |
| US20240303024A1 (en) | 2024-09-12 |
| CN115145518B (zh) | 2026-01-09 |
| EP4287014A1 (en) | 2023-12-06 |
| EP4287014A4 (en) | 2024-07-10 |
| US12578913B2 (en) | 2026-03-17 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2021013158A1 (zh) | 显示方法及相关装置 | |
| CN113961157B (zh) | 显示交互系统、显示方法及设备 | |
| WO2020259452A1 (zh) | 一种移动终端的全屏显示方法及设备 | |
| WO2022257977A1 (zh) | 电子设备的投屏方法和电子设备 | |
| CN114546190A (zh) | 一种应用显示方法及电子设备 | |
| CN113885759A (zh) | 通知消息处理方法、设备、系统及计算机可读存储介质 | |
| CN115145518B (zh) | 一种显示方法、电子设备和系统 | |
| WO2022037407A1 (zh) | 一种回复消息的方法、电子设备和系统 | |
| WO2022127787A1 (zh) | 一种图像显示的方法及电子设备 | |
| WO2021159746A1 (zh) | 文件共享方法、系统及相关设备 | |
| EP4293997A1 (en) | Display method, electronic device, and system | |
| WO2022095820A1 (zh) | 一种文本输入的方法、电子设备和系统 | |
| WO2022179275A1 (zh) | 终端应用控制的方法、终端设备及芯片系统 | |
| CN111372329A (zh) | 一种连接建立方法及终端设备 | |
| CN114567871B (zh) | 文件共享的方法、装置、电子设备以及可读存储介质 | |
| CN115460445A (zh) | 电子设备的投屏方法和电子设备 | |
| WO2024260028A1 (zh) | 显示悬浮窗的方法和电子设备 | |
| CN114338642B (zh) | 一种文件传输方法和电子设备 | |
| CN115016697A (zh) | 投屏方法、计算机设备、可读存储介质和程序产品 | |
| CN115022982B (zh) | 多屏协同无感接入方法、电子设备及存储介质 | |
| WO2022152174A1 (zh) | 一种投屏的方法和电子设备 | |
| WO2022135254A1 (zh) | 一种编辑文本的方法、电子设备和系统 | |
| WO2022206762A1 (zh) | 一种显示方法、电子设备和系统 | |
| WO2022135273A1 (zh) | 一种调用其他设备能力的方法、电子设备和系统 | |
| EP4398094A1 (en) | Application installation method and related devices |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 22778945 Country of ref document: EP Kind code of ref document: A1 |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 2022778945 Country of ref document: EP |
|
| ENP | Entry into the national phase |
Ref document number: 2022778945 Country of ref document: EP Effective date: 20230901 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| WWG | Wipo information: grant in national office |
Ref document number: 18284138 Country of ref document: US |

