Control method and electronic equipment

By handing over the display and touch control rights in the electronic device to the second processor with lower power consumption, the problem of the device awakening due to false touch in the sleep state is solved, and power consumption optimization and false touch prevention are achieved.

CN120335638APending Publication Date: 2025-07-18LENOVO (BEIJING) LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510387669.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-28
Publication Date
2025-07-18

AI Technical Summary

Technical Problem

The electronic device is frequently awakened due to the accidental touch phenomenon in a dormant state, causing the processor to switch from low-power mode to high-power mode, causing energy consumption.

Method used

By detecting the operating state of the device, the first processor switches touch and display control rights to the second processor with lower power consumption, and the second processor performs display and touch control in the target state to avoid frequent wake-up of the first processor.

Benefits of technology

The power consumption loss of the device is reduced, the frequency of wake-up of the first processor by mistake is reduced, and the power consumption management of the device is optimized.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120335638A_ABST
    Figure CN120335638A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a control method and electronic equipment. The control method comprises the following steps: detecting the running state of the equipment; in response to the fact that the device is in the target state, the first processor operates a control right switching function to deliver a touch control right and a display control right to the second processor, so that the second processor executes display control and touch control when the device is in the target state; wherein the first processor and the second processor are inherent processors of the equipment, the power consumption of the first processor is higher than that of the second processor, and the target state is related to the power consumption of the equipment or the function of the equipment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of control technologies, and in particular to a control method and an electronic device. Background Art

[0002] In current electronic devices, such as mobile devices like mobile phones and tablet computers, in sleep or similar states, the device is often frequently awakened due to accidental touches, and then the processor in the sleep state in the device is frequently awakened, causing the device to switch from a low-power mode to a high-power mode, resulting in energy consumption. Moreover, when the device is in a sleep or similar state, the occurrence of some simple scenarios, such as the display of prompt messages and answering calls, will also wake up the processor, further causing energy consumption. Summary of the Invention

[0003] The embodiments of the present application provide a control method, including:

[0004] Detecting the operating state of the device;

[0005] In response to the device being in a target state, the first processor runs a control right switching function to hand over the touch control right and the display control right to the second processor, so that the second processor performs display control and touch control during the period when the device is in the target state;

[0006] Wherein, the first processor and the second processor are the inherent processors of the device, the power consumption of the first processor is higher than that of the second processor, and the target state is related to the device power consumption or the device function.

[0007] In one embodiment, the first processor runs a control right switching program to hand over the touch control right and the display control right to the second processor, including:

[0008] The first processor sends a control right switching notification to the second processor, and at the same time configures the first interface controller of the display data transmission interface and the second interface controller of the touch data transmission interface, instructing the first interface controller of the display data transmission interface and the second interface controller of the touch data transmission interface to switch the called processor from the first processor to the second processor.

[0009] In one embodiment, a first interface controller of a display data transmission interface of the device is respectively connected to the first processor and the second processor through a first line and a second line, and a second interface controller of a touch control data transmission interface of the device is respectively connected to the first processor and the second processor through a third line and a fourth line. The first interface controller performs data interaction with the first processor and the second processor respectively based on the first line and the second line, and the second interface controller performs data interaction with the first processor and the second processor respectively based on the third line and the fourth line.

[0010] In one embodiment, the method further includes:

[0011] When the target state representation is related to the device power consumption, the second processor, in response to the obtained request data, performs one or more of display control and touch control on the device; or

[0012] When the target state representation is related to the device function, the second processor, in response to the obtained request data, controls the device function.

[0013] In one embodiment, when the target state representation is related to the device power consumption, the second processor, in response to the obtained request data, performs one or more of display control and touch control on the device, including:

[0014] When the target state represents that the device enters the sleep mode, the second processor, in response to the obtained display request, controls the device to display on the lock screen interface based on the information to be displayed and the information display template; or

[0015] The second processor, in response to the obtained touch request for viewing the display information under the lock screen interface, controls the device to expand and display the display information under the lock screen interface;

[0016] The display request includes at least one of the following: a display request sent by a network side, an application side, and a system side.

[0017] In one embodiment, it further includes:

[0018] When the target state represents that the device enters the sleep mode, the second processor, in response to the obtained incoming call request, controls the device to display the incoming call interface;

