Method for lightening screen and electronic equipment

By using the mouse cursor to move operations in a collaborative working scenario of multiple devices, the automatic screen lighting between devices is achieved, solving the problem of users' difficulty in lighting up the screen quickly and improving the user experience.

CN119200909APending Publication Date: 2024-12-27HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411060128.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2021-01-27
Publication Date
2024-12-27

AI Technical Summary

Technical Problem

In the multi-device collaborative work scenario, it is difficult for users to light up the screen of another device easily, resulting in cumbersome operations and affecting the user experience.

Method used

By establishing a communication connection between electronic devices and using the moving operation of the mouse cursor to control the lighting of the screen of the target device, the user can automatically light up the screen of another device by moving the mouse cursor of one device out of the edge of the screen, avoiding the need to Manual operation on the target device.

Benefits of technology

It enables users to easily light up the device screen without manual operation, improving user experience and operation efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119200909A_ABST
    Figure CN119200909A_ABST
Patent Text Reader

Abstract

The invention provides a screen lightening method and electronic equipment, and relates to the technical field of terminals, first electronic equipment establishes communication connection with second electronic equipment, and the first electronic equipment is connected with input equipment. The screen of the first electronic equipment is turned on and the screen of the second electronic equipment is turned off; the user uses the input device of the first electronic device to move the mouse cursor on the screen of the first electronic device, so that the mouse cursor is moved out of the edge of the screen of the first electronic device, and the screen of the second electronic device is lightened. A user can use the input device of the first electronic device to conveniently and quickly light the screen of the second electronic device, the user does not need to manually light the second electronic device on the second electronic device, and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application is a divisional application. The application number of the original application is 202110113148.6, and the original application date is January 27, 2021. The entire contents of the original application are incorporated into this application by reference. Technical Field

[0002] The present application relates to the field of terminal technology, and in particular to a method for lighting up a screen and an electronic device. Background Art

[0003] Multi-device collaboration is increasingly being used in people’s work and life. Figure 1 As shown, the electronic device 100 and the electronic device 200 are connected by wire or wirelessly to work together. For example, the keyboard or mouse of the electronic device 100 can be used to control the application displayed on the screen of the electronic device 200, which brings convenience to the user to use the electronic device 200. Summary of the invention

[0004] The embodiments of the present application provide a method for lighting up a screen and an electronic device, which can conveniently light up an electronic device with an off screen during the collaborative work of two electronic devices, thereby improving the user experience.

[0005] In order to achieve the above objectives, this application adopts the following technical solutions:

[0006] In a first aspect, the present application provides a method for lighting up a screen, which is applied to a system, wherein the system includes a first electronic device and a second electronic device, wherein the first electronic device establishes a communication connection with the second electronic device, and the method includes: displaying a first mouse cursor on a first application interface of the first electronic device, wherein the first mouse cursor is a cursor of an input device of the first electronic device; turning off the screen of the second electronic device; the first electronic device receives a first movement operation of the input device of the first electronic device on the first mouse cursor, wherein the first movement operation causes the first mouse cursor to move out of an edge of the screen of the first electronic device; in response to the first movement operation, the first electronic device sends a first mouse event of the input device of the first electronic device to the second electronic device; the second electronic device receives the first mouse event; and in response to the first mouse event, the second electronic device lights up the screen.

[0007] In this method, the first electronic device is connected to an input device. The screen of the first electronic device is on, and the screen of the second electronic device is off; the user uses the input device of the first electronic device to move the mouse cursor on the screen of the first electronic device, so that the mouse cursor moves out of the edge of the screen of the first electronic device, and the screen of the second electronic device is lit. The user can use the input device of the first electronic device to light up the screen of the second electronic device conveniently and quickly, without the user having to manually light up the second electronic device on the second electronic device, thereby improving the user experience.

[0008] In a second aspect, the present application provides a method for lighting up a screen, which is applied to a second electronic device, wherein the second electronic device establishes a communication connection with a first electronic device, and the method comprises: turning off the screen of the second electronic device; in response to a first movement operation of an input device of the first electronic device on a first mouse cursor displayed on a first application interface of the first electronic device, the second electronic device receives a first mouse event from the first electronic device; in response to the first mouse event, the second electronic device lights up the screen. The first mouse cursor is a cursor of an input device of the first electronic device, and the first movement operation causes the first mouse cursor to move out of the edge of the screen of the first electronic device.

[0009] In this method, the second electronic device establishes a communication connection with the first electronic device, and the screen of the second electronic device is turned off; the user uses the input device of the first electronic device to move the mouse cursor on the screen of the first electronic device so that the mouse cursor moves out of the edge of the screen of the first electronic device, and the screen of the second electronic device is turned on. The user can use the input device of the first electronic device to conveniently and quickly turn on the screen of the second electronic device, and the user does not need to manually turn on the second electronic device on the second electronic device, thereby improving the user experience.

[0010] In combination with the first aspect or the second aspect, in a possible implementation, the second electronic device displays an unlocking interface after turning on the screen, and a second mouse cursor is displayed on the unlocking interface; the second mouse cursor is a cursor of an input device of the first electronic device.

[0011] After the second electronic device is unlocked, the cursor of the input device of the first electronic device is displayed on the display interface, that is, the mouse of the first electronic device moves to the second electronic device. The user can use the input device of the first electronic device to control the second electronic device.

[0012] Among them, the input device may include a keyboard, a mouse, etc.

[0013] In some examples, the mouse style of the second mouse cursor is different from the mouse style of the first mouse cursor. In other words, the mouse style of the cursor displayed by the input device of the first electronic device on the first electronic device is different from the mouse style of the cursor displayed on the second electronic device when it is shuttled.

[0014] In combination with the first aspect or the second aspect, in one possible implementation, the second application interface is displayed before the screen of the second electronic device is turned off, and the second application runs on the second electronic device; after the screen of the second electronic device is turned on, the second electronic device receives a first operation of the user on the unlocking interface, and the first operation is used to unlock the screen of the second electronic device; in response to the first operation, the second electronic device displays the second application interface, and a second mouse cursor is displayed on the second application interface.

[0015] In this way, after the second electronic device lights up and unlocks the screen, the user uses the input device of the first electronic device to control the application on the second electronic device.

[0016] In combination with the first aspect or the second aspect, in one possible implementation, a third application interface is displayed before the screen of the second electronic device is turned off, and the third application runs on the first electronic device; after the screen of the second electronic device is turned on, the second electronic device receives a first operation of the user on the unlocking interface, and the first operation is used to unlock the screen of the second electronic device; in response to the first operation, the second electronic device displays the third application interface, and a first mouse cursor is displayed on the third application interface.

[0017] In this method, an application of a first electronic device is expanded to be displayed on a second electronic device, and then the screen of the second electronic device is turned off; after the screen of the second electronic device is turned on and unlocked, the interface of the extended screen application is displayed; and the user can continue to use the input device of the first electronic device to control the extended screen application.

[0018] In combination with the first aspect or the second aspect, in a possible implementation method, the second application interface is displayed before the screen of the second electronic device is turned off, and the second application runs on the second electronic device; the second application interface is displayed after the screen of the second electronic device is turned on, and a second mouse cursor is displayed on the second application interface; the second mouse cursor is the cursor of the input device of the first electronic device, and the mouse style of the second mouse cursor is different from the mouse style of the first mouse cursor.

[0019] In this method, after the second electronic device is turned on, the application interface before the screen is turned off is directly displayed.

[0020] In combination with the first aspect or the second aspect, in one possible implementation, the third application interface is displayed before the screen of the second electronic device is turned off, and the third application runs on the first electronic device; the third application interface is displayed after the screen of the second electronic device is turned on, and the first mouse cursor is displayed on the third application interface.

[0021] In this method, the second electronic device directly displays the application interface before the screen is turned off after being turned on. The application interface before the screen is turned off is an extended screen application interface, and the cursor of the input device of the first electronic device is displayed on the extended screen application interface.

[0022] In combination with the first aspect or the second aspect, in a possible implementation, when the screen of the second electronic device is turned on, the position where the second mouse cursor appears on the screen of the second electronic device corresponds to the position where the first mouse cursor disappears on the screen of the first electronic device.

[0023] For example, the laptop computer's mouse cursor moves out from the right edge of the laptop computer's screen, and the tablet computer's mouse cursor is displayed at the left edge of the tablet computer's screen. The laptop computer's mouse cursor moves out from the left edge of the laptop computer's screen, and the tablet computer's mouse cursor is displayed at the right edge of the tablet computer's screen. The laptop computer's mouse cursor moves out from the top edge of the laptop computer's screen, and the tablet computer's mouse cursor is displayed at the top edge of the tablet computer's screen. The laptop computer's mouse cursor moves out from the bottom edge of the laptop computer's screen, and the tablet computer's mouse cursor is displayed at the bottom edge of the tablet computer's screen.

[0024] For another example, the laptop computer's mouse cursor moves out from the right edge of the laptop computer screen, and correspondingly, the tablet computer's mouse cursor is displayed at the right edge of the tablet computer screen; the laptop computer's mouse cursor moves out from the left edge of the laptop computer screen, and correspondingly, the tablet computer's mouse cursor is displayed at the left edge of the tablet computer screen; the laptop computer's mouse cursor moves out from the upper edge of the laptop computer screen, and correspondingly, the tablet computer's mouse cursor is displayed at the lower edge of the tablet computer screen; the laptop computer's mouse cursor moves out from the lower edge of the laptop computer screen, and correspondingly, the tablet computer's mouse cursor is displayed at the upper edge of the tablet computer screen.

[0025] In a third aspect, the present application provides a method for lighting up a screen, which is applied to a system, the system comprising a first electronic device and a second electronic device, the first electronic device establishing a communication connection with the second electronic device, the method comprising: the first electronic device displays a first application interface, the second electronic device displays a first interface, and a cursor of an input device of the first electronic device is displayed on the first interface; the screen of the second electronic device is turned off; the first electronic device receives a movement operation of the input device of the first electronic device; the first electronic device sends a movement event corresponding to the movement operation to the second electronic device; the second electronic device receives the movement event; and in response to the movement event, the second electronic device lights up the screen.

[0026] In this method, the first electronic device is connected to an input device. The cursor of the input device of the first electronic device is moved to the display interface of the second electronic device. Then the screen of the second electronic device is turned off. The user can easily and quickly light up the screen of the second electronic device by moving the mouse, without the user having to manually light up the second electronic device on the second electronic device, thereby improving the user experience.

[0027] In a fourth aspect, the present application provides a method for lighting up a screen, which is applied to a second electronic device, where the second electronic device establishes a communication connection with a first electronic device, and the method includes: the second electronic device displays a first interface, and a cursor of an input device of the first electronic device is displayed on the first interface; the screen of the second electronic device is turned off; in response to a movement operation of the input device of the first electronic device, the second electronic device receives a movement event corresponding to the movement operation from the first electronic device; in response to the movement event, the second electronic device lights up the screen.

[0028] In this method, the second electronic device establishes a communication connection with the first electronic device, and the first electronic device is connected to the input device. The cursor of the input device of the first electronic device shuttles to the display interface of the second electronic device. Then the second device turns off the screen. The user can easily and quickly light up the screen of the second electronic device by moving the mouse, without the user manually lighting up the second electronic device on the second electronic device, thereby improving the user experience.

[0029] In combination with the third aspect or the fourth aspect, in a possible implementation manner, the first interface is a second application interface running on a second electronic device.

[0030] In one implementation, the second electronic device displays the second application interface after turning on the screen.

