CN115718720A - Terminal - Google Patents

Terminal Download PDF

Info

Publication number
CN115718720A
CN115718720A CN202211098037.3A CN202211098037A CN115718720A CN 115718720 A CN115718720 A CN 115718720A CN 202211098037 A CN202211098037 A CN 202211098037A CN 115718720 A CN115718720 A CN 115718720A
Authority
CN
China
Prior art keywords
terminal
data forwarding
forwarding chip
processor
wake
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211098037.3A
Other languages
Chinese (zh)
Inventor
刘云霄
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202211098037.3A priority Critical patent/CN115718720A/en
Publication of CN115718720A publication Critical patent/CN115718720A/en
Pending legal-status Critical Current

Links

Images

Abstract

The disclosure relates to a terminal, comprising a main processor and a data forwarding chip, wherein the data forwarding chip is used for connecting an input device; the data forwarding chip is used for receiving input information triggered by the input equipment and sending the input information to the processor through an I2C interface; and the processor is used for executing the input operation corresponding to the input information after receiving the input information sent by the data forwarding chip. That is to say, the terminal of this disclosure is provided with the data forwarding chip, and this data forwarding chip can connect input device to can be connected with the treater of this terminal through the I2C interface, after this input device triggered input information, this input information can be transmitted to the treater of this terminal through this data forwarding chip to the mode of I2C communication, makes the transmission efficiency of this input information than higher, has improved input response speed, thereby has improved user experience.

Description