[0019] The second processor, in response to the obtained first touch request for the incoming call interface, controls the device to answer the incoming call; or

[0020] The second processor, in response to the obtained second touch request for the incoming call interface, controls the device to reject the incoming call and continues to keep the device in the sleep state.

[0021] In one embodiment, when the target state representation is related to the device function, the second processor controls the device function in response to the obtained request data, including:

[0022] When the target state represents that the device enters the call mode in a non-target state, the second processor ends the call in response to the obtained third touch request, and notifies the first processor to execute the control right switching function to transfer the display control right and touch control right to the first processor.

[0023] In one embodiment, the method further includes:

[0024] When the target state represents that the device enters the sleep mode, the second processor wakes up the first processor in response to the obtained touch request for opening the application or web page corresponding to the display information; or

[0025] When the target state represents that the device enters the sleep mode, the second processor wakes up the first processor in response to the obtained touch request for ending the sleep mode.

[0026] In one embodiment, the method further includes:

[0027] When it is detected that the device enters the sleep mode, it is determined that the device is in the target state;

[0028] When it is detected that the device enters the low-power operation mode, it is determined that the device is in the target state;

[0029] When it is detected that the device enters the call mode, it is determined that the device is in the target state..

[0030] Another embodiment of the present application simultaneously provides an electronic device, including:

[0031] A first processor, configured to detect the device operation state, and in response to the device being in the target state, the first processor runs a control right switching function to transfer the touch control right and display control right to the second processor;

[0032] A second processor, configured to perform display control and touch control during the period when the device is in the target state;

[0033] Wherein, the first processor and the second processor are the inherent processors of the device, the power consumption of the first processor is higher than that of the second processor, and the target state is related to the device power consumption or device function.

[0034] Other features and advantages of the present application will be set forth in the following description, and in part will be obvious from the description, or may be learned by practice of the present application. The advantages of the present application may be realized and obtained by the structure particularly pointed out in the written description, claims and drawings.

[0035] The technical solutions of the present application will be further described in detail below with reference to the drawings and embodiments. Description of the Drawings

[0036] In order to more clearly illustrate the technical solutions in the specific embodiments of the present application, the following will briefly introduce the drawings required for use in the description of the specific embodiments. Obviously, the drawings in the following description are some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.

[0037] Figure 1 It is a schematic flowchart of the control method in the embodiments of the present application.

[0038] Figure 2 It is a structural framework diagram of the control method in the embodiments of the present application.

[0039] Figure 3 It is a schematic flowchart of the control method in another embodiment of the present application.

[0040] Figure 4 It is a structural block diagram of the electronic device in the embodiments of the present application. Specific Embodiments

[0041] Next, specific embodiments of the present application will be described in detail with reference to the drawings, but it is not a limitation of the present application.

[0042] It should be understood that various modifications can be made to the embodiments disclosed herein. Therefore, the following description should not be regarded as limiting, but only as an example of the embodiments. Those skilled in the art will think of other modifications within the scope of the present disclosure.

[0043] The drawings included in the description and constituting a part of the description illustrate the embodiments of the present disclosure, and together with the general description of the present disclosure given above and the detailed description of the embodiments given below are used to explain the principles of the present disclosure.

[0044] These and other features of the present application will become apparent from the following description of the preferred forms of the embodiments given as non - limiting examples with reference to the drawings.

[0045] It should also be understood that although the present application has been described with reference to some specific examples, those skilled in the art can surely implement many other equivalent forms of the present application, which have the features as described in the claims and thus are all within the protection scope defined hereby.

[0046] When combined with the accompanying drawings, the above and other aspects, features and advantages of the present disclosure will become more apparent in view of the following detailed description.

[0047] Specific embodiments of the present disclosure will be described hereinafter with reference to the accompanying drawings; however, it should be understood that the disclosed embodiments are only examples of the present disclosure, which can be implemented in various ways. Well-known and / or repetitive functions and structures are not described in detail to avoid obscuring the present disclosure with unnecessary or redundant details. Therefore, the specific structural and functional details disclosed herein are not intended to be limiting, but are only used as a basis and representative basis for the claims to teach those skilled in the art to use the present disclosure in substantially any suitable detailed structure in various ways.

[0048] This specification may use the phrases "in one embodiment", "in another embodiment", "in yet another embodiment" or "in other embodiments", which may each refer to one or more of the same or different embodiments according to the present disclosure.