[0031] In another implementation, the second electronic device displays an unlocking interface after lighting up the screen. The method also includes: the second electronic device receives a first operation of the user on the unlocking interface, the first operation is used to unlock the screen of the second electronic device; in response to the first operation, the second electronic device displays a second application interface.

[0032] In combination with the third aspect or the fourth aspect, in a possible implementation, the first interface is a third application interface running on the first electronic device, that is, the second electronic device displays an extended screen interface before the screen is turned off. A first mouse cursor is displayed on the third application interface, and the first mouse cursor is a cursor of an input device of the first electronic device.

[0033] In one implementation, the second electronic device displays the third application interface after turning on the screen.

[0034] In another implementation, the second electronic device displays an unlocking interface after the screen is turned on, and a second mouse cursor is displayed on the unlocking interface. The second mouse cursor is the cursor of the input device of the first electronic device, and the mouse style of the second mouse cursor is different from the mouse style of the first mouse cursor. In this implementation, the second electronic device displays an extended screen interface before the screen is turned off. The extended screen application is an application running on the first electronic device, which displays the mouse cursor of the input device of the first electronic device. After the second electronic device lights up the screen, it displays an unlocking interface. The unlocking application is running on the second electronic device, and it displays the mouse cursor of the input device of the first electronic device shuttling to the second electronic device. The method also includes: the second electronic device receives a first operation of the user on the unlocking interface, and the first operation is used to unlock the screen of the second electronic device; in response to the first operation, the second electronic device displays a third application interface.

[0035] In a fifth aspect, an embodiment of the present application provides an electronic device, which can implement the method of lighting up the screen described in the second aspect or the fourth aspect and its possible implementation methods, and can implement the above method through software, hardware, or by executing corresponding software through hardware. In one possible design, the electronic device may include a processor and a memory. The processor is configured to support the electronic device to perform the corresponding functions in the second aspect or the fourth aspect method. The memory is used to couple with the processor, which stores the necessary program instructions and data of the electronic device.

[0036] In a sixth aspect, an embodiment of the present application provides a computer-readable storage medium, which includes computer instructions. When the computer instructions are executed on an electronic device, the electronic device executes a method for lighting up the screen as described in the second aspect or the fourth aspect and its possible implementation methods.

[0037] In a seventh aspect, an embodiment of the present application provides a computer program product, which, when executed on a computer, enables the computer to execute the method for lighting up the screen as described in the second aspect or the fourth aspect and possible implementations thereof.

[0038] The technical effects brought about by the electronic device described in the fifth aspect, the computer-readable storage medium described in the sixth aspect, and the computer program product described in the seventh aspect can refer to the technical effects brought about by the above-mentioned corresponding methods, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] Figure 1 A schematic diagram of a scenario of a method for lighting up a screen provided in an embodiment of the present application;

[0040] Figure 2 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application;

[0041] Figure 3A A schematic diagram of a scenario example of a method for lighting up a screen provided in an embodiment of the present application;

[0042] Figure 3B A schematic diagram of a scenario example of a method for lighting up a screen provided in an embodiment of the present application;

[0043] Figure 3C A schematic diagram of a scenario example of a method for lighting up a screen provided in an embodiment of the present application;

[0044] Figure 3D A schematic diagram of a scenario example of a method for lighting up a screen provided in an embodiment of the present application;

[0045] Figure 4 A schematic diagram of a scenario example of a method for lighting up a screen provided in an embodiment of the present application;

[0046] Figure 5 A schematic diagram of a scenario example of a method for lighting up a screen provided in an embodiment of the present application;

[0047] Figure 6 A schematic diagram of a scenario example of a method for lighting up a screen provided in an embodiment of the present application;

[0048] Figure 7 A schematic diagram of a scenario example of a method for lighting up a screen provided in an embodiment of the present application;

[0049] Figure 8 A schematic diagram of a scenario example of a method for lighting up a screen provided in an embodiment of the present application;

[0050] Fig. 9A A schematic diagram of a flow chart of a method for lighting up a screen provided in an embodiment of the present application;

[0051] Fig. 9B A schematic diagram of the software architecture of a tablet computer used in the method for lighting up the screen provided in an embodiment of the present application;

[0052] Fig.10 A schematic diagram of a scenario example of a method for lighting up a screen provided in an embodiment of the present application;

[0053] Fig.11 A schematic diagram of a scenario example of a method for lighting up a screen provided in an embodiment of the present application;

[0054] Fig.12 A schematic diagram of a scenario example of a method for lighting up a screen provided in an embodiment of the present application;

[0055] Fig.13 A schematic diagram of a scenario example of a method for lighting up a screen provided in an embodiment of the present application;

[0056] Fig.14A A schematic diagram of a scenario example of a method for lighting up a screen provided in an embodiment of the present application;

[0057] Fig. 14B A schematic diagram of a scenario example of a method for lighting up a screen provided in an embodiment of the present application;

[0058] Fig. 14C A schematic diagram of a scenario example of a method for lighting up a screen provided in an embodiment of the present application;

[0059] Fig.14D A schematic diagram of a scenario example of a method for lighting up a screen provided in an embodiment of the present application;

[0060] Fig.15A A schematic diagram of a scenario example of a method for lighting up a screen provided in an embodiment of the present application;

[0061] Fig. 15B A schematic diagram of a scenario example of a method for lighting up a screen provided in an embodiment of the present application;

[0062] Fig.16 A schematic diagram of a flow chart of a method for lighting up a screen provided in an embodiment of the present application;

[0063] Fig.17 A schematic diagram of a scenario example of a method for lighting up a screen provided in an embodiment of the present application;

[0064] Fig.18A A schematic diagram of a scenario example of a method for lighting up a screen provided in an embodiment of the present application;

[0065] Fig.18B A schematic diagram of a scenario example of a method for lighting up a screen provided in an embodiment of the present application;

[0066] Fig.19A A schematic diagram of a scenario example of a method for lighting up a screen provided in an embodiment of the present application;

[0067] Fig.19B A schematic diagram of a scenario example of a method for lighting up a screen provided in an embodiment of the present application;

[0068] Fig.19C A schematic diagram of a scenario example of a method for lighting up a screen provided in an embodiment of the present application;

[0069] Fig. 20 A schematic diagram of the structural composition of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0070] The terms used in the following embodiments are only for the purpose of describing specific embodiments, and are not intended to be used as limitations on the present application. As used in the specification and the appended claims of the present application, the singular expressions "one", "a kind of", "said", "above", "the" and "this" are intended to also include expressions such as "one or more", unless there is a clear contrary indication in the context. It should also be understood that in the following embodiments of the present application, "at least one", "one or more" refer to one, two or more. The term "and / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist; for example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship.

[0071] References to "one embodiment" or "some embodiments" etc. described in this specification mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Thus, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways. The term "connected" includes direct and indirect connections, unless otherwise stated.

[0072] like Figure 1 As shown, the electronic device 100 and the electronic device 200 are connected by wire or wireless means to work together. For example, the electronic device 100 has a keyboard and a mouse, and the electronic device 200 does not have a keyboard and a mouse. The keyboard or mouse of the electronic device 100 can be used to control the application running on the electronic device 100; after the electronic device 100 and the electronic device 200 are connected, the keyboard or mouse of the electronic device 100 can also be used to control the application running on the electronic device 200. For another example, the electronic device 100 and the electronic device 200 are connected, and the electronic device 100 can display the application running on the electronic device 100 on the electronic device 200. Then use the keyboard or mouse of the electronic device 100 to control the application running on the electronic device 100 and displayed on the electronic device 200.

[0073] During the collaborative work of the electronic device 100 and the electronic device 200, if the electronic device 200 has not been operated for a long time, the screen will be locked and turned off to save power. When the user uses the electronic device 200 again, how to conveniently light up the screen of the electronic device 200 and wake up the electronic device 200 is a problem that needs to be solved. The embodiment of the present application provides a method for lighting up the screen, which can conveniently light up the electronic device 200 with the screen turned off, thereby improving the user experience.

[0074] The electronic device 100 may include a tablet computer, a laptop computer, a netbook, a personal computer (PC), etc., and the present application embodiment does not impose any restrictions on this. The electronic device 200 may include a portable computer (such as a mobile phone, etc.), a handheld computer, a tablet computer, a laptop computer, a netbook, a personal computer (PC), a smart home device (such as a smart TV, a smart screen, a large screen, a smart speaker, etc.), a personal digital assistant (PDA), a wearable device (such as a smart watch, a smart bracelet, etc.), an augmented reality (AR)\virtual reality (VR) device, a car computer, etc., and the present application embodiment does not impose any restrictions on this.

[0075] In an example, the electronic device 100 or the electronic device 200 may include: Figure 2 The structure shown.

[0076] The electronic device may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging 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, a headphone interface 170D, an input device 180, a display screen 190, etc.

[0077] It is to be understood that the structure illustrated in the embodiments of the present application does not constitute a specific limitation on the electronic device. In other embodiments of the present application, the electronic device may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0078] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.

[0079] The controller can be the nerve center and command center of the electronic device. The controller can generate operation control signals according to the instruction operation code and timing signal to complete the control of fetching and executing instructions.

[0080] The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.

[0081] In some embodiments, the processor 110 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.

[0082] The I2C interface is a bidirectional synchronous serial bus, including a serial data line (SDA) and a serial clock line (SCL). In some embodiments, the processor 110 may include multiple groups of I2C buses. The processor 110 may be coupled to a touch sensor, a charger, a flash, a camera, etc. through different I2C bus interfaces. For example, the processor 110 may be coupled to a touch sensor through an I2C interface, so that the processor and the touch sensor communicate through the I2C bus interface to realize the touch function of the electronic device.

[0083] The I2S interface can be used for audio communication. In some embodiments, the processor 110 can include multiple I2S buses. The processor 110 can be coupled to the audio module 170 via the I2S bus to achieve communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 can transmit an audio signal to the wireless communication module 160 via the I2S interface to achieve the function of answering a call through a Bluetooth headset.

[0084] The PCM interface can also be used for audio communication, sampling, quantizing and encoding analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 can be coupled via a PCM bus interface. In some embodiments, the audio module 170 can also transmit audio signals to the wireless communication module 160 via the PCM interface to realize the function of answering calls via a Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.

[0085] The UART interface is a universal serial data bus for asynchronous communication. The bus can be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, the UART interface is generally used to connect the processor 110 and the wireless communication module 160. For example, the processor 110 communicates with the Bluetooth module in the wireless communication module 160 through the UART interface to implement the Bluetooth function. In some embodiments, the audio module 170 can transmit an audio signal to the wireless communication module 160 through the UART interface to implement the function of playing music through a Bluetooth headset.

[0086] The MIPI interface can be used to connect the processor 110 with the display screen 190, keyboard and other peripheral devices. The MIPI interface includes a camera serial interface (CSI), a display serial interface (DSI), etc. In some embodiments, the processor 110 and the display screen 190 communicate via the DSI interface to realize the display function of the electronic device.

[0087] The GPIO interface can be configured by software. The GPIO interface can be configured as a control signal or as a data signal. In some embodiments, the GPIO interface can be used to connect the processor 110 with the display screen 190, the wireless communication module 160, the audio module 170, the input device 180, etc. The GPIO interface can also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, etc.

[0088] The USB interface 130 is an interface that complies with the USB standard specification, and specifically can be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface 130 can be used to connect a charger to charge the electronic device, and can also be used to transfer data between the electronic device and a peripheral device. For example, the electronic device connects to a peripheral input device, such as a keyboard, a mouse, etc., through the interface; it can also be used to connect headphones to play audio through the headphones. The interface can also be used to connect other electronic devices, such as AR devices, etc.