Terminal
Technical Field
The present disclosure relates to the field of terminal technologies, and in particular, to a terminal.
Background
Along with the rapid development of intelligent equipment, the application range of the mobile terminal is wider and wider. Compared with the traditional desktop computer or notebook computer, the mobile terminal has no physical keyboard, the keyboard is simulated through software and displayed on the touch screen of the mobile terminal, and a user can complete related input by clicking keys of the virtual keyboard. However, since the keys of the virtual machine keyboard are very compact, misoperation is easy to occur, and when a large amount of characters are required to be input, a user usually connects an external physical keyboard to the mobile terminal.
In the related art, the communication between the physical keyboard and the mobile terminal can be realized through the bluetooth technology, but the delay time of bluetooth transmission is long, so that the input response speed is slow, and the user experience is influenced.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides a terminal.
According to a first aspect of the embodiments of the present disclosure, a terminal is provided, which includes a processor and a data forwarding chip, where the data forwarding chip is used to connect to an input device;
the data forwarding chip is used for receiving input information triggered by the input equipment and sending the input information to the processor through an I2C interface;
and the processor is used for executing the input operation corresponding to the input information after receiving the input information sent by the data forwarding chip.
Optionally, the processor is further configured to determine an input event corresponding to the input information after receiving the input information sent by the data forwarding chip, and store the input event to a pre-created input device node corresponding to the input device.
Optionally, the processor is further configured to, in a case that a first firmware upgrade request message is received, upgrade the firmware of the data forwarding chip according to the first firmware upgrade request message.
Optionally, the first firmware upgrade request message includes a version number to be upgraded corresponding to the version of the firmware to be upgraded;
the processor is further configured to determine a current version number of the firmware currently used by the data forwarding chip, and upgrade the firmware of the data forwarding chip when it is determined that the firmware of the data forwarding chip needs to be upgraded according to the current version number and the version number to be upgraded.
Optionally, the processor is further configured to send a second firmware upgrade request message to the data forwarding chip when the second firmware upgrade request message is received;
the data forwarding chip is further configured to determine a firmware upgrading instruction according to the second firmware upgrading request message, and send the firmware upgrading instruction to the input device, where the firmware upgrading instruction is used to upgrade the firmware of the input device.
Optionally, the data forwarding chip is further configured to receive a terminal wake-up instruction triggered by the input device, and send the terminal wake-up instruction to the processor;
and the processor is further used for awakening the terminal according to the terminal awakening instruction.
Optionally, the input device comprises a gravitational acceleration chip;
the data forwarding chip is further used for receiving the placement angle, corresponding to the input equipment, acquired by the input equipment through the gravity acceleration chip, and sending the placement angle to the processor;
the processor is further configured to determine whether to wake up the terminal according to the placement angle under the condition that the terminal wake-up instruction and the placement angle are received.
Optionally, the processor is further configured to wake up the terminal if it is determined that the placement angle is within a preset angle threshold range.
Optionally, the processor is further configured to wake up the data forwarding chip in response to a device wake-up request message triggered by an application layer of the terminal, and send a device wake-up instruction to the data forwarding chip;
the data forwarding chip is further configured to send the device wake-up instruction to the input device when receiving the device wake-up instruction sent by the processor, where the device wake-up instruction is used to wake up the input device.
Optionally, the processor is further configured to send a device sleep instruction to the data forwarding chip in response to a sleep request message triggered by an application layer of the terminal;
the data forwarding chip is further configured to send the device hibernation instruction to the input device, where the device hibernation instruction is used to control the input device to hibernate;
the processor is further configured to control the data forwarding chip to enter a sleep state after the input device enters the sleep state.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: the terminal provided by the disclosure comprises a processor and a data forwarding chip, wherein the data forwarding chip is generally used for connecting with input equipment; the data forwarding chip is used for receiving input information triggered by the input equipment and sending the input information to the processor through an I2C interface; and the processor is used for executing the input operation corresponding to the input information after receiving the input information sent by the data forwarding chip. That is to say, the terminal of this disclosure is provided with the data forwarding chip, and this data forwarding chip can connect input device to can be connected with the treater of this terminal through the I2C interface, after this input device triggered input information, this input information can be transmitted to the treater of this terminal through this data forwarding chip to the mode of I2C communication for the transmission efficiency of this input information is than high, has improved input response speed, thereby has improved user experience.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a block diagram illustrating the structure of a terminal according to an exemplary embodiment;
FIG. 2 is a flow diagram illustrating a data transmission according to an example embodiment;
FIG. 3 is a schematic diagram illustrating a wake-up flow according to an exemplary embodiment;
fig. 4 is a block diagram illustrating a terminal according to an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Fig. 1 is a block diagram illustrating a structure of a terminal according to an exemplary embodiment, where, as shown in fig. 1, the terminal 100 includes a processor 101 and a data forwarding chip 102, and the data forwarding chip 102 is used for connecting an input device 200;
the data forwarding chip 102 is configured to receive input information triggered by the input device 200, and send the input information to the processor 101 through an I2C interface;
the processor 101 is configured to execute an input operation corresponding to the input information after receiving the input information sent by the data forwarding chip 102.
Illustratively, the terminal 100 may be a mobile device supporting an I2C interface connection, e.g., the terminal 100 may be a tablet computer. The input device 200 may be a keyboard, a mouse, or a touch pad, or may be a device including a keyboard, a mouse, or a touch pad, which is not limited in this disclosure. In the case where the input device 200 is a keyboard, the input information may be information input through characters on the keyboard. The data forwarding chip 102 may be connected to the input device 200 through a serial port, and connected to the processor 101 of the terminal through an I2C interface, and it is understood that the processor 101 may be a motherboard of the terminal 100.
The present disclosure may determine to adapt an I2C controller pin, an interrupt pin, and the like of the input device 200 according to a software platform used by the terminal 100, and adapt a reset (wake-up), a status (state), a sleep (sleep), an irq (interrupt), and the like in a platform code, so as to ensure that a level and a timing sequence of each pin are normal. In addition, an input device node corresponding to the input device 200, for example,/dev/input/event,/dev/nodev, etc., needs to be registered, the kernel space of the terminal 100 may store data corresponding to the input device 200 to the input device node, and the user space may access data related to the input device 200 through the input device node.
After the user triggers the input information through the input device 200, the input information may include one or more of key information, touch information, and mouse information, and may be sent to the data forwarding chip 102, after receiving the input information sent by the input device 200, the data forwarding chip 102 may send the input information to the processor 101 of the terminal 100 through an I2C interface, and the processor 101 may control a kernel space of the terminal 100 to process the input information and execute a corresponding input operation.
After the input device 200 sends the input information to the data forwarding chip 102, the data forwarding chip 102 may send the input information to the processor 101 of the terminal through an I2C interface, and execute an input operation corresponding to the input information through the processor 101, so that, compared to the related art, the input device 200 sends the input information to the processor 101 of the terminal through a bluetooth technology or a USB transmission line, in this embodiment, the efficiency of input information transmission is relatively high, the input response speed is improved, and thus, the user experience is improved.
The processor 101 is further configured to determine an input event corresponding to the input information after receiving the input information sent by the data forwarding chip 102, and store the input event to a pre-created input device node corresponding to the input device 200.
Fig. 2 is a data transmission flowchart according to an exemplary embodiment, as shown in fig. 2, the input device 200 may be a mouse, a touch panel, a keyboard, and the like, after the input device 200 triggers the input information, the input information may be sent to the data forwarding chip 102 through the input device 200, after receiving the input information sent by the input device 200, the data forwarding chip 102 may send the input information to the processor 101 of the terminal 100, the processor 101 may determine an input event corresponding to the input information through a kernel driver of a kernel space of the terminal 100, and store the input event to an input device node corresponding to the input device 200, and then an application layer of the terminal 100 may obtain the input event from the input device node through a framework layer of the terminal 100, and perform a corresponding input operation according to the input event.
The host processor 101 is further configured to, in a case where a first firmware upgrade request message is received, upgrade the firmware of the data forwarding chip 102 according to the first firmware upgrade request message.
Wherein the user may trigger the first firmware upgrade request message through an Over-the-Air Technology (OTA) application installed by the terminal 100.
After the user triggers the first firmware upgrade request message, the processor 101 is further configured to determine a current version number of the firmware currently used by the data forwarding chip 102, and upgrade the firmware of the data forwarding chip 102 when it is determined that the firmware of the data forwarding chip 102 needs to be upgraded according to the current version number and the version number to be upgraded.
For example, continuing to use the flowchart shown in fig. 2 as an example, the OTA application program may determine, through a user space, a current version number of the firmware currently used by the data forwarding chip 102, determine whether the current version number is the same as the version number to be upgraded, and upgrade, through a driver corresponding to the data forwarding chip 102, the firmware of the data forwarding chip 102 when the current version number is different from the version number to be upgraded.
The processor 101 is further configured to send a second firmware upgrade request message to the data forwarding chip 102 when the second firmware upgrade request message is received;
the data forwarding chip 102 is further configured to determine a firmware upgrade instruction according to the second firmware upgrade request message, and send the firmware upgrade instruction to the input device 200, where the firmware upgrade instruction is used to upgrade the firmware of the input device 200.
Wherein the user may trigger the second firmware upgrade request message through an OTA application installed in the terminal 100.
For example, after the user triggers the second firmware upgrade request message, the processor 101 may send the second firmware upgrade request message to the data forwarding chip 102, and after the data forwarding chip 102 receives the second firmware upgrade request message, the data forwarding chip 102 may upgrade the firmware of the input device 200 through a driver of the data forwarding chip 102, for example, the driver of the data forwarding chip 102 may first determine a current firmware version number of the firmware used by the chip of the input device 200, and send a firmware upgrade instruction to the input device 200 when it is determined that the current firmware version number is different from a firmware version number to be upgraded of the firmware to be upgraded. After receiving the firmware upgrade instruction, the input device 200 upgrades the firmware of the input device 200.
The data forwarding chip 102 is further configured to receive a terminal wake-up instruction triggered by the input device 200, and send the terminal wake-up instruction to the processor 101;
the processor 101 is further configured to wake up the terminal 100 according to the terminal wake-up instruction.
In a case that the terminal 100 is in a sleep state, if a user needs to wake up the terminal 100 through the input device 200, the user may trigger the terminal wake-up instruction through the input device 200, for example, the terminal wake-up instruction may be an interrupt signal, for example, the user may trigger a chip of the input device 200 to generate an interrupt signal by clicking the input device 200 and send the interrupt signal to the data forwarding chip 102, and after receiving the interrupt signal, the data forwarding chip 102 may send the terminal wake-up instruction to a framework layer of an application system of the terminal 100, and wake up the terminal 100 through the framework layer of the terminal 100.
The input device 200 may include a gravitational acceleration chip, and the gravitational acceleration chip may be connected to a main board of the input device 200.
The data forwarding chip 102 is further configured to receive a placement angle, corresponding to the input device 200, obtained by the input device through the gravitational acceleration chip, and send the placement angle to the processor 101;
the processor 101 is further configured to determine whether to wake up the terminal 100 according to the placement angle when receiving the terminal wake-up command and the placement angle.
The placement angle may be gravity acceleration data, for example, after the user triggers the terminal wake-up command through the input device 200, the gravity acceleration data may be obtained through a gravity acceleration chip of the input device 200, and the gravity acceleration data is sent to the data forwarding chip 102. After receiving the terminal wake-up instruction and the gravitational acceleration data acquired by the input device 200, the data forwarding chip 102 may send a terminal wake-up instruction to the framework layer of the terminal 100, and send the gravitational acceleration data to the framework layer of the terminal 100, where after receiving the terminal wake-up instruction and the gravitational acceleration data, the framework layer determines whether to wake up the terminal according to the gravitational acceleration data.
In a possible implementation manner, the processor 101 is further configured to wake up the terminal 100 if it is determined that the placement angle is within a preset angle threshold range. The preset angle threshold range may be 30 degrees to 90 degrees, for example, after the frame layer of the terminal 100 receives the gravitational acceleration data sent by the data forwarding chip 102, an included angle between the input device 200 and the terminal may be determined according to the gravitational acceleration data, and if the included angle is 0 degree, that is, if the input device 200 is attached to the screen of the terminal 100, it indicates that the terminal wake-up instruction is erroneously touched by the user, and the terminal 100 is not woken up. If the included angle is 180 degrees, that is, the input device 200 is attached to the back surface of the terminal 100, it indicates that the terminal wake-up command is erroneously touched by the user and does not wake up the terminal 100. If the included angle is any angle between 30 degrees and 90 degrees, it indicates that the terminal wake-up command is triggered by the user, and wakes up the terminal 100.
It should be noted that the preset angle threshold range is only an example, and the preset angle threshold range may be determined according to a connection manner of the input device 200 and the terminal 100, which is not limited in this disclosure.
The processor 101 is further configured to wake up the data forwarding chip 102 in response to a device wake-up request message triggered by an application layer of the terminal 100, and send a device wake-up instruction to the data forwarding chip 102;
the data forwarding chip 102 is further configured to send the device wake-up instruction to the input device 200 when receiving the device wake-up instruction sent by the processor 101, where the device wake-up instruction is used to wake up the input device 200.
Illustratively, in a case where the user triggers the device wake-up request message by clicking a screen of the terminal 100 or triggers the device wake-up request message by a power key of the terminal 100, after receiving the device wake-up request message, the application layer of the terminal 100 may switch the I2C module and the display module to an active state through the framework layer of the terminal 100, and then notify the driver of the data forwarding chip 102 through a notification chain and trigger a wake-up interrupt of the data forwarding chip 102 to wake up the data forwarding chip 102. After the data forwarding chip 102 is woken up, a device wake-up command may be sent to the input device 200 through the data forwarding chip 102, and the input device 200 may wake up the input device 200 after receiving the device wake-up command sent by the data forwarding chip 102.
The processor 101 is further configured to send a device sleep instruction to the data forwarding chip 102 in response to a sleep request message triggered by a user;
the data forwarding chip 102 is further configured to send the device sleep instruction to the input device 200, where the device sleep instruction is used to control the input device 200 to sleep;
the processor 101 is further configured to control the data forwarding chip 102 to enter a sleep state after the input device 200 enters the sleep state.
For example, in a case where the user triggers the sleep request message by clicking a screen of the terminal 100 or triggers the sleep request message by a power key of the terminal 100, after receiving the sleep request message, an application layer of the terminal 100 may notify a driver of the data forwarding chip 102 through a pre-registered notification chain, send a device sleep instruction to the input device 200 through the data forwarding chip 102, and after receiving the device sleep instruction sent by the data forwarding chip 102, the input device 200 may control the input device 200 to enter a sleep state. Thereafter, after the input device 200 enters the sleep state, the data forwarding chip 102 may be controlled to enter the sleep state.
Fig. 3 is a schematic diagram of a wake-up process according to an exemplary embodiment, as shown in fig. 3, taking an android system as an example, after the input device 200 triggers a terminal wake-up instruction, the data forwarding chip 102 may trigger an interrupt signal, call a driver corresponding to the data forwarding chip 102, call an input (input) module of the android system through the driver, obtain node information corresponding to the input device 200 from a device node through the input module, feed the node information back to a framework layer of the android system, and wake up an I2C module through the framework layer to wake up the terminal 100. After the user triggers the device wake-up command through the application layer of the terminal, the framework layer may wake up the I2C module and the display module first, wake up the driver corresponding to the data forwarding chip 102 through the display module, and wake up the input device 200 through the driver.
The terminal can control the input equipment to enter the dormant state after entering the dormant state, so that the power consumption of the input equipment is saved, and the input equipment can be controlled to enter the awakening state after entering the awakening state, so that the input equipment can enter the use state in time, and the terminal can be awakened through the input equipment, so that the user experience is improved.
Fig. 4 is a block diagram illustrating a terminal 800 according to an example embodiment. For example, the terminal 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, and the like.
Referring to fig. 4, terminal 800 may include one or more of the following components: a processing component 802, a memory 804, a power component 806, a multimedia component 808, an audio component 810, an input/output interface 812, a sensor component 814, and a communications component 816.
The processing component 802 generally controls overall operation of the terminal 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 802 can include one or more processors 820 to execute instructions, and further, the processing component 802 can include one or more modules to facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operation at the terminal 800. Examples of such data include instructions for any application or method operating on terminal 800, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 804 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power components 806 provide power to the various components of terminal 800. The power components 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the terminal 800.
The multimedia component 808 includes a screen providing an output interface between the terminal 800 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the terminal 800 is in an operation mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the terminal 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The input/output interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
Sensor assembly 814 includes one or more sensors for providing various aspects of state assessment for terminal 800. For example, sensor assembly 814 can detect an open/closed state of terminal 800, a relative positioning of components, such as a display and keypad of terminal 800, sensor assembly 814 can also detect a change in position of terminal 800 or a component of terminal 800, the presence or absence of user contact with terminal 800, orientation or acceleration/deceleration of terminal 800, and a change in temperature of terminal 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object in the absence of any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
Communication component 816 is configured to facilitate communications between terminal 800 and other devices in a wired or wireless manner. The terminal 800 may access a wireless network based on a communication standard, such as WiFi,2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. A terminal is characterized by comprising a processor and a data forwarding chip, wherein the data forwarding chip is used for connecting an input device;
the data forwarding chip is used for receiving input information triggered by the input equipment and sending the input information to the processor through an I2C interface;
and the processor is used for executing the input operation corresponding to the input information after receiving the input information sent by the data forwarding chip.
2. The terminal of claim 1,
the processor is further configured to determine an input event corresponding to the input information after receiving the input information sent by the data forwarding chip, and store the input event to a pre-created input device node corresponding to the input device.
3. The terminal of claim 1,
the processor is further configured to upgrade, according to the first firmware upgrade request message, the firmware of the data forwarding chip in the case that the first firmware upgrade request message is received.
4. The terminal according to claim 3, wherein the first firmware upgrade request message includes a version number to be upgraded corresponding to a firmware version to be upgraded;
the processor is further configured to determine a current version number of the firmware currently used by the data forwarding chip, and upgrade the firmware of the data forwarding chip when it is determined that the firmware of the data forwarding chip needs to be upgraded according to the current version number and the version number to be upgraded.
5. The terminal of claim 1,
the processor is further configured to send a second firmware upgrade request message to the data forwarding chip when the second firmware upgrade request message is received;
the data forwarding chip is further configured to determine a firmware upgrading instruction according to the second firmware upgrading request message, and send the firmware upgrading instruction to the input device, where the firmware upgrading instruction is used to upgrade the firmware of the input device.
6. The terminal of claim 1,
the data forwarding chip is further configured to receive a terminal wake-up instruction triggered by the input device, and send the terminal wake-up instruction to the processor;
the processor is further configured to wake up the terminal according to the terminal wake-up instruction.
7. The terminal of claim 6, wherein the input device comprises a gravitational acceleration chip;
the data forwarding chip is further configured to receive a placement angle, corresponding to the input device, acquired by the input device through the gravitational acceleration chip, and send the placement angle to the processor;
the processor is further configured to determine whether to wake up the terminal according to the placement angle under the condition that the terminal wake-up instruction and the placement angle are received.
8. The terminal of claim 7,
the processor is further configured to wake up the terminal when it is determined that the placement angle is within a preset angle threshold range.
9. The terminal of claim 1,
the processor is further configured to wake up the data forwarding chip in response to a device wake-up request message triggered by an application layer of the terminal, and send a device wake-up instruction to the data forwarding chip;
the data forwarding chip is further configured to send the device wake-up instruction to the input device when receiving the device wake-up instruction sent by the processor, where the device wake-up instruction is used to wake up the input device.
10. The terminal according to any of claims 1-9,
the processor is further configured to send a device sleep instruction to the data forwarding chip in response to a sleep request message triggered by an application layer of the terminal;
the data forwarding chip is further configured to send the device hibernation instruction to the input device, where the device hibernation instruction is used to control the input device to hibernate;
the processor is further configured to control the data forwarding chip to enter a sleep state after the input device enters the sleep state.
CN202211098037.3A 2022-09-08 2022-09-08 Terminal Pending CN115718720A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211098037.3A CN115718720A (en) 2022-09-08 2022-09-08 Terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211098037.3A CN115718720A (en) 2022-09-08 2022-09-08 Terminal