[0049] Next, embodiments of the present application will be described in detail with reference to the accompanying drawings.

[0050] As Figure 1 shown, an embodiment of the present application provides a control method, including:

[0051] S1: Detect the operating state of the device;

[0052] S2: In response to the device being in the target state, the first processor runs a control right switching function to transfer the touch control right and the display control right to the second processor, so that the second processor executes display control and touch control during the period when the device is in the target state;

[0053] Wherein, the first processor and the second processor are inherent processors of the device, the power consumption of the first processor is higher than that of the second processor, and the target state is related to the device power consumption or the device function.

[0054] In this embodiment, both the first processor and the second processor are original processors in the electronic device, and there is no new processor involved. The first processor in this embodiment may but is not limited to be a CPU, an application processor (such as Figure 2 the AP in Figure 2such as the sensor hub in it), in this embodiment, the second processor is usually in an all - time running state, with relatively low running power consumption, and lower than that of the first processor. During the normal operation of the device, almost all types of data in the system are processed by the first processor. For example, the display data, touch data, and data generated by application programs in the device are all processed by the first processor, while the second processor is used to process system - level data, sensor data, etc.

[0055] In the current scenario, when the device enters a low - power state, such as the sleep state, since the first processor still has to be responsible for the processing of display and touch data, when the user instructs the device to enter the sleep state and then takes the device out, it is easy to cause accidental touch problems, resulting in the first processor being frequently awakened, wasting power consumption, so that even when the device enters the sleep state, the power consumption of the device is still relatively high. To solve this technical problem and avoid the first processor being frequently awakened and wasting power consumption, in this embodiment, the first processor will detect the running state of the device. When it is determined that the running state of the device is in a preset target state, the first processor runs the control - right switching function, that is, the first processor runs a software program to hand over the display control right and touch control to the second processor, so that the second processor is used to control the display of the device and make touch responses during the period when the device is in the target state, while the first processor no longer participates in the control of display and touch.

[0056] After the above settings, the first processor will no longer be frequently awakened due to accidental touch of the device, thereby reducing power consumption loss and making obvious power - consumption optimization. Moreover, the solution in this embodiment does not involve the addition of new structural components. It only uses the original structures and components in the device and realizes the effect of preventing the first processor from being frequently awakened due to accidental touch and other reasons and reducing power consumption through the designed software program. Therefore, the solution is easy to implement and has a low implementation cost.

[0057] The target state is related to the power consumption or function of the device. For example, when the device is in a certain power - consumption state, the device is in the target state, or when the device executes a certain function, the device is in the target state. In this embodiment, the device being in the target state includes:

[0058] When it is detected that the device enters the sleep mode, it is determined that the device is in the target state; when it is detected that the device enters the low - power operation mode, it is determined that the device is in the target state; when it is detected that the device enters the call mode, it is determined that the device is in the target state.

[0059] That is, the target state includes the device being in sleep mode, low power operation mode, or call mode. Of course, it can also be considered to be in other simple modes. Therefore, in this embodiment, the display control right and touch control right can be switched in simple scenarios such as the device being in low power state, sleep state, and call, thereby reducing the power consumption of the device operation. At the same time, it has the ability to prevent accidental touches, avoid waking up the first processor, or increase the operating load of the first processor, thereby avoiding the first processor from performing unnecessary computing tasks.

[0060] In one embodiment, the first processor executes a control right switching function to transfer the touch control right and the display control right to the second processor, including:

[0061] S3: The first processor sends a control switching notification to the second processor, and at the same time configures the first interface controller of the display data transmission interface and the second interface controller of the touch data transmission interface, instructing the first interface controller of the display data transmission interface and the second interface controller of the touch data transmission interface to switch the called processor from the first processor to the second processor.