[0089] It is understandable that the interface connection relationship between the modules illustrated in the embodiments of the present application is only a schematic illustration and does not constitute a structural limitation on the electronic device. In other embodiments of the present application, the electronic device may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.

[0090] The charging management module 140 is used to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger through the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive wireless charging input through a wireless charging coil of an electronic device. While the charging management module 140 is charging the battery 142, it may also power the electronic device through the power management module 141.

[0091] The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, and provides power to the processor 110, the internal memory 121, the external memory, the display screen 190, and the wireless communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle number, battery health status (leakage, impedance), etc. In some other embodiments, the power management module 141 can also be set in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 can also be set in the same device.

[0092] The wireless communication function of the electronic device can be implemented through antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem processor and baseband processor.

[0093] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in the electronic device can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of the antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.

[0094] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G, etc., applied to electronic devices. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.

[0095] The modem processor may include a modulator and a demodulator. Among them, the modulator is used to modulate the low-frequency baseband signal to be sent into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to a speaker 170A, a receiver 170B, etc.), or displays an image or video through a display screen 190. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be set in the same device as the mobile communication module 150 or other functional modules.

[0096] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to electronic devices. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the frequency of the electromagnetic wave signal and performs filtering, and sends the processed signal to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, modulate the frequency of it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.

[0097] In some embodiments, the antenna 1 of the electronic device is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the electronic device can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology. The GNSS may include global positioning system (GPS), global navigation satellite system (GLONASS), Beidou navigation satellite system (BDS), quasi-zenith satellite system (QZSS) and / or satellite based augmentation system (SBAS).

[0098] The electronic device implements the display function through a GPU, a display screen 190, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 190 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or change display information.

[0099] The display screen 190 is used to display images, videos, etc. The display screen 190 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device may include 1 or N display screens 190, where N is a positive integer greater than 1. In the embodiment of the present application, the display screen 190 is also referred to as a screen.

[0100] Digital signal processors are used to process digital signals. In addition to processing digital image signals, they can also process other digital signals. For example, when an electronic device selects a frequency point, a digital signal processor is used to perform Fourier transform on the frequency point energy.

[0101] Video codecs are used to compress or decompress digital videos. Electronic devices can support one or more video codecs. In this way, electronic devices can play or record videos in multiple coding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.

[0102] NPU is a neural network (NN) computing processor. By drawing on the structure of biological neural networks, such as the transmission mode between neurons in the human brain, it can quickly process input information and continuously self-learn. NPU can realize applications such as intelligent cognition of electronic devices, such as image recognition, face recognition, voice recognition, text understanding, etc.

[0103] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as music and videos can be stored in the external memory card.

[0104] The internal memory 121 can be used to store computer executable program codes, which include instructions. The processor 110 executes various functional applications and data processing of the electronic device by running the instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area may store data created during the use of the electronic device (such as audio data, a phone book, etc.), etc. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.

[0105] The electronic device can implement audio functions such as music playing and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.

[0106] The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The audio module 170 can also be used to encode and decode audio signals. In some embodiments, the audio module 170 can be arranged in the processor 110, or some functional modules of the audio module 170 can be arranged in the processor 110.

[0107] The speaker 170A, also called a "speaker", is used to convert an audio electrical signal into a sound signal. The electronic device can listen to music or listen to a hands-free call through the speaker 170A.

[0108] The receiver 170B, also called a "earpiece", is used to convert audio electrical signals into sound signals. When the electronic device receives a call or voice message, the voice can be received by placing the receiver 170B close to the human ear.

[0109] Microphone 170C, also called "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can speak by putting their mouth close to the microphone 170C to input the sound signal into the microphone 170C. The electronic device can be provided with at least one microphone 170C. In other embodiments, the electronic device can be provided with two microphones 170C, which can not only collect sound signals but also realize noise reduction function. In other embodiments, the electronic device can also be provided with three, four or more microphones 170C to realize the collection of sound signals, noise reduction, identification of sound sources, and directional recording function, etc.

[0110] The earphone interface 170D is used to connect a wired earphone and can be a USB interface 130 or a 3.5 mm open mobile terminal platform (OMTP) standard interface or a cellular telecommunications industry association of the USA (CTIA) standard interface.

[0111] The input device 180 may include a keyboard, a mouse, etc. The keyboard is used to input English letters, numbers, punctuation marks, etc. into the electronic device, thereby issuing commands to the electronic device, inputting data, etc. The mouse is an indicator for the vertical and horizontal coordinates of the electronic device display system, and is used to input instructions, etc. to the electronic device. Among them, the input device 180 can be connected to the electronic device through a wired connection, for example, the input device 180 is connected to the electronic device through a GPIO interface, a USB interface, etc. The input device 180 can also be connected to the electronic device wirelessly, for example, the input device 180 is connected to the electronic device through Bluetooth, infrared, etc.

[0112] The following uses a laptop computer as the electronic device 100 and a tablet computer as the electronic device 200 as an example to describe in detail the method for lighting up the screen provided in the embodiment of the present application.

[0113] Please refer to Figure 1 , the laptop and tablet are connected by wireless means (e.g., Bluetooth, P2P, LAN, Wi-Fi, wireless ad hoc network). The laptop and tablet can communicate wirelessly. The user can use the laptop's keyboard and mouse to input commands or data to the laptop.

[0114] In some scenarios, please refer to Figure 3A , the user controls the first application running on the laptop computer through the keyboard and mouse. The operating system of the laptop computer receives the keyboard input or the mouse input and generates a keyboard and mouse input event (including the keyboard input event and the mouse input event). The first application running on the laptop computer monitors the keyboard and mouse input event and executes the corresponding processing logic of the keyboard input event or the mouse input event. For example, Figure 3A As shown, the chat application currently running on the laptop processes keyboard input and mouse input. The keyboard cursor flashes in the input box of the chat application. The mouse cursor (first cursor style) of the laptop is displayed on the first application interface of the laptop.

[0115] In some scenarios, please refer to Figure 3B, the user controls the second application running on the tablet computer through the keyboard and mouse. After the laptop computer's operating system receives the keyboard input or mouse input, it generates keyboard and mouse input events (including keyboard input events and mouse input events). The laptop computer's keyboard and mouse management application monitors the keyboard and mouse input events, intercepts the keyboard and mouse input events, so that other applications running on the laptop computer cannot monitor the keyboard and mouse input events; and forwards the keyboard and mouse input events to the tablet computer. The tablet computer receives the keyboard and mouse input events forwarded by the laptop computer, and the second application running on the tablet computer can monitor the keyboard and mouse input events and execute the corresponding processing logic of the keyboard input events or mouse input events. For example, Figure 3B As shown, the photo application currently running on the tablet computer processes keyboard input and mouse input. The mouse cursor (second cursor style) of the tablet computer is displayed on the second application interface of the tablet computer.

[0116] In some examples, the user can slide the mouse to switch to the first application on the laptop to process the keyboard input and the mouse input, or switch to the second application on the tablet to process the keyboard input and the mouse input. Figure 3C As shown, the first application on the laptop computer listens to keyboard input events or mouse input events, and processes the keyboard input or mouse input. The laptop computer's mouse cursor (first cursor style) is displayed on the laptop computer's first application interface. The user slides the mouse to the right, so that the mouse cursor moves beyond the right edge of the laptop computer screen, and switches to the second application on the tablet computer to process the keyboard input and mouse input. Afterwards, the laptop computer's keyboard and mouse management application intercepts local keyboard input events or mouse input events, and forwards the keyboard input or mouse input to the tablet computer for processing. At this point, the tablet computer's mouse cursor (second cursor style) is displayed on the tablet computer's second application interface. In another example, as Figure 3D As shown, the second application on the tablet computer processes keyboard input and mouse input. The tablet computer's mouse cursor (second cursor style) is displayed on the second application interface of the tablet computer. The user slides the mouse to the left, so that the mouse cursor moves beyond the left edge of the tablet computer screen, and switches to the first application on the laptop computer to process keyboard input and mouse input. After that, the laptop computer's keyboard and mouse management application stops intercepting local keyboard input events and mouse input events, and stops forwarding keyboard and mouse input events to the tablet computer. The first application on the laptop computer listens to keyboard input events or mouse input events, and processes the keyboard input or mouse input. At this time, the laptop computer's mouse cursor (first cursor style) is displayed on the first application interface of the laptop computer.

[0117] In some embodiments, Figure 4As shown, the first application on the laptop processes keyboard input and mouse input. After the set conditions are met, the tablet locks the screen and turns off the screen. For example, the set conditions include that there is no application running in the foreground within a set time. For example, the set conditions include that the tablet receives an operation of the user pressing the power button. For another example, the set conditions include that the tablet receives an operation of the user clicking the lock screen icon.

[0118] After the tablet computer is locked and turned off, the user usually needs to press the power button to light up the screen; the operation is relatively cumbersome. The method for lighting up the screen provided in the embodiment of the present application allows the user to slide the mouse towards the tablet computer, and the tablet computer screen can be automatically lit up, which is convenient to operate and provides a good user experience.

[0119] In some embodiments, please refer to Figure 5 , the tablet screen goes off. The first application on the laptop processes the keyboard input and the mouse input. The laptop operating system receives the keyboard input or the mouse input and generates keyboard and mouse input events (including keyboard input events and mouse input events). The first application running on the laptop monitors the keyboard and mouse input events and executes the corresponding processing logic of the keyboard input events or the mouse input events. The laptop mouse cursor (first cursor style) is displayed on the first application interface of the laptop.

[0120] The user moves the mouse. The operating system of the laptop receives the mouse movement input and adjusts the position of the mouse cursor on the screen according to the mouse movement. For example, if the mouse moves a first distance to the right, the position of the mouse cursor on the screen will correspondingly move a second distance to the right; wherein the second distance is proportional to the value of the first distance. In other words, the direction in which the mouse cursor moves on the screen is consistent with the direction in which the mouse moves; and the distance the mouse cursor moves on the screen is proportional to the distance the mouse moves. It is understandable that the above-mentioned mouse can be a mechanical mouse, a mouse simulated by a touchpad, or other forms of devices that can replace the function of a mouse.

[0121] If the movement of the mouse cursor satisfies the first condition, the tablet computer turns on the screen. Figure 5 As shown, the screen of the tablet computer displays an unlocking interface. The mouse cursor (second cursor style) of the tablet computer is displayed on the unlocking interface.

[0122] In one example, the movement of the mouse cursor satisfies the first condition including: the mouse cursor moves to an edge of the laptop screen and continues to move outside the screen.

[0123] In one implementation, when the tablet screen is on, the position of the tablet mouse cursor is displayed corresponding to the position where the mouse cursor moves out of the laptop screen. Figure 6 .like Figure 6As shown in (a), the mouse cursor of the laptop moves out from the right edge of the laptop screen, and correspondingly, the mouse cursor of the tablet is displayed at the left edge of the tablet screen. Figure 6 As shown in (b), the mouse cursor of the laptop moves out from the left edge of the laptop screen, and correspondingly, the mouse cursor of the tablet is displayed at the right edge of the tablet screen. Figure 6 As shown in (c), the mouse cursor of the laptop moves out from the upper edge of the laptop screen, and correspondingly, the mouse cursor of the tablet is displayed at the upper edge of the tablet screen. Figure 6 As shown in (d), the mouse cursor of the laptop computer moves out from the lower edge of the laptop computer screen, and correspondingly, the mouse cursor of the tablet computer is displayed at the lower edge of the tablet computer screen.