Publications (1)

Publication Number Publication Date
CN115718720A true CN115718720A (en) 2023-02-28

Family

ID=85253998

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211098037.3A Pending CN115718720A (en) 2022-09-08 2022-09-08 Terminal

Country Status (1)

Country Link
CN (1) CN115718720A (en)

Similar Documents

Publication Publication Date Title
EP3188066B1 (en) A method and an apparatus for managing an application
US10528434B2 (en) Method, device and terminal for restoring firmware program
EP3096224B1 (en) Method and apparatus for processing application installation package
EP3112979B1 (en) Method and device for waking up mcu
US9870239B2 (en) Method and device for running application program
WO2019218124A1 (en) Method for automatically switching sim cards, and electronic apparatus
CN108108683B (en) Touch response method, mobile terminal and storage medium
CN109582400B (en) Program calling method and device
CN107783790B (en) Terminal awakening method and device
US20170293494A1 (en) Method and device for starting application interface
CN112905089A (en) Equipment control method and device
CN111966410A (en) Startup processing method and device, electronic equipment and storage medium
CN114416127A (en) Terminal software upgrading method, terminal software upgrading device and storage medium
US20230345227A1 (en) Switch module, terminal device, method for controlling terminal device
US20160196030A1 (en) Method and electronic device for displaying electronic document
US11455139B2 (en) Electronic device and method for independently controlling a plurality of displays
CN115718720A (en) Terminal
CN114442789A (en) Dark screen control method, device, equipment and storage medium
CN110377312B (en) Software upgrading method, device and medium
CN114257718B (en) Electronic equipment
US11637800B2 (en) Method and device for information processing of cross-devices, and storage medium
US11308197B2 (en) Intelligent device recognition using prompt frequency information
CN112201236B (en) Terminal awakening method and device and computer readable storage medium
US11789750B2 (en) Data processing method, apparatus, and medium
CN114531493B (en) Request processing method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination