WO2022183985A1 - 电子设备的屏幕控制方法、可读介质和电子设备 - Google Patents
电子设备的屏幕控制方法、可读介质和电子设备 Download PDFInfo
- Publication number
- WO2022183985A1 WO2022183985A1 PCT/CN2022/077977 CN2022077977W WO2022183985A1 WO 2022183985 A1 WO2022183985 A1 WO 2022183985A1 CN 2022077977 W CN2022077977 W CN 2022077977W WO 2022183985 A1 WO2022183985 A1 WO 2022183985A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- processor
- touch
- screen
- electronic device
- display screen
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 119
- 238000012545 processing Methods 0.000 claims abstract description 127
- 230000008569 process Effects 0.000 claims abstract description 66
- 230000015654 memory Effects 0.000 claims description 15
- 230000002452 interceptive effect Effects 0.000 claims description 9
- 230000004044 response Effects 0.000 claims description 9
- 238000010586 diagram Methods 0.000 description 12
- 230000006870 function Effects 0.000 description 10
- 210000000707 wrist Anatomy 0.000 description 7
- 229920001621 AMOLED Polymers 0.000 description 4
- 230000003993 interaction Effects 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 4
- 230000002093 peripheral effect Effects 0.000 description 4
- 230000007474 system interaction Effects 0.000 description 4
- 230000001960 triggered effect Effects 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 238000009532 heart rate measurement Methods 0.000 description 3
- 238000005259 measurement Methods 0.000 description 3
- 230000011664 signaling Effects 0.000 description 3
- 230000009977 dual effect Effects 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 238000003825 pressing Methods 0.000 description 2
- 239000002096 quantum dot Substances 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- QVGXLLKOCUKJST-UHFFFAOYSA-N atomic oxygen Chemical compound [O] QVGXLLKOCUKJST-UHFFFAOYSA-N 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 239000008280 blood Substances 0.000 description 1
- 210000004369 blood Anatomy 0.000 description 1
- 210000000988 bone and bone Anatomy 0.000 description 1
- 238000005282 brightening Methods 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 210000004027 cell Anatomy 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000008014 freezing Effects 0.000 description 1
- 238000007710 freezing Methods 0.000 description 1
- 230000036541 health Effects 0.000 description 1
- 230000001939 inductive effect Effects 0.000 description 1
- 238000012634 optical imaging Methods 0.000 description 1
- 229910052760 oxygen Inorganic materials 0.000 description 1
- 239000001301 oxygen Substances 0.000 description 1
- 210000004508 polar body Anatomy 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/033—Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
- G06F3/0354—Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of 2D relative movements between the device, or an operating part thereof, and a plane or surface, e.g. 2D mice, trackballs, pens or pucks
- G06F3/03547—Touch pads, in which fingers can move on a surface
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3234—Power saving characterised by the action undertaken
- G06F1/3293—Power saving characterised by the action undertaken by switching to a less power-consuming processor, e.g. sub-CPU
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/0416—Control or interface arrangements specially adapted for digitisers
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/16—Constructional details or arrangements
- G06F1/1613—Constructional details or arrangements for portable computers
- G06F1/163—Wearable computers, e.g. on a belt
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/16—Constructional details or arrangements
- G06F1/1613—Constructional details or arrangements for portable computers
- G06F1/1633—Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
- G06F1/1637—Details related to the display arrangement, including those related to the mounting of the display in the housing
- G06F1/1643—Details related to the display arrangement, including those related to the mounting of the display in the housing the display being associated to a digitizer, e.g. laptops that can be used as penpads
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3206—Monitoring of events, devices or parameters that trigger a change in power modality
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3234—Power saving characterised by the action undertaken
- G06F1/325—Power saving in peripheral device
- G06F1/3265—Power saving in display device
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3234—Power saving characterised by the action undertaken
- G06F1/3287—Power saving characterised by the action undertaken by switching off individual functional units in the computer system
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/033—Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
- G06F3/038—Control and interface arrangements therefor, e.g. drivers or device-embedded control circuitry
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/0412—Digitisers structurally integrated in a display
Definitions
- the present application relates to the field of terminal technologies, and in particular, to a screen control method of an electronic device, a readable medium, and an electronic device.
- the touch screen of an electronic device is widely used in various intelligent electronic devices.
- the user only needs to touch the touch screen of the intelligent electronic device with a finger to realize the operation of the electronic device, thereby realizing a more intuitive and convenient human-computer interaction.
- a dual-processor solution is usually adopted in the hardware architecture of electronic equipment, that is, a high-performance main processor is responsible for the operation of the operating system and handles high-computation tasks, such as maps, navigation, and telephones. and other functions.
- a low-power coprocessor is responsible for some low-computational tasks, such as sensor data acquisition and processing. In this way, since the high-performance main processor and the low-power co-processor share a set of display and touch screen, when switching between systems, it is easy to cause problems such as lost points and freezes in the user interface.
- Embodiments of the present application provide a screen control method for an electronic device, a readable medium, and an electronic device.
- the processing authority of the display screen is switched first, and then the processing authority of the touch screen is switched after the display screen switching is completed.
- the first processor receives the touch data through the second processor, so that the first processor can receive the complete touch data, so as to accurately parse the user's touch data corresponding to the complete touch data.
- This operation event and then accurately respond to the user's this operation event. It avoids the occurrence of the problem of causing the loss of data generated by the electronic device and corresponding to the user's operation during the screen switching process, thereby bringing the user an unsmooth sliding experience. Realize non-sensing switching and improve user experience.
- an embodiment of the present application provides a screen control method for an electronic device, including:
- the second processor of the electronic device processes the relevant information of the display screen and the touch screen; when the electronic device detects that the user starts the first touch operation, it switches the processing authority of the display screen from the second processor to the first processor, and Send the detected first touch data of the first touch operation to the first processor via the second processor, and when the electronic device detects that the first touch operation ends, transfers the processing authority of the touch screen to the second processor Switch to the first processor.
- the relevant information of the display screen and the touch screen includes but is not limited to: one or more types of data, for example, touch data corresponding to the user's touch operation; one or more types of signaling, for example, as shown in FIG. 5 .
- the co-processor application layer sends a wake-up command to the main processor; one or more types of messages, for example, in the embodiment shown in FIG. 5, the touch chip sends the co-touch driver Interrupt message; one or more types of notifications, one or more types of requests, one or more types of responses, one or more types of signals, etc.
- the second processor processes the related information of the display screen and the touch screen.
- the electronic device detects that the user starts to slide on the screen, it switches the processing authority of the display screen from the second processor to the first processor, and sends the detected first touch data of the first touch operation via the second processor sent to the first processor.
- the electronic device detects that the user's finger leaves the screen, it is determined that the current touch operation of the user is over, and the processing authority of the touch screen is switched from the second processor to the first processor.
- the first processor receives the touch data through the second processor, so that the first processor can receive the complete touch data, so as to accurately parse out the user's current location corresponding to the complete touch data. This operation event is then accurately responded to the user's current operation event. Realize non-sensing switching and improve user experience.
- processing authority of the display screen herein refers to the processing authority of the relevant information of the display screen
- processing authority of the touch screen refers to the processing authority of the relevant information of the touch screen
- the above method further includes: the electronic device includes a virtual touch driver, and the electronic device sends the first touch data of the first touch operation to the virtual touch driver via the second processor, The first processor receives the first touch data via the virtual touch driver.
- the first processor is the main processor, which can run a high-performance operating system and process tasks with a relatively low frequency and high computational load.
- the main processor runs The system supports navigation, telephone, map, chat, music playback and other functions.
- the second processor is a co-processor, which can run a light-weight system with low power consumption and process tasks with relatively high frequency and low computational load.
- the coprocessor runs a lightweight embedded system, which is responsible for the collection and processing of sensor data, and supports functions such as time display, calculator, timer, alarm clock, heart rate measurement, step counting, and height measurement.
- the virtual touch driver is the main virtual touch driver in the embodiment shown in FIG. 3 , and the processing authority for the display screen has been switched to the main processor, while the processing authority of the touch screen is still under the coordination
- the main processor reads the touch data sent by the coprocessor through the main virtual touch driver.
- the method further includes: when the electronic device detects that the user starts the first touch operation, switching the processing authority of the display screen from the second processor to the first processor include:
- the electronic device When detecting that the user starts the first touch operation, the electronic device sends a wake-up instruction to the first processor through the second processor; after receiving the wake-up instruction, the first processor responds to the wake-up instruction and sends a wake-up instruction to the second processor Interrupt request for screen switching; after receiving the interrupt request for screen switching, the second processor responds to the interrupt request and switches the processing authority of the display screen from the second processor to the first processor.
- the first processor is a main processor
- the second processor is a co-processor
- the electronic device sends a wake-up instruction to the main processor through the co-processor application layer.
- the above-mentioned method further includes:
- the first processor of the electronic device processes the relevant information of the display screen and the touch screen; when the electronic device detects that the user has an interactive operation for the setting application of the electronic device, the processing authority of the display screen and the touch screen is transferred to the first processor by the first processor. Switch to the second processor, and the second processor of the electronic device processes the related information of the display screen and the touch screen.
- the setting application refers to an application that needs to be processed by the second processor, such as a calculator, a timer, an alarm clock, and a sports application with a relatively high frequency of use and a relatively low amount of computation.
- the second processor replaces the first processor to process applications with a high frequency of use and a long time, which can reduce power consumption and improve the battery life of the electronic device.
- the above-mentioned method further includes: when the electronic device detects that the user has an interactive operation of a setting application for the electronic device, changing the processing authority of the display screen and the touch screen from the first The processor switches to the second processor, and the second processor of the electronic device processes the relevant information of the display screen and the touch screen, including:
- the electronic device switches the processing authority of the display screen from the first processor to the second processor when it detects that the user has an interactive operation for the setting application of the electronic equipment; when the electronic device determines that the processing authority of the display screen is set by After the first processor is switched to the second processor, the processing authority of the touch screen is switched from the first processor to the second processor.
- the above-mentioned method further includes: the first processor of the electronic device processes the related information of the display screen and the touch screen; when the electronic device detects that the user starts the second touch operation, The detected second touch data of the second touch operation is sent to the first processor.
- the first processor of the electronic device is currently running, the first processor controls the display screen and the touch screen, and when the user's finger slides on the screen of the electronic device, the first processor reads Touch data corresponding to the user's current touch operation generated by the touch chip.
- the above-mentioned method further includes: the electronic device includes a display screen switch, the display screen switch is electrically connected to the display screen, and when the electronic device detects that the user starts the first touch operation , and switch the processing authority of the display screen from the second processor to the first processor in the following ways:
- the electronic device When detecting that the user starts the first touch operation, the electronic device controls the display screen switch to disconnect from the second processor, and controls the display screen switch to connect to the first processor.
- the MIPI interfaces of the first processor and the second processor are connected to the MIPI interface of the display screen through switch S2.
- the electronic device detects that the user starts the first touch operation, the electronic device controls the switch S2 to disconnect from the second processor, and controls the switch S2 to connect to the first processor.
- the above-mentioned method further includes: the electronic device includes a touch screen switch, the touch screen switch is electrically connected to the touch screen, and when the electronic device detects that the first touch operation ends, the electronic device uses the following methods Switch the processing authority of the touch screen from the second processor to the first processor:
- the electronic device When detecting that the first touch operation ends, the electronic device controls the touch screen switch to disconnect from the second processor, and controls the touch screen switch to connect to the first processor.
- the I2C interfaces of the first processor and the second processor are connected to the I2C interface of the touch screen through the switch S1, and when the electronic device detects that the first touch operation ends, the electronic device controls the switch S1 and the first touch operation.
- the two processors are disconnected, and the switch S1 is controlled to connect to the first processor.
- an embodiment of the present application provides a readable medium, where an instruction is stored on the readable medium, the instruction, when executed on an electronic device, causes the electronic device to perform the foregoing first aspect and various possible implementations of the first aspect any one of the screen control methods.
- an electronic device including:
- Screens including display screens and touch screens
- memory for storing instructions for execution by one or more processors of the electronic device
- the first processor is one of the processors of the electronic device
- the second processor which is one of the processors of the electronic device, is configured to cooperate with the first processor to execute the first aspect and any one of the screen control methods in various possible implementations of the first aspect.
- FIG. 1(a) shows a sequence diagram of a screen switching of the electronic device in the related technical solution
- Fig. 1(b) shows, according to some embodiments of the present application, a sequence diagram of a screen switching of the electronic device when the electronic device executes the screen switching control method provided by the present application;
- Fig. 1(c) shows an application scenario of a screen switching control method provided by the present application according to some embodiments of the present application
- Fig. 2 shows a block diagram of the hardware structure of the smart watch shown in Fig. 1(c) according to some embodiments of the present application;
- Fig. 3 shows a system architecture diagram of the smart watch shown in Fig. 1(c) according to some embodiments of the present application;
- Fig. 4(a) shows an interface diagram of a smart watch in an off-screen state according to some embodiments of the present application
- Figure 4(b) shows an interface diagram of the smart watch brightening the screen after the user lifts the wrist/presses a button, according to some embodiments of the present application
- Figure 4(c) shows a desktop image displayed by the smart watch after the user slides the screen, according to some embodiments of the present application
- FIG. 5 shows an interaction diagram of a screen switching control method provided by the present application according to some embodiments of the present application
- FIG. 6 shows a schematic diagram of a coprocessor switching display screens according to some embodiments of the present application.
- Figure 7(a) shows a schematic diagram of a sports application in which a user clicks on a smart watch desktop, according to some embodiments of the present application
- Figure 7(b) shows an interface diagram of entering the sports application after the user clicks the sports application on the desktop of the smart watch, according to some embodiments of the present application
- FIG. 8 shows an interaction diagram of another screen switching control method provided by the present application according to some embodiments of the present application.
- FIG. 9 shows a flowchart of a system interaction method provided by the present application according to some embodiments of the present application.
- Embodiments of the present application include, but are not limited to, a screen control method for an electronic device, a readable medium, and an electronic device.
- an embodiment of the present application provides a screen control method for an electronic device.
- the processing authority of the display screen is switched first, and then the processing authority of the touch screen is switched after the switching of the processing authority of the display screen is completed.
- the electronic device is a dual-processor device with a main processor and a co-processor, the user wears the electronic device on the wrist, and when the user lifts the wrist on which the electronic device is worn, the co-processor of the electronic device is awakened , the display screen and touch screen are controlled by the coprocessor.
- the electronic device first switches the processing authority of the display screen to the main processor. After the user's sliding operation is completed, the electronic device The device then switches the processing authority of the touch screen to the main processor.
- the coprocessor is awakened and controlled by the coprocessor Display screen and touch screen; at time t2, when the user's finger starts to slide on the screen of the electronic device, the main processor is awakened, and the electronic device first switches the processing authority of the display screen to the main processor, and the main processor controls the display screen, and the processing authority of the touch screen is still in the coprocessor; at time t3, when the user's finger is lifted from the screen of the electronic device, that is, after the sliding operation is over, the electronic device switches the processing authority of the touch screen to the main processing device.
- the electronic device when the processing authority of the display screen is switched to the main processor, and the processing authority of the touch screen is still maintained in the coprocessor, the electronic device creates a corresponding The virtual driver on the touch screen in the controller (hereinafter referred to as the main virtual touch driver for simplicity of description) is used to receive the touch data sent by the coprocessor. Therefore, when the main processor has started to control the display screen to display images frame by frame, but the touch screen has not completed the switching process, the main processor can receive the complete touch data corresponding to the user's current touch operation through the main virtual touch drive.
- the main virtual touch driver for simplicity of description
- the main processor can accurately analyze the user's current operation event corresponding to the complete touch data according to the received complete touch data, and then accurately respond to the user's current operation event.
- the loss of data generated by the electronic device and corresponding to the user's operation is avoided, thereby bringing the user an unsmooth sliding experience. Realize non-sensing switching and improve user experience.
- the main processor when the processing authority of the touch screen is in the main processor, the main processor is responsible for processing the touch data corresponding to the user's touch operation generated by the electronic device; when the processing authority of the touch screen is in the co-processor, the co-processing The controller is responsible for processing touch data generated by the electronic device and corresponding to the user's touch operation.
- FIG. 1( c ) shows an application scenario of the screen control method provided by the present application, according to some embodiments of the present application.
- the user's left wrist is wearing a dual-processor smart watch 100 .
- the smart watch 100 includes a main processor and a co-processor, and the main processor and the co-processor share a screen.
- the main processor can run a high-performance operating system to process tasks with low frequency and high computational load.
- the main processor runs The system supports navigation, telephone, map, chat, music playback and other functions.
- Coprocessors can run low-power, lightweight systems to handle low-computational tasks that use higher frequencies.
- the coprocessor runs a lightweight embedded operating system, which is responsible for the collection and processing of sensor data, and supports functions such as time display, calculator, timer, alarm clock, heart rate measurement, step counting, and altitude measurement.
- a low-power co-processor is used to replace the main processor to process tasks with high frequency of use and low computational load, thereby reducing power consumption and improving the battery life of the smart watch 100 .
- the main processor and the coprocessor share a screen, which includes a display screen and a touch screen.
- the screen may consist of a touch screen and a display screen stacked together.
- the smart watch 100 when the processing authority of the display screen and the touch screen of the smart watch 100 is switched between the main processor and the co-processor, the smart watch 100 first switches the display by executing the screen switching control method provided by the embodiment of the present application. After switching the processing authority of the display screen, switch the processing authority of the touch screen. For example, in the process of switching the processing authority of the display screen and the touch screen from the coprocessor to the main processor, the main processor receives the touch data sent by the coprocessor through the main virtual touch driver. This ensures that during the switching process between the display screen and the touch screen, the smart watch 100 can completely acquire the data corresponding to the user's touch operation generated by the touch screen, so as to accurately respond to the user's touch operation and perform corresponding tasks. While reducing the power consumption of the whole machine, it can realize non-inductive switching and improve the user experience.
- the smart watch 100 is taken as an example to introduce the technical solutions of the present application.
- FIG. 2 shows a block diagram of the hardware structure of the smart watch 100 shown in FIG. 1( c ) according to some embodiments of the present application.
- the smart watch 100 includes a touch screen 101, a display screen 102, a main processor 103, a co-processor 104, a memory 105, a communication module 106, a sensor module 107, a power supply 108, a switch S1 of the touch screen 101, and a display screen
- the switch S2 of 102 the power management system 109 and the touch chip 110 and so on.
- the touch screen 101 which may also be called a touch panel, can collect user's touch operations such as clicking and sliding on the screen.
- the touch screen 101 can communicate with the main processor 103 and the coprocessor 104 through an I2C (Inter-Integrated Circuit) bus.
- the touch screen 101 may be a resistive, surface capacitive, projected capacitive, infrared, surface acoustic wave, curved wave, active digital switch, and optical imaging touch screen.
- the touch chip 110 is electrically connected to the touch screen 101.
- the touch chip 110 scans the touch screen 101 at a certain scanning frequency to obtain the user's touch data, such as the coordinates, pressure, area and edge value of the touch point, etc. data. Then, the acquired touch data of the user is reported to the main processor 103 or the coprocessor 104 for processing. After the main processor 103 or the coprocessor 104 processes the touch data, the images corresponding to the user's touch operation are displayed frame by frame.
- the display screen 102 may be used to display information input by the user, prompt information provided to the user, various menus on the smart watch 100, operation interfaces of various application programs of the smart watch 100, and the like.
- the display screen 102 may be used to display the current time, the user's heart rate measured by the health detection application, the number of steps of the user during exercise calculated by the exercise application, and the like.
- the display screen 102 can communicate with the main processor 103 and the coprocessor 104 through a Mobile Industry Processor Interface (Mobile Industry Processor Interface, MIPI) bus.
- MIPI Mobile Industry Processor Interface
- the display screen 102 may include a display panel, and the display panel may adopt a liquid crystal display (Liquid Crystal Display, LCD), an organic light-emitting diode (Organic Light-emitting Diode, OLED), an active matrix organic light emitting diode or an active matrix organic light emitting diode.
- Polar body Active-matrix Organic Light-emitting Diode, AMOLED
- flexible light-emitting diode Flexible light-emitting diode
- Mini LED Micro LED, Micro OLED, quantum dot light-emitting diode (Quantum Dot Light-emitting Diodes, QLED), etc.
- the main processor 103 includes a plurality of processing units that can operate and other operating systems, used to process tasks related to applications such as navigation, phone calls, maps, chats, music playback, etc., and when the processing authority of the touch screen 101 and the display screen 102 of the smart watch 100 is switched to the main processor 103, processing Data and the like generated by the user touching the touch screen 101 .
- the coprocessor 104 can run a lightweight embedded operating system, and is responsible for the collection and processing of sensor data, and the processing is related to applications such as time display, calculator, timer, alarm clock, heart rate measurement, step counting, height measurement, etc.
- the processing authority of the touch screen 101 and the display screen 102 of the smart watch 100 is switched to the coprocessor 104, the data that the user touches on the touch screen 101 is processed, and the like.
- the coprocessor 104 may include a Digital Signal Processor (DSP), a Microcontroller Unit (MCU), a Field Programmable Gate Array (FPGA), an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC) and other processing modules or processing circuits.
- DSP Digital Signal Processor
- MCU Microcontroller Unit
- FPGA Field Programmable Gate Array
- ASIC Application Specific Integrated Circuit
- the I2C interfaces of the main processor 103 and the coprocessor 104 are connected to the I2C interface of the touch screen 101 through the switch S1, and the MIPI interfaces of the main processor 103 and the coprocessor 104 are connected to the display screen 102 through the switch S2 on the MIPI interface.
- the main processor 103 and the coprocessor 104 are connected to the switch S2 through a general-purpose input/output (GPIO) interface (not shown in the figure), and the main processor 103 is pulled high through the GPIO interface level. Or pull down, to send a switching request of the display screen 102 to the coprocessor 104, and after the processing authority of the display screen 102 is switched, the processing authority of the touch screen 101 is switched.
- GPIO general-purpose input/output
- the memory 105 is used to store software programs and data, and the processor 203 executes various functional applications and data processing of the smart watch 100 by running the software programs and data stored in the memory 105 .
- the memory 105 may store data such as air pressure and temperature collected by sensors during exercise of the user, and store sleep data, heart rate data, and the like of the user. Meanwhile, the memory 105 may also store the user's registration information, login information, and the like.
- the communication module 106 can be used to make the smart watch 100 communicate with other electronic devices and connect to the network through other electronic devices.
- the smart watch 100 electronically establishes a connection with a mobile phone, a server, etc. through the communication module 106 to perform data transmission.
- the sensor module 107 may include a proximity light sensor, a pressure sensor, a gyro sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, a bone conduction sensor, and the like.
- the power supply 108 is used to power various components of the smart watch 100 .
- the power source 108 may be a battery.
- the power management system 109 is used to manage the charging of the power supply 108 and the power supply of the power supply 108 to other modules.
- the smart watch 100 shown in FIG. 2 is only an exemplary structure for realizing the functions of the smart watch 100 in the technical solution of the present application, and does not constitute a specific limitation on the smart watch 100 .
- the smart watch 100 may include more or less components than those shown in FIG. 2 , or combine some components, or separate some components, or different component arrangements.
- the components shown in Figure 2 may be implemented in hardware, software or a combination of software and hardware.
- FIG. 3 shows two operating systems (eg system and a lightweight embedded operating system).
- the two operating systems run by the main processor 103 and the coprocessor 104 of the smart watch 100 both include an application layer 302 , a driver layer 301 and a device layer 300 , so no distinction is made here, but each layer is The specific originals are distinguished.
- the main processor 103 and the coprocessor 104 share the display screen 102 , the touch screen 101 and the touch chip 110 .
- the device layer 300 includes a display screen 102 , a touch screen 101 , a switch S2 of the display screen 102 , a switch S1 of the touch screen 101 , a main processor 103 , a coprocessor 104 , a touch chip 110 , and the like.
- a display screen 102 a touch screen 101
- a switch S2 of the display screen 102 a switch S1 of the touch screen 101
- main processor 103 a main processor 103
- a coprocessor 104 a touch chip 110
- the functions of each device in the device layer 300 please refer to the above text description about FIG. 2 , which will not be repeated here.
- the driving layer 301 is used to drive each device in the above-mentioned device layer 300 to realize functions such as read and write access to each device, interrupt setting and the like.
- the driver layer 301 includes, but is not limited to, a co-touch driver 301 a.
- the co-touch driver 301 a may be a software program in a lightweight embedded operating system run by the co-processor 104 for driving the touch screen 101 and capable of reading touch data generated by the touch chip 110 .
- the coprocessor 104 is woken up, and the coprocessor 104 processes the display related information of the screen 102 and the touch screen 101, wherein the related information of the display screen 102 and the touch screen 101 includes but is not limited to: one or more types of data, for example, touch data corresponding to the user's touch operation; one or more type of signaling, eg, in the embodiment shown in FIG. 5, a wake-up command sent by the coprocessor application layer to the main processor 103; one or more types of messages, eg, in the implementation shown in FIG.
- the interrupt message sent by the touch chip 110 to the co-touch driver 301a For example, the interrupt message sent by the touch chip 110 to the co-touch driver 301a; one or more types of notifications, one or more types of requests, one or more types of responses, one or more types of signal, etc.
- the co-processor 104 drives the touch screen 101 through the co-touch driver 301a, and reads the user's touch data.
- processing authority of the display screen 102 herein refers to the processing authority of the relevant information of the display screen 101
- processing authority of the touch screen 101 refers to the processing authority of the relevant information of the touch screen 101.
- the driving layer 301 includes, but is not limited to, a main virtual touch driver 301b, a main touch driver 301c, and the like for receiving and sending touch data of the user.
- the main touch driver 301c is a software program used to drive the touch screen 101 in the high-performance operating system running in the main processor 103, and can switch to the main processor 103 when the processing authority of the display screen 102 and the touch screen 101 are both switched to the main processor 103.
- the switched touch data generated by the touch chip 110 shown in FIG. 3 that is, after the processing authority of the display screen 102 and the touch screen 101 have been switched to the main processor 103, the user touches the screen again, and the data generated by the touch chip 110 corresponding to the user's re-touch operation).
- the main virtual touch driver 301b is a virtual driver corresponding to the touch screen 101 created by the main processor 103 during initialization, and the processing authority for the display screen 102 has been switched to the main processor 103, while the processing authority of the touch screen 101 is still in When the coprocessor 104 is used, the touch data sent by the coprocessor application layer 302a is received.
- the main processor 103 is woken up, and the smart watch 100 first changes the display screen 102
- the processing authority is switched to the main processor 103 , and the main processor 103 processes the data of the display screen 102 , while the processing authority of the touch screen 101 is still in the coprocessor 104 .
- the main processor 103 reads the data from the coprocessor 104 through the main virtual touch driver 301b. The touch data sent.
- the smart watch 100 switches the processing authority of the touch screen 101 to the main processor 103 .
- the main processor 103 reads the touch data sent by the coprocessor 104 through the main touch driver 301c.
- application layer 302 includes coprocessor application layer 302a.
- the co-processor application layer 302a is used to calculate the touch data read from the touch chip 110 by the co-touch driver 301a of the co-processor 104 when the processing authority of the display screen 102 and the touch screen 101 is in the co-processor 104, and determine the Corresponding to the touch event type of the user who should touch the data, and then according to the determined event type, the application program responds.
- the coprocessor 104 is woken up, and the coprocessor 104 processes the display related information of the touch screen 102 and the touch screen 101.
- the co-processor 104 drives the touch screen 101 through the co-touch driver 301a, and reads the user's touch data.
- the coprocessor application layer 302a performs calculation upon receiving the user's touch data reported by the co-touch driver 301a, determines the touch event type of the user who should touch the data, and then responds through the application program according to the determined event type.
- the main processor 103 runs In the system, the application layer 302 includes the main processor application layer 302b.
- the main processor application layer 302b is used to calculate the touch data read from the touch chip 110 by the main touch driver 301c of the main processor 103 when the processing authority of the display screen 102 and the touch screen 101 is in the main processor 103, and determine the Corresponding to the touch event of the user who should touch the data, and then according to the determined event, the application program responds.
- the main processor 103 is woken up, and the smart watch 100 first changes the display screen 102
- the processing authority is switched to the main processor 103 .
- the smart watch 100 switches the processing authority of the touch screen 101 to the main processor 103 .
- the main processor 103 processes the relevant information of the display screen 102 and the touch screen 101.
- the touch chip 110 generates touch data corresponding to the user's click operation.
- the main touch driver 301c After reading the touch data from the touch chip 110, the main touch driver 301c reports the touch data to the main processor application layer 302b.
- the main processor application layer 302b identifies the data that the user clicks on the screen, determines that the user's operation is to click the icon of the music playing application, and then opens the music playing application.
- the smart watch 100 is in an off-screen state, and both the main processor 103 and the coprocessor 104 are in a sleep state.
- the screen lights up, the dial displays the time interface, the coprocessor 104 is woken up, and the display screen 102 and the touch screen
- the processing authority of 101 is in the coprocessor 104, and the coprocessor 104 processes the user's touch data generated by the touch chip 110. After the coprocessor 104 processes the touch data, it controls the display screen 102 to display frame by frame.
- the smart watch 100 After the screen is turned on, if the user's touch operation is not detected within the set time, the smart watch 100 turns off the screen again, and the main processor 103 and the coprocessor 104 re-enter the sleep state. If the user's touch operation is detected within the set time, for example, after the user slides on the displayed time interface of the smart watch 100 shown in FIG. 4( b ), the user enters the smart watch 100 shown in FIG. 4( c ). desktop, including a plurality of application icons, such as navigation icons, sports application icons, calculator icons, weather icons, setting icons, etc., then the smart watch 100 implements the screen control method provided by the solution of the present application.
- application icons such as navigation icons, sports application icons, calculator icons, weather icons, setting icons, etc.
- the display screen 102 and the touch screen 101 The processing authority is switched to the main processor 103, that is, the main processor 103 processes the user's touch data generated by the touch chip 110. After the main processor 103 processes the touch data, the main processor 103 controls the display screen 102 to display frame by frame.
- the coprocessor 104 when the processing authority of the display screen 102 and the touch screen 101 is in the coprocessor 104, the coprocessor 104, when detecting the user's touch operation, sends the display screen 102
- the process of switching the processing authority of the touch screen 101 to the main processor 103 includes the following steps:
- Step 501 The smart watch 100 generates touch data of the user.
- the user touches the screen, and the touch chip 110 generates data such as coordinates, pressure, area, and edge value of the touch point of the user.
- the operations of the user touching the smart watch 100 may be operations such as clicking, long pressing, double-clicking, sliding, and the like.
- the user taps the touch screen 101 with a finger, or the user's finger slides from one position on the touch screen 101 to another position.
- the user's touch operation on the smart watch 100 may be performed by the user through fingers, or may be performed by the user through a touch pen or other touch devices.
- Step 502 the touch chip 110 of the smart watch 100 reports the interrupt message to the co-touch driver 301 a of the co-processor 104 .
- the interrupt message refers to a trigger signal generated when the touch chip 110 receives a user's touch operation. If there is an interruption message, it indicates that the user has started a touch operation on the touch screen 101, and then the process goes to step 503; if there is no interruption message, it indicates that the user has not performed a touch operation on the touch screen 101, and the touch chip 110 has not been triggered to generate the user's touch data, and return to Step 501.
- Step 503 After receiving the interrupt message, the co-touch driver 301 a of the co-processor 104 reads touch data from the touch chip 110 .
- the co-touch driver 301a of the co-processor 104 reads the touch data from the touch chip 110 through a serial peripheral interface (Serial Peripheral Interface, SPI) after receiving the interrupt message.
- SPI Serial Peripheral Interface
- Step 504 the co-touch driver 301 a of the co-processor 104 reports the read touch data to the co-processor application layer 302 a of the co-processor 104 .
- the co-processor application layer 302a executes step 505 after receiving the touch data reported by the co-touch driver 301a.
- Step 505 After receiving the touch data, the coprocessor application layer 302a of the coprocessor 104 sends a wake-up instruction to the main processor 103. After receiving the wake-up instruction, the main processor 103 executes step 506 and step 507 at the same time.
- Step 506 After receiving the wake-up command, the main processor 103 completes the power-on of the internal MIPI interface. That is, the power-on of the hardware interface connected between the main processor 103 and the switch S2 of the display screen 102 is completed, so that when the switch S2 of the display screen 102 is switched to the main processor 103, the main processor 103 can communicate with the display through the MIPI interface.
- the MIPI interface of the screen 102 The MIPI interface of the screen 102.
- Step 507 The main processor 103 sends an interrupt request to the coprocessor 104 to request to control the screen. That is, the coprocessor 104 is requested to switch the processing authority of the display screen 102 and the touch screen 101 to the main processor 103 .
- Step 508 after receiving the interrupt request sent by the main processor 103 , the coprocessor 104 first switches the processing authority of the display screen 102 to the main processor 103 in response to the interrupt request.
- the main processor 103 can pull up the level of the GPIO interface used for sending the switching request, and the coprocessor 104 can also pull up the level of the GPIO interface switched by the switch S2 that controls the display screen 102, Then the switch S2 is switched to the main processor 103 , that is, the display screen 102 communicates with the main processor 103 through the switch S2 , and the main processor 103 processes the relevant information of the display screen 102 . After the processing authority of the display screen 102 is switched from the coprocessor 104 to the main processor 103 , step 509 is entered.
- Step 509 The main virtual touch driver 301b of the main processor 103 reads the user's touch data from the coprocessor application layer 302a.
- the user's touch data is that the processing authority of the display screen 102 has been successfully switched from the coprocessor 104 to the main processor 103, while the touch screen 101 has not yet completed the switching, that is, the processing authority of the display screen 102 has been switched to the main processor 103, and In the process of maintaining the processing authority of the touch screen 101 in the coprocessor 104, the touch chip 110 generates data corresponding to the user's touch operation.
- the coprocessor 104 first switches the display screen 102 to the main processor 103, and then switches the touch screen 101 to the main processor 103 after the user's one touch operation is completed, that is, after the user's finger or the touch device held by the user is lifted from the screen.
- the main processor 103 proceeds to step 512 .
- Step 510 The main virtual touch driver 301b of the main processor 103 reports the read touch data of the user to the main processor application layer 302b.
- the processing authority of the touch screen 101 remains in the coprocessor 104.
- the main processor 103 reads the user's touch data from the coprocessor application layer 302a through the main virtual touch driver 301b, The read touch data of the user is reported to the main processor application layer 302b for processing.
- Step 511 After receiving the user's touch data, the main processor application layer 302b responds to the user's touch operation.
- the main processor application layer 302b calculates the touch data, determines the user's touch event corresponding to the user who should touch the data, and then responds according to the determined event.
- the main processor application layer 302b determines that the user's operation type is that when the user's finger presses the same position for a long time, the response to the operation is: forward the information in the information record of the smart watch 100 , Favorite, Edit, Delete, Multi-Select or Cite etc.
- Step 512 After the coprocessor 104 switches the display screen 102 to the main processor 103, it determines whether the current touch operation ends. If finished, it indicates that the touch screen 101 can be switched to the main processor 103, and the process goes to step 513;
- the coprocessor 104 may determine whether a touch operation ends by determining whether the time difference between the time when the user's finger leaves the screen and the time when the user starts touching the screen is greater than a set time threshold. For example, the time threshold for a sliding operation is set to 10 milliseconds. If the time difference between the time when the user's finger leaves the screen and the time when the user starts to touch the screen is greater than 10 milliseconds, the coprocessor 104 can determine that a sliding operation ends; otherwise , the coprocessor 104 determines that a sliding operation has not ended.
- Step 513 the coprocessor 104 switches the touch screen 101 to the main processor 103 after determining that the current touch is over.
- the coprocessor 104 controls the switch S1 of the touch screen 101 to switch to the main processor 103, so that the I2C interface of the touch screen 101 and the I2C interface of the main processor 103 are connected, that is, the touch screen 101 is switched to the main processor 103.
- processor 103 controls the switch S1 of the touch screen 101 to switch to the main processor 103, so that the I2C interface of the touch screen 101 and the I2C interface of the main processor 103 are connected, that is, the touch screen 101 is switched to the main processor 103.
- processor 103 controls the switch S1 of the touch screen 101 to switch to the main processor 103, so that the I2C interface of the touch screen 101 and the I2C interface of the main processor 103 are connected, that is, the touch screen 101 is switched to the main processor 103.
- Step 514 In the case that the main processor 103 successfully controls the screen (that is, the main processor 103 processes the relevant information of the display screen 102 and the touch screen 101), that is, the processing authority of the display screen 102 and the touch screen 101 has been successfully switched to In the case of the main processor 103 , if the user touches the screen again, the main processor 103 will read the touch data generated by the touch chip 110 from the touch chip 110 corresponding to the user's re-touching.
- the touch chip 110 of the smart watch 100 reports an interrupt message to the main touch driver 301 c of the main processor 103 .
- the interrupt message refers to a trigger signal generated when the touch chip 110 receives a touch operation by the user again. If there is an interruption message, it indicates that the user has started the touch operation on the touch screen 101, and then go to step 515; if there is no interruption message, it indicates that the user does not touch the touch screen 101 again, and the touch chip 110 is not triggered to generate the user's touch data again. , to end the process.
- Step 515 the main touch driver 301 c of the main processor 103 reads the re-touch data from the touch chip 110 after receiving the interrupt message that the user touches again.
- the main touch driver 301c reads touch data from the touch chip 110 through a serial peripheral interface (Serial Peripheral Interface, SPI).
- SPI Serial Peripheral Interface
- Step 516 The main touch driver 301c of the main processor 103 reports the read re-touch data to the main processor application layer 302b for processing.
- Step 517 After receiving the user's re-touch data, the main processor application layer 302b responds to the user's re-touch operation.
- the main processor application layer 302b calculates the touch data, determines the user's touch event corresponding to the second touch data, and then responds according to the determined event. For example, the main processor application layer 302b identifies the data of the user's click on the screen, and determines that the user's operation is to continuously press and hold the user's finger at different positions on the screen of the smart watch 100, then the response to the operation is: The smart watch 100 drags and rolls the information records to display the information records of different time periods.
- the main processor 103 is woken up, and the smart watch 100 enters the desktop of the smart watch 100 shown in FIG. 4(c).
- the smart watch 100 executes the screen control method shown in FIG. Switch to the main processor 103 .
- the main processor 103 processes the user's touch data generated by the touch chip 110, and controls the display screen 102 to display frame by frame.
- the main processor 103 controls the screen (that is, the processing authority of the display screen 102 and the touch screen 101 is in the main processor 103)
- the user triggers the main processing by clicking the icon of the setting application on the desktop of the smart watch 100.
- the process of the processor 103 switching the processing authority of the display screen 102 and the touch screen 101 to the coprocessor 104 will be described in detail.
- the setting application refers to applications that need to be processed by the coprocessor 104 , such as calculators, timers, alarm clocks, sports, and the like, which are frequently used and require less computation.
- the coprocessor 104 replaces the main processor 103 to process the aforementioned applications with high usage frequency and long time, which can reduce power consumption and improve the battery life of the smart watch 100 .
- the interface currently displayed by the smart watch 100 is a desktop, which includes icons of multiple applications, such as navigation icons, sports application icons, calculator icons, weather icons, settings icon etc.
- the smart watch 100 runs the sports application, and enters an interface that displays the number of kilometers and the pace of the user's running as shown in FIG. 7( b ).
- the currently displayed interface of the user's running kilometers and pace is displayed by the coprocessor 104 controlling the display screen 102 . Since the sports application is run by the coprocessor 104 , when the user clicks the icon 112 of the sports application, the display screen 102 and the touch screen 101 of the smart watch 100 need to be switched from the main processor 103 to the coprocessor 104 .
- the applications executed by the main processor 103 and the coprocessor 104 respectively are as shown in Table 1.
- the applications listed in Table 1 such as navigation, phone calls, chatting, shopping, tickets, photography, mobile payment, etc., executed by the main processor are usually third-party applications; Applications such as sports, calculators, clocks, weather, scientific sleep, intelligent heart rate, and blood oxygen saturation are usually self-developed applications by equipment manufacturers. It can be understood that the application names exemplarily listed in Table 1 above do not impose specific restrictions on the solution of the present application.
- the main processor 103 is triggered to switch the processing authority of the display screen 102 and the touch screen 101 to the co-processing
- the process of the controller 104 is described in detail.
- the main processor 103 processes the related information of the display screen 102 and the touch screen 101 .
- the main processor 103 is triggered to send a screen switching interrupt request to the coprocessor 104, requesting the coprocessor 104 to control the display screen 102 and the touch screen 101.
- the coprocessor 104 receives the interrupt request sent by the main processor 103, it responds to the interrupt request, and controls the switch S2 of the display screen 102 to communicate with the coprocessor 104.
- the display screen 102 After the display screen 102 is switched, it controls the touch screen 101.
- the switch S1 is connected to the coprocessor 104 . So far, the main processor 103 switches the processing authority of the display screen 102 and the touch screen 101 to the coprocessor 104, and the coprocessor 104 is responsible for reading and processing the user's touch data, and controlling the display screen 102 to display frame by frame.
- the process for the main processor 103 to switch the processing authority of the display screen 102 and the touch screen 101 to the coprocessor 104 includes the following steps :
- Step 801 the sports application of the smart watch 100 sends a screen-off instruction to the main processor 103 . After receiving the screen-off instruction, the main processor 103 executes step 802 and step 803 at the same time.
- Step 802 The main processor 103 completes the power-off of the internal MIPI interface. That is, the power-off of the hardware interface connecting the main processor 103 to the switch S2 of the display screen 102 is completed, so as to disconnect the connection between the MIPI interface of the main processor 103 and the MIPI interface of the display screen 102 .
- Step 803 The main processor 103 sends an interrupt request to the coprocessor 104 to request to switch the screen, that is, the main processor 103 requests the coprocessor 104 to switch the processing authority of the display screen 102 and the touch screen 101 from the main processor 103 to the coprocessor. device 104.
- Step 804 the coprocessor 104 responds after receiving the interrupt request for switching the screen, and switches the processing authority of the display screen 102 from the main processor 103 to the coprocessor 104 .
- the main processor 103 can pull down the level of the GPIO interface used by the main processor 103 to send the switching request, and the coprocessor 104 can control the level of the GPIO interface switched by the switch S2 of the display screen 102 If the switch S2 is also pulled low, the switch S2 is switched to the coprocessor 104 , that is, the display screen 102 communicates with the coprocessor 104 through the switch S2 , and the coprocessor 104 starts to process the relevant information of the display screen 102 .
- Step 805 the coprocessor 104 switches the processing authority of the touch screen 101 from the main processor 103 to the coprocessor 104 after the switching of the display screen 102 is completed.
- the coprocessor 104 controls the switch S1 of the touch screen 101 to switch to the coprocessor 104 , so that the I2C interface of the touch screen 101 and the I2C interface of the coprocessor 104 are connected.
- the coprocessor 104 is connected to the touch screen 101, and when the user touches the screen of the smart watch 100, the coprocessor 104 reads and processes the touch data corresponding to the user's touch operation generated by the touch chip 110.
- the process of switching the processing authority of the display screen 102 and the touch screen 101 shown in FIG. 5 from the coprocessor 104 to the main processor 103 and the processing authority of the display screen 102 and the touch screen 101 shown in FIG. 8 are introduced. After the process of switching from the main processor 103 to the coprocessor 104 .
- the following will continue to take the smart watch 100 as an example to introduce a system interaction method provided by the present application.
- the smart watch 100 implements the switching between the main processor 103 and the co-processor 104 in different scenarios by executing the system interaction method shown in FIG. 9 .
- the smart watch 100 switches between the main processor 103 and the co-processor 104, the display screen 102 and the touch screen 101 can be switched from the co-processor by executing the screen control method shown in FIG.
- the processor 104 switches to the main processor 103 .
- the smart watch 100 can switch the display screen 102 and the touch screen 101 from the main processor 103 to the coprocessor 104 by executing the screen control method shown in FIG. 8 , for example.
- the system interaction method provided by this application includes the following steps:
- Step 901 After the smart watch 100 in the dormant state detects the user's setting operation, it wakes up the coprocessor 104 , and the coprocessor 104 processes the information related to the display screen 102 and the touch screen 101 .
- the user's setting operation may be operations such as the user lifting the wrist wearing the smart watch 100, the user pressing a button of the smart watch 100, and the user instructing the smart watch 100 to wake up through a voice command, which is not limited in this application.
- the relevant information of the display screen 102 and the touch screen 101 includes but is not limited to: one or more types of data, for example, touch data corresponding to the user's touch operation; one or more types of signaling, for example, shown in FIG.
- the co-processor application layer sends a wake-up command to the main processor; one or more types of messages, for example, in the embodiment shown in FIG. 5, the touch chip 110 sends a message to the co-touch The interrupt message sent by the driver 301a; one or more types of notifications, one or more types of requests, one or more types of responses, one or more types of signals, and the like.
- Step 902 The coprocessor 104 determines whether there is a user's touch operation. If yes, it means that the coprocessor 104 detects the user's touch operation, and then goes to step 903a; if not, it means that the coprocessor 104 does not detect the user's touch operation, and goes to step 903b.
- the touch chip 110 after the touch chip 110 detects the user's touch operation, the touch chip 110 sends an interrupt message to the coprocessor 104 .
- the interrupt message refers to a trigger signal generated when the touch chip 110 receives a user's touch operation. If there is an interruption message, it indicates that the user has started a touch operation on the touch screen 101, and then go to step 903a;
- Step 903 a after detecting the user's touch operation, the coprocessor 104 wakes up the main processor 103 , and the coprocessor 104 switches the processing authority of the display screen 102 and the touch screen 101 to the main processor 103 .
- the touch chip 110 generates touch data and sends an interrupt message to the co-touch driver 301 a of the co-processor 104 .
- the co-touch driver 301a reads the touch data from the touch chip 110, and reports the read touch data to the co-processor application layer 302a.
- the coprocessor application layer 302a sends a wake-up instruction to the main processor 103 .
- the main processor 103 completes the internal power-on, and sends an interrupt request to the coprocessor 104, that is, the main processor 103 requests the coprocessor 104 to switch the processing authority of the display screen 102 and the touch screen 101 to the main processor. 103.
- the coprocessor 104 After receiving the interrupt request sent by the main processor 103 , the coprocessor 104 switches the display screen 102 to the main processor 103 first. In the case where the display screen 102 has been switched, but the touch screen 101 has not been switched, in order to avoid the problem of screen freezing during the switching process, the coprocessor application layer 302a sends the touch data to the main virtual touch driver of the main processor 103. 301b. After the current touch by the user ends, the coprocessor 104 switches the touch screen 101 to the main processor 103 .
- the coprocessor application layer 302a sends the touch data to the main virtual touch driver of the main processor 103. 301b.
- the coprocessor 104 switches the touch screen 101 to the main processor 103 .
- the main processor 103 For the detailed process, please refer to the above text description about the screen control method shown in FIG. 5 , which will not be repeated here.
- Step 903b The smart watch 100 turns off the screen after a timeout.
- the coprocessor 104 After the coprocessor 104 is woken up, if the user's touch operation is not detected within the set time, the coprocessor 104 sends a screen-off instruction to the display screen 102 to control the screen-off of the display screen 102 .
- the control display screen 102 lights up, and the user's touch operation is not detected within 5 seconds, then the coprocessor 104 goes into a sleep state, while the main processor 103 continues to maintain a sleep state, and the display screen 102 Screen off.
- Step 904 The main processor 103 determines whether there is an interactive operation for setting the application. If yes, it means that the main processor 103 has detected the user's interactive operation on the setting application, and the process goes to step 905; otherwise, it means that the main processor 103 has not detected the user's interactive operation on the setting application. In some embodiments, if the main processor 103 does not detect any operation by the user within a set time, the screen will be turned off after a timeout.
- the setting application refers to applications that need to be processed by the coprocessor 104 , such as calculators, timers, alarm clocks, sports, and the like, which are frequently used and require less computation.
- the coprocessor 104 replaces the main processor 103 to process the aforementioned applications with high frequency and long time, thereby reducing power consumption and improving the battery life of the smart watch 100 .
- Step 905 the main processor 103 wakes up the coprocessor 104 , and the main processor 103 switches the display screen 102 and the touch screen 101 to the coprocessor 104 .
- the sports application of the smart watch 100 sends a screen-off instruction to the main processor 103 .
- the main processor 103 completes the power-off of the internal MIPI interface, that is, the power-off of the hardware interface connecting the main processor 103 and the switch S2 of the display screen 102 is completed, so as to disconnect the MIPI of the main processor 103.
- the connection between the interface and the MIPI interface of the display screen 102 .
- the main processor 103 sends an interrupt request to the coprocessor 104 to request to switch the screen, that is, to request to switch the display screen 102 and the touch screen 101 .
- the coprocessor 104 switches the display screen 102 in response to receiving the interrupt request for switching the screen. After the display screen 102 is switched, the touch screen 101 is switched.
- the touch screen 101 is switched.
- Embodiments disclosed herein may be implemented in hardware, software, firmware, or a combination of these implementation methods.
- Embodiments of the present application may be implemented as a computer program or program code executing on a programmable system including at least one processor, a storage system (including volatile and nonvolatile memory and/or storage elements) , at least one input device, and at least one output device.
- Program code may be applied to input instructions to perform the functions described herein and to generate output information.
- the output information can be applied to one or more output devices in a known manner.
- a processing system includes any processor having a processor such as, for example, a Digital Signal Processor (DSP), a microcontroller, an Application Specific Integrated Circuit (ASIC), or a microprocessor system.
- DSP Digital Signal Processor
- ASIC Application Specific Integrated Circuit
- the program code may be implemented in a high-level procedural language or an object-oriented programming language to communicate with the processing system.
- the program code may also be implemented in assembly or machine language, if desired.
- the mechanisms described in this application are not limited in scope to any particular programming language. In either case, the language may be a compiled language or an interpreted language.
- the disclosed embodiments may be implemented in hardware, firmware, software, or any combination thereof.
- the disclosed embodiments can also be implemented as instructions carried by or stored on one or more transitory or non-transitory machine-readable (eg, computer-readable) storage media, which can be executed by one or more processors read and execute.
- the instructions may be distributed over a network or via other computer-readable media.
- a machine-readable medium can include any mechanism for storing or transmitting information in a form readable by a machine (eg, a computer), including, but not limited to, floppy disks, optical disks, optical disks, read only memories (CD-ROMs), magnetic CD-ROM, Read Only Memory (ROM), Random Access Memory (RAM), Erasable Programmable Read Only Memory (EPROM), Electrically Erasable Programmable Only Memory (EPROM) Read-Only Memory (Electrically Erasable Programmable Read-Only Memory, EEPROM), magnetic or optical cards, flash memory, or for the use of the Internet to transmit information in electrical, optical, acoustic or other forms of propagation signals (for example, carrier waves, infrared signals, digital signals etc.) tangible machine-readable storage.
- machine-readable media includes any type of machine-readable media suitable for storing or transmitting electronic instructions or information in a form readable by a machine (eg, a computer).
- each unit/module mentioned in each device embodiment of this application is a logical unit/module.
- a logical unit/module may be a physical unit/module or a physical unit/module.
- a part of a module can also be implemented by a combination of multiple physical units/modules.
- the physical implementation of these logical units/modules is not the most important, and the combination of functions implemented by these logical units/modules is the solution to the problem of this application. The crux of the technical question raised.
- the above-mentioned device embodiments of the present application do not introduce units/modules that are not closely related to solving the technical problems raised in the present application, which does not mean that the above-mentioned device embodiments do not exist. other units/modules.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- User Interface Of Digital Computer (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
Description
Claims (10)
- 一种电子设备的屏幕控制方法,所述电子设备包括屏幕、第一处理器以及第二处理器,其中所述屏幕包括显示屏和触摸屏,其特征在于,包括:所述电子设备的第二处理器处理所述显示屏和所述触摸屏的相关信息;所述电子设备在检测到用户开始第一触摸操作的情况下,将所述显示屏的处理权限由所述第二处理器切换到所述第一处理器,并将检测到的所述第一触摸操作的第一触摸数据经由所述第二处理器发送给所述第一处理器,并且所述电子设备在检测到所述第一触摸操作结束的情况下,将所述触摸屏的处理权限由所述第二处理器切换到所述第一处理器。
- 根据权利要求1所述的方法,其特征在于,所述电子设备包括虚拟触控驱动,所述电子设备将所述第一触摸操作的第一触摸数据经由所述第二处理器发送给所述虚拟触控驱动,所述第一处理器经由所述虚拟触控驱动接收所述第一触摸数据。
- 根据权利要求1或2所述的方法,其特征在于,所述电子设备在检测到用户开始第一触摸操作的情况下,将所述显示屏的处理权限由所述第二处理器切换到所述第一处理器包括:所述电子设备在检测到用户开始第一触摸操作的情况下,通过所述第二处理器向所述第一处理器发送唤醒指令;所述第一处理器接收到所述唤醒指令后,响应所述唤醒指令,并且向所述第二处理器发送屏幕切换的中断请求;所述第二处理器接收到所述屏幕切换的中断请求后,响应所述中断请求,将所述显示屏的处理权限由所述第二处理器切换到所述第一处理器。
- 根据权利要求1至3任一项所述的方法,其特征在于,还包括:所述电子设备的第一处理器处理所述显示屏和触摸屏的相关信息;所述电子设备在检测到用户有针对所述电子设备的设定应用的交互操作的情况下,将所述显示屏和触摸屏的处理权限由所述第一处理器切换到所述第二处理器,由所述电子设备的第二处理器处理所述显示屏和所述触摸屏的相关信息。
- 根据权利要求4所述的方法,其特征在于,所述电子设备在检测到用户有针对所述电子设备的设定应用的交互操作的情况下,将所述显示屏和触摸屏的处理权限由所述第一处理器切换到所述第二处理器,由所述电子设备的第二处理器处理所述显示屏和所述触摸屏的相关信息包括:所述电子设备在检测到用户有针对所述电子设备的设定应用的交互操作的情况下,将所述显示屏的处理权限由所述第一处理器切换到所述第二处理器;在所述电子设备确定出所述显示屏的处理权限由所述第一处理器切换到所述第二处理器之后,将所述触摸屏的处理权限由所述第一处理器切换到所述第二处理器。
- 根据权利要求1至5任一项所述的方法,其特征在于,还包括:所述电子设备的第一处理器处理所述显示屏和所述触摸屏的相关信息;所述电子设备在检测到用户开始第二触摸操作的情况下,将检测到的所述第二触摸操作的第二触摸数据发送给所述第一处理器。
- 根据权利要求1至6任一项所述的方法,其特征在于,所述电子设备包括显示屏切换开关,所述显示屏切换开关电连接所述显示屏,并且所述电子设备在检测到用户开始第一触摸操作的情况下,通过以下方式将所述显示屏的处理权限由所述第二处理器切换到所述第一处理器:所述电子设备在检测到用户开始第一触摸操作的情况下,控制所述显示屏切换开关与所述第二处理器断开连接,并控制所述显示屏切换开关连通所述第一处理器。
- 根据权利要求1至6任一项所述的方法,其特征在于,所述电子设备包括触摸屏切换开关,所述触摸屏切换开关电连接所述触摸屏,并且所述电子设备在检测到所述第一触摸操作结束的情况下,通过以下方式将所述触摸屏的处理权限由所述第二处理器切换到第一处理器:所述电子设备在检测到所述第一触摸操作结束的情况下,控制所述触摸屏切换开关与所述第二处理器断开连接,并控制所述触摸屏切换开关连通所述第一处理器。
- 一种可读介质,其特征在于,所述可读介质上存储有指令,该指令在电子设备上执行时使电子设备执行权利要求1-8中任一项所述的屏幕控制方法。
- 一种电子设备,其特征在于,包括:屏幕,所述屏幕包括显示屏和触摸屏;存储器,用于存储由电子设备的一个或多个处理器执行的指令,以及第一处理器,是电子设备的处理器之一;第二处理器,是电子设备的处理器之一,用于与所述第一处理器配合执行权利要求1-8中任一项所述的屏幕控制方法。
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
EP22762450.9A EP4280032A1 (en) | 2021-03-03 | 2022-02-25 | Screen control method for electronic device, and readable medium and electronic device |
US18/548,519 US20240168573A1 (en) | 2021-03-03 | 2022-02-25 | Electronic Device Screen Control Method, Readable Medium, and Electronic Device |
JP2023552060A JP2024508830A (ja) | 2021-03-03 | 2022-02-25 | 電子デバイス画面制御方法、読取可能媒体、及び電子デバイス |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110236124.XA CN115033122A (zh) | 2021-03-03 | 2021-03-03 | 电子设备的屏幕控制方法、可读介质和电子设备 |
CN202110236124.X | 2021-03-03 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2022183985A1 true WO2022183985A1 (zh) | 2022-09-09 |
Family
ID=83118378
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2022/077977 WO2022183985A1 (zh) | 2021-03-03 | 2022-02-25 | 电子设备的屏幕控制方法、可读介质和电子设备 |
Country Status (5)
Country | Link |
---|---|
US (1) | US20240168573A1 (zh) |
EP (1) | EP4280032A1 (zh) |
JP (1) | JP2024508830A (zh) |
CN (1) | CN115033122A (zh) |
WO (1) | WO2022183985A1 (zh) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116431418B (zh) * | 2023-06-13 | 2023-10-31 | 荣耀终端有限公司 | 屏幕静电检测方法、可读存储介质、电子设备 |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140351617A1 (en) * | 2013-05-27 | 2014-11-27 | Motorola Mobility Llc | Method and Electronic Device for Bringing a Primary Processor Out of Sleep Mode |
CN108369445A (zh) * | 2015-12-18 | 2018-08-03 | 高通股份有限公司 | 唤醒分割架构的级联触摸 |
CN110908496A (zh) * | 2019-11-28 | 2020-03-24 | 出门问问信息科技有限公司 | 一种系统交互方法及可穿戴设备 |
-
2021
- 2021-03-03 CN CN202110236124.XA patent/CN115033122A/zh active Pending
-
2022
- 2022-02-25 JP JP2023552060A patent/JP2024508830A/ja active Pending
- 2022-02-25 US US18/548,519 patent/US20240168573A1/en active Pending
- 2022-02-25 WO PCT/CN2022/077977 patent/WO2022183985A1/zh active Application Filing
- 2022-02-25 EP EP22762450.9A patent/EP4280032A1/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140351617A1 (en) * | 2013-05-27 | 2014-11-27 | Motorola Mobility Llc | Method and Electronic Device for Bringing a Primary Processor Out of Sleep Mode |
CN108369445A (zh) * | 2015-12-18 | 2018-08-03 | 高通股份有限公司 | 唤醒分割架构的级联触摸 |
CN110908496A (zh) * | 2019-11-28 | 2020-03-24 | 出门问问信息科技有限公司 | 一种系统交互方法及可穿戴设备 |
Also Published As
Publication number | Publication date |
---|---|
US20240168573A1 (en) | 2024-05-23 |
EP4280032A1 (en) | 2023-11-22 |
CN115033122A (zh) | 2022-09-09 |
JP2024508830A (ja) | 2024-02-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10372326B2 (en) | Mobile terminal device, operation method, program, and storage medium | |
US10466830B2 (en) | Electronic device and method of controlling electronic device | |
CN110235086B (zh) | 电子设备及电子设备的指纹识别方法 | |
EP2926213B1 (en) | Gesture detection management for an electronic device | |
US11449123B2 (en) | Prompt information display method and electronic device | |
KR102429740B1 (ko) | 터치 이벤트 처리 방법 및 그 장치 | |
CN109313519A (zh) | 包括力传感器的电子设备 | |
CN109375890A (zh) | 一种屏幕显示方法和多屏电子设备 | |
WO2020155874A1 (zh) | 触压信号处理方法及电子设备 | |
WO2017202076A1 (zh) | 一种终端管理方法以及装置 | |
CN106547204A (zh) | 一种智能手表及其亮显屏幕的方法 | |
KR20180032970A (ko) | 전자 장치 및 그 제어 방법 | |
CN107949041A (zh) | 一种终端显示方法、终端及计算机可读存储介质 | |
US11354931B2 (en) | Fingerprint sensing device and operation method thereof | |
US10289887B2 (en) | Electronic apparatus, operating method of electronic apparatus, and recording medium | |
KR20170114515A (ko) | 화면을 표시하는 전자 장치 및 그 제어 방법 | |
WO2022183985A1 (zh) | 电子设备的屏幕控制方法、可读介质和电子设备 | |
CN109521940B (zh) | 移动终端装置、操作方法和存储介质 | |
TWI597659B (zh) | 開啟顯示器前更新欲顯示內容的處理方法、模塊及其電子裝置 | |
CN108845700A (zh) | 显示屏触控方法、双面屏终端及计算机可读存储介质 | |
CN110908732B (zh) | 应用的任务删除方法及电子设备 | |
CN117707320A (zh) | 控制熄屏显示的方法、电子设备及存储介质 | |
KR20180021581A (ko) | 터치 패널 및 이를 포함하는 전자 장치 | |
CN117707319A (zh) | 控制熄屏显示的方法、电子设备及存储介质 | |
KR20180097384A (ko) | 전자 장치 및 전자 장치 제어 방법 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 22762450 Country of ref document: EP Kind code of ref document: A1 |
|
ENP | Entry into the national phase |
Ref document number: 2022762450 Country of ref document: EP Effective date: 20230814 |
|
WWE | Wipo information: entry into national phase |
Ref document number: 2023552060 Country of ref document: JP |
|
WWE | Wipo information: entry into national phase |
Ref document number: 18548519 Country of ref document: US |
|
NENP | Non-entry into the national phase |
Ref country code: DE |