[0062] For example, Figure 2 As shown, in this embodiment, when the first processor determines to hand over the control right to the second processor, it will send a control right switching notification to the second processor, and at the same time configure the first interface controller of the display data transmission interface and the second interface controller of the touch data transmission interface, for example, the DSI interface controller (such as Figure 2 ds icontroll er), SPI interface controller (such as Figure 2 The first processor and the second processor share the first interface controller and the second interface controller, and the first processor can configure the first interface controller and the second interface controller to instruct the interface controller to switch the callable processor. The second processor in this embodiment can also have the configuration authority for the interface controller, or only the first processor can have it. The second processor also has the function of waking up the first processor. When the target state ends, the second processor wakes up the first processor, and the first processor reconfigures the interface controller to complete the re-transfer of control.

[0063] In this embodiment, by sharing the display interface controller and the touch interface controller with the first processor and configuring the first processor to have a control switching function, flexible switching of display control rights and touch control rights can be effectively achieved without adding additional structural parts, which is simple and easy to implement.

[0064] In this embodiment, each interface controller is connected to the processor through different lines respectively to complete data transmission and interaction. Specifically, the first interface controller of the display data transmission interface of the device is connected to the first processor and the second processor through the first line and the second line respectively, and the second interface controller of the touch control data transmission interface of the device is connected to the first processor and the second processor through the third line and the fourth line respectively. The first interface controller performs data interaction with the first processor and the second processor based on the first line and the second line respectively, and the second interface controller performs data interaction with the first processor and the second processor based on the third line and the fourth line respectively.

[0065] In another embodiment, the method further includes:

[0066] S4: When the target state representation is related to the device power consumption, the second processor responds to the obtained request data and performs one or more of display control and touch control on the device; or

[0067] S5: When the target state representation is related to the device function, the second processor responds to the obtained request data and controls the device function.

[0068] For example, when the target state is related to the device power consumption, the second processor responds to the obtained request data, including one or more of a display request and a touch request, to perform one or more of display control and touch control on the device. For example, if the user input is a touch request, and the touch request is specifically to display specified information, so the touch request includes a display request. The second processor responds to the touch request, determines the corresponding display request, and finally processes the display request to display the corresponding information. If the user input is a touch request, the second processor responds to the touch request and determines whether there is a touch object, such as a displayed prompt message, a shortcut key, etc. If there is no touch object, the second processor considers that the touch request belongs to the mis-touch range, so it does not make a specific response, that is, it will not perform further processing, nor will it wake up the first processor, thereby achieving the anti-mis-touch effect.

[0069] When the target state representation is related to the device function, such as when the device is in a call state, the second processor responds to the obtained request data and controls the opening or closing of the device function. For example, when the device is in an incoming call state and the user inputs a touch request, the device can respond to the touch request and hang up the call. Or, when the device is in a state of displaying an incoming call and the user inputs a touch request, the device can respond to the touch request and answer the call or hang up the call.

[0070] Further, when the target state representation is related to the device power consumption, the second processor, in response to the obtained request data, performs one or more of display control and touch control on the device, including:

[0071] S6: When the target state indicates that the device enters the sleep mode, the second processor, in response to the obtained display request, controls the device to display on the lock screen based on the information to be displayed and the information display template; or

[0072] S7: The second processor, in response to the obtained touch request for viewing the display information under the lock screen, controls the device to expand and display the display information under the lock screen;

[0073] The display request includes at least one of the following: a display request sent by the network side, the application side, and the system side.

[0074] In this embodiment, when the target state indicates that the device enters the sleep mode, the device displays the lock screen, that is, the sleep interface. When the network side sends display data, such as web page information, etc., to the display interface controller, or the application side sends display data, such as application messages, etc., to the display interface controller, or the system side sends display data, such as system messages, etc., to the display interface controller, the display interface controller will call the second processor to process the display data. For example, the display interface controller sends a relevant display request to the second processor. The second processor, in response to the obtained display request, determines the information to be displayed and the display template adapted to the current display state, that is, the template for displaying information on the lock screen in the sleep mode, and then controls the device to display on the lock screen based on the information to be displayed and the information display template. The specific display form is not limited, such as only displaying thumbnails, displaying thumbnail text information, etc.

[0075] When the user inputs a touch request on the lock screen, such as when wanting to view the displayed information, that is, when expanding and displaying all the content of the display information under the lock screen, the touch interface controller sends the touch request to the second processor, and the second processor then, in response to the touch request, controls the device to expand and display the display information specified by the user under the lock screen.

[0076] As Figure 3 shown, in one embodiment, the method further includes:

[0077] S8: When the target state indicates that the device enters the sleep mode, the second processor, in response to the obtained incoming call request, controls the device to display the incoming call interface;

[0078] S9: The second processor, in response to the obtained first touch request for the incoming call interface, controls the device to answer the incoming call; or

[0079] The second processor controls the device to reject the incoming call and continue to keep the device in the sleep state in response to the obtained second touch request for the incoming call interface.

[0080] For example, when the target state represents that the device enters the sleep mode, the device displays the lock screen interface and the sleep mode interface at this time. In this interface, when the second processor receives an incoming call request, in response to the incoming call request, the incoming call interface is displayed under the lock screen interface. After the user sees the incoming call display and inputs a touch operation based on the incoming call display interface, the touch interface controller generates a touch request corresponding to the touch operation and sends it to the second processor. The second processor responds to the touch request. When the first touch request is the first touch request, it represents answering the incoming call. At this time, the second processor controls the device to answer the incoming call. When the touch request is the second touch request, it represents hanging up the phone. At this time, the second processor controls the device to reject the incoming call and continues to display the lock screen interface, that is, controls the device to continue to be in the sleep mode.

[0081] Further, when the target state is related to the device function, the second processor controls the device function in response to the obtained request data, including:

[0082] S10: During the period when the target state represents that the device enters the call mode in the non-target state, the second processor responds to the obtained third touch request, ends the call, and notifies the first processor to execute the control right switching function to hand over the display control right and the touch control right to the first processor.

[0083] For example, when the target state represents that the device enters the call state in the non-target state, such as during the normal operation of the device, when the first processor responds to the touch request and answers the call, the first processor hands over the display control right and the touch control right to the second processor. After the second processor takes over the control rights of the display and touch, if it receives a third touch request input by the user to end the call, the second processor will respond to the third touch request, end the call, and synchronously notify the first processor to execute the control right switching function to transfer the display control right and the touch control right from the second processor to the first processor, so that the first processor continues to take over the display control and touch control of the device.

[0084] In another embodiment, the method further includes:

[0085] S11: When the target state represents that the device enters the sleep mode, the second processor wakes up the first processor in response to the obtained touch request for opening the application program or web page corresponding to the display information; or

[0086] S12: When the target status representation device enters the sleep mode, the second processor wakes up the first processor in response to the obtained touch request for ending the sleep mode.

[0087] In this embodiment, when the target status representation device enters the sleep mode, the user inputs a touch operation on the display information displayed on the lock screen to open the application or web page corresponding to the display information, view specific information, and perform operations such as reply. At this time, after the second processor obtains such a touch request, since the second processor does not have the ability to respond to this touch request and control the device to enter the corresponding application or web page, the first processor will be woken up to process this request.

[0088] In another embodiment, when the target status representation device enters the sleep mode, the user inputs an unlocking operation on the unlock key displayed on the lock screen, such as entering a password, entering a fingerprint, waking up the face recognition function, etc., to end the sleep mode and enter the normal operation mode of the device. When the unlocking is successful, the second processor wakes up the first processor in response to the touch request generated by this unlocking operation, so that the first processor configures each interface controller to switch the control right from the second processor to the first processor.

[0089] Based on the above embodiments, the second processor can flexibly determine which requests are executed by itself and which requests need to be executed by the first processor according to its own data processing capabilities and scope. In this way, without additional program configuration for the second processor, the second processor can accurately identify which states need to wake up the first processor, ensuring timely and accurate response to different requests of users and improving the user experience of using the device.

[0090] As Figure 4 shown, another embodiment of the present application also provides an electronic device, including:

[0091] A first processor, configured to detect the device operation status, and in response to the device being in the target status, the first processor runs a control right switching function to hand over the touch control right and the display control right to the second processor;

[0092] A second processor, configured to perform display control and touch control during the period when the device is in the target status;

[0093] Wherein, the first processor and the second processor are the inherent processors of the device, the power consumption of the first processor is higher than that of the second processor, and the target status is related to the device power consumption or the device function.

[0094] In one embodiment, the first processor runs a control right switching program to hand over the touch control right and the display control right to the second processor, including:

[0095] The first processor sends a control right switching notification to the second processor, and simultaneously configures a first interface controller of a display data transmission interface and a second interface controller of a touch control data transmission interface, instructing the first interface controller of the display data transmission interface and the second interface controller of the touch control data transmission interface to switch the called processor from the first processor to the second processor.

[0096] In an embodiment, the first interface controller of the display data transmission interface of the device is respectively connected to the first processor and the second processor through a first line and a second line, and the second interface controller of the touch control data transmission interface of the device is respectively connected to the first processor and the second processor through a third line and a fourth line. The first interface controller performs data interaction with the first processor and the second processor based on the first line and the second line respectively, and the second interface controller performs data interaction with the first processor and the second processor based on the third line and the fourth line respectively.

[0097] In an embodiment, when the target state is related to the device power consumption, the second processor, in response to the obtained request data, performs one or more of display control and touch control on the device; or

[0098] When the target state is related to the device function, the second processor, in response to the obtained request data, controls the device function.

[0099] In an embodiment, when the target state is related to the device power consumption, the second processor, in response to the obtained request data, performs one or more of display control and touch control on the device, including:

[0100] When the target state indicates that the device enters the sleep mode, the second processor, in response to the obtained display request, controls the device to display on the lock screen interface based on the information to be displayed and the information display template; or

[0101] The second processor, in response to the obtained touch request for viewing the display information under the lock screen interface, controls the device to expand and display the display information under the lock screen interface;

[0102] The display request includes at least one of the following: a display request sent by a network side, an application side, and a system side.

[0103] In an embodiment, when the target state indicates that the device enters the sleep mode, the second processor, in response to the obtained incoming call request, controls the device to display an incoming call interface;

[0104] The second processor controls the device to answer an incoming call in response to the obtained first touch request for the incoming call interface; or

[0105] The second processor controls the device to reject the incoming call and continue to keep the device in the sleep state in response to the obtained second touch request for the incoming call interface.

[0106] In one embodiment, when the target state characterization is related to the device function, the second processor controls the device function in response to the obtained request data, including:

[0107] During the period when the target state characterizes that the device enters the call mode in the non-target state, the second processor ends the call in response to the obtained third touch request and notifies the first processor to execute the control right switching function to hand over the display control right and the touch control right to the first processor.

[0108] In one embodiment, when the target state characterizes that the device enters the sleep mode, the second processor wakes up the first processor in response to the obtained touch request for opening the application program or web page corresponding to the display information; or

[0109] When the target state characterizes that the device enters the sleep mode, the second processor wakes up the first processor in response to the obtained touch request for ending the sleep mode.

[0110] In one embodiment, the first processor is further configured to:

[0111] When detecting that the device enters the sleep mode, determine that the device is in the target state; when detecting that the device enters the low-power operation mode, determine that the device is in the target state; when detecting that the device enters the call mode, determine that the device is in the target state.

[0112] Furthermore, an embodiment of the present application further provides a storage medium, on which a computer program is stored, and when the program is executed by a processor, the control method as described above is implemented. It should be understood that each solution in this embodiment has the corresponding technical effects in the above method embodiment, and will not be elaborated here.

[0113] Furthermore, an embodiment of the present application further provides a computer program product, the computer program product is tangibly stored on a computer-readable medium and includes computer-readable instructions, and when the computer-executable instructions are executed, at least one processor is caused to execute the control method in the above-described embodiment.

[0114] It should be noted that the computer storage medium of the present application can be a computer-readable signal medium, a computer-readable storage medium, or any combination of the two. A computer-readable medium can, for example but is not limited to, be an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples of the computer-readable storage medium can include but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access storage medium (RAM), a read-only storage medium (ROM), an erasable programmable read-only storage medium (EPROM or flash memory), an optical fiber, a portable compact disk read-only storage medium (CD-ROM), an optical storage medium, a magnetic storage medium, or any suitable combination of the above. In the present application, the computer-readable storage medium can be any tangible medium that contains or stores a program, and this program can be used by or in combination with an instruction execution system, apparatus, or device. And in the present application, the computer-readable signal medium can include a data signal propagated in a baseband or as part of a carrier wave, which carries the computer-readable program code. Such a propagated data signal can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The computer-readable signal medium can also be any computer-readable medium other than the computer-readable storage medium, and this computer-readable medium can send, propagate, or transmit a program configured to be used by or in combination with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted by any appropriate medium, including but not limited to: wireless, antenna, optical cable, RF, etc., or any suitable combination of the above.

[0115] In addition, those skilled in the art should understand that the embodiments of the present application can be provided as a method, a system, or a computer program product. Therefore, the present application can take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present application can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) that contain computer-usable program code.

[0116] These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, such that the instructions stored in the computer-readable memory produce a manufactured article including an instruction system that implements the functions specified in one Figure 1 process or multiple processes and / or Figure 1 one block or multiple blocks.

[0117] Those of ordinary skill in the art should understand that the discussion of any of the above embodiments is merely exemplary and is not intended to imply that the scope of protection of this application is limited to these examples; under the concept of this application, the technical features in the above embodiments or different embodiments can also be combined, the steps can be implemented in any order, and there are many other variations in different aspects of one or more embodiments of this application as described above, and they are not provided in detail for the sake of brevity.

Claims

1. A control method, comprising: Detecting the operating state of the device; In response to the device being in a target state, the first processor runs a control right switching function to hand over the touch control right and the display control right to the second processor, so that the second processor performs display control and touch control during the period when the device is in the target state; Wherein, the first processor and the second processor are inherent processors of the device, the power consumption of the first processor is higher than that of the second processor, and the target state is related to the device power consumption or the device function.

2. The control method according to claim 1, wherein the first processor runs a control right switching function to hand over the touch control right and the display control right to the second processor, comprising: The first processor sends a control right switching notification to the second processor, and at the same time configures the first interface controller of the display data transmission interface and the second interface controller of the touch data transmission interface, instructing the first interface controller of the display data transmission interface and the second interface controller of the touch data transmission interface to switch the called processor from the first processor to the second processor.

3. The control method according to claim 2, wherein the first interface controller of the display data transmission interface of the device is respectively connected to the first processor and the second processor through a first line and a second line, and the second interface controller of the touch data transmission interface of the device is respectively connected to the first processor and the second processor through a third line and a fourth line. The first interface controller performs data interaction with the first processor and the second processor based on the first line and the second line respectively, and the second interface controller performs data interaction with the first processor and the second processor based on the third line and the fourth line respectively.

4. The control method according to claim 1, further comprising: When the target state is related to the device power consumption, the second processor performs one or more of display control and touch control on the device in response to the obtained request data; or When the target state is related to the device function, the second processor controls the device function in response to the obtained request data.

5. The control method according to claim 4, when the target state is related to the device power consumption, the second processor performs one or more of display control and touch control on the device in response to the obtained request data, comprising: When the target state indicates that the device enters the sleep mode, the second processor controls the device to display on the lock screen interface based on the information to be displayed and the information display template in response to the obtained display request; or The second processor controls the device to expand and display the display information on the lock screen interface in response to the obtained touch request for viewing the display information under the lock screen interface; The display request includes at least one of the following: a display request sent by the network side, the application side, and the system side.

6. The control method according to claim 5, further comprising: When the target state indicates that the device enters the sleep mode, the second processor controls the device to display the incoming call interface in response to the obtained incoming call request. The second processor controls the device to answer an incoming call in response to the obtained first touch request for the incoming call interface; or The second processor controls the device to reject the incoming call and continue to keep the device in the sleep state in response to the obtained second touch request for the incoming call interface.