[0124] It is understandable that the correspondence between the position where the mouse cursor of the tablet computer appears and the position where the mouse cursor moves out of the laptop screen may include: Figure 6 For example, the laptop computer's mouse cursor moves out from the right edge of the laptop computer's screen, and the tablet computer's mouse cursor is displayed at the right edge of the tablet computer's screen; the laptop computer's mouse cursor moves out from the left edge of the laptop computer's screen, and the tablet computer's mouse cursor is displayed at the left edge of the tablet computer's screen; the laptop computer's mouse cursor moves out from the upper edge of the laptop computer's screen, and the tablet computer's mouse cursor is displayed at the lower edge of the tablet computer's screen; the laptop computer's mouse cursor moves out from the lower edge of the laptop computer's screen, and the tablet computer's mouse cursor is displayed at the upper edge of the tablet computer's screen.

[0125] In one example, see Figure 7 , the laptop computer's mouse cursor moves out from point a on the right edge of the laptop computer screen, and correspondingly, the tablet computer's mouse cursor is displayed at point b on the left edge of the tablet computer screen. The proportion of the ordinate value of point b to the length of the left edge of the tablet computer screen (30%) is the same as the proportion of the ordinate value of point a to the length of the right edge of the laptop computer screen (30%). In this way, the user is given a coherent visual experience of the mouse sliding track.

[0126] In another implementation, when the tablet screen is turned on, the position of the tablet mouse cursor is displayed as the set position. Figure 8 , the laptop computer mouse cursor moves out from the right edge of the laptop computer screen, or moves out from the left edge of the laptop computer screen, or moves out from the top edge of the laptop computer screen, or moves out from the bottom edge of the laptop computer screen, and the tablet computer mouse cursor is displayed in the center of the tablet computer screen.

[0127] In the following embodiments of the present application, the mouse cursor of the laptop moves out from the right edge of the laptop screen, and correspondingly, the mouse cursor of the tablet is displayed at the left edge of the tablet screen. It can be understood that the method of lighting up the screen provided in the embodiments of the present application is also applicable to other implementations.

[0128] For example, Fig. 9A A schematic diagram of a process of lighting up a screen provided in an embodiment of the present application is shown. The method comprises:

[0129] The laptop computer and the tablet computer establish a communication connection. In some examples, the laptop computer and the tablet computer establish a connection through a wireless method (e.g., Bluetooth, P2P, local area network, Wi-Fi, wireless ad hoc network); the laptop computer and the tablet computer can communicate wirelessly. In other examples, the laptop computer and the tablet computer are connected by wire; the laptop computer and the tablet computer communicate by wire. Further, the keyboard and mouse management application of the laptop computer establishes a socket connection with the keyboard and mouse management application of the tablet computer through the socket service port monitored by the keyboard and mouse management application of the tablet computer. A socket is a logical endpoint in each communication connection when applications on two electronic devices communicate; it is an application programming interface (API) for inter-process communication in a network environment. The socket is a combination of an IP address and a port, providing a mechanism for transmitting data packets to an application layer process. A network application writes the information to be transmitted into the socket of the host computer where it is located, and the socket sends this information to the socket of another host computer through a transmission medium connected to a network interface card (NIC), so that the other party can receive this information. After the keyboard and mouse management application of the laptop computer establishes a socket connection with the keyboard and mouse management application of the tablet computer, the keyboard and mouse management application of the laptop computer can communicate with the keyboard and mouse management application of the tablet computer. The keyboard and mouse management application of the laptop monitors the movement of the mouse cursor and notifies the tablet to create a virtual keyboard and mouse. After receiving the notification to create a virtual keyboard and mouse, the keyboard and mouse management application of the tablet notifies the module of the tablet application framework layer to create a virtual keyboard and mouse. The module of the tablet application framework layer creates a virtual keyboard and mouse.

[0130] The keyboard and mouse management application of the tablet computer also monitors the screen on and off broadcast of the operating system. Exemplarily, the screen on and off broadcast includes first information and second information, the first information is used to indicate that the screen is on, and the second information is used to indicate that the screen is off. When the keyboard and mouse management application of the tablet computer receives the first information, it determines that the tablet computer screen is on; when the keyboard and mouse management application of the tablet computer receives the second information, it determines that the tablet computer screen is off. In this way, the keyboard and mouse management application of the tablet computer can determine whether the current screen is on or off.

[0131] When the tablet computer screen is off, the mouse cursor is on the laptop screen. The first application on the laptop monitors the keyboard and mouse input events and processes the keyboard input or mouse input.

[0132] The keyboard and mouse management application of the laptop monitors the movement of the mouse cursor on the screen, and if it is determined that the mouse cursor moves to the edge of the laptop screen and continues to move outside the screen, a mouse shuttle request is sent to the tablet computer. Optionally, after receiving the mouse shuttle request, the keyboard and mouse management application of the tablet computer sends a mouse shuttle response to the laptop.

[0133] The keyboard and mouse management application of the laptop monitors the keyboard and mouse input events, intercepts the keyboard and mouse input events, and prevents the first application on the laptop from monitoring the keyboard and mouse input events. The keyboard and mouse management application of the laptop monitors the keyboard and mouse input events (such as mouse movement events, mouse button events, keyboard button events), and forwards the keyboard and mouse input events to the tablet computer.

[0134] The keyboard and mouse management application of the tablet receives the keyboard and mouse input event, and notifies the module of the application framework layer to write the keyboard and mouse input event to the virtual keyboard or mouse. For example, the keyboard and mouse management application of the tablet receives the mouse cursor movement event, and notifies the module of the application framework layer to write the mouse cursor movement event to the virtual mouse. For example, the keyboard and mouse management application of the tablet receives the keyboard key event, and notifies the module of the application framework layer to write the keyboard key event to the virtual keyboard.

[0135] The keyboard and mouse management application of the tablet computer receives the keyboard and mouse input event, and if it is determined that the screen of the tablet computer is off, it notifies the operating system of the tablet computer to light up the screen.

[0136] like Fig. 9BAs shown, the software system of the tablet computer can adopt a layered architecture. The layered architecture divides the software into several layers, each layer has a clear role and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the tablet computer may include an application layer, an application framework layer, a local framework and operating environment layer, and a kernel layer. The application layer may include a series of application packages. For example, a screen management application, a keyboard and mouse management application, etc. The application framework layer provides an application programming interface (API) and a programming framework for the application of the application layer. The application framework layer includes some predefined functions. The application framework layer may include an event distribution management service and a power management service (power manager service, PMS). Of course, the application framework layer may also include a timing management service (alarm manager service, AMS), a window management service (window manager service, WMS), a content provider, a view system, a phone manager, a resource manager, a notification manager, etc., and the embodiment of the present application does not impose any restrictions on this. Among them, the power management service can be used to control the lighting or extinguishing of the tablet computer screen. The event distribution management service is used to distribute events. The local framework and operating environment layer may include multiple functional modules. For example: sensor services, surface manager, media libraries, 3D graphics processing library (for example: OpenGL ES), 2D graphics engine (for example: SGL), etc. The surface manager is used to manage the display subsystem. The kernel layer is the layer between hardware and software. The kernel layer contains at least display driver, camera driver, and sensor driver.

[0137] The keyboard and mouse management application of the tablet computer notifies the operating system to light up the screen, and the operating system generates a screen light-up event. The event distribution management service distributes the screen light-up event to the screen light-up and screen light-down management application. The screen light-up and screen light-down management application notifies the power management service of the application framework layer to light up the screen. The power management service notifies the display driver to light up the screen through the surface manager. The display driver controls the display screen to light up the screen.

[0138] When the tablet computer turns on the screen, the mouse cursor (second cursor style) of the tablet computer is displayed on the screen according to the set rules. For example, when the tablet computer turns on the screen, the position of the tablet computer mouse cursor is displayed to correspond to the position where the mouse cursor moves out of the laptop computer screen. For another example, when the tablet computer turns on the screen, the position of the tablet computer mouse cursor is displayed to be the set position.

[0139] In one implementation, the mouse shuttle request includes first indication information for indicating that the mouse cursor moves out of the edge of the laptop screen (e.g., the left edge, the right edge, the upper edge, or the lower edge). Optionally, the mouse shuttle request also includes second indication information for indicating the position where the mouse cursor moves out of the edge of the laptop screen (e.g., the proportion of the ordinate value of point a in the length of the right edge of the laptop screen). In this way, the tablet computer can determine the position of the tablet computer mouse cursor when the screen is turned on based on the first indication information and the second indication information.

[0140] In some embodiments, after the tablet turns on the screen, an unlocking interface is displayed. Fig.10 As shown, the tablet computer receives the user's unlock operation (for example, the user slides the "slide to unlock" slider with the mouse), and in response to the user's unlock operation, the tablet computer displays the application interface before the lock screen. In one implementation, the position where the mouse cursor appears on the application interface before the lock screen is the position where the mouse cursor disappears on the unlock interface. Please refer to Fig.10 , the user slides the "slide to unlock" slider with the mouse, and the mouse cursor slides to point c. The screen is unlocked, and the application interface before the lock screen is displayed. The position of the mouse cursor displayed on the application interface is also the position of point c.

[0141] In some embodiments, please refer to Fig.11 , the tablet screen goes off. The first application on the laptop processes the keyboard input and the mouse input. The laptop operating system receives the keyboard input or the mouse input and generates keyboard and mouse input events (including keyboard input events and mouse input events). The first application running on the laptop monitors the keyboard and mouse input events and executes the corresponding processing logic of the keyboard input events or the mouse input events. The laptop mouse cursor (first cursor style) is displayed on the first application interface of the laptop.

[0142] The laptop computer's operating system receives the mouse movement input and adjusts the position of the mouse cursor on the screen according to the mouse movement. If the movement of the mouse cursor meets the first condition, the tablet computer turns on the screen, and the screen of the tablet computer displays the application interface before the lock screen (for example, the desktop, photo application interface, etc.). The tablet computer's mouse cursor (second cursor style) is displayed on the application interface before the lock screen. In one example, the movement of the mouse cursor meets the first condition including: the mouse cursor moves to the edge of the laptop computer screen and continues to move outside the screen. Among them, the specific implementation process of the tablet computer lighting up the screen after the mouse cursor movement meets the first condition can be referred to. Fig. 9A , I will not go into details here.

[0143] After the tablet screen is turned on, the application interface before the lock screen is directly displayed, and the user does not need to manually unlock the screen. The operation is more convenient and user-friendly.

[0144] In some embodiments, please refer to Fig.12 , the user uses the laptop's keyboard and mouse to control the application (such as the photo application) running on the tablet. After the laptop's keyboard and mouse management application monitors the keyboard input event or the mouse input event, it intercepts the keyboard and mouse input event so that other applications running on the laptop cannot monitor the keyboard and mouse input event; and forwards the keyboard input event or the mouse input event to the tablet. When the tablet receives the keyboard input event or the mouse input event, the application running on the tablet can monitor the keyboard and mouse input event and execute the corresponding processing logic of the keyboard input event or the mouse input event. The tablet's mouse cursor (second cursor style) is displayed on the current application interface of the tablet.

[0145] After the set conditions are met, the tablet computer locks the screen and turns off the screen. For example, the set conditions include that there is no application running in the foreground within the set time. For example, the set conditions include that the tablet computer receives an operation of the user pressing the power button. For example, the set conditions include that the tablet computer receives an operation of the user clicking the lock screen icon.

