CN117917632A - Display method, electronic equipment and system - Google Patents

Display method, electronic equipment and system Download PDF

Info

Publication number
CN117917632A
CN117917632A CN202211287227.XA CN202211287227A CN117917632A CN 117917632 A CN117917632 A CN 117917632A CN 202211287227 A CN202211287227 A CN 202211287227A CN 117917632 A CN117917632 A CN 117917632A
Authority
CN
China
Prior art keywords
electronic device
screen
input
information
electronic
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211287227.XA
Other languages
Chinese (zh)
Inventor
周学而
李荣根
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Device Co Ltd
Original Assignee
Huawei Device Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Device Co Ltd filed Critical Huawei Device Co Ltd
Priority to CN202211287227.XA priority Critical patent/CN117917632A/en
Priority to PCT/CN2023/124377 priority patent/WO2024083031A1/en
Publication of CN117917632A publication Critical patent/CN117917632A/en
Pending legal-status Critical Current

Links

Abstract

The application provides a display method, electronic equipment and a system, wherein the method comprises the following steps: the method comprises the steps that a first electronic device determines an association relation between a first input device and a first screen, wherein the first screen is a screen of the first electronic device or an external screen of the first electronic device; the method comprises the steps that a first electronic device detects a first input event, wherein input devices corresponding to the first input event are first input devices; the first electronic equipment determines a screen acted by a first input event as a first screen according to the association relation; the first electronic device displays a first cursor on the first screen. Thus, an input device may be associated with a device or screen that it needs to control. Furthermore, a plurality of users can respectively control a plurality of devices or screens without interference.

Description