7. The control method according to claim 4, when the target state characterization is related to the device function, the second processor controls the device function in response to the obtained request data, including: During the period when the target state characterizes that the device enters the call mode in the non-target state, the second processor ends the call in response to the obtained third touch request and notifies the first processor to execute the control right switching function to transfer the display control right and the touch control right to the first processor.

8. The control method according to claim 4, the method further includes: When the target state characterizes that the device enters the sleep mode, the second processor wakes up the first processor in response to the obtained touch request for opening the application program or web page corresponding to the display information; or When the target state characterizes that the device enters the sleep mode, the second processor wakes up the first processor in response to the obtained touch request for ending the sleep mode.

9. The control method according to claim 1, the method further includes: When it is detected that the device enters the sleep mode, it is determined that the device is in the target state; When it is detected that the device enters the low-power operation mode, it is determined that the device is in the target state; When it is detected that the device enters the call mode, it is determined that the device is in the target state.

10. An electronic device, including: A first processor, configured to detect the device operation state, and in response to the device being in the target state, the first processor runs a control right switching function to transfer the touch control right and the display control right to the second processor; A second processor, configured to perform display control and touch control during the period when the device is in the target state; Wherein, the first processor and the second processor are the inherent processors of the device, the power consumption of the first processor is higher than that of the second processor, and the target state is related to the device power consumption or the device function.