[0146] When the tablet computer is in the screen-off state, if the user moves the mouse or presses the keyboard or mouse button, the tablet computer lights up the screen. In one implementation, the operating system of the laptop receives keyboard input or mouse input and generates a keyboard input event or a mouse input event. The keyboard and mouse management application of the laptop monitors the keyboard input event or the mouse input event, intercepts the keyboard input event or the keyboard and mouse input event, so that other applications running on the laptop cannot monitor the keyboard input event or the keyboard and mouse input event; and forwards the keyboard input event or the mouse input event to the tablet computer. The keyboard and mouse management application of the tablet computer receives the keyboard input event or the mouse input event forwarded by the laptop computer, and notifies the module of the application framework layer to write the keyboard and mouse input event (keyboard input event or keyboard and mouse input event) into the virtual keyboard or mouse. The keyboard and mouse management application of the tablet computer receives the keyboard and mouse input event, determines that the screen of the tablet computer is off, and notifies the operating system to light up the screen. The operating system of the tablet computer generates a screen lighting event. The event distribution management service of the application framework layer distributes the screen lighting event to the screen lighting and off management application. The screen lighting and off management application notifies the power management service of the application framework layer to light up the screen. The power management service notifies the display driver to light up the screen through the surface manager. The display driver controls the display screen to light up the screen.

[0147] In one example, if Fig.12 As shown, after the tablet computer turns on the screen, the unlocking interface is displayed.

[0148] In another example, Fig.13 As shown, after the tablet computer turns on the screen, the application interface before the lock screen (such as the photo application) is displayed.

[0149] In this way, in an application scenario where a user uses a laptop computer's keyboard and mouse to control a tablet computer, if the tablet computer is locked and the screen is turned off, the user can quickly and easily wake up the tablet computer screen by moving the mouse or pressing a keyboard or mouse button.

[0150] In some embodiments, the laptop computer and the tablet computer are connected wirelessly. The user uses the laptop computer's keyboard and mouse to input instructions or data into the laptop computer. The laptop computer runs one or more first applications (such as a chat application) and displays the interface of the first application. The laptop computer also runs one or more third applications (such as a video application), and the tablet computer displays the interface of the third application. The tablet computer is called an extended screen of the laptop computer, that is, the screen of the tablet computer displays the application interface running on the laptop computer.

[0151] In the embodiment of the present application, the mode in which the laptop displays the third application running on it on the tablet computer with which the laptop has established a communication connection is called the extended screen mode. The display interface of the third application on the tablet computer is called the extended screen interface.

[0152] In some scenarios, please refer to Fig.14A , the user controls the first application running and displayed on the laptop computer through the keyboard and mouse. The operating system of the laptop computer receives the keyboard input or the mouse input and generates a keyboard and mouse input event (including the keyboard input event and the mouse input event). The first application running and displayed on the laptop computer monitors the keyboard and mouse input event and executes the corresponding processing logic of the keyboard input event or the mouse input event. For example, Fig.14A As shown, the chat application running and displayed on the laptop receives keyboard input and mouse input. The keyboard cursor flashes in the input box of the chat application. The mouse cursor (first cursor style) of the laptop is displayed on the first application interface of the laptop.

[0153] In some scenarios, please refer to Fig. 14B , the user controls the third application running on the laptop computer and displayed on the tablet computer screen through the keyboard and mouse. The laptop computer's operating system receives the keyboard input or mouse input and generates keyboard and mouse input events (including keyboard input events and mouse input events). The third application running on the laptop computer and displayed on the tablet computer monitors the keyboard and mouse input events and executes the corresponding processing logic of the keyboard input events or mouse input events. For example, Fig. 14B As shown, the video application running on the notebook computer and displayed on the tablet computer receives keyboard input and mouse input. The mouse cursor (first cursor style) of the notebook computer is displayed on the third application interface of the tablet computer.

[0154] In some examples, the user can slide the mouse to Fig.14A and Fig. 14B Switch between the scenes shown.

[0155] For example, Fig. 14C As shown, a first application (chat application) is running on the laptop computer, and the interface of the first application is displayed. A third application (video application) is also running on the laptop computer, and the tablet computer displays the interface of the third application. The user uses the keyboard and mouse of the laptop computer to control the first application running and displayed on the laptop computer. The first application on the laptop computer listens for and processes keyboard input and mouse input. The mouse cursor (first cursor style) of the laptop computer is displayed on the interface of the first application of the laptop computer.

[0156] The keyboard and mouse management application of the tablet computer monitors whether the extended screen interface is displayed in the foreground. In one implementation, if the keyboard and mouse management application of the tablet computer determines that the extended screen interface is switched to the foreground display, a third message is sent to the keyboard and mouse management application of the laptop computer to instruct the extended screen interface to switch to the foreground display; if the keyboard and mouse management application of the tablet computer determines that the extended screen interface is switched to the background, a fourth message is sent to the keyboard and mouse management application of the laptop computer to instruct the extended screen interface to switch to the background. In this way, the keyboard and mouse management application of the laptop computer can determine whether the extended screen interface is displayed in the foreground or switched to the background.

[0157] The user slides the mouse to the right, so that the mouse cursor moves beyond the right edge of the laptop screen. The laptop's keyboard and mouse management application monitors the movement of the mouse cursor on the screen, determines that the mouse cursor moves to the edge of the laptop screen, and continues to move outside the screen; if it is determined that the extended screen interface is displayed in the foreground, switch to the third application displayed on the extended screen interface to receive and process keyboard input and mouse input. The laptop's mouse cursor (first cursor style) is displayed on the third application interface of the tablet computer. The user can use the laptop's keyboard and mouse to control the third application running on the laptop and displayed on the tablet computer.

[0158] For example, Fig.14DAs shown, the user uses the laptop computer's keyboard and mouse to control a third application running on the laptop computer and displayed on the tablet computer. The laptop computer's mouse cursor (first cursor style) is displayed on the tablet computer's third application interface. The user slides the mouse to the left, so that the mouse cursor moves beyond the left edge of the tablet computer screen. The laptop computer's keyboard and mouse management application monitors the movement of the mouse cursor on the screen, determines that the mouse cursor moves to the edge of the tablet computer screen, and continues to move outside the screen; if it is determined that the extended screen interface is displayed in the foreground, switch to the first application displayed in the foreground of the laptop computer to receive and process keyboard input and mouse input. The laptop computer's mouse cursor (first cursor style) is displayed on the laptop computer's first application interface. The user can use the laptop computer's keyboard and mouse to control the first application running and displayed on the laptop computer.

[0159] In one example, the user slides the mouse to the left, so that the mouse cursor moves beyond the left edge of the tablet screen. The keyboard and mouse management application of the laptop monitors the movement of the mouse cursor on the screen, determines that the mouse cursor moves to the edge of the tablet screen, and continues to move outside the screen; if it is determined that the extended screen interface is in the background, the keyboard and mouse management application of the laptop stops intercepting local keyboard input events and mouse input events, and switches to the first application on the laptop to process keyboard input and mouse input. Figure 3D The scene shown.

[0160] In some embodiments, Fig.15A As shown, a first application (such as a chat application) is running and displayed on the laptop. A third application (such as a video application) is also running on the laptop, and the tablet computer displays the interface of the third application (extended screen interface); that is, the laptop is in extended screen mode. After the set conditions are met, the tablet computer locks the screen and turns off the screen. For example, the setting conditions include not receiving keyboard input or mouse input for a set period of time. For example, the setting conditions include the tablet computer receiving an operation of the user pressing the power button. For another example, the setting conditions include the tablet computer receiving an operation of the user clicking the lock screen icon.

[0161] After the tablet computer is locked and turned off, the user usually needs to press the power button to light up the screen; the operation is relatively cumbersome. The method for lighting up the screen provided in the embodiment of the present application, when the mouse cursor is on the laptop screen, the user slides the mouse towards the tablet computer, and the tablet computer screen can be automatically lit up, which is convenient to operate and provides a good user experience.

[0162] In some embodiments, please refer to Fig. 15B, the laptop runs and displays the first application (such as a chat application). The tablet computer turns off the screen. The user controls the first application running and displayed on the laptop through the keyboard and mouse. The laptop's operating system receives keyboard input or mouse input and generates keyboard and mouse input events (including keyboard input events and mouse input events). The first application monitors the keyboard and mouse input events and executes the corresponding processing logic of the keyboard input events or mouse input events. The laptop's mouse cursor (first cursor style) is displayed on the laptop's first application interface.

[0163] The user moves the mouse. The operating system of the laptop receives the mouse movement input and adjusts the position of the mouse cursor on the screen according to the mouse movement. If the movement of the mouse cursor meets the first condition, the tablet computer turns on the screen. For example, Fig. 15B As shown, the screen of the tablet computer displays an unlocking interface. The mouse cursor (second cursor style) of the tablet computer is displayed on the unlocking interface.

[0164] In one example, the movement of the mouse cursor satisfies the first condition including: the mouse cursor moves to an edge of the laptop screen and continues to move outside the screen.

[0165] In one implementation, when the tablet screen is on, the position of the tablet mouse cursor is displayed corresponding to the position where the mouse cursor moves out of the laptop screen. Figure 6 and Figure 7 , I will not go into details here.

[0166] In another implementation, when the tablet screen is turned on, the position of the tablet mouse cursor is displayed as the set position. Figure 8 , I will not go into details here.

[0167] In one example, after the tablet turns on the screen, an unlocking interface is displayed. The tablet receives an unlocking operation from the user (for example, the user slides a "slide to unlock" slider using a mouse), and in response to the unlocking operation from the user, the screen of the tablet is unlocked. The application interface before the lock screen is displayed.

[0168] In some scenarios, the application interface before the tablet computer is locked is the interface of a third application (such as the interface of a video application) running on the laptop computer. The third application interface of the tablet computer displays the mouse cursor (first cursor style) of the laptop computer.

[0169] In one implementation, the position where the mouse cursor (first cursor style) of the laptop appears on the third application interface on the tablet screen is the position where the mouse cursor (second cursor style) of the tablet disappears on the lock screen interface. Fig. 15B, the user uses the mouse to slide the "slide to unlock" slider bar, and the mouse cursor (second cursor style) of the tablet computer on the lock screen interface slides to point c and disappears. The screen is unlocked, and the application interface before the lock screen is displayed. The position of the mouse cursor (first cursor style) of the laptop computer displayed on the third application interface is also the position of point c. Exemplarily, in one implementation, the tablet computer screen resolution is x_1*y_1, the third application (such as a video application) interface resolution is x_2*y_2, the origin coordinates of the third application (such as a video application) interface are (x_o2, y_o2), the coordinate position where the tablet computer's mouse cursor (second cursor style) disappears on the lock screen interface is (x_p1, y_p1) in the tablet computer screen resolution coordinate system, and the position where the laptop computer's mouse cursor (first cursor style) appears on the third application interface of the tablet computer is (x_p2, y_p2) in the tablet computer screen resolution coordinate system, where,

[0170] x_p2=(x_2 / x_1)*x_p1+x_o2, y_p2=(y_2 / y_1)*y_p1+y_o2.

[0171] For example, Fig.16 A schematic diagram of a process of lighting up a screen provided in an embodiment of the present application is shown. The method comprises:

[0172] The laptop computer and the tablet computer establish a communication connection. In some examples, the laptop computer and the tablet computer establish a connection through a wireless method (e.g., Bluetooth, P2P, local area network, Wi-Fi, wireless ad hoc network); the laptop computer and the tablet computer can communicate wirelessly. In other examples, the laptop computer and the tablet computer are connected by wire; the laptop computer and the tablet computer communicate by wire. Further, the keyboard and mouse management application of the laptop computer establishes a socket connection with the keyboard and mouse management application of the tablet computer through the socket service port monitored by the keyboard and mouse management application of the tablet computer. A socket is a logical endpoint in each communication connection when applications on two electronic devices communicate; it is an application programming interface (API) for inter-process communication in a network environment. The socket is a combination of an IP address and a port, providing a mechanism for transmitting data packets to an application layer process. A network application writes the information to be transmitted into the socket of the host computer where it is located, and the socket sends this information to the socket of another host computer through a transmission medium connected to a network interface card (NIC), so that the other party can receive this information. After the keyboard and mouse management application of the laptop computer establishes a socket connection with the keyboard and mouse management application of the tablet computer, the keyboard and mouse management application of the laptop computer can communicate with the keyboard and mouse management application of the tablet computer.