Display method, electronic equipment and system
Technical Field
The present application relates to the field of terminals, and more particularly, to a display method, an electronic device, and a system.
Background
At present, a user can connect a display externally when using the electronic device to improve the display efficiency, however, when the electronic device is connected with the display externally, the electronic device and the display externally can only be used by one user at the same time, and different users cannot use a plurality of screens simultaneously.
Disclosure of Invention
The application provides a display method, electronic equipment and a system, which can enable input equipment to be associated with equipment or a screen which needs to be controlled, and improve the efficiency of simultaneous use of multiple users.
In order to achieve the above purpose, the application adopts the following technical scheme:
in a first aspect, the present application provides a display method, which can be applied to a first electronic device, the method comprising: the method comprises the steps that a first electronic device determines an association relation between a first input device and a first screen, wherein the first screen is a screen of the first electronic device or an external screen of the first electronic device; the method comprises the steps that a first electronic device detects a first input event, wherein input devices corresponding to the first input event are first input devices; the first electronic equipment determines a screen acted by a first input event as a first screen according to the association relation; the first electronic device displays a first cursor on the first screen.
By the method provided by the application, the input equipment can be associated with the screen of the first electronic equipment or the external screen, so that a plurality of users can simultaneously use the plurality of input equipment to respectively control the plurality of screens without interference, and the use efficiency of multiple users is improved.
In one possible design, before the first electronic device determines the association relationship between the first input device and the first screen, the method further includes: the first electronic device obtains screen information and input device information, wherein the screen information comprises information of a first screen, and the input device information comprises information of a first input device.
In one possible design, the method further comprises: when a screen of the first electronic device or an external screen of the first electronic device is newly added, removed or configuration is changed, the first electronic device updates screen information; and/or when the input device of the first electronic device is newly added, removed or changed in configuration, the first electronic device updates the input device information. By updating the screen information and the input device information, the accuracy of the distribution of the input event can be ensured.
In one possible design, the method further comprises: the method comprises the steps that a first electronic device determines an association relation between a second input device and a second screen, wherein the second screen is a screen of the first electronic device or an external screen of the first electronic device; the first electronic device detects a second input event, wherein the input device corresponding to the second input event is the second input device; the first electronic equipment determines a screen acted by the second input event as a second screen according to the association relation; the first electronic device displays a second cursor on the second screen.
In one possible design, the first cursor and the second cursor are in different styles. Thus, the user can distinguish different screens through different cursor patterns, and the use efficiency of multiple users is improved.
In a second aspect, a display method is provided, the method being applicable to a first electronic device, the method comprising: the method comprises the steps that a first electronic device determines an association relationship between a first input device and a second electronic device; the method comprises the steps that a first electronic device detects a first input event, wherein input devices corresponding to the first input event are first input devices; the first electronic equipment determines that a first input event acts on the second electronic equipment according to the association relation; the first electronic device sends a first input event to the second electronic device, causing the second electronic device to display a first cursor.
By the method provided by the application, the input equipment can be associated with the screen of the first electronic equipment or the second electronic equipment, so that a plurality of users can simultaneously use the plurality of input equipment to respectively control the screens of the plurality of equipment or the external screen without mutual interference, and the use efficiency of multiple users is improved.
In one possible design, before the first electronic device determines the association relationship between the first input device and the second electronic device, the method further includes: the first electronic device obtains screen information and input device information, wherein the screen information comprises information of the second electronic device, and the input device information comprises information of the first input device.
In one possible design, the method further comprises: when the second electronic equipment is newly added, removed or changed in configuration, the first electronic equipment updates screen information; and/or when the input device of the first electronic device is newly added, removed or changed in configuration, the first electronic device updates the input device information. By updating the screen information and the input device information, the accuracy of the distribution of the input event can be ensured.
In one possible design, the method further comprises: the method comprises the steps that a first electronic device determines an association relation between a second input device and a first screen, wherein the first screen is a screen of the first electronic device or an external screen of the first electronic device; the first electronic device detects a second input event, wherein the input device corresponding to the second input event is the second input device; the first electronic equipment determines a screen acted by a first input event as a first screen according to the association relation; the first electronic device displays a second cursor on the first screen.
In one possible design, the first cursor and the second cursor are in different styles. Thus, the user can distinguish different screens through different cursor patterns, and the use efficiency of multiple users is improved.
In a third aspect, a display system is provided, the system comprising a first electronic device and a second electronic device, wherein: the method comprises the steps that a first electronic device determines an association relationship between a first input device and a second electronic device; the method comprises the steps that a first electronic device detects a first input event, wherein input devices corresponding to the first input event are first input devices; the first electronic equipment determines that a first input event acts on the second electronic equipment according to the association relation; the first electronic device sends a first input event to the second electronic device; the second electronic device displays the first cursor.
In one possible design, before the first electronic device determines the association relationship between the first input device and the second electronic device, the method further includes: the first electronic device obtains screen information and input device information, wherein the screen information comprises information of the second electronic device, and the input device information comprises information of the first input device.
In one possible design, the first electronic device updates the screen information when the second electronic device is newly added, removed or changed in configuration; and/or when the input device of the first electronic device is newly added, removed or changed in configuration, the first electronic device updates the input device information.
In one possible design, the system further comprises: the method comprises the steps that a first electronic device determines an association relation between a second input device and a first screen, wherein the first screen is a screen of the first electronic device or an external screen of the first electronic device; the first electronic device detects a second input event, wherein the input device corresponding to the second input event is the second input device; the first electronic equipment determines a screen acted by a first input event as a first screen according to the association relation; the first electronic device displays a second cursor on the first screen.
In one possible design, the first cursor and the second cursor are in different styles.
The technical effects of each aspect and the technical effects that may be achieved by each aspect in the third aspect are referred to the technical effects that may be achieved by each possible aspect in the second aspect, and the description is not repeated here.
In a fourth aspect, a display method is provided, the method being applicable to a first electronic device, the method comprising: the method comprises the steps that a first electronic device determines an association relation between a first input device and a second screen, wherein the second screen is a screen of the second electronic device or an external screen of the second electronic device; the method comprises the steps that a first electronic device detects a first input event, wherein input devices corresponding to the first input event are first input devices; the first electronic equipment determines a screen acted by the first input event as a second screen according to the association relation; the first electronic equipment sends a first input event to the second electronic equipment, so that the second electronic equipment determines a screen acted by the first input event as a second screen according to the association relation, and displays a first cursor on the second screen.
By the method provided by the application, the input equipment can be associated with the screen of the first electronic equipment or the screen of the second electronic equipment, so that a plurality of users can simultaneously use the plurality of input equipment to respectively control the screens of the plurality of equipment or the external screen without mutual interference, and the use efficiency of multiple users is improved.
In one possible design, before the first electronic device determines the association relationship between the first input device and the second electronic device, the method further includes: the first electronic device obtains screen information and input device information, wherein the screen information comprises information of the second screen, and the input device information comprises information of the first input device.
In one possible design, the method further comprises: when the second screen is newly added, removed or changed in configuration, the first electronic equipment updates screen information; and/or when the input device of the first electronic device and/or the input device of the second electronic device is newly added, removed or changed in configuration, the first electronic device updates the input device information. By updating the screen information and the input device information, the accuracy of the distribution of the input event can be ensured.
In one possible design, the method further comprises: the method comprises the steps that a first electronic device determines an association relation between a second input device and a first screen, wherein the first screen is a screen of the first electronic device or an external screen of the first electronic device; the first electronic device detects a second input event, wherein the input device corresponding to the second input event is the second input device; the first electronic equipment determines a screen acted by a first input event as a first screen according to the association relation; the first electronic device displays a second cursor on the first screen.
In one possible design, the first cursor and the second cursor are in different styles. Thus, the user can distinguish different screens through different cursor patterns, and the use efficiency of multiple users is improved.
In a fifth aspect, a display system is provided, the system comprising a first electronic device and a second electronic device, wherein: the method comprises the steps that a first electronic device determines an association relation between a first input device and a second screen, wherein the second screen is a screen of the second electronic device or an external screen of the second electronic device; the method comprises the steps that a first electronic device detects a first input event, wherein input devices corresponding to the first input event are first input devices; the first electronic equipment determines a screen acted by the input event as a second screen according to the association relation; the first electronic device sends a first input event to the second electronic device; the second electronic equipment determines a screen acted by the first input event as a second screen according to the association relation; the second electronic device displays a first cursor on a second screen.
In one possible design, before the first electronic device determines the association relationship between the first input device and the second electronic device, the method further includes: the first electronic device obtains screen information and input device information, wherein the screen information comprises information of the second screen, and the input device information comprises information of the first input device.
In one possible design, the first electronic device updates the screen information when the second screen is added, removed, or changed in configuration; and/or when the input device of the first electronic device and/or the input device of the second electronic device is newly added, removed or changed in configuration, the first electronic device updates the input device information.
In one possible design, the system further comprises: the method comprises the steps that a first electronic device determines an association relation between a second input device and a first screen, wherein the first screen is a screen of the first electronic device or an external screen of the first electronic device; the first electronic device detects a second input event, wherein the input device corresponding to the second input event is the second input device; the first electronic equipment determines a screen acted by a first input event as a first screen according to the association relation; the first electronic device displays a second cursor on the first screen.
In one possible design, the first cursor and the second cursor are in different styles.
The technical effects of each aspect and the technical effects that may be achieved by each aspect in the fifth aspect are referred to the technical effects that may be achieved by each possible aspect in the fourth aspect, and the detailed description is not repeated here.
In a sixth aspect, there is provided 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. The instructions, when executed by an electronic device, cause the electronic device to perform the method in any of the possible implementations of the first aspect described above.
In a seventh aspect, there is provided 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. The instructions, when executed by an electronic device, cause the electronic device to perform the method in any of the possible implementations of the second aspect described above.
In an eighth aspect, there is provided 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. The instructions, when executed by an electronic device, cause the electronic device to perform the method in any of the possible implementations of the fourth aspect described above.
In a ninth aspect, there is provided a computer program product comprising instructions which, when run on a first electronic device, cause the electronic device to perform the method of the first aspect described above; or the electronic device performs the method of the second aspect; or performing the method of the fourth aspect.
In a ninth aspect, there is provided a computer readable storage medium comprising instructions that when run on a first electronic device cause the electronic device to perform the method of the first aspect above; or the electronic device performs the method of the second aspect; or the electronic device performs the method of the fourth aspect described above.
In a tenth aspect, a chip is provided for executing instructions, which chip performs the method of the first aspect above when the chip is running; or the chip performs the method of the second aspect; or the chip performs the method of the fourth aspect.
The technical effects of each of the sixth to tenth aspects and the technical effects that may be achieved by each of the aspects are referred to the technical effects that may be achieved by each of the first, second and fourth aspects, and are not repeated here.
Drawings
Fig. 1 is a schematic hardware structure of an electronic device according to an embodiment of the present application;
fig. 2 is a schematic software structure of an electronic device according to an embodiment of the present application;
FIG. 3 is a set of graphical user interfaces provided by an embodiment of the present application;
FIG. 4A is another set of graphical user interfaces provided by embodiments of the present application;
FIG. 4B is another set of graphical user interfaces provided by embodiments of the present application;
FIG. 5 is a schematic flow chart of a display method according to an embodiment of the present application;
FIG. 6 is another schematic flow chart of a display method provided by an embodiment of the present application;
FIG. 7 is another schematic flow chart diagram of a display method provided by an embodiment of the present application;
FIG. 8 is another schematic flow chart of a display method provided by an embodiment of the present application;
FIG. 9 is another schematic flow chart diagram of a display method provided by an embodiment of the present application;
FIG. 10 is another schematic flow chart of a display method provided by an embodiment of the present application;
fig. 11 is a schematic structural view of an apparatus provided in an embodiment of the present application.
Fig. 12 is another schematic structural view of an apparatus provided by an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings in the embodiments of the present application. Wherein, in the description of the embodiments of the present application, unless otherwise indicated, "/" means or, for example, a/B may represent a or B; "and/or" herein is merely an association relationship describing an association object, and means that three relationships may exist, for example, a and/or B may mean: a exists alone, A and B exist together, and B exists alone. In addition, in the description of the embodiments of the present application, "plural" or "plurality" means two or more than two.
The terms "first" and "second" are used below for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include one or more such feature. In the description of the present embodiment, unless otherwise specified, the meaning of "plurality" is two or more.
The method provided by the embodiment of the application can be applied to electronic equipment such as mobile phones, tablet computers, wearable equipment, vehicle-mounted equipment, augmented reality (augmented reality, AR)/Virtual Reality (VR) equipment, notebook computers, ultra-mobile personal computer (UMPC), netbooks, personal digital assistants (personal DIGITAL ASSISTANT, PDA) and the like, and the embodiment of the application does not limit the specific type of the electronic equipment.
By way of example, fig. 1 shows a schematic 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 (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, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an ear-piece interface 170D, a sensor module 180, keys 190, a motor 191, an indicator 192, a camera 193, a display 194, and a user identification (subscriber identification module, SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyro sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
It should be understood that the illustrated structure of the embodiment of the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the application, electronic device 100 may include more or fewer components than shown, or certain components may be combined, or certain components may be split, or different arrangements of 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, such as: 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), a controller, a memory, a video codec, a digital signal processor (DIGITAL SIGNAL processor, DSP), a baseband processor, and/or a neural Network Processor (NPU), etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors.
The controller may be a neural hub and a command center of the electronic device 100, among others. The controller can generate operation control signals according to the instruction operation codes and the time sequence signals to finish the control of instruction fetching and instruction execution.
A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby improving the efficiency of the system.
In some embodiments, the processor 110 may include one or more interfaces. The interfaces 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 receiver transmitter (universal asynchronous receiver/transmitter, UART) interface, a mobile industry processor interface (mobile industry processor interface, MIPI), a general-purpose input/output (GPIO) interface, a subscriber identity module (subscriber identity module, SIM) interface, and/or a universal serial bus (universal serial bus, USB) interface, among others.
The I2C interface is a bi-directional synchronous serial bus comprising a serial data line (SERIAL DATA LINE, SDA) and a serial clock line (derail clock line, SCL). In some embodiments, the processor 110 may contain multiple sets of I2C buses. The processor 110 may be coupled to the touch sensor 180K, charger, flash, camera 193, etc., respectively, through different I2C bus interfaces. For example: the processor 110 may be coupled to the touch sensor 180K through an I2C interface, such that the processor 110 communicates with the touch sensor 180K through an I2C bus interface to implement a touch function of the electronic device 100.
The I2S interface may be used for audio communication. In some embodiments, the processor 110 may contain multiple sets of I2S buses. The processor 110 may be coupled to the audio module 170 via an I2S bus to enable communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 may transmit an audio signal to the wireless communication module 160 through the I2S interface, to implement a function of answering a call through the bluetooth headset.
PCM interfaces may also be used for audio communication to sample, quantize and encode analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 may be coupled through a PCM bus interface. In some embodiments, the audio module 170 may also transmit audio signals to the wireless communication module 160 through the PCM interface to implement a function of answering a call through the bluetooth headset. Both the I2S interface and the PCM interface may be used for audio communication.
The UART interface is a universal serial data bus for asynchronous communications. The bus may be a bi-directional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, a UART interface is typically used to connect the processor 110 with the wireless communication module 160. For example: the processor 110 communicates with a bluetooth module in the wireless communication module 160 through a UART interface to implement a bluetooth function. In some embodiments, the audio module 170 may transmit an audio signal to the wireless communication module 160 through a UART interface, to implement a function of playing music through a bluetooth headset.
The MIPI interface may be used to connect the processor 110 to peripheral devices such as a display 194, a camera 193, and the like. The MIPI interfaces include camera serial interfaces (CAMERA SERIAL INTERFACE, CSI), display serial interfaces (DISPLAY SERIAL INTERFACE, DSI), and the like. In some embodiments, processor 110 and camera 193 communicate through a CSI interface to implement the photographing functions of electronic device 100. The processor 110 and the display 194 communicate via a DSI interface to implement the display functionality of the electronic device 100.
The GPIO interface may be configured by software. The GPIO interface may be configured as a control signal or as a data signal. In some embodiments, a GPIO interface may be used to connect the processor 110 with the camera 193, the display 194, the wireless communication module 160, the audio module 170, the sensor module 180, and the like. The GPIO interface may also be configured as an I2C interface, an I2S interface, a UART interface, an MIPI interface, etc.
The USB interface 130 is an interface conforming to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like. The USB interface 130 may be used to connect a charger to charge the electronic device 100, and may also be used to transfer data between the electronic device 100 and a peripheral device. And can also be used for connecting with a headset, and playing audio through the headset. The interface may also be used to connect other electronic devices, such as AR devices, etc.
It should be understood that the interfacing relationship between the modules illustrated in the embodiments of the present application is only illustrative, and is not meant to limit the structure of the electronic device 100. In other embodiments of the present application, the electronic device 100 may also employ different interfacing manners in the above embodiments, or a combination of multiple interfacing manners.
The charge management module 140 is configured to receive a charge input from a charger. The charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charge management module 140 may receive a charging input of a wired charger through the USB interface 130. In some wireless charging embodiments, the charge management module 140 may receive wireless charging input through a wireless charging coil of the electronic device 100. The charging management module 140 may also supply power to the electronic device through the power management module 141 while charging the battery 142.
The power management module 141 is used for connecting the battery 142, and the charge management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charge management module 140 and provides power to the processor 110, the internal memory 121, the external memory, the display 194, the camera 193, the wireless communication module 160, and the like. The power management module 141 may also be configured to monitor battery capacity, battery cycle number, battery health (leakage, impedance) and other parameters. In other embodiments, the power management module 141 may also be provided in the processor 110. In other embodiments, the power management module 141 and the charge management module 140 may be disposed 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, a modem processor, a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device 100 may be used to cover a single or multiple communication bands. Different antennas may also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed into a diversity antenna of a 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 a solution for wireless communication including 2G/3G/4G/5G, etc., applied to the electronic device 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA), etc. The mobile communication module 150 may receive electromagnetic waves from the antenna 1, perform processes such as filtering, amplifying, and the like on the received electromagnetic waves, and transmit the processed electromagnetic waves to the modem processor for demodulation. The mobile communication module 150 can amplify the signal modulated by the modem processor, and convert the signal into electromagnetic waves through the antenna 1 to radiate. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be provided in the same device as at least some of the modules of the processor 110.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then 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 then transferred to the application processor. The application processor outputs sound signals through an audio device (not limited to the speaker 170A, the receiver 170B, etc.), or displays images or video through the display screen 194. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be provided in the same device as the mobile communication module 150 or other functional module, independent of the processor 110.
The wireless communication module 160 may provide solutions for wireless communication including wireless local area network (wireless local area networks, WLAN) (e.g., wireless fidelity (WIRELESS FIDELITY, wi-Fi) network), bluetooth (BT), global navigation satellite system (global navigation SATELLITE SYSTEM, GNSS), frequency modulation (frequency modulation, FM), near field communication (NEAR FIELD communication, NFC), infrared (IR), etc., applied to the electronic device 100. The wireless communication module 160 may be one or more devices that integrate at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the electromagnetic wave signals, filters the electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, frequency modulate it, amplify it, and convert it to electromagnetic waves for radiation via the antenna 2.
In some embodiments, antenna 1 and mobile communication module 150 of electronic device 100 are coupled, and antenna 2 and wireless communication module 160 are coupled, such that electronic device 100 may communicate with a network and other devices through wireless communication techniques. The wireless communication techniques can include the Global System for Mobile communications (global system for mobile communications, GSM), general packet radio service (GENERAL PACKET radio service, GPRS), code division multiple access (code division multiple access, CDMA), wideband code division multiple access (wideband code division multiple access, WCDMA), time division code division multiple access (time-division code division multiple access, TD-SCDMA), long term evolution (long term evolution, LTE), BT, GNSS, WLAN, NFC, FM, and/or IR techniques, among others. The GNSS may include a global satellite positioning system (global positioning system, GPS), a global navigation satellite system (global navigation SATELLITE SYSTEM, GLONASS), a beidou satellite navigation system (beidou navigation SATELLITE SYSTEM, BDS), a quasi zenith satellite system (quasi-zenith SATELLITE SYSTEM, QZSS) and/or a satellite based augmentation system (SATELLITE BASED AUGMENTATION SYSTEMS, SBAS).
The electronic device 100 implements display functions 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 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 change display information.
The display screen 194 is used to display images, videos, and the like. The display 194 includes a display panel. The display panel may employ a Liquid Crystal Display (LCD) CRYSTAL DISPLAY, an organic light-emitting diode (OLED), an active-matrix organic LIGHT EMITTING diode (AMOLED), a flexible light-emitting diode (FLED), miniled, microLed, micro-oLed, a quantum dot LIGHT EMITTING diode (QLED), or the like. In some embodiments, the electronic device 100 may include 1 or N display screens 194, N being a positive integer greater than 1.
The electronic device 100 may implement photographing functions 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 data fed back by the camera 193. For example, when photographing, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electric signal, and the camera photosensitive element transmits the electric signal to the ISP for processing and is converted into an image visible to naked eyes. ISP can also optimize the noise, brightness and skin color of the image. The ISP can also optimize parameters such as exposure, color temperature and the like of a shooting scene. In some embodiments, the ISP may be provided in the camera 193.
The camera 193 is used to capture still images or video. The object generates an optical image through the lens and projects the optical image onto the photosensitive element. The photosensitive element may be a charge coupled device (charge coupled device, CCD) or a Complementary Metal Oxide Semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, which is then transferred to the ISP to be converted into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV, or the like format. In some embodiments, electronic device 100 may include 1 or N cameras 193, N being a positive integer greater than 1.
The digital signal processor is used for processing digital signals, and can process other digital signals besides digital image signals. For example, when the electronic device 100 selects a frequency bin, the digital signal processor is used to fourier transform the frequency bin energy, or the like.
Video codecs are used to compress or decompress digital video. The electronic device 100 may support one or more video codecs. In this way, the electronic device 100 may play or record video in a variety of encoding formats, such as: dynamic picture experts group (moving picture experts group, MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
The NPU is a neural-network (NN) computing processor, and can rapidly process input information by referencing a biological neural network structure, for example, referencing a transmission mode between human brain neurons, and can also continuously perform self-learning. Applications such as intelligent awareness of the electronic device 100 may be implemented through the NPU, for example: image recognition, face recognition, speech recognition, text understanding, etc.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to enable expansion of the memory capabilities of the electronic device 100. The external memory card communicates with the processor 110 through an external memory interface 120 to implement data storage functions. For example, files such as music, video, etc. are stored in an external memory card.
The internal memory 121 may be used to store computer executable program code including instructions. The processor 110 executes various functional applications of the electronic device 100 and data processing by executing 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 may store an application program (such as a sound playing function, an image playing function, etc.) required for at least one function of the operating system, etc. The storage data area may store data created during use of the electronic device 100 (e.g., audio data, phonebook, etc.), and so on. In addition, the internal memory 121 may include a high-speed random access memory, and may further include a nonvolatile memory such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (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 playing, recording, etc.
The audio module 170 is used to convert digital audio information into an analog audio signal output and also to convert an analog audio input into a digital audio signal. The audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be disposed in the processor 110, or a portion of the functional modules of the audio module 170 may be disposed in the processor 110.
The speaker 170A, also referred to as a "horn," is used to convert audio electrical signals into sound signals. The electronic device 100 may listen to music, or to hands-free conversations, through the speaker 170A.
A receiver 170B, also referred to as a "earpiece", is used to convert the audio electrical signal into a sound signal. When electronic device 100 is answering a telephone call or voice message, voice may be received by placing receiver 170B in close proximity to the human ear.
Microphone 170C, also referred to as a "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or transmitting voice information, the user can sound near the microphone 170C through the mouth, inputting a sound signal to 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, and may implement a noise reduction function in addition to collecting sound signals. In other embodiments, the electronic device 100 may also be provided with three, four, or more microphones 170C to enable collection of sound signals, noise reduction, identification of sound sources, directional recording functions, etc.
The earphone interface 170D is used to connect a wired earphone. The headset interface 170D may be a USB interface 130 or a 3.5mm open mobile electronic device platform (open mobile terminal platform, OMTP) standard interface, a american cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
The pressure sensor 180A is used to sense a pressure signal, and may convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A may be disposed on the display screen 194. The pressure sensor 180A is of various types, such as a resistive pressure sensor, an inductive pressure sensor, a capacitive pressure sensor, and the like. The capacitive pressure sensor may be a capacitive pressure sensor comprising at least two parallel plates with conductive material. The capacitance between the electrodes changes when a force is applied to the pressure sensor 180A. The electronic device 100 determines the strength of the pressure from the change in capacitance. When a touch operation is applied to the display screen 194, the electronic apparatus 100 detects the touch operation intensity according to the pressure sensor 180A. The electronic device 100 may also calculate the location of the touch based on the detection signal of the pressure sensor 180A. In some embodiments, touch operations that act on the same touch location, but at different touch operation strengths, may correspond to different operation instructions. For example: and executing an instruction for checking the short message when the touch operation with the touch operation intensity smaller than the first pressure threshold acts on the short message application icon. And executing an instruction for newly creating the short message when the touch operation with the touch operation intensity being greater than or equal to the first pressure threshold acts on the short message application icon.
The gyro sensor 180B may be used to determine a motion gesture of the electronic device 100. In some embodiments, the angular velocity of electronic device 100 about three axes (i.e., x, y, and z axes) may be determined by gyro sensor 180B. The gyro sensor 180B may be used for photographing anti-shake. For example, when the shutter is pressed, the gyro sensor 180B detects the shake angle of the electronic device 100, calculates the distance to be compensated by the lens module according to the angle, and makes the lens counteract the shake of the electronic device 100 through the reverse motion, so as to realize anti-shake. The gyro sensor 180B may also be used for navigating, somatosensory game scenes.
The air pressure sensor 180C is used to measure air pressure. In some embodiments, electronic device 100 calculates altitude from barometric pressure values measured by barometric pressure sensor 180C, aiding in positioning and navigation.
The magnetic sensor 180D includes a hall sensor. The electronic device 100 may detect the opening and closing of the flip cover using the magnetic sensor 180D. In some embodiments, when the electronic device 100 is a flip machine, the electronic device 100 may detect the opening and closing of the flip according to the magnetic sensor 180D. And then according to the detected opening and closing state of the leather sheath or the opening and closing state of the flip, the characteristics of automatic unlocking of the flip and the like are set.
The acceleration sensor 180E may detect the magnitude of acceleration of the electronic device 100 in various directions (typically three axes). The magnitude and direction of gravity may be detected when the electronic device 100 is stationary. The electronic equipment gesture recognition method can also be used for recognizing the gesture of the electronic equipment, and is applied to horizontal and vertical screen switching, pedometers and other applications.
A distance sensor 180F for measuring a distance. The electronic device 100 may measure the distance by infrared or laser. In some embodiments, the electronic device 100 may range using the distance sensor 180F to achieve quick focus.
The proximity light sensor 180G may include, for example, a Light Emitting Diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The electronic device 100 emits infrared light outward through the light emitting diode. The electronic device 100 detects infrared reflected light from nearby objects using a photodiode. When sufficient reflected light is detected, it may be determined that there is an object in the vicinity of the electronic device 100. When insufficient reflected light is detected, the electronic device 100 may determine that there is no object in the vicinity of the electronic device 100. The electronic device 100 can detect that the user holds the electronic device 100 close to the ear by using the proximity light sensor 180G, so as to automatically extinguish the screen for the purpose of saving power. The proximity light sensor 180G may also be used in holster mode, pocket mode to automatically unlock and lock the screen.
The ambient light sensor 180L is used to sense ambient light level. The electronic device 100 may adaptively adjust the brightness of the display 194 based on the perceived ambient light level. The ambient light sensor 180L may also be used to automatically adjust white balance when taking a photograph. Ambient light sensor 180L may also cooperate with proximity light sensor 180G to detect whether electronic device 100 is in a pocket to prevent false touches.
The fingerprint sensor 180H is used to collect a fingerprint. The electronic device 100 may utilize the collected fingerprint feature to unlock the fingerprint, access the application lock, photograph the fingerprint, answer the incoming call, etc.
The temperature sensor 180J is for detecting temperature. In some embodiments, the electronic device 100 performs a temperature processing strategy using the temperature detected by the temperature sensor 180J. For example, when the temperature reported by temperature sensor 180J exceeds a threshold, electronic device 100 performs a reduction in the performance of a processor located in the vicinity of temperature sensor 180J in order to reduce power consumption to implement thermal protection. In other embodiments, when the temperature is below another threshold, the electronic device 100 heats the battery 142 to avoid the low temperature causing the electronic device 100 to be abnormally shut down. In other embodiments, when the temperature is below a further threshold, the electronic device 100 performs boosting of the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperatures.
The touch sensor 180K, also referred to as a "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, which is also called a "touch screen". The touch sensor 180K is for detecting a touch operation acting thereon or thereabout. The touch sensor may communicate the detected touch operation to the application processor to determine the touch event type. Visual output related to touch operations may be provided through the display 194. In other embodiments, the touch sensor 180K may also be disposed on the surface of the electronic device 100 at a different location than the display 194.
The bone conduction sensor 180M may acquire a vibration signal. In some embodiments, bone conduction sensor 180M may acquire a vibration signal of a human vocal tract vibrating bone pieces. The bone conduction sensor 180M may also contact the pulse of the human body to receive the blood pressure pulsation signal. In some embodiments, bone conduction sensor 180M may also be provided in a headset, in combination with an osteoinductive headset. The audio module 170 may analyze the voice signal based on the vibration signal of the sound portion vibration bone block obtained by the bone conduction sensor 180M, so as to implement a voice function. The application processor may analyze the heart rate information based on the blood pressure beat signal acquired by the bone conduction sensor 180M, so as to implement a heart rate detection function.
The keys 190 include a power-on key, a volume key, etc. The keys 190 may be mechanical keys. Or may be a touch key. The electronic device 100 may receive key inputs, generating key signal inputs related to user settings and function controls of the electronic device 100.
The motor 191 may generate a vibration cue. The motor 191 may be used for incoming call vibration alerting as well as for touch vibration feedback. For example, touch operations acting on different applications (e.g., photographing, audio playing, etc.) may correspond to different vibration feedback effects. The motor 191 may also correspond to different vibration feedback effects by touching different areas of the display screen 194. Different application scenarios (such as time reminding, receiving information, alarm clock, game, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect may also support customization.
The indicator 192 may be an indicator light, may be used to indicate a state of charge, a change in charge, a message indicating a missed call, a notification, etc.
The SIM card interface 195 is used to connect a SIM card. The SIM card may be inserted into the SIM card interface 195, or removed from the SIM card interface 195 to enable contact and separation with the electronic device 100. The electronic device 100 may support 1 or N SIM card interfaces, N being a positive integer greater than 1. The SIM card interface 195 may support Nano SIM cards, micro SIM cards, and the like. The same SIM card interface 195 may be used to insert multiple cards simultaneously. The types of the plurality of cards may be the same or different. The SIM card interface 195 may also be compatible with different types of SIM cards. The SIM card interface 195 may also be compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to realize functions such as communication and data communication. In some embodiments, the electronic device 100 employs an embedded SIM (eSIM) card, namely: an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.
It should be appreciated that the phone cards in embodiments of the present application include, but are not limited to, SIM cards, eSIM cards, universal subscriber identity cards (universal subscriber identity module, USIM), universal integrated phone cards (universal integrated circuit card, UICC), and the like.
The software system of the electronic device 100 may employ a layered architecture, an event driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture. In the embodiment of the application, taking an Android system with a layered architecture as an example, a software structure of the electronic device 100 is illustrated.
Fig. 2 is a software configuration block diagram of the electronic device 100 according to the embodiment of the present application.
The layered architecture divides the software into several layers, each with distinct roles and branches. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into five layers, from top to bottom, an application layer, an application framework layer, an Zhuoyun rows (Android runtime, ART) and native C/c++ libraries, a hardware abstraction layer, and a kernel layer, respectively.
The application layer may include a series of application packages.
As shown in fig. 2, the application package may include applications for cameras, gallery, calendar, phone calls, maps, navigation, WLAN, bluetooth, music, video, short messages, etc.
The application framework layer provides an application programming interface (application programming interface, API) and programming framework for the application of the application layer. The application framework layer includes a number of predefined functions.
As shown in FIG. 2, the application framework layer may include a window manager, a content provider, a view system, a resource manager, a notification manager, an activity manager, an input manager, and so forth.
The window manager provides a Window Management Service (WMS) that may be used for window management, window animation management, surface management, and as a relay station for the input system.
The content provider is used to store and retrieve data and make such data accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phonebooks, etc. The content provider provides support for data access between applications.
The view system includes visual controls, such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display interface may be composed of one or more views. For example, a display interface including a text message notification icon may include a view displaying text and a view displaying a picture.
The resource manager provides various resources for the application program, such as localization strings, icons, pictures, layout files, video files, and the like.
The notification manager allows the application to display notification information in a status bar, can be used to communicate notification type messages, can automatically disappear after a short dwell, and does not require user interaction. Such as notification manager is used to inform that the download is complete, message alerts, etc. The notification manager may also be a notification in the form of a chart or scroll bar text that appears on the system top status bar, such as a notification of a background running application, or a notification that appears on the screen in the form of a dialog window. For example, a text message is prompted in a status bar, a prompt tone is emitted, the electronic device vibrates, and an indicator light blinks, etc.
The activity manager may provide activity management services (ACTIVITY MANAGER SERVICE, AMS) that may be used for system component (e.g., activity, service, content provider, broadcast receiver) start-up, handoff, scheduling, and application process management and scheduling tasks.
The input manager may provide an input MANAGER SERVICE service (IMS), which may be used to manage inputs to the system, such as touch screen inputs, key inputs, sensor inputs, etc. The IMS retrieves events from the input device node and distributes the events to the appropriate windows through interactions with the WMS.
The android runtime includes a core library and An Zhuoyun rows. The android runtime is responsible for converting source code into bytecodes, converting bytecodes into machine code, and running machine code. In compilation technology, android runtime supports Advanced (AOT) compilation technology and Just In Time (JIT) compilation technology, wherein AOT converts bytecodes into machine code and stores on memory during application installation; JIT converts a portion of the bytecode into machine code in real time as the application runs.
The core library is mainly used for providing the functions of basic Java class libraries, such as basic data structures, mathematics, IO, tools, databases, networks and the like. The core library provides an API for the user to develop the android application.
The native C/c++ library may include a plurality of functional modules. For example: surface manager, media frame, libc, openGL ES, SQLite, webkit, etc. The surface manager is used for managing the display subsystem and providing fusion of 2D and 3D layers for a plurality of application programs. Media frames support a variety of commonly used audio, video format playback and recording, still image files, and the like. The media library may support a variety of audio and video encoding formats, such as MPEG4, h.264, MP3, AAC, AMR, JPG, PNG, etc. libc provides a library of standard C functions. OpenGL ES provides for drawing and manipulation of 2D graphics and 3D graphics in applications. SQLite provides a lightweight relational database for applications. Webkit provides support for the browser kernel.
The modules in the application framework layer are written in Java language, the modules in the native C/C++ library are written in C/C++ language, and communication between the modules can be realized through Java local interfaces (Java NATIVE INTERFACE, JNI).
The hardware abstraction layer runs in a user space (user space), encapsulates the kernel layer driver, provides a calling interface for an upper layer, and can comprise a display module, a camera module, an audio module and a Bluetooth module.
The kernel layer is a layer between hardware and software. The kernel layer may contain display drivers, camera drivers, audio drivers, bluetooth drivers, and may also include other sensor drivers. The kernel layer provides hardware drive and also supports functions such as memory management, system process management, file system management, power management and the like.
It should be understood that the technical scheme in the embodiment of the application can be used in Android, IOS, hong Meng and other systems.
Currently, users may cooperatively use multiple devices or multiple screens to improve the efficiency of use and user experience. For example, a user's notebook computer may be externally connected to a display (or screen), so that the user may use a set of input devices to control both the screen of the notebook computer and the screen of the external display. By way of example, the input device may include a standard human interface device (human INTERFACE DEVICE, HID), such as a keyboard, mouse, joystick, touch pad, or the like.
However, in the existing scheme, when the device of the user is externally connected with the display, the input device can only input to one place at the same time, and a plurality of users cannot control different screens at the same time, so that the efficiency of simultaneous use of multiple users is affected.
Based on the above, the embodiment of the application provides a display method and electronic equipment, and the method can be applied to a scene in which the electronic equipment is externally connected with a display or a scene in which a plurality of electronic equipment are cooperatively used, so that a solution is provided for a scene in which multiple users are simultaneously used.
Several exemplary use scenarios provided by embodiments of the present application are described below in conjunction with the accompanying drawings.
FIG. 3 is a set of graphical user interfaces (GRAPHICAL USER INTERFACE, GUI) provided by an embodiment of the present application.
As shown in fig. 3, the notebook computer is externally connected with a display, and the notebook computer displays a memo application, and at the same time, a game application run by the notebook computer can be displayed on the externally connected display. That is, a plurality of display screens are controlled by one electronic device. The notebook computer can be externally connected with a mouse, and the display can be externally connected with a game handle. Further, the user 1 can operate the memo application through the keyboard and the mouse of the notebook computer, and the user 2 can control the game application displayed on the display through the gamepad. The two users can operate at the same time and do not interfere with each other. It will be appreciated that the notebook computer may also be externally connected with two or more displays for more users to operate simultaneously,
For example, the notebook computer and the display may be connected by a wired connection or a wireless connection. The input device and the notebook (or display) may also be connected by wire or wirelessly. The wireless connection may be a high-fidelity wireless communication (Wi-Fi) connection, a bluetooth connection, an infrared connection, an NFC connection, a ZigBee connection, or the like. The wireless connection may also be a long range connection including, but not limited to, a mobile network supporting 2g,3g,4g,5g and subsequent standard protocols. For example, multiple electronic devices may log onto the same user account (e.g., hua as an account) and then make a remote connection through a server. By way of example, the plurality of electronic devices may be connected by a super terminal (e.g.: a super terminal composed of multiple devices).
FIG. 4A illustrates another set of GUIs provided by an embodiment of the present application.
As shown in fig. 4A, the notebook computer and the tablet may be in a collaborative mode, with the notebook computer and the tablet running respective systems, i.e., the systems of the two devices controlling respective screens, respectively. For example, the notebook computer and the tablet may be connected by a wired connection or a wireless connection, and the input device and the notebook computer (or tablet) may be connected by a wired connection or a wireless connection. The system of the notebook computer runs the memo application, the system of the tablet computer runs the chat application, and a mouse externally connected with the notebook computer can pass through the tablet. If the user selects to use the externally connected mouse control panel of the notebook computer, when the user 1 uses the externally connected mouse control panel of the notebook computer, the user 2 can simultaneously use the keyboard of the notebook computer to input the memo application, and the two users can simultaneously operate without interference. It will be appreciated that fig. 4 is presented by way of example with two devices having independent systems cooperating, and the present application is not limited to the number of devices in a cooperating mode.
FIG. 4B illustrates another set of GUIs provided by an embodiment of the present application.
As shown in fig. 4B, the notebook computer and the tablet may be in a collaborative mode, the notebook computer and the tablet may operate their respective systems, and the tablet may be externally connected to a display. The notebook computer and the tablet may be connected by a wired or wireless connection, the tablet and the external display may be connected by a wired or wireless connection, and the input device and the notebook computer, the tablet, or the external display may be connected by a wired or wireless connection. The system of the notebook computer runs the memo application, the system of the tablet computer runs the chat application, and meanwhile, the game application running on the tablet computer can be displayed on an external display. In this scenario, if the user selects to use the external mouse control tablet of the notebook computer, when the user 1 uses the external mouse control tablet of the notebook computer, the user 2 can simultaneously use the keyboard of the notebook computer to input the memo application, and simultaneously, the user 3 can control the game application displayed on the external display through the game handle, and the three users can simultaneously operate without interference. It will be appreciated that in this scenario, the notebook computer and tablet computer may each be externally connected to one or more displays, as the notebook computer and tablet computer operate independent systems, as the application is not limited in this regard.
In some embodiments, a user may associate an input device with a corresponding device through an interactive interface. For example, in the embodiment shown in fig. 3, when the user connects the external mouse to the notebook computer, the user can select the external mouse to control the notebook computer or the display through the configuration interface, and similarly, when the user connects the game handle to the notebook computer or the display, the user can also select the game handle to control the notebook computer or the display through the configuration interface. For another example, in the embodiment shown in fig. 4A, when the user accesses the external mouse to the notebook computer, the user may select the external mouse through the configuration interface to control the notebook computer or the tablet.
In other embodiments, the device corresponding to the input device may be associated with itself according to the scene. For example, in the embodiment shown in fig. 3, when the user connects the joystick to the notebook computer or the display screen, the notebook computer may associate the joystick with the display by default, because the interface displayed on the display screen at this time is a game application interface.
By the method provided by the embodiment of the application, the input device can be associated with the device or screen which needs to be controlled. Furthermore, a plurality of users can respectively control a plurality of devices or screens without interference. The method provided by the embodiment of the application can be applied to a scene of controlling a plurality of screens by one device, such as a scene of externally connecting a display by one device (shown in figure 3), a scene of controlling a plurality of display screens of a vehicle by one system, and the like. The method provided by the embodiment of the application can also be applied to a scene that a plurality of devices respectively control a plurality of screens, for example, a scene that a plurality of devices work cooperatively (as shown in fig. 4A). The method provided by the embodiment of the application can also be applied to a scene (shown in fig. 4B) that a plurality of devices respectively control respective screens and at least one device is externally connected with a display, and the application is not limited to this.
Two sets of GUIs in the embodiment of the present application are described above with reference to fig. 3, fig. 4A and fig. 4B, and the implementation process of the technical solution of the embodiment of the present application is described below with reference to the accompanying drawings.
Fig. 5 shows a schematic diagram of interactions between modules of an electronic device in a scenario in which one electronic device controls multiple screens. For example, a scene in which a plurality of screens are controlled by one device is shown in fig. 3. The hardware and software structures of the electronic device may be described with reference to fig. 1 and 2 with respect to the electronic device 100.
In some embodiments, as shown in fig. 5, an electronic device may include a multi-device input management module, an input subsystem, a screen management subsystem, and a screen display subsystem. Wherein the multi-device input management module may be used to manage correspondence between input devices and screens, manage cursors on different screens, etc. An input subsystem may be used to be responsible for managing the input devices, handling input events. The screen management subsystem may be used to take care of the processing of the display screen. The graphics display subsystem may be responsible for rendering content on a screen. As shown in fig. 5, the method may include, but is not limited to, the steps of:
S501: the multi-device input management module obtains screen information from the screen management subsystem.
Wherein the screen information may include information of all screens in the current system. Typically, each screen has a different screen identifier (DISPLAY ID), and the screen identifier is designated to determine which screen to display on, thus enabling multi-screen display.
For example, the screen information may include screen identifiers of all screens in the current system, and the multi-device input management module may obtain the screen identifiers corresponding to all the screens in the current system from the screen management subsystem. Alternatively, the screen management subsystem may monitor changes in the screen, e.g., adding a screen, removing a current screen, etc., in real time or at intervals. The multi-device input management module may obtain updated screen information from the screen management subsystem when a screen change occurs.
Still further exemplary, the screen information may also include configuration information, such as size, resolution, etc., of all screens in the current system. Optionally, the multi-device input management module may also obtain updated screen information from the screen management subsystem as the configuration (e.g., size, resolution) of the current screen changes.
S502: the multi-device input management module obtains input device information from the input subsystem.
Wherein the input device information may include information of all input devices in the current system. By way of example, the input device information may include identification, type information, etc. of all input devices in the current system. The multi-device input management module may perform classification management on the input devices according to the types of the input devices (e.g., mouse, keyboard, etc.). Alternatively, the input subsystem may monitor changes in the input device in real time or at intervals, e.g., adding an input device, removing a current input device, etc. The multi-device input management module may obtain updated input device information from the input subsystem when the input device changes.
As yet another example, the input device information may also include configuration information for all input devices in the current system, such as whether the input device supports cursor manipulation, etc. Optionally, the multi-device input management module may also obtain updated input device information from the input subsystem when a configuration of the input device changes.
It will be appreciated that the step S501 and the step S502 may be performed simultaneously or sequentially, and the execution sequence of the step S501 and the step S502 is not limited in the present application.
S503: the multi-device input management module determines an association between the screen and the input device.
In one implementation, a user may manually configure an association between a screen and an input device through a configuration interface, and further, the multi-device input management module may obtain the association between the screen and the input device according to a setting of the user. In another implementation, the system may automatically determine an association between the screen and the input device according to a scenario, a user habit, and the like, and further, the multi-device input management module may determine the association between the screen and the input device. The present application is not limited in the process and manner of associating a screen with an input device.
Optionally, the user may configure cursor patterns of different input devices or different screens through the configuration interface, and further, the multi-device input management module may obtain the cursor patterns of different input devices or different screens according to the setting of the user. The cursor style may include, among other things, the shape, color, etc. of the cursor display. Thus, the user can distinguish different screens through different cursor patterns, and the use efficiency of multiple users is improved.
S504: the input subsystem obtains an association between the screen and the input device from the multi-device input management module.
Optionally, the input subsystem may also obtain cursor patterns for different input devices or different screens from the multi-device input management module.
S505: when the input device is a cursor attribute and there is no cursor on the screen with which the input device is associated, the input subsystem creates a cursor on the screen with which the input device is associated.
Where the input device is a cursor attribute, it is understood that the input device supports cursor operations. For example, the INPUT subsystem may determine whether the INPUT DEVICE supports CURSOR operation based on characteristics of the INPUT DEVICE, e.g., when the INPUT DEVICE has an INPUT_DEVICE_CLASS_CURSOR characteristic, the INPUT DEVICE may be considered to support CURSOR operation.
It will be appreciated that since only one cursor need be displayed on each screen, the input subsystem may not need to recreate the cursor when the cursor was originally present on the screen associated with the input device, and may create the cursor on the screen associated with the input device when the cursor was not originally present on the screen associated with the input device. In this way, at most one cursor can be arranged on each screen, and the interference of the user operation is avoided.
S506: the input subsystem distributes events to the graphics display subsystem.
S507: the graphic display subsystem displays a cursor on a screen corresponding to the input device.
Alternatively, the graphic display subsystem may display the cursor on the screen corresponding to the input device in a corresponding cursor style according to the cursor style corresponding to different input devices or different screens.
Through the steps, the corresponding relation between the input equipment and the screen can be established. Further, the method may further include:
S508: the input subsystem detects a first input event and determines a screen on which the first input event is acting.
For example, when a user operates a first input device, the input subsystem may detect a first input event corresponding to the first input device.
In a possible implementation manner, in step S504, the input subsystem may obtain an association relationship between the screen and the input device from the multi-device input management module, and in step S508, the input subsystem may determine, according to the association relationship between the screen and the input device and the first input device corresponding to the first input event, a screen on which the first input event acts.
In another possible implementation, the first input event may be sent to the multi-device input management module when the input subsystem detects the first input event. The multi-device input management module may determine a screen on which the first input event acts according to an association between the screen and the input device and the first input device corresponding to the first input event. Further, the multi-device input management module may send the screen acted upon by the first input event to the input subsystem, such that the input subsystem may obtain the screen acted upon by the first input event. Alternatively, in this implementation, in step S504, the input subsystem may not need to obtain the association relationship between the screen and the input device from the multi-device input management module.
S509: the input subsystem distributes input events to the graphical display subsystem.
S510: the graphic display subsystem displays a cursor on a screen corresponding to the input device.
Alternatively, the graphic display subsystem may display the cursor on the screen corresponding to the input device in a corresponding cursor style according to the cursor style corresponding to different input devices or different screens.
In other embodiments, the electronic device may include an input subsystem, a screen management subsystem, and a screen display subsystem. The operations of the multi-device input management module shown in fig. 5 may be performed by the input subsystem, for example, the multi-device input management module may be one of the input subsystem. For example, the input subsystem may acquire all screen information in the current system from the screen management subsystem, and further, the input subsystem may determine an association relationship between the screen and the input device. When the input subsystem detects the first input event, the input subsystem can determine a screen acted by the first input event according to the association relation between the acquired screen and the input device, and distribute the input event to the graphic display subsystem.
Fig. 6 shows a schematic flow chart of a display method according to an embodiment of the present application, where the method may be performed by a first electronic device, which may be the electronic device shown in fig. 5. The method comprises the following steps:
s601: the first electronic device determines an association relationship between the first input device and the first screen.
The first screen is a screen of the first electronic device or an external screen of the first electronic device, that is, the first screen is controlled by the first electronic device.
For example, the first electronic device may determine an association between the screen and the input device according to a configuration of the user, e.g., in response to a first operation of the user, the first electronic device determines an association between the first input device and the first screen, where the first operation may be a configuration operation of the user on the interface. Or the first electronic device can also automatically determine the association relationship between the screen and the input device according to scenes, custom of users and the like, and the application does not limit the process and the mode of acquiring the association relationship between the screen and the input device by the first electronic device.
For example, as shown in fig. 5, the association relationship between the screen and the input device may be determined by a multi-device input management module in the first electronic device. The multi-device input management module may be a module in the input subsystem, or may be an independent module in the first electronic device.
In some embodiments, prior to step S601, the first electronic device may further acquire screen information and input device information. For example, as shown in fig. 5, the multi-device input management module in the first electronic device may acquire screen information and input device information. The screen information may include information of a screen of the first electronic device and information of an external screen, and the input device information may include information of all input devices of the first electronic device. The screen information includes, for example, the screen identification, configuration information, and the like of the first screen described above. The input device information includes information of the first input device, for example, identification, configuration information, and the like of the first input device.
In some embodiments, the screen controlled by the first electronic device (i.e. the screen of the first electronic device or the external screen of the first electronic device) is newly added, removed or changed in configuration, and the first electronic device may update the screen information. When the input device of the first electronic device is newly added, removed or changed in configuration, the first electronic device can update the input device information.
S602: the method comprises the steps that a first electronic device detects a first input event, wherein input devices corresponding to the first input event are first input devices.
S603: the first electronic device determines that the screen acted by the first input event is the first screen according to the association relation between the first input device and the first screen.
For example, as shown in fig. 5, an input subsystem in a first electronic device may determine a screen on which a first input event is acting upon detecting the first input event.
S604: the first electronic device displays a first cursor on a first screen.
The first electronic device may be configured to send the first input event to the first screen.
In some embodiments, the first electronic device detects the second input event, determines that the screen on which the second input event acts is a second screen, and the first electronic device may distribute the second input event to the second screen such that a second cursor is displayed on the second screen. Alternatively, the patterns of the first cursor and the second cursor may be the same or different. The second screen is a screen of the first electronic device or an external screen of the first electronic device, and is different from the first screen.
FIG. 7 shows a schematic diagram of the interaction between the modules when the first electronic device and the second electronic device are in a collaborative mode. For example, fig. 4A or 4B shows a scenario in which a plurality of devices work cooperatively. The hardware structure and the software structure of the first electronic device and the second electronic device may refer to the related descriptions about the electronic device 100 in fig. 1 and 2.
In some embodiments, as shown in fig. 7, the first electronic device and the second electronic device may be connected by a wired connection or a wireless connection, and the first electronic device may include a multi-device input management module, an input subsystem, a screen management subsystem, and a screen display subsystem. The second electronic device may include a multi-device input management module, an input subsystem, and a screen display subsystem. Wherein the function of the individual modules can be seen from the relevant description of the embodiment shown in fig. 5. As shown in fig. 7, the method may include, but is not limited to, the steps of:
S701: the multi-device input management module of the first electronic device obtains screen information of the first electronic device from a screen management subsystem of the first electronic device.
For example, the screen information may include information of all screens of the first electronic device. All the screens of the first electronic device may include a screen of the first electronic device and an external screen of the first electronic device. Optionally, when the screen of the first electronic device is newly added, removed or configured to change, the multi-device input management module of the first electronic device may acquire updated screen information from a screen management subsystem of the first electronic device.
S702: the multi-device input management module of the first electronic device obtains input device information from an input subsystem of the first electronic device.
Wherein the input device information may include information of all input devices of the first electronic device. Optionally, when the input device is newly added, removed, or configuration changes, the multi-device input management module of the first electronic device may obtain updated input device information from the input subsystem of the first electronic device.
It is to be understood that the step S701 and the step S702 may be performed simultaneously or sequentially, and the execution sequence of the step S701 and the step S702 is not limited in the present application.
S703: the multi-device input management module of the first electronic device determines that the input device is associated with a screen of the first electronic device or a second electronic device.
For example, a first electronic device may have a screen 1 and a screen 2, and a second electronic device may have a screen 3 and a screen 4. The multi-device input management module of the first electronic device may determine that the input device 1 is associated with the screen 1 of the first electronic device, that the input device 2 is associated with the screen 2 of the first electronic device, that the input device 3 and the input device 4 are associated with the second electronic device.
Also, the user may manually configure an association between the screen and the input device through the configuration interface, or the first electronic device may automatically determine an association between the screen and the input device according to a scene, a user habit, etc., and further, the multi-device input management module may determine an association between the screen and the input device. The present application is not limited in the process and manner of associating a screen with an input device.
Optionally, the user may also configure the cursor patterns of different input devices or different screens through the configuration interface, or the first electronic device may automatically set different cursor patterns for different input devices or different screens.
S704: when the input device is assigned to the second electronic device, the multi-device input management module of the first electronic device sends a first message to the multi-device input management module of the second electronic device.
S705: and after the multi-device input management module of the second electronic device receives the first message, creating a virtual input device.
For example, a multi-device input management module of the second electronic device may create the virtual input device, which may be managed by an input subsystem of the second electronic device.
S706: the input subsystem of the second electronic device distributes the input event to the graphical display subsystem of the second electronic device.
S707: the graphical display subsystem of the second electronic device displays a cursor on a screen of the second electronic device.
S708: the input subsystem of the first electronic device obtains the association relationship between the screen and the input device from the multi-device input management module of the first electronic device.
For example, the input subsystem of the first electronic device may obtain, from the multi-device input management module of the first electronic device, an association between the input device and a screen of the first electronic device or a second electronic device. Optionally, the input subsystem of the first electronic device may further obtain cursor patterns of different input devices from the multi-device input management module of the first electronic device.
S709: when the input device is a cursor attribute and there is no cursor on the screen of the first electronic device with which the input device is associated, the input subsystem of the first electronic device creates a cursor on the screen of the first electronic device with which the input device is associated.
S710: the input subsystem of the first electronic device distributes the event to the graphical display subsystem of the first electronic device.
S711: the graphic display subsystem of the first electronic device displays a cursor on a screen corresponding to the input device.
Optionally, the graphic display subsystem of the first electronic device may display a cursor on a screen of the first electronic device corresponding to the input device in a corresponding cursor style according to the cursor styles corresponding to different input devices or different screens.
It will be appreciated that the present application is not limited to the execution sequence of steps S705-S707 and steps S708-S711.
Through the steps, the corresponding relation between the input device and the screen of the first electronic device or the second electronic device can be established. Further, the method may further include:
S712: the input subsystem of the first electronic device detects a first input event and determines a screen on which the first input event is acting.
In a possible implementation manner, in step S708, the input subsystem of the first electronic device may obtain an association relationship between the screen and the input device from the multi-device input management module of the first electronic device, and in step S712, the input subsystem of the first electronic device may determine, according to the association relationship between the screen and the input device and the first input device corresponding to the first input event, the screen on which the first input event acts.
In another possible implementation, after the input subsystem of the first electronic device detects the first input event, the first input event may be sent to a multi-device input management module of the first electronic device. The multi-device input management module of the first electronic device may determine a screen on which the first input event acts according to an association relationship between the screen and the input device and the first input device corresponding to the first input event. Further, the multi-device input management module of the first electronic device may send the screen acted upon by the first input event to the input subsystem, such that the input subsystem of the first electronic device obtains the screen acted upon by the first input event.
For example, the input subsystem of the first electronic device detecting the first input event may determine that the first input event is acting on a certain screen of the first electronic device or that the first input event is acting on the second electronic device. In step S712, when the first electronic device determines that the first input event acts on the second electronic device, the method may further include the following steps S713-S716.
S713: and when the screen acted by the first input event is the second electronic device, sending the first input event to a multi-device input management module of the second electronic device.
S714: the multi-device input management module of the second electronic device sends the first input event to a virtual input device managed by an input subsystem of the second electronic device.
S715: the input subsystem of the second electronic device distributes the first input event to the graphical display subsystem of the second electronic device.
S716: the graphical display subsystem of the second electronic device displays a cursor on a screen of the second electronic device.
For example, when the first input device corresponding to the first input event is the input device 3, the second electronic device displays a cursor on a screen (e.g., screen 3 or screen 4) of the second electronic device.
In step S712, when the first electronic device determines that the first input event acts on a certain screen of the first electronic device, the method may further include the following steps S717-S718.
S717: when the screen on which the first input event acts is a screen of the first electronic device, the input subsystem of the first electronic device distributes the input event to the graphical display subsystem.
S718: the graphic display subsystem of the first electronic device displays a cursor on a screen corresponding to the input device.
For example, when the first input device corresponding to the first input event is the input device 1, the first electronic device displays a cursor on the screen 1, and when the first input device corresponding to the first input event is the input device 2, the first electronic device displays a cursor on the screen 2.
Optionally, in step S716 and/or step S718, the graphic display subsystem may display the cursor on the screen corresponding to the input device in a corresponding cursor style according to the cursor styles corresponding to the different input devices.
In other embodiments, the first electronic device may include an input subsystem, a screen management subsystem, and a screen display subsystem. The operation of the multi-device input management module of the first electronic device shown in fig. 7 may be performed by an input subsystem of the first electronic device, for example, the multi-device input management module may be one of the input subsystems.
FIG. 8 shows a schematic diagram of the interaction between the modules when the first electronic device and the second electronic device are in a collaborative mode. For example, fig. 4A or 4B shows a scenario in which a plurality of devices work cooperatively.
In some embodiments, as shown in fig. 8, the first electronic device and the second electronic device may be connected by a wired connection or a wireless connection, and the first electronic device may include a multi-device input management module, an input subsystem, a screen management subsystem, and a screen display subsystem. The second electronic device may include a multi-device input management module, an input subsystem, a screen management subsystem, and a screen display subsystem. Wherein the function of the individual modules can be seen from the relevant description of the embodiment shown in fig. 5. As shown in fig. 8, the method may include, but is not limited to, the steps of:
S801a: the multi-device input management module of the first electronic device obtains screen information of the first electronic device from a screen management subsystem of the first electronic device.
S801b: the multi-device input management module of the second electronic device obtains screen information of the second electronic device from a screen management subsystem of the second electronic device.
The process of acquiring the screen information by the multi-device input management module of the first electronic device and the multi-device input management module of the second electronic device may refer to the related description of acquiring the screen information by the multi-device input management module of the first electronic device in the embodiment shown in fig. 5, which is not described herein.
S802: the multi-device input management module of the first electronic device obtains screen information of the second electronic device from the multi-device input management module of the second electronic device.
For example, the multi-device input management module of the first electronic device may obtain the screen information of the second electronic device from the multi-device input management module of the second electronic device through a wired or wireless connection between the first electronic device and the second electronic device.
S803a: the multi-device input management module of the first electronic device obtains input device information of the first electronic device from an input subsystem of the first electronic device.
S803b: the multi-device input management module of the second electronic device obtains input device information of the second electronic device from an input subsystem of the second electronic device.
The process of the input management module of the first electronic device and the multi-device input management module of the second electronic device obtaining the input device information may refer to a description related to the obtaining of the input device information by the multi-device input management module of the first electronic device in the embodiment shown in fig. 5, which is not described herein.
It can be understood that the present application does not limit the order in which the first electronic device and the second electronic device acquire the screen information and the input device information.
S804a: the multi-device input management module of the first electronic device determines that the input device is associated with a screen of the first electronic device or a screen of the second electronic device.
In an implementation manner, in the steps S803a and S803b, the multi-device input management module of the first electronic device may obtain information of the corresponding input device, and the multi-device input management module of the second electronic device may also obtain information of the corresponding input device.
Further, in step S804a, the multi-device input management module of the first electronic device determines that the input device of the first electronic device is associated with the screen of the first electronic device or the screen of the second electronic device.
For example, a first electronic device may have a screen 1 and a screen 2, the first electronic device having an input device 1 and an input device 2, a second electronic device may have a screen 3 and a screen 4, and the second electronic device having an input device 3 and an input device 4. The multi-device input management module of the first electronic device may determine that the input device 1 is associated with the screen 1 of the first electronic device, determine that the input device 2 is associated with the screen 2 of the first electronic device.
In another implementation, the multi-device input management module of the first electronic device may obtain information of all input devices connected to the first electronic device and the second electronic device. For example, after step S803b, the multi-device input management module of the first electronic device may acquire input device information of the second electronic device from the multi-device input management module of the second electronic device.
Further, in step S804a, the multi-device input management module of the first electronic device determines that all the input devices are associated with the screen of the first electronic device or the screen of the second electronic device.
In yet another implementation, the multi-device input management module of the second electronic device may also obtain information of all input devices connected to the first electronic device and the second electronic device.
For example, a first electronic device may have a screen 1 and a screen 2, the first electronic device having an input device 1 and an input device 2, a second electronic device may have a screen 3 and a screen 4, and the second electronic device having an input device 3 and an input device 4. The multi-device input management module of the first electronic device may determine that the input device 1 is associated with the screen 1 of the first electronic device, that the input device 2 is associated with the screen 2 of the first electronic device, that the input device 3 is associated with the screen 3 of the second electronic device, that the input device 4 is associated with the screen 4 of the second electronic device.
S804b: the multi-device input management module of the second electronic device determines that the input device of the second electronic device is associated with a screen of the first electronic device or a screen of the second electronic device.
For example, the multi-device input management module of the second electronic device may determine that the input device 3 is associated with the screen 3 of the second electronic device, and that the input device 4 is associated with the screen 4 of the second electronic device.
S805: the multi-device input management module of the first electronic device sends a first message to the multi-device input management module of the second electronic device when the input device is assigned to the screen of the second electronic device.
S806: and after the multi-device input management module of the second electronic device receives the first message, creating a virtual input device.
For example, a multi-device input management module of the second electronic device may create the virtual input device, which may be managed by an input subsystem of the second electronic device.
S807: the input subsystem of the second electronic device obtains the corresponding relation between the screen and the input device from the multi-device input management module of the second electronic device.
For example, the input subsystem of the second electronic device may obtain, from the multi-device input management module of the second electronic device, an association between the input device distributed to the screen of the second electronic device and the screen of the second electronic device. Optionally, the input subsystem of the second electronic device may further obtain a cursor style of a different input device from the multi-device input management module of the second electronic device.
S808: when the input device is a cursor attribute and there is no cursor on the screen of the second electronic device with which the input device is associated, the input subsystem of the second electronic device creates a cursor on the screen of the second electronic device with which the input device is associated.
S809: the input subsystem of the second electronic device distributes the event to the graphical display subsystem of the second electronic device.
S810: the graphic display subsystem of the second electronic device displays a cursor on a screen corresponding to the input device.
Optionally, the graphic display subsystem of the second electronic device may display the cursor on the screen of the second electronic device corresponding to the input device in a corresponding cursor style according to the cursor styles corresponding to different input devices or different screens.
S811: the input subsystem of the first electronic device obtains the association relationship between the screen and the input device from the multi-device input management module of the first electronic device.
For example, the input subsystem of the first electronic device may obtain, from the multi-device input management module of the first electronic device, an association relationship between the input device of the first electronic device and a screen of the first electronic device or a screen of the second electronic device. Further exemplary, the input subsystem of the first electronic device may obtain, from the multi-device input management module of the first electronic device, an association relationship between all of the input devices and the screen of the first electronic device or the screen of the second electronic device. Optionally, the input subsystem of the first electronic device may further obtain cursor patterns of different input devices from the multi-device input management module of the first electronic device.
S812: when the input device is a cursor attribute and there is no cursor on the screen of the first electronic device with which the input device is associated, the input subsystem of the first electronic device creates a cursor on the screen of the first electronic device with which the input device is associated.
S813: the input subsystem of the first electronic device distributes the event to the graphical display subsystem of the first electronic device.
S814: the graphic display subsystem of the first electronic device displays a cursor on a screen corresponding to the input device.
Optionally, the graphic display subsystem of the first electronic device may display a cursor on a screen of the first electronic device corresponding to the input device in a corresponding cursor style according to the cursor styles corresponding to different input devices or different screens.
It will be appreciated that the present application is not limited to the execution sequence of steps S807-S810, and steps S811-S814.
In some embodiments, in step S804a, when the multi-device input management module of the first electronic device determines that all the input devices are associated with the screen of the first electronic device or the screen of the second electronic device, the first electronic device may serve as a master device to manage all the input devices. At this time, in step S805, the first electronic device may allocate input devices of the first electronic device and the second electronic device. In step S811, the input subsystem of the first electronic device may acquire, from the multi-device input management module of the first electronic device, association relationships between all the input devices and the screen of the first electronic device or the screen of the second electronic device.
In other embodiments, in step S804a, the multi-device input management module of the first electronic device determines that the input device of the first electronic device is associated with the screen of the first electronic device or the screen of the second electronic device, and in step S804b, the multi-device input management module of the second electronic device determines that the input device of the second electronic device is associated with the screen of the first electronic device or the screen of the second electronic device. At this time, in step S805, the first electronic device may assign an input device of the first electronic device. In step S811, the input subsystem of the first electronic device may acquire, from the multi-device input management module of the first electronic device, an association relationship between the input device of the first electronic device and the screen of the first electronic device or the screen of the second electronic device. Similarly, the second electronic device may also assign an input device to the second electronic device. Regarding the process of the second electronic device to assign the input device of the second electronic device, reference may also be made to the related expressions in the above embodiment, which are not repeated herein.
Through the steps, the corresponding relation between the input device and the screen of the first electronic device or the screen of the second electronic device can be established. Further, the method may further include:
S815: the input subsystem of the first electronic device detects a first input event and determines a screen on which the first input event is acting.
The specific process of determining, by the input subsystem of the first electronic device, the screen on which the first input event acts may be referred to as related description in the embodiment shown in fig. 7, and the disclosure is not repeated herein.
For example, the input subsystem of the first electronic device detecting the first input event may determine that the first input event is acting on a certain screen of the first electronic device or that the first input event is acting on a certain screen of the second electronic device. In step S815, when the first electronic device determines that the first input event acts on a certain screen of the second electronic device, the method may further include the following steps S816 to S820.
S816: and when the screen acted by the first input event is the screen of the second electronic device, sending the first input event to a multi-device input management module of the second electronic device.
S817: the multi-device input management module of the second electronic device sends the first input event to a virtual input device managed by an input subsystem of the second electronic device.
S818: the input subsystem of the second electronic device determines a screen on which the first input event is to act.
Illustratively, the second electronic device has stored therein an association between an input device distributed to a screen of the second electronic device and the screen of the second electronic device, and further, the input subsystem of the second electronic device may determine the screen of the second electronic device on which the first input event is acting.
For a specific process of determining, by the input subsystem of the second electronic device, the screen on which the first input event acts, refer to a description related to determining, by the input subsystem of the first electronic device, the screen on which the first input event acts in the embodiment shown in fig. 7, which is not described herein in detail.
S819: the input subsystem of the second electronic device distributes the first input event to the graphical display subsystem of the second electronic device.
S820: and the graphic display subsystem of the second electronic device displays a cursor on a screen of the second electronic device corresponding to the input device.
For example, when the first input device corresponding to the first input event is the input device 3, the second electronic device displays a cursor on the screen 3 of the second electronic device, and when the first input device corresponding to the first input event is the input device 4, the second electronic device displays a cursor on the screen 4 of the second electronic device.
In step S815, when the first electronic device determines that the first input event acts on a certain screen of the first electronic device, the method may further include the following steps S821 to S822.
S821: when the screen acted upon by the first input event is a screen of the first electronic device, the input subsystem of the first electronic device distributes the input event to the graphical display subsystem of the first electronic device.
S822: the graphic display subsystem of the first electronic device displays a cursor on a screen corresponding to the input device.
For example, when the first input device corresponding to the first input event is the input device 1, the first electronic device displays a cursor on the screen 1, and when the first input device corresponding to the first input event is the input device 2, the first electronic device displays a cursor on the screen 2.
Optionally, in step S820 and/or step S822, the graphic display subsystem may display the cursor on the screen corresponding to the input device in a corresponding cursor style according to the cursor styles corresponding to different input devices.
In other embodiments, the first electronic device may include an input subsystem, a screen management subsystem, and a screen display subsystem. The operation of the multi-device input management module of the first electronic device shown in fig. 8 may be performed by an input subsystem of the first electronic device, for example, the multi-device input management module may be one of the input subsystems. Similarly, the second electronic device may also include an input subsystem, a screen management subsystem, and a screen display subsystem. The operation of the multi-device input management module of the second electronic device shown in fig. 8 may be accomplished by an input subsystem of the second electronic device.
In the embodiment shown in fig. 7, the first electronic device may associate the input device with a certain screen of the first electronic device (e.g., a screen of the first electronic device, or an external screen of the first electronic device) or the second electronic device. In the embodiment shown in fig. 8, the first electronic device may associate the input device with a certain screen of the first electronic device (e.g., a screen of the first electronic device, or an external screen of the first electronic device) or a certain screen of the second electronic device (e.g., a screen of the second electronic device, or an external screen of the second electronic device).
It will be appreciated that in some embodiments, the electronic device may use the methods of the embodiments shown in fig. 7 and 8 described above. For example, the first electronic device associates the input device 1 with a certain screen of the first electronic device or a certain screen of the second electronic device, and the first electronic device associates the input device 2 with a certain screen of the first electronic device or a certain screen of the second electronic device. For another example, the first electronic device associates the input device 1 with a certain screen of the first electronic device or a certain screen of the second electronic device, and the first electronic device associates the input device 2 with a certain screen of the first electronic device or a certain screen of the third electronic device. The application is not limited in this regard.
Fig. 9 shows a schematic flow chart of another display method provided by an embodiment of the present application, which can be performed by the first electronic device and the second electronic device. The method comprises the following steps:
s901: the first electronic device determines an association between the first input device and the second electronic device.
For example, as shown in fig. 7, the association relationship between the screen and the input device may be determined by a multi-device input management module in the first electronic device. The multi-device input management module may be a module in the input subsystem, or may be an independent module in the first electronic device.
S902: the method comprises the steps that a first electronic device detects a first input event, wherein input devices corresponding to the first input event are first input devices.
S903: and the first electronic equipment determines that the first input event acts on the second electronic equipment according to the association relation.
S904: the first electronic device sends a first input event to the second electronic device.
S905: the second electronic device displays the first cursor.
In some embodiments, the first electronic device may further determine an association between the second input device and a first screen, where the first screen is a screen of the first electronic device or an external screen of the first electronic device. When the first electronic device detects a second input event corresponding to the second input device, the first electronic device can determine that the screen acted by the second input event is the first screen according to the association relation between the second input device and the first screen, and then the first electronic device can display a second cursor on the first screen. Alternatively, the first cursor and the second cursor may be in different styles.
Fig. 10 shows a schematic flow chart of another display method provided by an embodiment of the present application, and the method may be performed by a first electronic device and a second electronic device. The method comprises the following steps:
s1001: the first electronic device determines an association between the first input device and the second screen.
The second screen is a screen of the second electronic device or an external screen of the second electronic device.
For example, as shown in fig. 8, the association relationship between the screen and the input device may be determined by a multi-device input management module in the first electronic device. The multi-device input management module may be a module in the input subsystem, or may be an independent module in the first electronic device.
S1002: the method comprises the steps that a first electronic device detects a first input event, wherein input devices corresponding to the first input event are first input devices.
S1003: and the first electronic equipment determines the screen acted by the first input event as a second screen according to the association relation.
S1004: the first electronic device sends a first input event to the second electronic device.
S1005: and the second electronic equipment determines the screen acted by the first input event as the second screen according to the association relation between the first input equipment and the second screen.
S1006: the second electronic device displays a first cursor on a second screen.
In some embodiments, the first electronic device may further determine an association between the second input device and a first screen, where the first screen is a screen of the first electronic device or an external screen of the first electronic device. When the first electronic device detects a second input event corresponding to the second input device, the first electronic device can determine that the screen acted by the second input event is the first screen according to the association relation between the second input device and the first screen, and then the first electronic device can display a second cursor on the first screen. Alternatively, the first cursor and the second cursor may be in different styles.
In the embodiment provided by the application, the input equipment is associated with the corresponding screen or equipment, so that a plurality of users can simultaneously use the plurality of input equipment to respectively control the plurality of screens without interference, and the use efficiency is improved.
Fig. 11 is a schematic diagram of a display device according to an embodiment of the application. As shown in fig. 11, the apparatus 1100 may be applied to an electronic device, and the apparatus 1100 may include: a determination unit 1101, a detection unit 1102, and a display unit 1103.
In some embodiments, the determining unit 1101 is configured to determine an association relationship between the first input device and a first screen, where the first screen is a screen of the first electronic device or an external screen of the first electronic device.
The detecting unit 1102 is configured to detect a first input event, where an input device corresponding to the first input event is a first input device.
The determining unit 1101 is further configured to determine, according to the association relationship, that the screen on which the first input event acts is the first screen.
A display unit 1103 for displaying the first cursor on the first screen.
In other embodiments, the apparatus 1100 may further comprise a transmitting unit 1104.
A determining unit 1101, configured to determine an association relationship between the first input device and the second electronic device.
The detecting unit 1102 is configured to detect a first input event, where an input device corresponding to the first input event is a first input device;
The determining unit 1101 is further configured to determine that the first input event acts on the second electronic device according to the association relationship.
A sending unit 1104 is configured to send the first input event to the second electronic device, so that the second electronic device displays the first cursor.
In still other embodiments, the determining unit 1101 is configured to determine an association relationship between the first input device and a second screen, where the second screen is a screen of the second electronic device or an external screen of the second electronic device.
The detecting unit 1102 is configured to detect a first input event, where an input device corresponding to the first input event is a first input device.
The determining unit 1101 is further configured to determine, according to the association relationship, that the screen on which the first input event acts is the second screen.
A sending unit 1104, configured to send the first input event to the second electronic device, so that the second electronic device determines, according to the association relationship, a screen on which the first input event acts as a second screen, and displays a first cursor on the second screen.
The more detailed descriptions of the determining unit 1101, the detecting unit 1102, the display unit 1103 and the transmitting unit 1104 may be directly obtained by directly referring to the related descriptions in the above embodiments, and are not repeated herein.
The embodiment of the application also provides a display device which can be applied to the electronic equipment, such as the electronic equipment (such as a mobile phone) in the embodiment. The apparatus may include: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to execute the instructions to cause the display device to implement the functions or steps performed by the electronic device (e.g., mobile phone) in the above-described method embodiments.
The embodiment of the present application further provides an electronic device (the electronic device may be an electronic device, for example, may be a mobile phone in the foregoing embodiment), where the electronic device may include: a display screen, a memory, and one or more processors. The display, memory, and processor are coupled. The memory is for storing computer program code, the computer program code comprising computer instructions. When the processor executes the computer instructions, the electronic device may perform the various functions or steps performed by the electronic device (e.g., a cell phone) in the above-described method embodiments. Of course, the electronic device includes, but is not limited to, the display screen, memory, and one or more processors described above. For example, the structure of the electronic device may refer to the structure of the cellular phone shown in fig. 5.
The embodiment of the application also provides a chip system which can be applied to electronic equipment such as the electronic equipment (e.g. mobile phone) in the embodiment. As shown in fig. 12, the system-on-chip includes at least one processor 1201 and at least one interface circuit 1202. The processor 1201 may be a processor in an electronic device as described above. The processor 1201 and the interface circuit 1202 may be interconnected by wires. The processor 1201 may receive and execute computer instructions from the memory of the electronic device described above through the interface circuit 1202. The computer instructions, when executed by the processor 1201, may cause the electronic device to perform the various steps performed by the handset in the embodiments described above. Of course, the system-on-chip may also include other discrete devices, which are not particularly limited in accordance with embodiments of the present application.
The embodiment of the application also provides a computer readable storage medium for storing computer instructions for operating an electronic device, such as the electronic device (e.g., a mobile phone).
Embodiments of the present application also provide a computer program product comprising computer instructions for an electronic device, such as the electronic device (e.g., a mobile phone) described above.
It will be apparent to those skilled in the art from this description that, for convenience and brevity of description, only the above-described division of the functional modules is illustrated, and in practical application, the above-described functional allocation may be performed by different functional modules according to needs, i.e. the internal structure of the apparatus is divided into different functional modules to perform all or part of the functions described above.
In the several embodiments provided by the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the modules or units is merely a logical functional division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another apparatus, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and the parts displayed as units may be one physical unit or a plurality of physical units, may be located in one place, or may be distributed in a plurality of different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a readable storage medium. Based on such understanding, the technical solution of the embodiments of the present application may be essentially or a part contributing to the prior art or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium, including several instructions for causing a device (may be a single-chip microcomputer, a chip or the like) or a processor (processor) to perform all or part of the steps of the method described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read Only Memory (ROM), a random access memory (random access memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely illustrative of specific embodiments of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions within the technical scope of the present application should be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (28)

1. A display method, wherein the method is applied to a first electronic device, the method comprising:
the method comprises the steps that the first electronic equipment determines an association relation between first input equipment and a first screen, wherein the first screen is a screen of the first electronic equipment or an external screen of the first electronic equipment;
The first electronic device detects a first input event, wherein the input device corresponding to the first input event is the first input device;
The first electronic equipment determines a screen acted by the first input event as a first screen according to the association relation;
the first electronic device displays a first cursor on the first screen.
2. The method of claim 1, wherein before the first electronic device determines the association between the first input device and the first screen, the method further comprises:
the first electronic device obtains screen information and input device information, wherein the screen information comprises information of the first screen, and the input device information comprises information of the first input device.
3. The method according to claim 2, wherein the method further comprises: when the screen of the first electronic device or the external screen of the first electronic device is newly added, removed or configuration is changed, the first electronic device updates the screen information; and/or
When the input device of the first electronic device is newly added, removed or changed in configuration, the first electronic device updates the input device information.
4. The method according to claim 1, wherein the method further comprises:
The first electronic device determines an association relationship between a second input device and a second screen, wherein the second screen is a screen of the first electronic device or an external screen of the first electronic device;
The first electronic device detects a second input event, wherein the input device corresponding to the second input event is the second input device;
The first electronic equipment determines that a screen acted by the second input event is a second screen according to the association relation;
The first electronic device displays a second cursor on the second screen.
5. The method of any of claims 1-4, wherein the first cursor and the second cursor differ in style.
6. A display method, wherein the method is applied to a first electronic device, the method comprising:
The first electronic device determines an association relationship between the first input device and the second electronic device;
The first electronic device detects a first input event, wherein the input device corresponding to the first input event is the first input device;
The first electronic device determines that the first input event acts on the second electronic device according to the association relation;
The first electronic device sends the first input event to the second electronic device, so that the second electronic device displays a first cursor.
7. The method of claim 6, wherein prior to the first electronic device determining the association between the first input device and the second electronic device, the method further comprises:
The first electronic device obtains screen information and input device information, wherein the screen information comprises information of the second electronic device, and the input device information comprises information of the first input device.
8. The method of claim 7, wherein the method further comprises: when the second electronic equipment is newly added, removed or changed in configuration, the first electronic equipment updates the screen information; and/or
When the input device of the first electronic device is newly added, removed or changed in configuration, the first electronic device updates the input device information.
9. The method of claim 6, wherein the method further comprises:
The first electronic device determines an association relationship between a second input device and a first screen, wherein the first screen is a screen of the first electronic device or an external screen of the first electronic device;
The first electronic device detects a second input event, wherein the input device corresponding to the second input event is the second input device;
The first electronic equipment determines a screen acted by the first input event as a first screen according to the association relation;
The first electronic device displays a second cursor on the first screen.
10. The method of any of claims 6-9, wherein the first cursor and the second cursor differ in style.
11. A display system comprising a first electronic device and a second electronic device, characterized in that,
The first electronic device determines an association relationship between a first input device and the second electronic device;
The first electronic device detects a first input event, wherein the input device corresponding to the first input event is the first input device;
The first electronic device determines that the first input event acts on the second electronic device according to the association relation;
The first electronic device sends the first input event to the second electronic device;
The second electronic device displays a first cursor.
12. The system of claim 11, wherein before the first electronic device determines the association between the first input device and the second electronic device, further comprising:
The first electronic device obtains screen information and input device information, wherein the screen information comprises information of the second electronic device, and the input device information comprises information of the first input device.
13. The system of claim 12, further comprising: when the second electronic equipment is newly added, removed or changed in configuration, the first electronic equipment updates the screen information; and/or
When the input device of the first electronic device is newly added, removed or changed in configuration, the first electronic device updates the input device information.
14. The system of claim 11, further comprising:
The first electronic device determines an association relationship between a second input device and a first screen, wherein the first screen is a screen of the first electronic device or an external screen of the first electronic device;
The first electronic device detects a second input event, wherein the input device corresponding to the second input event is the second input device;
The first electronic equipment determines a screen acted by the first input event as a first screen according to the association relation;
The first electronic device displays a second cursor on the first screen.
15. The system of any of claims 11-14, wherein the first cursor and the second cursor differ in style.
16. A display method, wherein the method is applied to a first electronic device, the method comprising:
The first electronic device determines an association relationship between a first input device and a second screen, wherein the second screen is a screen of the second electronic device or an external screen of the second electronic device;
The first electronic device detects a first input event, wherein the input device corresponding to the first input event is the first input device;
the first electronic equipment determines a screen acted by the first input event as a second screen according to the association relation;
and the first electronic equipment sends the first input event to the second electronic equipment, so that the second electronic equipment determines that a screen acted by the first input event is the second screen according to the association relation, and displays a first cursor on the second screen.
17. The method of claim 16, wherein prior to the first electronic device determining the association between the first input device and the second electronic device, the method further comprises:
The first electronic device obtains screen information and input device information, wherein the screen information comprises information of the second screen, and the input device information comprises information of the first input device.
18. The method of claim 17, wherein the method further comprises: when the second screen is newly added, removed or changed in configuration, the first electronic equipment updates the screen information; and/or
When the input device of the first electronic device and/or the input device of the second electronic device is newly added, removed or changed in configuration, the first electronic device updates the input device information.
19. The method of claim 16, wherein the method further comprises:
The first electronic device determines an association relationship between a second input device and a first screen, wherein the first screen is a screen of the first electronic device or an external screen of the first electronic device;
The first electronic device detects a second input event, wherein the input device corresponding to the second input event is the second input device;
The first electronic equipment determines a screen acted by the first input event as a first screen according to the association relation;
The first electronic device displays a second cursor on the first screen.
20. The method of any of claims 16 to 19, wherein the first cursor and the second cursor differ in style.
21. A display system comprising a first electronic device and a second electronic device, characterized in that,
The first electronic device determines an association relationship between a first input device and a second screen, wherein the second screen is a screen of the second electronic device or an external screen of the second electronic device;
The first electronic device detects a first input event, wherein the input device corresponding to the first input event is the first input device;
the first electronic equipment determines a screen acted by the first input event as a second screen according to the association relation;
The first electronic device sends the first input event to the second electronic device;
The second electronic equipment determines a screen acted by the first input event as the second screen according to the association relation;
the second electronic device displays a first cursor on the second screen.
22. The system of claim 21, wherein before the first electronic device determines the association between the first input device and the second electronic device, further comprising:
The first electronic device obtains screen information and input device information, wherein the screen information comprises information of the second screen, and the input device information comprises information of the first input device.
23. The system as recited in claim 22, further comprising: when the second screen is newly added, removed or changed in configuration, the first electronic equipment updates the screen information; and/or
When the input device of the first electronic device and/or the input device of the second electronic device is newly added, removed or changed in configuration, the first electronic device updates the input device information.
24. The system of claim 21, wherein the system further comprises a controller configured to control the controller,
The first electronic device determines an association relationship between a second input device and a first screen, wherein the first screen is a screen of the first electronic device or an external screen of the first electronic device;
The first electronic device detects a second input event, wherein the input device corresponding to the second input event is the second input device;
The first electronic equipment determines a screen acted by the first input event as a first screen according to the association relation;
The first electronic device displays a second cursor on the first screen.
25. The system of any of claims 21-24, wherein the first cursor and the second cursor are in different styles.
26. An electronic device, the electronic device comprising:
One or more processors;
One or more memories;
The one or more memories store one or more computer programs comprising instructions that, when executed by the one or more processors, cause the electronic device to perform the method of any of claims 1-5, or perform the method of any of claims 6-10, or perform the method of any of claims 16-20.
27. A computer readable storage medium comprising computer instructions which, when run on an electronic device, cause the electronic device to perform the method of any one of claims 1 to 5, or to perform the method of any one of claims 6 to 10, or to perform the method of any one of claims 16 to 20.
28. A computer program product comprising instructions which, when run on a computer, cause the electronic device to perform the method of any one of claims 1 to 5, or to perform the method of any one of claims 6 to 10, or to perform the method of any one of claims 16 to 20.
CN202211287227.XA 2022-10-20 2022-10-20 Display method, electronic equipment and system Pending CN117917632A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202211287227.XA CN117917632A (en) 2022-10-20 2022-10-20 Display method, electronic equipment and system
PCT/CN2023/124377 WO2024083031A1 (en) 2022-10-20 2023-10-13 Display method, electronic device, and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211287227.XA CN117917632A (en) 2022-10-20 2022-10-20 Display method, electronic equipment and system

Publications (1)

Publication Number Publication Date
CN117917632A true CN117917632A (en) 2024-04-23

Family

ID=90729616

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211287227.XA Pending CN117917632A (en) 2022-10-20 2022-10-20 Display method, electronic equipment and system

Country Status (2)

Country Link
CN (1) CN117917632A (en)
WO (1) WO2024083031A1 (en)

Also Published As

Publication number Publication date
WO2024083031A1 (en) 2024-04-25

Similar Documents

Publication Publication Date Title
CN109814766B (en) Application display method and electronic equipment
WO2020000448A1 (en) Flexible screen display method and terminal
CN115473957B (en) Image processing method and electronic equipment
WO2020093988A1 (en) Image processing method and electronic device
CN116360725B (en) Display interaction system, display method and device
WO2020024108A1 (en) Application icon display method and terminal
US20230105934A1 (en) Cross-Device Allocation Method for Service Element, Terminal Device, and Storage Medium
US20240095000A1 (en) Plug-In Installation Method, Apparatus, and Storage Medium
CN114727220A (en) Equipment searching method and electronic equipment
CN116048358B (en) Method and related device for controlling suspension ball
CN115022982B (en) Multi-screen cooperative non-inductive access method, electronic equipment and storage medium
CN114691248B (en) Method, device, equipment and readable storage medium for displaying virtual reality interface
CN113950045B (en) Subscription data downloading method and electronic equipment
CN116561085A (en) Picture sharing method and electronic equipment
CN113495733A (en) Theme pack installation method and device, electronic equipment and computer readable storage medium
WO2024083031A1 (en) Display method, electronic device, and system
CN116048236B (en) Communication method and related device
CN116795476B (en) Wallpaper deleting method and electronic equipment
CN116048629B (en) System service switching method, control device, electronic equipment and storage medium
EP4290375A1 (en) Display method, electronic device and system
CN115906033A (en) Voiceprint authentication response method and system and electronic equipment
CN116931802A (en) Control method and central control equipment
CN113254409A (en) File sharing method, system and related equipment
CN117555700A (en) Message pushing method, terminal equipment, pushing server and readable storage medium
CN117435309A (en) Task migration method, electronic equipment and system

Legal Events

Date Code Title Description
PB01 Publication