[0173] The laptop runs and displays a first application (such as a chat application). The laptop also runs a third application (such as a video application), and the tablet displays the interface of the third application (the extended screen interface); that is, the laptop is in extended screen mode. The first application on the laptop receives and processes keyboard and mouse input events, and the mouse cursor of the laptop is displayed on the first application interface (the first cursor style).

[0174] The keyboard and mouse management application of the laptop monitors the movement of the mouse cursor. The keyboard and mouse management application of the laptop notifies the tablet to create a virtual keyboard and mouse. After receiving the notification to create a virtual keyboard and mouse, the keyboard and mouse management application of the tablet notifies the module of the tablet application framework layer to create a virtual keyboard and mouse. The module of the tablet application framework layer creates a virtual keyboard and mouse. The keyboard and mouse management application of the tablet monitors whether the screen is turned on or off, and whether the extended screen interface is displayed in the foreground.

[0175] After the set conditions are met, the tablet locks the screen and turns off the screen. The keyboard and mouse management application of the tablet monitors that the extended screen interface is switched to the background and the screen is turned off, and then notifies the laptop to switch the extended screen interface to the background. The keyboard and mouse management application of the laptop receives the notification that the extended screen interface is switched to the background.

[0176] The keyboard and mouse management application of the laptop monitors the movement of the mouse cursor on the screen, and if it is determined that the mouse cursor moves to the edge of the laptop screen and continues to move outside the screen; and if it is determined that the extended screen interface has been switched to the background; a mouse shuttle request is sent to the tablet computer. Optionally, after receiving the mouse shuttle request, the keyboard and mouse management application of the tablet computer sends a mouse shuttle response to the laptop.

[0177] The keyboard and mouse management application of the laptop monitors the keyboard and mouse input events (for example, mouse movement events, mouse button events, keyboard button events), intercepts the keyboard and mouse input events, and prevents other applications on the laptop from monitoring the keyboard and mouse input events. The keyboard and mouse management application of the laptop forwards the keyboard and mouse input events to the tablet computer. The keyboard and mouse management application of the tablet computer receives the keyboard and mouse input events, and notifies the module of the application framework layer to write the keyboard and mouse input events to the virtual keyboard or mouse. For example, the keyboard and mouse management application of the tablet computer receives the mouse cursor movement event, and notifies the module of the application framework layer to write the mouse cursor movement event to the virtual mouse. For example, the keyboard and mouse management application of the tablet computer receives the keyboard key event, and notifies the module of the application framework layer to write the keyboard key event to the virtual keyboard.

[0178] The keyboard and mouse management application of the tablet receives the keyboard and mouse input event. If it determines that the tablet screen is off, it notifies the tablet operating system to light up the screen. The tablet operating system generates a screen light-up event. The event distribution management service of the application framework layer distributes the screen light-up event to the screen light-up and screen light-down management application. The screen light-up and screen light-down management application notifies the power management service of the application framework layer to light up the screen. The power management service notifies the display driver to light up the screen through the surface manager. The display driver controls the display screen to light up the screen.

[0179] When the tablet computer turns on the screen, the mouse cursor (second cursor style) of the tablet computer is displayed on the screen according to the set rules. For example, when the tablet computer turns on the screen, the position of the tablet computer mouse cursor is displayed to correspond to the position where the mouse cursor moves out of the laptop computer screen. For another example, when the tablet computer turns on the screen, the position of the tablet computer mouse cursor is displayed to be the set position.

[0180] In one example, after the tablet turns on the screen, an unlocking interface is displayed, and the tablet's mouse cursor (second cursor style) is displayed on the unlocking interface. The tablet receives the user's unlocking operation (for example, the user slides the "slide to unlock" slider with the mouse), and in response to the user's unlocking operation, the screen is unlocked, the tablet's mouse cursor (second cursor style) is hidden, and the application interface before the lock screen is displayed, that is, the extended screen interface is switched to the foreground display. The laptop's mouse cursor (first cursor style) is displayed on the extended screen interface.

[0181] In one implementation, the tablet computer unlocks the screen, and the extended screen interface switches to the foreground display. The keyboard and mouse management application of the tablet computer determines that the extended screen interface switches to the foreground display by monitoring the life cycle of the extended screen interface; and notifies the laptop computer that the tablet computer has unlocked the screen and the extended screen interface switches to the foreground display. The keyboard and mouse management application of the laptop computer receives the notification that the tablet computer has unlocked the screen and the extended screen interface switches to the foreground display. The keyboard and mouse management application of the laptop computer stops intercepting keyboard and mouse input events, and stops forwarding keyboard and mouse input events to the tablet computer, so that the application on the laptop computer can monitor the keyboard and mouse input events. The keyboard and mouse management application of the laptop computer determines that the extended screen interface is displayed in the foreground, and switches to the third application (extended screen application) to receive and process keyboard input and mouse input. The third application is an application running on the laptop computer, and its interface displays the mouse cursor of the laptop computer (first cursor style).

[0182] In one implementation, the keyboard and mouse management application of the tablet computer sends mouse cursor information to the laptop computer, and the mouse cursor information is used to indicate the coordinate position where the mouse cursor (second cursor style) of the tablet computer on the lock screen interface disappears when the screen is unlocked. The keyboard and mouse management application of the laptop computer calculates the position of the mouse cursor (first cursor style) of the laptop computer displayed on the tablet computer's extended screen interface based on the mouse cursor information. In this way, it can be achieved that the position where the mouse cursor of the laptop computer appears on the extended screen interface after unlocking is the position where the mouse cursor of the tablet computer disappears on the lock screen interface.

[0183] In some embodiments, Fig.17 As shown, a first application (such as a chat application) is running and displayed on the laptop. A third application (such as a video application) is also running on the laptop, and the tablet computer displays the interface of the third application (extended screen interface); that is, the laptop is in extended screen mode. The user uses a mouse or keyboard to control the third application, that is, the mouse cursor is on the tablet computer screen. The operating system of the laptop computer receives keyboard input or mouse input, and generates keyboard and mouse input events (including keyboard input events and mouse input events). The third application monitors the keyboard and mouse input events, and executes the corresponding processing logic of the keyboard input events or mouse input events. The mouse cursor of the laptop computer (first cursor style) is displayed on the third application interface of the tablet computer.

[0184] After the set conditions are met, the tablet locks the screen and turns it off. For example, the set conditions include not receiving keyboard input or mouse input for a set period of time. For example, the set conditions include the tablet receiving an operation of the user pressing the power button. For another example, the set conditions include the tablet receiving an operation of the user clicking the lock screen icon. The keyboard and mouse management application of the tablet monitors that the screen turns off and the third application interface (extended screen interface) switches to the background; the laptop is notified that the tablet screen turns off and the extended screen interface switches to the background.

[0185] When the tablet computer is in the off-screen state, the user moves the mouse or presses the keyboard or mouse button, and the tablet computer lights up the screen. In one implementation, the operating system of the laptop receives keyboard input or mouse input and generates a keyboard input event or a mouse input event. The keyboard and mouse management application of the laptop monitors the keyboard input event or the mouse input event, and if it is determined that the extended screen interface is in the background, it sends a mouse shuttle request to the tablet computer. Optionally, after receiving the mouse shuttle request, the keyboard and mouse management application of the tablet computer sends a mouse shuttle response to the laptop computer. The keyboard and mouse management application of the laptop computer monitors the keyboard and mouse input event, intercepts the keyboard and mouse input event, so that other applications running on the laptop computer cannot monitor the keyboard and mouse input event; and forwards the keyboard and mouse input event to the tablet computer. The keyboard and mouse management application of the tablet computer receives the keyboard and mouse input event forwarded by the laptop computer, and notifies the module of the application framework layer to write the keyboard and mouse input event (keyboard input event or keyboard and mouse input event) into the virtual keyboard or mouse. The keyboard and mouse management application of the tablet computer receives the keyboard and mouse input event, determines that the screen of the tablet computer is off, and notifies the operating system to light up the screen. The operating system of the tablet computer generates a light-up screen event. The event distribution management service of the application framework layer distributes the screen lighting event to the screen lighting management application. The screen lighting management application notifies the power management service of the application framework layer to light up the screen. The power management service notifies the display driver to light up the screen through the surface manager. The display driver controls the display screen to light up the screen.

[0186] In one example, if Fig.17 As shown, after the screen of the tablet computer is turned on, an unlocking interface is displayed. The mouse cursor (second cursor style) of the tablet computer is displayed on the unlocking interface.

[0187] The tablet computer receives an unlock operation from the user (for example, the user slides the "slide to unlock" slider with the mouse), and in response to the user's unlock operation, the screen of the tablet computer is unlocked, the mouse cursor of the tablet computer (the second cursor style) is hidden, and the application interface before the lock screen (the extended screen interface) is displayed. The mouse cursor of the laptop computer (the first cursor style) is displayed on the third application interface (the extended screen interface) of the tablet computer. In one implementation, the tablet computer unlocks the screen, and the extended screen interface switches to the foreground display. The keyboard and mouse management application of the tablet computer determines that the extended screen interface switches to the foreground display by monitoring the life cycle of the extended screen interface; and notifies the laptop computer that the tablet computer has unlocked the screen and the extended screen interface switches to the foreground display. The keyboard and mouse management application of the laptop computer receives a notification that the tablet computer has unlocked the screen and the extended screen interface switches to the foreground display. The keyboard and mouse management application of the laptop computer stops intercepting keyboard and mouse input events, and stops forwarding keyboard and mouse input events to the tablet computer, so that the application on the laptop computer can monitor the keyboard and mouse input events. The keyboard and mouse management application of the laptop computer determines that the extended screen interface is displayed in the foreground, and switches to the third application (extended screen application) to receive and process keyboard input and mouse input. The third application is an application running on a notebook computer, and the mouse cursor of the notebook computer (the first cursor style) is displayed on the interface of the third application.

[0188] The method for lighting up the screen provided in the embodiment of the present application is that the laptop computer extends the application running on the laptop computer to the tablet computer for display. After the tablet computer screen is turned off, the user can slide the mouse to light up the tablet computer screen, which is convenient and quick. The tablet computer displays the tablet computer's mouse cursor on the lock screen interface, and the user can use the mouse to unlock the tablet computer screen. After the tablet computer screen is unlocked, the laptop computer's mouse cursor is displayed on the extended screen interface, and the user can use the keyboard or mouse to control the application extended on the tablet computer. The position where the laptop computer's mouse cursor appears on the extended screen interface is the position where the tablet computer's mouse cursor disappears on the lock screen interface; it brings an immersive user experience to the user.

[0189] In some embodiments, please refer to Fig.18A , the laptop runs and displays a first application (such as a chat application). The laptop also runs a third application (such as a video application), and the tablet displays the interface of the third application (extended screen interface); that is, the laptop is in extended screen mode. The user uses a mouse or keyboard to control the first application, that is, the mouse cursor is on the laptop screen.

[0190] The user controls the first application running and displayed on the laptop computer through the keyboard and mouse. The operating system of the laptop computer receives the keyboard input or the mouse input and generates keyboard and mouse input events (including keyboard input events and mouse input events). The first application monitors the keyboard and mouse input events and executes the corresponding processing logic of the keyboard input events or the mouse input events. The mouse cursor (first cursor style) of the laptop computer is displayed on the first application interface of the laptop computer.

[0191] After the set conditions are met, the tablet locks the screen and turns it off. The keyboard and mouse management application of the tablet monitors whether the screen turns on or off, and whether the extended screen interface is displayed in the foreground. The keyboard and mouse management application of the tablet monitors that the extended screen interface switches to the background and the screen turns off, and notifies the laptop that the extended screen interface switches to the background and the tablet has turned off.

[0192] The keyboard and mouse management unit of the laptop monitors the movement of the mouse cursor. The user moves the mouse. The operating system of the laptop receives the mouse movement input and adjusts the position of the mouse cursor on the screen according to the mouse movement. If the movement of the mouse cursor satisfies the first condition, the tablet turns on the screen. In one example, the movement of the mouse cursor satisfies the first condition including: the mouse cursor moves to the edge of the laptop screen and continues to move outside the screen.

[0193] The keyboard and mouse management application of the laptop monitors the movement of the mouse cursor on the screen. If it is determined that the mouse cursor moves to the edge of the laptop screen and continues to move outside the screen; and it is determined that the projection extension screen interface is in the background and the tablet computer has been turned off; a mouse shuttle request is sent to the tablet computer. Optionally, after receiving the mouse shuttle request, the keyboard and mouse management application of the tablet computer sends a mouse shuttle response to the laptop computer. The keyboard and mouse management application of the laptop monitors the keyboard and mouse input events (for example, mouse movement events, mouse button events, keyboard button events), intercepts the keyboard and mouse input events, so that other applications on the laptop computer cannot monitor the keyboard and mouse input events. The keyboard and mouse management application of the laptop computer forwards the keyboard and mouse input events to the tablet computer. The keyboard and mouse management application of the tablet computer receives the keyboard and mouse input events, and if it is determined that the tablet computer screen is off, it notifies the tablet computer operating system to light up the screen. The tablet computer operating system generates a screen lighting event. The event distribution management service of the application framework layer distributes the screen lighting event to the screen lighting management application. The screen lighting management application notifies the power management service of the application framework layer to light up the screen. The power management service notifies the display driver to light up the screen through the surface manager. The display driver controls the display screen to light up the screen.

[0194] In one example, after the tablet turns on the screen, it displays the application interface before the lock screen (extended screen interface). The keyboard and mouse management application of the tablet monitors that the extended screen interface switches to the foreground display, and notifies the laptop computer that the extended screen interface switches to the foreground. The keyboard and mouse management application of the tablet notifies the laptop computer that the tablet computer has unlocked the screen and the extended screen interface switches to the foreground display. The keyboard and mouse management application of the laptop computer receives the notification that the tablet computer has unlocked the screen and the extended screen interface switches to the foreground display, stops intercepting keyboard and mouse input events, and enables other applications on the laptop computer to monitor keyboard and mouse input events. The keyboard and mouse management application of the laptop computer determines that the extended screen interface is displayed in the foreground, and switches to the third application (extended screen application) to receive and process keyboard input and mouse input. The third application is an application running on the laptop computer, and its interface displays the laptop computer's mouse cursor (first cursor style).

[0195] In one implementation, when the tablet screen is on, the position of the laptop mouse cursor displayed on the tablet screen corresponds to the position where the mouse cursor moves out of the laptop screen. Figure 6 and Figure 7 , I will not go into details here.

[0196] In another implementation, when the tablet screen is turned on, the position of the laptop mouse cursor displayed on the tablet screen is the set position. Figure 8 , I will not go into details here.

[0197] In some embodiments, please refer to Fig.18B , a first application (such as a chat application) is run and displayed on the laptop. A third application (such as a video application) is also run on the laptop, and the tablet displays the interface of the third application (extended screen interface); that is, the laptop is in extended screen mode. The user uses a mouse or keyboard to control the third application, that is, the mouse cursor is on the tablet screen. The operating system of the laptop receives keyboard input or mouse input, and generates keyboard and mouse input events (including keyboard input events and mouse input events). The third application monitors the keyboard and mouse input events, and executes the corresponding processing logic of the keyboard input events or mouse input events. The mouse cursor of the laptop (first cursor style) is displayed on the third application interface of the tablet.

[0198] After the set conditions are met, the tablet locks the screen and turns off the screen. The keyboard and mouse management application of the tablet monitors that the screen turns off and the third application interface (extended screen interface) switches to the background; it notifies the laptop that the tablet screen turns off and the extended screen interface switches to the background.

[0199] When the tablet computer is in the off-screen state, the user moves the mouse or presses the keyboard or mouse button, and the tablet computer lights up the screen. In one implementation, the operating system of the laptop receives keyboard input or mouse input and generates a keyboard input event or a mouse input event. The keyboard and mouse management application of the laptop monitors the keyboard input event or the mouse input event, and if it is determined that the extended screen interface is in the background, it sends a mouse shuttle request to the tablet computer. Optionally, after receiving the mouse shuttle request, the keyboard and mouse management application of the tablet computer sends a mouse shuttle response to the laptop computer. The keyboard and mouse management application of the laptop computer monitors the keyboard and mouse input event, intercepts the keyboard and mouse input event, so that other applications running on the laptop computer cannot monitor the keyboard and mouse input event; and forwards the keyboard and mouse input event to the tablet computer. The keyboard and mouse management application of the tablet computer receives the keyboard and mouse input event forwarded by the laptop computer, and notifies the module of the application framework layer to write the keyboard and mouse input event (keyboard input event or keyboard and mouse input event) into the virtual keyboard or mouse. The keyboard and mouse management application of the tablet computer receives the keyboard and mouse input event, determines that the screen of the tablet computer is off, and notifies the operating system to light up the screen. The operating system of the tablet computer generates a light-up screen event. The event distribution management service of the application framework layer distributes the screen lighting event to the screen lighting management application. The screen lighting management application notifies the power management service of the application framework layer to light up the screen. The power management service notifies the display driver to light up the screen through the surface manager. The display driver controls the display screen to light up the screen.

[0200] In one example, after the screen of the tablet computer is turned on, the application interface before the lock screen (extended screen interface) is displayed. The keyboard and mouse management application of the tablet computer monitors that the extended screen interface switches to the foreground display, and notifies the laptop computer that the extended screen interface switches to the foreground. The keyboard and mouse management application of the tablet computer notifies the laptop computer that the tablet computer has unlocked the screen and the extended screen interface switches to the foreground display. The keyboard and mouse management application of the laptop computer receives the notification that the tablet computer has unlocked the screen and the extended screen interface switches to the foreground display, stops intercepting keyboard and mouse input events, and enables other applications on the laptop computer to monitor keyboard and mouse input events. The keyboard and mouse management application of the laptop computer determines that the extended screen interface is displayed in the foreground, and switches to the third application (extended screen application) to receive and process keyboard input and mouse input. The third application is an application running on the laptop computer, and its interface displays the laptop computer's mouse cursor (first cursor style).

[0201] In some embodiments, please refer to Fig.19A, a first application (such as a chat application) is run and displayed on the laptop. A third application (such as a video application) is also run on the laptop, and the tablet displays the interface of the third application (extended screen interface); that is, the laptop is in extended screen mode. The user can use the keyboard and mouse to control the first application displayed on the laptop and the third application displayed on the tablet. For example, when the user uses the keyboard and mouse to control the third application, the mouse cursor of the laptop (first cursor style) is displayed on the extended screen interface.

[0202] The fourth application running on the tablet computer is started and switched to the foreground. The tablet computer displays the display interface of the fourth application (non-extended screen interface). The interface of the third application (extended screen interface) is switched to the background. For example, the tablet computer receives a video call request, the video call application switches to the foreground, and the interface of the video application switches to the background. The keyboard and mouse management application of the tablet computer monitors that the extended screen interface switches to the background, and notifies the laptop computer that the extended screen interface switches to the background. After receiving the notification message, the keyboard and mouse management application of the laptop computer sends a mouse shuttle request to the tablet computer. Optionally, after receiving the mouse shuttle request, the keyboard and mouse management application of the tablet computer sends a mouse shuttle response to the laptop computer. The keyboard and mouse management application of the laptop computer monitors the keyboard and mouse input events, intercepts the keyboard and mouse input events of the operating system, so that other applications on the laptop computer cannot monitor the keyboard and mouse input events. The keyboard and mouse management application of the laptop computer monitors the keyboard and mouse input events (for example, mouse movement events, mouse button events, keyboard button events), and forwards the keyboard and mouse input events to the tablet computer. The fourth application running on the tablet computer monitors the keyboard and mouse input events and executes the corresponding business logic. The mouse cursor (second cursor style) of the tablet computer is displayed on the fourth application interface of the tablet computer. For example, Fig.19A As shown, the mouse cursor (second cursor style) of the tablet computer is displayed on the fourth application interface (video call application interface) running on the tablet computer. It can be understood that the fourth application running on the tablet computer can also be the second application in the above embodiment.

[0203] In one implementation, the position where the mouse cursor of the tablet computer appears on the fourth application interface on the tablet computer screen is the position where the mouse cursor of the laptop computer disappears on the extended screen interface. Exemplarily, the tablet computer screen resolution is x_1*y_1, the interface resolution of the application (such as a video application) extended to the tablet computer is x_2*y_2, the origin coordinates of the application (such as a video application) interface extended to the tablet computer are (x_o2, y_o2), the position where the mouse cursor of the laptop computer disappears on the extended screen interface is (x_q1, y_q1) in the tablet computer screen resolution coordinate system, and the position where the mouse cursor of the tablet computer appears on the fourth application interface running on the tablet computer is (x_q2, y_q2) in the tablet computer screen resolution coordinate system, wherein,

[0204] x_q2=(x_2 / x_1)*x_q1+x_o2, y_q2=(y_2 / y_1)*y_q1+y_o2.

[0205] In some examples, a fourth application running on the tablet computer is closed. Fig.19B As shown, the tablet computer receives the operation of the user clicking the "Reject" button on the interface, and in response to the user clicking the "Reject" button on the interface, closes the video call application. The extended screen interface is switched to the foreground display. The keyboard and mouse management application of the tablet computer monitors that the extended screen interface is switched to the foreground, and notifies the laptop computer that the extended screen interface is switched to the foreground. After receiving the notification message, the keyboard and mouse management application of the laptop computer stops intercepting keyboard and mouse input events, and stops forwarding keyboard and mouse input events to the tablet computer, so that applications on the laptop computer (such as a third application) can monitor keyboard and mouse input events.

[0206] The third application interface (extended screen interface) displayed on the tablet computer displays the mouse cursor (first cursor style) of the laptop computer. Fig.19B As shown, the mouse cursor of the laptop computer (first cursor style) is displayed on the video application interface.

[0207] In one implementation, on the tablet computer screen, the position where the mouse cursor of the laptop computer appears on the extended screen interface is the position where the mouse cursor of the tablet computer disappears on the fourth application interface running on the tablet computer.

[0208] The method for lighting up the screen provided in the embodiment of the present application can switch between the extended screen interface and the non-extended screen interface after the tablet screen is lit. When the tablet display interface switches between the extended screen interface and the local application interface, the mouse cursor style switches accordingly.

[0209] In some embodiments, please refer to Fig.19C, a first application (such as a chat application) is running and displayed on the laptop. A third application (such as a video application) is also running on the laptop, and the tablet computer displays the interface of the third application (extended screen interface); that is, the laptop is in extended screen mode. The user uses the keyboard and mouse to control the first application displayed on the laptop and the third application displayed on the tablet computer. The mouse cursor of the laptop is displayed on the extended screen interface (first cursor style).

[0210] The fourth application running on the tablet computer is started and switched to the foreground. The tablet computer displays the display interface of the fourth application (non-extended screen interface). The interface of the third application (extended screen interface) is switched to the background. For example, the tablet computer receives a video call request, the video call application switches to the foreground, and the interface of the video application switches to the background. The keyboard and mouse management application of the tablet computer monitors that the extended screen interface switches to the background, and notifies the laptop computer that the extended screen interface switches to the background. After receiving the notification message, the keyboard and mouse management application of the laptop computer sends a mouse shuttle request to the tablet computer. Optionally, after receiving the mouse shuttle request, the keyboard and mouse management application of the tablet computer sends a mouse shuttle response to the laptop computer. The keyboard and mouse management application of the laptop computer monitors the keyboard and mouse input events, intercepts the keyboard and mouse input events of the operating system, so that other applications on the laptop computer cannot monitor the keyboard and mouse input events. The keyboard and mouse management application of the laptop computer monitors the keyboard and mouse input events (for example, mouse movement events, mouse button events, keyboard button events), and forwards the keyboard and mouse input events to the tablet computer. The fourth application running on the tablet computer monitors the keyboard and mouse input events and executes the corresponding business logic. The mouse cursor (second cursor style) of the tablet computer is displayed on the fourth application interface of the tablet computer. Exemplarily, the mouse cursor (second cursor style) of the tablet computer is displayed on the video call application interface.

[0211] The keyboard and mouse management application of the tablet monitors mouse movement. If the mouse cursor moves to the edge of the tablet screen and continues to move outside the screen, the keyboard and mouse management application of the tablet sends a mouse shuttle request to the laptop. The keyboard and mouse management application of the laptop stops intercepting keyboard and mouse input events, and stops forwarding keyboard input and mouse input to the tablet, so that the application on the laptop can monitor keyboard and mouse input events.

[0212] The laptop receives keyboard input or mouse input, the first application monitors the keyboard and mouse input events, and processes the keyboard input or mouse input; the third application runs in the background. The mouse cursor of the laptop is displayed on the first application interface, that is, the mouse cursor of the laptop is displayed on the screen of the laptop. For example, Fig.19C As shown, the mouse cursor (first cursor style) of the laptop computer is displayed on the chat application interface of the laptop computer.

[0213] The method for lighting up the screen provided in the embodiment of the present application is that the laptop computer extends the screen of the application running on the laptop computer to the tablet computer display. After the application on the tablet computer is started, the extended screen interface is switched to the background. The user uses the keyboard and mouse to control the application running on the tablet computer. The user can slide the mouse to shuttle the mouse cursor to the laptop computer screen to control the application displayed on the laptop computer. The method for lighting up the screen provided in the embodiment of the present application can conveniently and quickly switch to use the mouse to control the laptop computer or tablet computer.

[0214] It is understandable that, in order to realize the above functions, the above electronic device includes a hardware structure and / or software module corresponding to each function. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of each example described in the embodiments disclosed herein, the embodiments of the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the embodiments of the present application.

[0215] The embodiment of the present application can divide the functional modules of the above-mentioned electronic device according to the above-mentioned method example. For example, each functional module can be divided corresponding to each function, or two or more functions can be integrated into one processing module. The above-mentioned integrated module can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the embodiment of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation.

[0216] like Fig. 20 As shown, an embodiment of the present application discloses an electronic device 2000, which may be one of the electronic devices working in collaboration in the above-mentioned embodiments. The electronic device 2000 may specifically include: a display screen 2001; an input device 2002 (such as a mouse, keyboard or touch screen, etc.); one or more processors 2003; a memory 2004; one or more application programs (not shown); and one or more computer programs 2005, and the above-mentioned devices may be connected via one or more communication buses 2006. The one or more computer programs 2005 are stored in the above-mentioned memory 2004 and are configured to be executed by the one or more processors 2003, and the one or more computer programs 2005 include instructions, which may be used to execute the relevant steps in the above-mentioned embodiments. In one example, the electronic device 2000 may be Figure 1 The electronic device 100 or the electronic device 200.

[0217] An embodiment of the present application further provides a computer-readable storage medium, in which a computer program code is stored. When a processor executes the computer program code, the electronic device executes the method in the above embodiment.

[0218] The embodiments of the present application also provide a computer program product. When the computer program product is run on a computer, the computer executes the method in the above embodiments.

[0219] Among them, the electronic device 2000, computer-readable storage medium or computer program product provided in the embodiments of the present application are all used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding methods provided above, and will not be repeated here.

[0220] Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0221] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0222] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0223] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium, including several instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard drives, ROMs, magnetic disks, or optical disks.

[0224] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A method for lighting up a screen, applied to a system, the system comprising a first electronic device and a second electronic device, the first electronic device and the second electronic device establishing a communication connection, characterized in that: The method comprises: The first electronic device displays a first cursor, which is a cursor of an input device of the first electronic device; the first electronic device includes the input device, or the first electronic device and the input device establish a communication connection; The screen of the second electronic device turns off; The first electronic device receives a first movement operation of the first cursor by the input device, and the first cursor moves out of an edge of the screen of the first electronic device; In response to the first movement operation, the first electronic device sends a first event of the input device to the second electronic device; The second electronic device receives the first event, and the second electronic device lights up a screen; The first electronic device monitors a second event corresponding to a second operation of the input device, and the second electronic device receives and processes the second event.

2. A method for lighting up a screen, applied to a second electronic device, wherein the second electronic device establishes a communication connection with a first electronic device, characterized in that: The method comprises: The screen of the second electronic device turns off; In response to a first movement operation of an input device of the first electronic device on a first cursor displayed on the first electronic device, the second electronic device receives a first event from the first electronic device; wherein the first cursor is a cursor of the input device of the first electronic device, and the first movement operation causes the first cursor to move out of an edge of the screen of the first electronic device; wherein the first electronic device includes the input device, or the first electronic device and the input device establish a communication connection; In response to the first mouse event, the second electronic device lights up a screen; A second event corresponding to a second operation of the input device monitored by the first electronic device is received, and the second electronic device processes the second event.

3. The method according to claim 2, characterized in that The method further comprises: The second electronic device displays an unlocking interface after lighting up the screen, and a second cursor is displayed on the unlocking interface; the second cursor is the cursor of the input device of the first electronic device.

4. The method according to claim 3, characterized in that: The style of the second cursor is different from that of the first cursor.

5. The method according to claim 3 or 4, characterized in that: The method further comprises: The screen of the second electronic device displays a second application interface before the screen is turned off, and the second application runs on the second electronic device; The second electronic device receives a first operation by the user on the unlocking interface, where the first operation is used to unlock the screen of the second electronic device; In response to the first operation, the second electronic device displays a second application interface, and a second cursor is displayed on the second application interface.

6. The method according to claim 3 or 4, characterized in that: The method further comprises: The screen of the second electronic device displays a third application interface before the screen is turned off, and the third application is running on the first electronic device; The second electronic device receives a first operation by the user on the unlocking interface, where the first operation is used to unlock the screen of the second electronic device; In response to the first operation, the second electronic device displays a third application interface, and a first cursor is displayed on the third application interface.

7. The method according to claim 2, characterized in that The method further comprises: The screen of the second electronic device displays a second application interface before the screen is turned off, and the second application runs on the second electronic device; After the screen of the second electronic device is turned on, a second application interface is displayed, and a second cursor is displayed on the second application interface; the second cursor is the cursor of the input device of the first electronic device, and the style of the second cursor is different from that of the first cursor.

8. The method according to claim 2, characterized in that: The method further comprises: The screen of the second electronic device displays a third application interface before the screen is turned off, and the third application is running on the first electronic device; The second electronic device displays a third application interface after lighting up the screen, and a first cursor is displayed on the third application interface.

9. The method according to any one of claims 3 to 7, characterized in that: When the screen of the second electronic device is turned on, the position where the second cursor appears on the screen of the second electronic device corresponds to the position where the first cursor disappears on the screen of the first electronic device.

10. A method for lighting up a screen, applied to a system, the system comprising a first electronic device and a second electronic device, the first electronic device establishing a communication connection with the second electronic device, characterized in that: The method comprises: The first electronic device displays the second interface, the second electronic device displays the first interface, and the cursor of the input device of the first electronic device is displayed on the first interface; the first electronic device includes the input device, or the first electronic device and the input device establish a communication connection; The screen of the second electronic device turns off; The first electronic device receives a movement operation of an input device of the first electronic device; The first electronic device sends a first movement event corresponding to the movement operation to the second electronic device; The second electronic device receives the first movement event; In response to the first movement event, the second electronic device lights up a screen; The first electronic device monitors a second movement event corresponding to a second operation of the input device, and the second electronic device receives and processes the second movement event.

11. A method for lighting up a screen, applied to a second electronic device, wherein the second electronic device establishes a communication connection with a first electronic device, characterized in that: The method comprises: The second electronic device displays a first interface, and a cursor of an input device of the first electronic device is displayed on the first interface; the first electronic device includes the input device, or the first electronic device and the input device establish a communication connection; The screen of the second electronic device turns off; In response to a movement operation of an input device of the first electronic device, the second electronic device receives a first movement event corresponding to the movement operation from the first electronic device; In response to the first movement event, the second electronic device lights up a screen; A second movement event corresponding to a second operation of the input device monitored by the first electronic device is received, and the second electronic device receives and processes the second movement event.

12. The method according to claim 11, characterized in that The first interface is a second application interface running on the second electronic device.

13. The method according to claim 12, characterized in that The method further comprises: The second electronic device displays the second application interface after lighting up the screen.

14. The method according to claim 12, characterized in that The method further comprises: The second electronic device displays an unlocking interface after lighting up the screen.

15. The method according to claim 14, characterized in that The method further comprises: The second electronic device receives a first operation by the user on the unlocking interface, where the first operation is used to unlock the screen of the second electronic device; In response to the first operation, the second electronic device displays the second application interface.

16. The method according to claim 11, characterized in that The first interface is a third application interface running on the first electronic device, Displaying a cursor of an input device of the first electronic device on the first interface includes: A first cursor is displayed on the third application interface, where the first cursor is a cursor of an input device of the first electronic device.

17. The method according to claim 16, characterized in that The method further comprises: The second electronic device displays the third application interface after lighting up the screen.

18. The method according to claim 16, characterized in that The method further comprises: The second electronic device displays an unlocking interface after lighting up the screen, and a second cursor is displayed on the unlocking interface. The second cursor is the cursor of the input device of the first electronic device, and the style of the second cursor is different from that of the first cursor.

19. The method according to claim 18, characterized in that The method further comprises: The second electronic device receives a first operation by the user on the unlocking interface, where the first operation is used to unlock the screen of the second electronic device; In response to the first operation, the second electronic device displays the third application interface.

20. An electronic device, characterized in that: include: processor; a memory for storing instructions executable by the processor; Wherein, the processor is configured to enable the electronic device to implement the method according to any one of claims 2 to 9, or the method according to any one of claims 11 to 19 when executing the instructions.

21. A computer-readable storage medium having computer program instructions stored thereon, characterized in that: When the computer program instructions are executed by a processor, the method according to any one of claims 2 to 9 or the method according to any one of claims 11 to 19 is implemented.

22. A computer program product, characterized in that When the computer program product runs on a computer, the computer executes the method according to any one of claims 2 to 9 or the method according to any one of claims 11 to 19.