CN112996089B - Data transmission method, device, storage medium and electronic equipment - Google Patents

Data transmission method, device, storage medium and electronic equipment Download PDF

Info

Publication number
CN112996089B
CN112996089B CN201911304654.2A CN201911304654A CN112996089B CN 112996089 B CN112996089 B CN 112996089B CN 201911304654 A CN201911304654 A CN 201911304654A CN 112996089 B CN112996089 B CN 112996089B
Authority
CN
China
Prior art keywords
processing chip
chip
bluetooth
data packet
main processing
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.)
Active
Application number
CN201911304654.2A
Other languages
Chinese (zh)
Other versions
CN112996089A (en
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201911304654.2A priority Critical patent/CN112996089B/en
Publication of CN112996089A publication Critical patent/CN112996089A/en
Application granted granted Critical
Publication of CN112996089B publication Critical patent/CN112996089B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • H04W52/0274Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by switching on or off the equipment or parts thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • H04W52/0274Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by switching on or off the equipment or parts thereof
    • H04W52/028Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by switching on or off the equipment or parts thereof switching on or off only a part of the equipment circuit blocks
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The embodiment of the application provides a data transmission method, a data transmission device, a storage medium and electronic equipment. The data transmission method comprises the following steps: the main processing chip wakes up the co-processing chip when detecting that the electronic equipment enters a low power consumption mode, and enters a dormant state after waking up the co-processing chip; the co-processing chip receives a first data packet transmitted by the Bluetooth chip; the co-processing chip determines a target processing main body of the first data packet; if the target processing main body is a coprocessing chip, the coprocessing chip processes the first data packet; if the target processing main body is the main processing chip, the assistant processing chip wakes up the main processing chip and the main processing chip processes the first data packet. Therefore, the main processing chip with higher power consumption enters a dormant state, and the first data packet is received by the co-processing chip with lower power consumption, so that the overall power consumption of the electronic equipment can be reduced.

Description

Data transmission method, device, storage medium and electronic equipment
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a data transmission method, an apparatus, a storage medium, and an electronic device.
Background
With the development of electronic device technology, various electronic devices have become indispensable tools in people's life and work, and more functions can be supported by electronic devices. For example, the user may implement a call function, an online shopping function, a navigation function, a game function, an electronic book function, and the like through the electronic device.
However, the electronic devices support more and more functions, and the power consumption of the electronic devices is higher and higher. How to reduce the power consumption of the electronic device and prolong the endurance time of the electronic device becomes a problem to be solved urgently at present.
Disclosure of Invention
The embodiment of the application provides a data transmission method, a data transmission device, a storage medium and an electronic device, which can reduce the power consumption of the electronic device.
In a first aspect, an embodiment of the present application provides a data transmission method, which is applied to an electronic device, where the electronic device includes a main processing chip, a co-processing chip, and a bluetooth chip, and an operation power consumption of the co-processing chip is less than an operation power consumption of the main processing chip; the data transmission method comprises the following steps:
the main processing chip wakes up the co-processing chip when detecting that the electronic equipment enters a low power consumption mode, and enters a dormant state after waking up the co-processing chip;
the co-processing chip receives a first data packet transmitted by the Bluetooth chip;
the co-processing chip determines a target processing subject of the first data packet;
if the target processing main body is the co-processing chip, the co-processing chip processes the first data packet;
if the target processing main body is the main processing chip, the co-processing chip wakes up the main processing chip and the main processing chip processes the first data packet.
In a second aspect, an embodiment of the present application provides a data transmission apparatus, which is applied to an electronic device, where the electronic device includes a main processing chip, a co-processing chip and a bluetooth chip, an operation power consumption of the co-processing chip is less than an operation power consumption of the main processing chip, the main processing chip includes a first data processing module, the co-processing chip includes a data transmission module, a data determination module and a second data processing module, where:
the main processing chip is used for: when the electronic equipment is detected to enter a low power consumption mode, awakening the co-processing chip, and entering a dormant state after awakening the co-processing chip;
the data transmission module is used for: receiving a first data packet transmitted by the Bluetooth chip;
the data determination module is to: determining a target processing subject of the first data packet;
the second data processing module is used for: when the target processing main body is the co-processing chip, processing the first data packet;
the co-processing chip is used for: when the target processing main body is the main processing chip, awakening the main processing chip;
the first data processing module is used for: and processing the first data packet after the main processing chip is awakened.
In a third aspect, an embodiment of the present application provides a storage medium, on which a computer program is stored, and when the computer program runs on a processor, the processor is caused to execute the data transmission method as described above.
In a fourth aspect, an embodiment of the present application provides an electronic device, including a main processing chip and a co-processing chip, where operation power consumption of the co-processing chip is lower than that of the main processing chip;
the main processing chip comprises a first processor and a first memory, wherein a first computer program is stored on the first memory, and the first processor is used for executing:
awakening the co-processing chip when detecting that the electronic equipment enters a low power consumption mode, and entering a dormant state after awakening the co-processing chip;
the co-processing chip comprises a second processor and a second memory, wherein a second computer program is stored on the second memory, and the second processor is used for executing:
receiving a first data packet transmitted by the Bluetooth chip;
determining a target processing subject of the first data packet;
if the target processing main body is the co-processing chip, processing the first data packet;
if the target processing main body is the main processing chip, awakening the main processing chip;
the first processor, by invoking the first computer program, is further configured to perform:
and processing the first data packet after the main processing chip is awakened.
In a fifth aspect, an embodiment of the present application further provides an electronic device, where the electronic device is configured to execute the data transmission method described above.
According to the data transmission method and device, the storage medium and the electronic device, the electronic device comprises the main processing chip and the assistant processing chip, and the operation power consumption of the assistant processing chip is lower than that of the main processing chip. In the running process of the electronic equipment, the main processing chip wakes up the co-processing chip when detecting that the electronic equipment enters a low power consumption mode, and enters a dormant state after waking up the co-processing chip; the co-processing chip receives a first data packet transmitted by the Bluetooth chip; the co-processing chip determines a target processing main body of the first data packet; if the target processing main body is a co-processing chip, the co-processing chip processes the first data packet; if the target processing main body is the main processing chip, the assistant processing chip wakes up the main processing chip and the main processing chip processes the first data packet. Based on this, according to the data transmission method provided in the embodiment of the present application, when the electronic device is in the low power consumption mode and the user needs to transmit the first data packet through the bluetooth chip, the main processing chip does not need to be awakened, and the co-processing chip receives the transmission of the first data packet in the low power consumption mode, that is, once the electronic device enters the low power consumption display mode, the main processing chip can keep the sleep state after entering the sleep state, and does not need to be awakened due to receiving the first data packet, so that the power consumption caused by frequent awakening of the main processing chip can be saved. In addition, in the low power consumption mode, the main processing chip with higher power consumption enters a dormant state, and receives the first data packet through the co-processing chip with lower power consumption, so that the power consumption required for receiving the first data packet can be reduced. Through the two aspects, the overall power consumption of the electronic device can be reduced finally.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the application, and that for a person skilled in the art, other drawings can be derived from them without inventive effort.
Fig. 1 is a schematic structural diagram of a first electronic device according to an embodiment of the present application.
Fig. 2 is a schematic view of an electronic device according to an embodiment of the present disclosure when the electronic device operates in a first mode.
Fig. 3 is a schematic view of an electronic device according to an embodiment of the present disclosure when the electronic device operates in a second mode.
Fig. 4 is a second structural schematic diagram of an electronic device according to an embodiment of the present application.
Fig. 5 is a third schematic structural diagram of an electronic device according to an embodiment of the present application.
Fig. 6 is a fourth structural schematic diagram of an electronic device according to an embodiment of the present application.
Fig. 7 is a first flowchart of a data transmission method according to an embodiment of the present application.
Fig. 8 is a schematic flowchart of a second data transmission method according to an embodiment of the present application.
Fig. 9 is a schematic structural diagram of a data transmission device according to an embodiment of the present application.
Fig. 10 is a fifth structural schematic diagram of an electronic device according to an embodiment of the present application.
Fig. 11 is a sixth schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. It should be apparent that the described embodiments are only a few embodiments of the present application, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
An execution main body of the data transmission method may be the data transmission device provided in the embodiment of the present application, or an electronic device integrated with the data transmission device, where the data transmission device may be implemented in a hardware or software manner. The electronic device can be a smart phone, a tablet computer, a palm computer, a notebook computer, or a desktop computer.
An electronic device 100 is further provided in an embodiment of the present application, please refer to fig. 1, where fig. 1 is a first structural schematic diagram of the electronic device provided in the embodiment of the present application. The electronic device 100 according to the embodiment of the present application includes a main processing chip 110, a co-processing chip 120, and a display screen 130, where the operation power consumption of the co-processing chip 120 is lower than that of the main processing chip 110. The main processing chip 110 and the co-processing chip 120 may be connected by a communication bus, and the main processing chip 110 and the co-processing chip 120 may also be electrically connected to the display screen 130, respectively. The communication bus may be an I2C (Inter-Integrated Circuit) bus or an SPI (Serial Peripheral Interface) bus. In other embodiments, other formats of communication buses may be used, and are not specifically limited herein.
The main processing Chip 110 may be a main control SOC (System on Chip) of the electronic device 100. In some embodiments, the primary processing chip 110 has a first processor integrated thereon. In some embodiments, the main processing chip 110 also has a first memory integrated thereon.
The co-processing chip 120 is a low power consumption SOC, the power consumption in the operating state is much smaller than the power consumption of the main processing chip 110 in the operating state, a second processor and a second memory are integrated on the co-processing chip, the frequency of the second processor is much smaller than that of the first processor, and the capacity of the memory of the co-processing chip 120 is also smaller than that of the main processing chip 110.
The main processing chip 110 may control the electronic device 100 to operate in the first mode based on the first operating system, and enter the sleep state when the electronic device 100 operates in the second mode. In the sleep state, the main processing chip 110 does not perform data processing, and some or all of the electronic devices of the main processing chip 110 may be powered off. The co-processing chip 120 may control the electronic device 100 to operate in the second mode based on the second operating system.
It will be appreciated that the first and second operating systems are different operating systems, and that the second operating system requires fewer resources to run than the first operating system. The resource may be a storage space, an operation frequency, a required power amount, and the like. For example, the first operating system may be an android operating system, a Linux operating system, a Windows operating system, or an ios operating system, and the second operating system may be a real-time operating system. The electronic device 100 may run both the first operating system and the second operating system. It should be noted that the first operating system and the second operating system are two independent operating systems.
Wherein the first mode and the second mode may be different operating modes of the electronic device 100. Referring to fig. 2 and fig. 3 at the same time, fig. 2 is a schematic view of the electronic device provided by the embodiment of the present application when operating in a first mode, and fig. 3 is a schematic view of the electronic device provided by the embodiment of the present application when operating in a second mode.
As shown in fig. 2, the first mode may be understood as a normal operation mode of the electronic device 100, or a standard power consumption mode. When the electronic device 100 operates in the first mode, the power consumption of the electronic device 100 is the standard power consumption, i.e., the normal power consumption. The first mode may include a bright screen operation mode or a bright screen display mode. In the bright screen mode of operation, the display 130 of the electronic device 100 is illuminated, and icons and names of a plurality of applications may be displayed on the display 130 of the electronic device 100. When the user clicks the application icon, the electronic device 100 may launch the corresponding application. In addition, information such as time, date, weather, temperature, etc. may also be displayed on the display screen 130 of the electronic device 100.
As shown in fig. 3, the second mode may be understood as a low power consumption mode of the electronic device 100. When the electronic device 100 operates in the second mode, the power consumption of the electronic device 100 is low, and at this time, the power consumption of the electronic device 100 is less than the standard power consumption, that is, less than the normal power consumption. That is, the power consumption of the electronic device 100 when operating in the second mode is less than the power consumption of the electronic device 100 when operating in the first mode. Wherein, the second mode can comprise a screen-off display mode or a simple operation mode. Among them, the off-screen Display mode (AOD) refers to a Display mode in which the electronic device 100 displays information On the Display screen 130 in the off-screen Display mode. For example, after the electronic device 100 enters the screen-off display mode, the main processing chip 110 may enter a sleep state, and the auxiliary processing chip 120 enters an operating state, so as to implement dynamic display, refresh, touch screen processing of a screen and running of some application programs under extremely low power consumption. For example, when the electronic device 100 is in the off-screen display mode, the co-processing chip 120 may control updating and displaying of information such as time, date, weather, calendar, etc., may also control displaying of an icon of a shortcut tool on an off-screen display interface, and may also support running of some lightweight applications such as an electronic book, a compass, a calculator, etc.
Since the first mode is a standard power consumption mode and the second mode is a low power consumption mode, the first operating system can be understood as a standard power consumption operating system, and the second operating system can be understood as a low power consumption operating system. Therefore, in the electronic device 100, it can also be understood that the main processing chip 110 is used for controlling the electronic device 100 to operate in the standard power consumption mode under the standard power consumption operating system, and the co-processing chip 120 is used for controlling the electronic device 100 to operate in the low power consumption mode under the low power consumption operating system. Wherein, the main processing chip 110 controls the electronic device 100 to operate in the standard mode under the standard power consumption operating system, and the co-processing chip 120 may be in the sleep state. The co-processing chip 120 controls the electronic device 100 to operate in a low power mode under the low power operating system, and the main processing chip 110 may be in a sleep state.
It should be noted that, in the second mode, some functions of the electronic device 100 are locked, and other functions are still available. For example, in the off-screen display mode, the display 130 of the electronic device 100 is locked and turned off, but the display 130 of the electronic device 100 may display part of information in the off-screen display mode, for example, information such as time, a lock screen identifier, e-book content, shortcut application icons, and the like may be displayed on the electronic device 100.
It can be understood that, in the first mode, the electronic device 100 can quickly start the application to meet all functional requirements of the user, for example, to perform an online shopping function, a game function, an audio/video function, and the like required by the user. In the second mode, the electronic device 100 can quickly start the shortcut application to meet some functional requirements of the user, such as performing an electronic book display function, a calculator function, a game console function, a note function, a camera function, a flashlight function, and the like, and on the premise of meeting some functional requirements of the user, the power consumption of the electronic device 100 can be effectively reduced, and the endurance time of the electronic device 100 can be prolonged.
It can be understood that, since the operation power consumption of the co-processing chip 120 is smaller than that of the main processing chip 110, the processing capability of the co-processing chip 120 is smaller than that of the main processing chip 110. That is, the main processing chip 110 has a relatively strong processing capability, and the co-processing chip 120 has a relatively weak processing capability. When the electronic device 100 operates in the first mode, the main processing chip 110 may perform all data processing and control all functional components of the electronic device 100 based on the first operating system. When the electronic device 100 operates in the second mode, the co-processing chip 120 can only perform partial data processing and control partial functional components of the electronic device 100 based on the second operating system. For example, the co-processing chip 120 may perform simple data processing and control functional components with low data processing requirements based on the second operating system, and the co-processing chip 120 cannot perform complex data processing and cannot control functional components with high data processing requirements.
It can be understood that the main processing chip 110 controls the electronic device 100 to operate in the first mode based on the first operating system, the co-processing chip 120 controls the electronic device 100 to operate in the second mode based on the second operating system, and the main processing chip 110 enters the sleep state when the electronic device 100 operates in the second mode, so that power consumption of the main processing chip 110 can be saved when the electronic device 100 operates in the second mode, and since the operating power consumption of the co-processing chip 120 is less than that of the main processing chip 110, and resources required by the second operating system during operation are less than those required by the first operating system, power consumption of the electronic device 100 during operation in the second mode is less than that of the electronic device 100 during operation in the first mode, thereby not only ensuring continuous operation of the electronic device 100 to meet the requirements of users, but also effectively reducing power consumption of the electronic device 100, and prolonging duration time of the electronic device 100.
In the description of the present application, it is to be understood that terms such as "first," "second," and the like are used solely for distinguishing between similar elements and not necessarily for indicating or implying relative importance or implicitly indicating the number of technical features indicated.
It is understood that the electronic device 100 can operate in both the first mode and the second mode, and therefore the electronic device 100 can switch between the first mode and the second mode. Referring to fig. 4, fig. 4 is a schematic structural diagram of a second electronic device according to an embodiment of the present disclosure.
The electronic device 100 of the embodiment of the application may further include a switching module 140, where the switching module 140 includes at least two data input terminals 141 and 142, at least one output terminal 143, and at least one switching control terminal 144. One data input terminal 141 of the switching module 140 may be connected to the display data output terminal 111 of the main processing chip 110, another data input terminal 142 of the switching module 140 may be connected to the display data output terminal 121 of the co-processing chip 120, a switching control terminal 144 of the switching module 140 is connected to the switching control signal output terminal 122 of the co-processing chip 120, and a data output terminal 143 of the switching module 140 may be connected to the display screen 130.
It is understood that the switching module 140 is used for switching the display data conducting path of the display screen 130 between the main processing chip 110 and the co-processing chip 120. For example, case A: when the main processing chip 110 is in a working state and the co-processing chip 120 is in a dormant state, the display data of the main processing chip 110 is input to the display screen 130 through the switching module 140 for display control. Case B: when the main processing chip 110 detects that the display screen 130 enters the off-screen display mode, the co-processing chip 120 is woken up, and the main processing chip 110 enters the sleep state. After the co-processing chip 120 is awakened and the switching module 140 is controlled to perform the switching operation, the switching module 140 switches the input source of the display data of the display screen 130 from the main processing chip 110 to the co-processing chip 120, that is, the display data of the co-processing chip 120 is input to the display screen 130 through the switching module 140 for display control. Case C: when the main processing chip 110 is woken up to enter a working state, if the main processing chip 110 needs to display information on the display screen 130, the co-processing chip 120 controls the switching module 140 to execute a switching operation, and switches to conduct display data output by the main processing chip 110 to the display screen 130 for display control. After the switching, the co-processing chip 120 may go to the sleep state, i.e. go back to the situation a, and thus the switching control of the display screen 130 is implemented in a loop.
In the above manner, the co-processing chip 120 always controls the switching of the switching module 140, so that the interface occupation of the main processing chip 110 can be saved in the hardware design level. The main processing chip 110 is a main control SOC chip in the electronic device 100, such as an Application Processor (AP), and the main control SOC generally has more function control and its interface resources are more tense. The co-processing chip 120 outputs the switching control signal to control the switching of the switching module 140, so that an interface (e.g., a bus interface) of the main control SOC is not occupied, and the complexity of circuit design is reduced.
The electronic device 100 of the embodiment of the present application may further include a touch circuit, and the touch circuit may be electrically connected to the main processing chip 110 and the co-processing chip 120. The touch control circuit can be disposed at any position on the surface of the electronic device 100 as required. For example, the touch circuit may be disposed on a surface of a back panel of the electronic device 100, or the touch circuit may be in the form of a touch screen overlying the display screen 130. The co-processing chip 120 may communicate with the touch screen through I2C, and communicate with the display screen 130 through MIPI (Mobile Industry Processor Interface).
It is understood that the touch circuit can be used for receiving a touch instruction of a user. The main processing chip 110 may receive a touch instruction of a screen-off event of a user based on the touch circuit, and the co-processing chip 120 may receive a touch instruction of a screen-on event of the user based on the touch circuit.
For example, when the electronic device 100 is in the first mode, if the main processing chip 110 receives a touch instruction of a screen-off event, a wake-up request may be sent to the co-processing chip 120, and after the co-processing chip 120 receives the wake-up request, the co-processing chip 120 enters a working state.
When the electronic device 100 is in the second mode, if the co-processing chip 120 receives the touch instruction of the bright screen event, the wake-up request may be sent to the main processing chip 110, and after the main processing chip 110 receives the wake-up request, the main processing chip 110 enters a working state.
It is understood that, in addition to the interaction among the main processing chip 110, the co-processing chip 120 and the display screen 130, the main processing chip 110 and the co-processing chip 120 can interact with the bluetooth chip 150. Specifically, please refer to fig. 5, where fig. 5 is a schematic structural diagram of a third electronic device according to an embodiment of the present disclosure. The electronic device 100 may further include a bluetooth chip 150 and a first antenna 160, the bluetooth chip 150 may be electrically connected to the first antenna 160, the bluetooth chip 150 may receive data transmitted by other bluetooth devices through the first antenna 160, and the bluetooth chip 150 may also transmit data to other bluetooth devices through the first antenna 160, so as to implement communication between the electronic device 100 and other bluetooth devices. The bluetooth chip 150 may include a digital wireless processor, a digital controlled oscillator, an on-chip rf transceiver switch, a built-in embedded processor, and other modules, and through the mutual cooperation of the above modules, the bluetooth chip 150 may convert a wireless signal received through the first antenna 160 into a digital signal, and the bluetooth chip 150 may also convert the digital signal into a wireless signal that the first antenna 160 may transmit. It is understood that specific results of the bluetooth chip 150 can be found in the related art, and are not described herein.
The bluetooth chip 150 may be in communication connection with the co-processing chip 120 through a Host Controller Interface (HCI for short), and the bluetooth chip 150 may also be in communication connection with the main processing chip 110 through the HCI. The bluetooth chip 150 may transmit the received data to the main processing chip 110 or the co-processing chip 120, and the bluetooth chip 150 may also receive the data transmitted by the main processing chip 110 or the co-processing chip 120, so as to implement interaction between the bluetooth chip 150 and the main processing chip 110 or the co-processing chip 120.
The bluetooth chip 150 may be an SOC of the electronic device 100 for performing a bluetooth function, and may be used for short-range wireless communication. The bluetooth chip 150 may implement data transmission with the main processing chip 110 or the co-processing chip 120 based on a bluetooth protocol stack, so as to control the electronic device 100 to perform wireless transmission with other bluetooth devices. Wherein the Bluetooth protocol stack may include a Bluetooth Core protocol stack (Bluetooth Core) and a Bluetooth Application layer protocol stack (Bluetooth Application). The bluetooth core protocol stack is mainly a description and specification of a bluetooth core technology, and may provide a bluetooth basic mechanism for the electronic device 100, and include a BaseBand protocol stack, an LMP protocol stack, an L2CAP protocol stack, an SDP protocol stack, and the like. The bluetooth application layer protocol stack is based on the bluetooth core protocol stack, and defines various strategies such as a cable replacement protocol stack, a telephone transmission control protocol stack, a file transmission protocol stack, a wireless application protocol stack, a point-to-point protocol stack and the like according to specific application requirements.
It is understood that the bluetooth core protocol stack and the bluetooth application layer protocol stack may be included on both the main processing chip 110 and the co-processing chip 120. All application protocol stacks suitable for bluetooth transmission can be included in the main processing chip 110, so that functions such as bluetooth data transmission, bluetooth command transmission, bluetooth cloud unlocking, bluetooth mouse control, and display screen can be implemented in the main processing chip 110. Since the operation capability of the co-processing chip 120 is lower than that of the main processing chip 110, the bluetooth application layer protocol stack of the co-processing chip 120 is relatively simple and often includes only a point-to-point protocol stack, a wireless application protocol stack, and the like, so that the co-processing chip 120 can perform relatively simple functions such as transmitting commands, data, and the like.
It will be appreciated that different applications will often require different bluetooth application protocol stacks in implementing bluetooth functionality. Thus, when different applications with bluetooth functions are installed on the main processing chip 110 and the co-processing chip 120, the bluetooth application layer protocol stacks on the main processing chip 110 and the co-processing chip 120 are often different. However, the bluetooth core protocol stacks on the main processing chip 110 and the co-processing chip 120 are the same.
Wherein, the bluetooth chip 150 may also interact with the baseband chip 170. Specifically, please refer to fig. 6, wherein fig. 6 is a fourth structural schematic diagram of the electronic device according to an embodiment of the present disclosure. The electronic device 100 further includes a baseband chip 170 and a second antenna 180, the baseband chip 170 may be electrically connected to the second antenna 180, the baseband chip 170 may receive data transmitted by other bluetooth devices through the second antenna 180, and the baseband chip 170 may transmit data to a base station through the second antenna 180, thereby implementing communication between the electronic device 100 and the base station. The baseband chip 170 may be electrically connected to the main processing chip 110, the baseband chip 170 may receive data transmitted by the main processing chip 110, convert the data into a wireless signal, and transmit the wireless signal to the base station through the second antenna 180, and the baseband chip 170 may also receive the wireless signal from the base station through the second antenna 180, convert the wireless signal into data, and transmit the data to the main processing chip 110, so that interaction between the baseband chip 170 and the main processing chip 110 may be achieved. Similarly, the baseband chip 180 may also be electrically connected to the co-processing chip 120 and the bluetooth chip 150, so as to implement interaction between the baseband chip 180 and the co-processing chip 120 and interaction between the baseband chip 180 and the bluetooth chip 150, which is not described herein again.
It is understood that the baseband chip 170 may include a modem, a signal encoder, a processor, an interface module, etc., and through cooperation of the above modules, the baseband chip 170 may convert the wireless signal received by the second antenna 180 into a digital signal and transmit the digital signal in the main processing chip 110, the co-processing chip 120, and the bluetooth chip 150. For the detailed structure of the baseband chip 170, reference may be made to the structure in the related art, and details are not repeated here.
It can be understood that first antenna, second antenna all can be microstrip antenna, PCB antenna, silver thick liquid antenna, center antenna etc. and first antenna, second antenna all can set up in positions such as circuit board, back lid, center of electronic equipment. The structure and the installation position of the first antenna and the second antenna are not limited in the embodiment of the application.
Based on the structure of the electronic device 100, a data transmission method provided in the embodiment of the present application is described. Referring to fig. 7, fig. 7 is a first flowchart illustrating a data transmission method according to an embodiment of the present application. The specific process of the data transmission method provided by the embodiment of the present application may be as follows:
in 101, the main processing chip wakes up the co-processing chip when detecting that the electronic device enters the low power consumption mode, and enters a sleep state after waking up the co-processing chip.
In the first mode, when receiving a screen locking instruction or a screen off instruction, the electronic device 100 triggers a mode switching event, for example, a user triggers a screen locking instruction through a screen locking key or a screen locking control; or when the electronic device 100 is in the bright screen display mode, the user does not operate the electronic device 100 within a certain time period; or, the user manually operates to select the mode and trigger the mode switching event.
The main processing chip 110 may control the display 130 to turn off the display to enter the low power consumption mode when detecting the mode switching event. Meanwhile, the main processing chip 110 sends a first wake-up instruction to the co-processing chip 120 to wake up the co-processing chip 120, and the main processing chip 110 may enter a sleep state after waking up the co-processing chip 120 to save power consumption of the electronic device 100.
The co-processing chip 120 may output a switching control signal to control the switching module 140 to perform a switching operation, so that the switching module 140 switches from turning on the display data output by the main processing chip 110 to the display screen 130 to turning on the display data output by the co-processing chip 120 to the display screen 130, so as to implement the display control of the co-processing chip 120 on the display screen 130.
At 102, the co-processing chip receives a first data packet transmitted by the bluetooth chip.
The co-processing chip 120 may send a data packet to the bluetooth chip 150 through the HCI interface based on the bluetooth protocol stack, and the bluetooth chip 150 may also send a data packet to the co-processing chip 120 through the HCI interface based on the bluetooth protocol stack. Therefore, the co-processing chip 120 and the bluetooth chip 150 may establish a first communication link, and through the first communication link, interaction between the co-processing chip 120 and the bluetooth chip 150 may be achieved, and the co-processing chip 120 may receive the first data packet transmitted by the bluetooth chip 150.
It is understood that the first data packet may be received by the bluetooth chip 150 through the first antenna 160, transmitted to the bluetooth chip 160 by the baseband chip 170, and generated by the bluetooth chip 160 in response to the main processing chip 110 or the co-processing chip 120. The bluetooth chip 150 may transmit the first data packet to the co-processing chip 120 after receiving or generating the first data packet.
At 103, the co-processing chip determines the target processing agent for the first packet.
After the co-processing chip 120 receives the first data packet transmitted by the bluetooth chip 150, the co-processing chip 120 needs to determine a target processing subject of the first data packet, that is, the co-processing chip 120 needs to determine which of the main processing chip 110 or the co-processing chip 120 can process the first data packet.
For example, when the first data packet is a compressed data packet, such as a compressed data packet in MP3 format or MP4 format, the compressed data packet in MP3 format or MP4 format needs to be decompressed, encoded, and the like, which involves a relatively complex protocol stack such as a decompression protocol stack and an encoding protocol stack. If the bluetooth protocol stack of the main processing chip includes the decompression protocol stack and the encoding protocol stack, it indicates that the main processing chip 110 can process the first data packet, and the main processing chip 110 can be a target processing subject of the first data packet. If the bluetooth protocol stack of the co-processing chip 120 includes the decompression protocol stack and the encoding protocol stack, it indicates that the co-processing chip 120 can process the first data packet, and the co-processing chip 120 may be a target processing subject of the first data packet. If the bluetooth protocol stacks of the main processing chip 110 and the co-processing chip 120 both include the decompression protocol stack and the encoding protocol stack, it indicates that both the main processing chip 110 and the co-processing chip 120 can process the first data packet, and both the main processing chip 110 and the co-processing chip 120 can be the target processing subject of the first data packet. At this time, the electronic device 100 may set the target processing subject of the first packet as the co-processing chip 120 to save power consumption of the electronic device 100.
At 104, if the target processing subject is a co-processing chip, the co-processing chip processes the first data packet;
at 105, if the target processing entity is the main processing chip, the co-processing chip wakes up the main processing chip and processes the first data packet by the main processing chip.
When the target processing agent of the first packet is the co-processing agent 120, the co-processing chip 120 may directly process the first packet. When the target processing entity of the first data packet is the main processing chip 110, the co-processing chip 120 may also wake up the main processing chip 110 and process the first data packet by the main processing chip 110.
It can be understood that, during the process of waking up the main processing chip 110 by the co-processing chip 120, the co-processing chip 120 may send a second wake-up instruction to the main processing chip 110 to wake up the main processing chip 110, and after the main processing chip 110 is woken up by the co-processing chip 120, the co-processing chip 120 may enter a sleep state to save power consumption of the electronic device 100.
It can be understood that, after the main processing chip 110 wakes up the co-processing chip 120, the co-processing chip 120 may output a switching control signal to control the switching module 140 to perform a switching operation, so that the switching module 140 switches from conducting the display data output by the main processing chip 110 to the display screen 130 to conducting the display data output by the co-processing chip 120 to the display screen 130, so as to implement the display control of the co-processing chip 120 on the display screen 130.
It is to be understood that, in the implementation, the present application is not limited by the execution sequence of the described steps, and some steps may be performed in other sequences or simultaneously without conflict.
As can be seen from the above, the data transmission method according to the embodiment of the present application is applied to the electronic device 100, the electronic device 100 includes the main processing chip 110, the co-processing chip 120, and the bluetooth chip 150, and the power consumption of the co-processing chip 120 during operation is lower than that of the main processing chip 110 during operation. In the operation process of the electronic device 100, the main processing chip 110 wakes up the co-processing chip 120 when detecting that the electronic device 100 enters the low power consumption mode, and enters a sleep state after waking up the co-processing chip 120; the co-processing chip 120 receives a first data packet transmitted by the bluetooth chip 150; the co-processing chip 120 determines a target processing agent of the first packet; the co-processing chip 120 processes the first data packet according to the target processing agent, or wakes up the main processing chip 110 according to the target processing agent, and the main processing chip 110 processes the first data packet. Based on this, according to the data transmission method provided in the embodiment of the present application, when the electronic device 100 is in the low power consumption mode and the user needs to transmit the first data packet through the bluetooth chip 150, the main processing chip 110 does not need to be woken up, and the co-processing chip 120 receives the transmission of the first data packet in the low power consumption mode, that is, once entering the low power consumption display mode, the main processing chip 110 can keep the sleep state after entering the sleep state, and does not need to be woken up due to receiving the first data packet, so that the power consumption caused by frequently waking up the main processing chip 110 can be saved. In addition, in the low power consumption mode, the main processing chip 110 with higher power consumption enters a sleep state, and receives the first data packet through the co-processing chip 120 with lower power consumption, so that the power consumption required for receiving the first data packet can also be reduced. With the above two aspects, the overall power consumption of the electronic device 100 can be ultimately reduced.
The co-processing chip 120 includes a first type bluetooth protocol stack, and the main processing chip 110 includes a second type bluetooth protocol stack; the step of the co-processing chip 120 determining the target processing agent of the first data packet may include: the co-processing chip 120 determines a target bluetooth protocol stack class for processing the first data packet; if the target bluetooth protocol stack is the first-class bluetooth protocol stack, the co-processing chip 120 determines that the target processing subject of the first data packet is the co-processing chip 120; if the target bluetooth protocol stack is the second type of bluetooth protocol stack, the co-processing chip 120 determines that the target processing subject of the first data packet is the main processing chip 110.
It is understood that the co-processing chip 120 may also determine a target processing subject of the first packet according to a target application indicated by the first packet, and the target application may receive an output result after the first packet is processed. For example, the first data packet is finally required to be displayed by a video player application, and if the video player application is installed on the main processing chip 110, the target processing subject may be the main processing chip 110 on which the video player is installed; if the video player application is installed on the co-processing chip 120, the target processing agent may be the co-processing chip 120 on which the video player is installed. Of course, the co-processing chip 120 may determine the target processing entity of the first packet according to other methods.
The step of the co-processing chip 120 waking up the main processing chip 110 according to the target processing subject, and the main processing chip 110 processing the first data packet includes: the co-processing chip 120 wakes up the main processing chip 110 and transmits the first data packet to the main processing chip 110; the main processing chip 110 processes the first data packet and obtains a processing result; the main processing chip 110 may directly output the processing result, and the main processing chip 110 may also transmit the processing result to the bluetooth chip 150, and continue to interact with the bluetooth chip 150 until the processing of the first data packet is completed.
It is understood that after the co-processing chip 120 wakes up the main processing chip 110, the co-processing chip 120 may enter a sleep state to save power consumption of the electronic device 100.
The method according to the previous embodiment is further illustrated in detail by way of example. Referring to fig. 8, fig. 8 is a second flowchart illustrating a data transmission method according to an embodiment of the present application.
In 201, the main processing chip wakes up the co-processing chip when detecting that the electronic device enters the low power consumption mode, and enters a sleep state after waking up the co-processing chip.
In the first mode, when receiving a screen locking instruction or a screen off instruction, the electronic device 100 triggers a mode switching event, for example, a user triggers a screen locking instruction through a screen locking key or a screen locking control; or when the electronic device 100 is in the bright screen display mode, the user does not operate the electronic device 100 within a certain time period; or, the user manually operates to select the mode and trigger the mode switching event.
The main processing chip 110 may control the display 130 to turn off the display to enter the low power consumption mode when detecting the mode switching event. Meanwhile, the main processing chip 110 sends a first wake-up instruction to the co-processing chip 120 to wake up the co-processing chip 120, and the main processing chip 110 may enter a sleep state after waking up the co-processing chip 120 to save power consumption of the electronic device 100.
In 202, the bluetooth chip receives a first data packet transmitted by other bluetooth devices through a first antenna.
Bluetooth chip 150 may establish contact with other bluetooth devices before receiving the first packet. Specifically, the bluetooth chip 150 may send a call signal to the outside through the first antenna 160 at a certain frequency, and scan other devices at a certain frequency, and after receiving the call signal, the other bluetooth devices may send a response signal to the bluetooth chip through their own antennas, and after receiving the response signal through the first antenna 160, the bluetooth chip 150 may establish a communication link connection with the other bluetooth devices. Through the communication link, the bluetooth chip 150 may receive the first data packet transmitted by the other bluetooth device through the first antenna 160.
At 203, the co-processing chip receives a first data packet transmitted by the bluetooth chip.
The co-processing chip 120 may send a data packet to the bluetooth chip 150 through the HCI interface based on the bluetooth protocol stack, and the bluetooth chip 150 may also send a data packet to the co-processing chip 120 through the HCI interface based on the bluetooth protocol stack. Therefore, the co-processing chip 120 and the bluetooth chip 150 may establish a first communication link, and through the first communication link, the co-processing chip 120 and the bluetooth chip 150 may interact, and the co-processing chip 120 may receive the first data packet transmitted by the bluetooth chip 150.
At 204, the co-processing chip determines a target bluetooth protocol stack for processing the first packet.
The co-processing chip 120 may extract, from the first data packet, an identifier indicating a target bluetooth protocol stack to which the first data packet belongs, and the co-processing chip 120 may determine, according to the identifier, the target bluetooth protocol stack for processing the first data packet and determine a category to which the target bluetooth protocol stack belongs.
It can be understood that the target bluetooth protocol stack may process the first data packet, and when the co-processing chip 120 determines the type of the target bluetooth protocol stack, correspondingly, the target processing subject of the first data packet may also be determined.
In 205, if the target bluetooth protocol stack is the first type of bluetooth protocol stack, the co-processing chip determines that the target processing subject of the first data packet is the co-processing chip.
The first type bluetooth protocol stack may be installed and stored in the co-processing chip 120, and the second type bluetooth protocol stack may be installed and stored in the main processing chip 110. If the co-processing chip 120 determines that the target bluetooth protocol stack belongs to one or more of the first bluetooth protocol stacks, the co-processing chip 120 may determine that the target processing entity of the first data packet is the co-processing chip 120. If the co-processing chip 120 determines that the target bluetooth protocol stack belongs to one or more of the second type of bluetooth protocol stacks, the co-processing chip 120 may determine that the target processing subject of the first data packet is the main processing chip 110.
For example, the first type of bluetooth protocol stack may include a file transfer protocol stack, a dial-up transfer protocol stack, a broadcast transfer protocol stack, and the like; the second type of Bluetooth protocol stack comprises a decoding protocol stack, an audio transmission protocol stack and the like. If the co-processing chip 120 determines that the target bluetooth protocol stack is a broadcast transmission protocol stack, the co-processing chip 120 may determine that the target processing subject of the first data packet is the co-processing chip 120; if the co-processing chip 120 determines that the target bluetooth protocol stack is a decoding transmission protocol stack, the co-processing chip 120 may determine that the target processing subject of the first data packet is the main processing chip 110.
It is understood that, since the processing capability of the main processing chip 110 is far more due to the co-processing chip 120, the class of the bluetooth protocol stack of the second type installed and stored in the main processing chip 110 may be far more than the type of the bluetooth protocol stack of the first type installed and stored in the co-processing chip 120.
It is understood that the second type of bluetooth protocol stack may include the first type of bluetooth protocol stack, and thus, the main processing chip 110 may generally process data packets processed by the co-processing chip 120. When the co-processing chip 120 determines that the target bluetooth protocol stack belongs to one or more of the first bluetooth protocol stacks, in principle, both the main processing chip 110 and the co-processing chip 120 may process the data packet, but the co-processing chip 120 may determine that the target processing subject of the first data packet is the co-processing chip 120, so as to save power consumption of the electronic device 100.
In 206, the co-processing chip processes the first data packet and obtains a processing result, and the co-processing chip outputs the processing result or transmits the processing result to the bluetooth chip.
The co-processing chip 120 may transmit the first data packet to the target bluetooth protocol stack, and the target bluetooth protocol stack processes the first data packet. After the target bluetooth protocol stack finishes processing the first data packet, the processing result may be fed back to the co-processing chip 120 and output by the co-processing chip 120, and the co-processing chip 120 may control the application installed in the co-processing chip 120 to output the processing result. For example, the co-processing chip may transmit the processing result to the display 130, and the display 130 outputs the result.
Of course, the co-processing chip 120 may also transmit the processing result to the bluetooth chip 150, and continue to interact with the bluetooth chip 150 until the processing of the first data packet is completed. Of course, the bluetooth chip 150 may also transmit the processing result to other bluetooth devices through the first antenna 160, so as to implement interaction between the bluetooth chip 150 and other bluetooth devices.
In 207, if the target bluetooth protocol stack is the second type bluetooth protocol stack, the co-processing chip determines that the target processing main body of the first data packet is the main processing chip.
When the co-processing chip 120 determines that the storage target bluetooth protocol stack is not installed on the co-processing chip 120, the co-processing chip 120 may determine that the target processing subject of the first data packet is the main processing chip 110. The first data packet may be processed by one or more bluetooth protocol stacks within the main processing chip 110.
At 208, the co-processing chip wakes up the main processing chip and transmits the first data packet to the main processing chip.
When the co-processing chip 120 determines that the target processing subject of the first data packet is the main processing chip 110, the co-processing chip 120 may send a second wake-up instruction to the main processing chip 110, and the main processing chip 110 may switch from the sleep state to the working state according to the second wake-up instruction. When the main processing chip 110 is woken up, the co-processing chip 120 may transmit the first data packet to the main processing chip 110. Meanwhile, the co-processing chip 120 may also transmit the state of the bluetooth chip 150, the interactive content between the bluetooth chip 150 and other bluetooth devices, and other data to the main processing chip 110. The main processing chip 110 receives the first data packet and the related information to realize the communication connection between the main processing chip 110 and the bluetooth chip 150 and the baseband chip 160.
Meanwhile, the co-processing chip 120 may also output a switching control signal to control the switching module to perform a switching operation, so that the switching module switches from turning on the display data output by the co-processing chip 120 to the display screen 130 to turning on the display data output by the main processing chip 110 to the display screen 130, thereby implementing the display control of the main processing chip 110 on the display screen 130.
In 209, the main processing chip processes the first data packet and obtains a processing result, and the main processing chip outputs the processing result or transmits the processing result to the bluetooth chip.
The main processing chip 110 may transmit the first data packet to the target bluetooth protocol stack, and the target bluetooth protocol stack processes the first data packet. After the target bluetooth protocol stack processes the first data packet, the processing result may be fed back to the main processing chip 110 and output by the main processing chip 110, and the main processing chip 110 may output the processing result to an application installed in the main processing chip 110 and output by a corresponding application. For example, the main processing chip 110 may transmit the processing result to the display 130, and the display 130 outputs the result.
Of course, the main processing chip 110 may also transmit the processing result to the bluetooth chip 150, and continue to interact with the bluetooth chip 150 until the processing of the first data packet is completed. Of course, the bluetooth chip 150 may also transmit the processing result to other bluetooth devices through the first antenna 160, so as to implement interaction between the bluetooth chip 150 and other bluetooth devices.
In addition, in the electronic device 100 according to the embodiment of the application, when the bluetooth chip 150 is electrically connected to the co-processing chip 120, the bluetooth chip 150 may receive a second data packet transmitted by the co-processing chip 120, the bluetooth chip 150 may process the second data packet and feed back a processing result to the co-processing chip 120, and then the co-processing chip 120 may continue to perform subsequent data transmission steps according to the above steps, which is not described herein again. Of course, the bluetooth chip 150 may also transmit the processing result to other bluetooth devices through the first antenna 160.
When the bluetooth chip 150 is electrically connected to the main processing chip 110, the bluetooth chip 150 may receive a second data packet transmitted by the main processing chip 110, and the bluetooth chip 150 may process the second data packet and feed back a processing result to the main processing chip 110, and then the main processing chip 110 may continue to perform subsequent data transmission steps according to the above steps, which is not described herein again. Of course, the bluetooth chip 150 may also transmit the processing result to other bluetooth devices through the first antenna 160.
It is understood that the bluetooth chip 150 may also be communicatively coupled to the baseband chip 170. The baseband chip 170 may receive the first data packet transmitted by the base station through the second antenna 180, and then transmit the first data packet to the bluetooth chip 150, and then the bluetooth chip 150 may continue to perform subsequent data transmission steps according to the above steps, which is not described herein again.
The following describes in detail a data transmission method according to an embodiment of the present application with a specific scenario in which a bluetooth headset is used to implement a voice call. The data transmission method of the embodiment of the application comprises the following steps:
when detecting that the electronic device 100 enters the low power consumption mode, the main processing chip 110 wakes up the co-processing chip 120, and enters a sleep state after waking up the co-processing chip 120;
the Bluetooth chip 150 sends a call signal to the outside through the first antenna 160, the Bluetooth headset sends a response signal to the outside through the built-in antenna after receiving the call signal through the built-in antenna, and the Bluetooth chip and the Bluetooth headset establish a communication link after receiving the response signal by the Bluetooth chip 150;
when the baseband chip 170 receives the call signal, the baseband chip 170 may transmit the call signal to the co-processing chip 120, and the co-processing chip 120 may control the display 130 to display an incoming call interface;
when the co-processing chip 120 receives a signal that the user connects to the call, the baseband chip 170 starts to receive a first voice data packet transmitted by the base station through the second antenna 180;
the baseband chip 170 transmits the first voice data packet to the bluetooth chip 150, and the bluetooth chip 150 transmits the first voice data packet to the co-processing chip 120;
the co-processing chip 120 determines that the type of the target bluetooth protocol stack where the first voice data packet is processed is a first type of bluetooth protocol stack, and the co-processing chip 120 transmits the first voice data packet to the corresponding target bluetooth protocol stack, and processes the first voice data packet by the target bluetooth protocol stack, and obtains a processing result;
the co-processing chip 120 may transmit the processing result to the bluetooth chip 150, and the bluetooth chip 150 may transmit the first voice data packet to the bluetooth headset through the first antenna 160, so as to implement a process of answering a call through the bluetooth headset;
the bluetooth headset receives a second voice data packet of the user and transmits the second voice data packet to the bluetooth chip 150;
in bluetooth chip 150 transmits this second voice data packet to baseband chip 170, baseband chip 170 transmits this second voice data packet to the base station through second antenna 180, and other electronic equipment obtain this second voice data packet through the base station, and then can realize the process of conversing with other equipment through bluetooth headset.
It can be understood that, in the above process, if the electronic device 100 according to the embodiment of the present application sends a call request to another device, the co-processing chip 120 or the main processing chip 110 may transmit the received dialing request signal to the baseband chip 170, so as to control the baseband chip 170 to establish a connection with a base station, and transmit a voice signal of a call through the second antenna 180.
The data transmission method according to the embodiment of the present application is further described in detail with reference to a specific scenario of the card swiping gate passing machine. The data transmission method of the embodiment of the application comprises the following steps:
the electronic device 100 may store the verification information of the pass gate in advance; when the user aligns the electronic device 100 with the inductive region of the gate, the gate may establish a communication link with the bluetooth chip 150;
the bluetooth chip 150 sends a first data packet instruction for calling the verification information to the co-processing chip 120, and after receiving the first data packet instruction, the co-processing chip 120 determines that a target bluetooth protocol stack in which the first data packet instruction is processed belongs to a first class target bluetooth protocol stack;
the co-processing chip 120 sends the first data packet instruction to a target bluetooth protocol stack for processing, and the target bluetooth protocol stack calls out verification information from a memory of the co-processing chip 120 according to the first data packet instruction;
the co-processing chip 120 transmits the verification information to the bluetooth chip 150, the bluetooth chip 150 transmits the verification information to the gate through the first antenna 160, and the gate opens the gate after receiving the verification information.
The above embodiments are only specific application scenarios of the data transmission method in the embodiments of the present application, and it can be understood that the data transmission method in the present application can also be used in other specific application scenarios such as listening to songs by using a bluetooth headset and transmitting files with other bluetooth devices, and the specific application scenarios of the data transmission method in the embodiments of the present application are not limited.
The embodiment of the present application further provides a data transmission apparatus 300. Based on the structure of the electronic device 100, the data transmission device 300 according to the embodiment of the present application will be described. Referring to fig. 9, fig. 9 is a schematic structural diagram of a data transmission device according to an embodiment of the present disclosure. The data transmission apparatus 300 may be applied to an electronic device, and the electronic device may include a main processing chip 310, a co-processing chip 320, and a bluetooth chip, where the operation power consumption of the co-processing chip 320 is lower than that of the main processing chip 310. The main processing chip 310 includes: a first data processing module 301. The co-processing chip 320 includes: a data transmission module 302, a data determination module 303 and a second data processing module 303. Wherein:
the main processing chip 310 is used to: when the electronic equipment is detected to enter a low power consumption mode, awakening the co-processing chip, and entering a dormant state after awakening the co-processing chip;
the data transmission module 302 is configured to: receiving a first data packet transmitted by a Bluetooth chip;
the data determination module 303 is configured to: determining a target processing subject of the first data packet;
the second data processing module 304 is configured to: processing the first data packet when the target processing main body is the co-processing chip;
the co-processing chip 320 is configured to: when the target processing main body is a main processing chip, awakening the main processing chip;
the first data processing module 301 is configured to: after the main processing chip 310 is awakened, the first packet is processed.
The co-processing chip 320 includes a first bluetooth protocol stack, and the main processing chip 310 includes a second bluetooth protocol stack. The data determination module 303 is further configured to: determining a target Bluetooth protocol stack for processing the first data packet; if the target bluetooth protocol stack is the first type of bluetooth protocol stack, the co-processing chip 320 determines that the target processing subject of the first data packet is the co-processing chip 320; if the target bluetooth protocol stack is the second type bluetooth protocol stack, the co-processing chip 320 determines that the target processing subject of the first data packet is the main processing chip 310.
Wherein, the co-processing chip 320 is further configured to: waking up the main processing chip 310 and transmitting the first data packet to the main processing chip 310; the first data processing module 301 is configured to: processing the first data packet and obtaining a processing result; the main processing chip 320 is further configured to output a processing result or transmit the processing result to the bluetooth chip to complete processing of the first data packet.
Wherein, electronic equipment still includes first antenna, first antenna and bluetooth chip electric connection, and the bluetooth chip is used for: and receiving first data packets transmitted by other Bluetooth devices through the first antenna. The bluetooth chip is still used for: and receiving the second data packet transmitted by the co-processing chip 320 or the main processing chip 310, and transmitting the second data packet to other bluetooth devices through the first antenna.
The electronic equipment further comprises a baseband chip and a second antenna, and the second antenna is electrically connected with the baseband chip; the baseband chip is used for: and receiving a first data packet transmitted by the base station through the second antenna, and transmitting the first data packet to the Bluetooth chip.
The electronic device may further include a switching module and a display screen, two data input ends of the switching module are respectively connected to the display data output ends of the main processing chip 310 and the auxiliary processing chip 320, a switching control end of the switching module is connected to the switching control signal output end of the auxiliary processing chip 320, and a data output end of the switching module is connected to the display screen.
The switching module is used for executing: after the main processing chip 310 wakes up the assistant processing chip 320, the assistant processing chip 320 outputs a switching control signal to control the switching module to perform a switching operation, so that the switching module switches from conducting the display data output by the main processing chip 310 to the display screen to conducting the display data output by the assistant processing chip 320 to the display screen, thereby realizing the display control of the assistant processing chip 320 on the display screen. After the main processing chip 310 is awakened by the co-processing chip 320, the co-processing chip 320 outputs a switching control signal to control the switching module to perform a switching operation, so that the switching module switches from conducting the display data output by the co-processing chip 320 to the display screen to conducting the display data output by the main processing chip 310 to the display screen, thereby realizing the display control of the main processing chip 310 on the display screen.
Wherein, the main processing chip 310 is further configured to: sending a first wake-up instruction to the co-processing chip 320; the co-processing chip 320 is further configured to: and switching from the dormant state to the working state according to the first awakening instruction.
Wherein, the co-processing chip 320 is further configured to: sending a second wake-up instruction to the main processing chip 310; the main processing chip 310 is also used to: and switching from the dormant state to the working state according to the second awakening instruction.
It can be understood that, in the specific implementation, the above modules may be implemented as independent entities, or may be implemented as one or several entities by arbitrary combination, and the specific implementation of each module may refer to the foregoing method embodiment, which is not described herein again.
It should be noted that the data transmission device 300 provided in this embodiment of the present application and the data transmission method in the foregoing embodiment belong to the same concept, and any method provided in the data transmission method embodiment may be run on the data transmission device 300, and the specific implementation process thereof is described in detail in the data transmission method embodiment, and is not described herein again.
As can be seen from the above, the data transmission apparatus 300 according to the embodiment of the present application is applied to an electronic device, where the electronic device includes a main processing chip 310, a co-processing chip 320 and a display screen, and the operation power consumption of the co-processing chip 320 is lower than that of the main processing chip 310. The main processing chip 310 is used to: when the electronic device is detected to enter the low power consumption mode, waking up the co-processing chip 320, and entering a sleep state after waking up the co-processing chip 320; the data transmission module 302 is configured to: receiving a first data packet transmitted by a Bluetooth chip; the data determination module 303 is configured to: determining a target processing agent of the first data packet, wherein the target processing agent comprises a co-processing chip 320 or a main processing chip 310; the second data processing module 304 is configured to: processing the first data packet according to the target processing subject; the co-processor 320 is for: waking up the main processing chip 310 according to the target processing subject; the first data processing module is used for: after the main processing chip 310 is awakened, the first packet is processed. Based on this, when the electronic device is in the low power consumption mode, and the user needs to transmit the first data packet through the bluetooth chip, the main processing chip 310 does not need to be woken up, and the co-processing chip 320 receives the transmission of the first data packet in the low power consumption mode, that is, once entering the low power consumption display mode, the main processing chip 310 can be kept in the sleep state after entering the sleep state, and does not need to be woken up due to receiving the first data packet, so that power consumption caused by frequent wakening up of the main processing chip 310 can be saved. In addition, in the low power consumption mode, the main processing chip 310 with higher power consumption enters a sleep state, and receives the first data packet through the co-processing chip 320 with lower power consumption, so that the power consumption required for receiving the first data packet can be reduced. Through the two aspects, the overall power consumption of the electronic device can be reduced finally.
The embodiment of the application further provides an electronic device 400. The electronic device 400 may be a smartphone, tablet computer, or the like. Referring to fig. 10, fig. 10 is a schematic structural diagram of a fifth electronic device according to an embodiment of the present disclosure. Based on the structure of the electronic device, the main processing chip 401 includes a first processor 4011 and a first memory 4012. The co-processing chip 402 includes a second processor 4021 and a second memory 4022. The second processor 4021 is electrically connected to the second memory 4022. The first processor 4011 is electrically connected to the first memory 4012. In other embodiments, the first memory 4012 may be separately provided and not integrated in the main processing chip 401.
In some embodiments, the main processing chip 401 may act as a master SOC for the electronic device 400; the co-processing chip 402 is a low power SOC that consumes less power than the main processing chip 401.
The first processor 4011 is a control center of the electronic equipment 400, connects various parts of the whole electronic equipment 400 using various interfaces and lines, and performs various functions and processes data of the electronic equipment 400 by running or calling a first computer program stored in the first memory 4012 and calling data stored in the first memory 4012, thereby performing the overall monitoring of the electronic equipment 400.
The first memory 4012 can be used to store first computer programs and data. The first memory 4012 stores a first computer program having instructions executable in the first processor 4011. The first computer program may constitute various functional modules. The first processor 4011 executes various functional applications and data processing by calling a first computer program stored in the first memory 4012.
The second processor 4021 may also serve as a control center of the electronic device 400, connect various parts of the entire electronic device 400 by using various interfaces and lines, and perform various functions and process data of the electronic device 400 by running or calling a second computer program stored in the second memory 4022 and calling data stored in the second memory 4022, thereby performing overall monitoring of the electronic device 400.
The second memory 4022 may be used to store second computer programs and data. The second memory 4022 stores a second computer program containing instructions executable in the first processor 4011. The first computer program may constitute various functional modules. The second processor 4021 executes various functional applications and data processing by calling a second computer program stored in the second memory 4022.
In this embodiment, the first processor 4011 in the electronic device 400 loads instructions corresponding to processes of one or more first computer programs into the first memory 4012 according to the following steps, and the first processor 4011 runs the first computer program stored in the first memory 4012, so as to implement various functions:
upon detecting that the electronic device 400 enters the low power mode, the co-processing chip 402 is woken up, and enters a sleep state after waking up the co-processing chip 402.
The second processor 4021 in the electronic device 400 loads instructions corresponding to one or more processes of the second computer program into the second memory 4022, and the second processor 4021 runs the second computer program stored in the second memory 4022, according to the following steps, so that various functions are realized:
receiving a first data packet transmitted by a Bluetooth chip; determining a target processing subject of the first data packet; if the target processing main body is a co-processing chip, processing the first data packet; and if the target processing main body is the main processing chip, awakening the main processing chip.
After the main processing chip 401 is awakened, the first processor 4011 is further configured to process the first data packet.
Referring to fig. 11, fig. 11 is a schematic structural diagram of a sixth electronic device according to an embodiment of the present disclosure. The electronic device 400 further comprises: radio frequency circuit 403, display screen 404, control circuit 405, input unit 406, audio circuit 407, sensor 408, touch control circuit 410, and power supply 409. The main processing chip 401 and the co-processing chip 402 are electrically connected to the rf circuit 403, the display 404, the control circuit 405, the input unit 406, the audio circuit 407, the sensor 408, the touch circuit 410, and the power source 409, respectively.
The radio frequency circuit 403 is used for transceiving radio frequency signals to communicate with the network device or other electronic devices 400 through wireless communication.
The display screen 404 may be used to display information entered by or provided to the user as well as various graphical user interfaces of the electronic device 400, which may be comprised of images, text, icons, video, and any combination thereof.
The control circuit 405 is electrically connected to the display screen 404 for controlling the display screen 404 to display information.
The input unit 406 may be used to receive input numbers, character information, or user characteristic information (e.g., fingerprint), and to generate keyboard, mouse, joystick, optical, or trackball signal inputs related to user settings and function control. The input unit 406 may include a fingerprint recognition module.
The audio circuit 407 may provide an audio interface between the user and the electronic device 400 through a speaker, microphone. Wherein the audio circuit 407 comprises a microphone. The microphone is electrically connected to the processor 401. The microphone is used for receiving voice information input by a user.
The sensor 408 is used to collect external environmental information. The sensors 408 may include one or more of ambient light sensors, acceleration sensors, gyroscopes, etc.
The power supply 409 is used to power the various components of the electronic device 400. In some embodiments, the power source 409 may be logically connected to the processor 401 through a power management system, so that functions of managing charging, discharging, and power consumption are implemented through the power management system.
Although not shown in fig. 11, the electronic device 400 may further include a camera, an antenna module, and the like, which are not described in detail herein.
As can be seen from the above, in the electronic device 400 provided in this embodiment of the application, the electronic device 400 includes the main processing chip 401, the co-processing chip 402, and the bluetooth chip, and power consumption of the co-processing chip 402 during operation is lower than power consumption of the main processing chip 401 during operation. In the operation process of the electronic device 400, when detecting that the electronic device enters the low power consumption mode, the first processor 4011 wakes up the co-processing chip, and controls the main processing chip to enter the sleep state after waking up the co-processing chip; the second processor 4021 receives a first data packet transmitted by the bluetooth chip; determining a target processing main body of the first data packet, processing the first data packet when the target processing main body is a co-processing chip, and awakening a main processing chip when the target processing main body is the main processing chip; after the main processing chip 401 is woken up, the first processor 4011 processes the first data packet. Based on this, when the electronic device is in the low power consumption mode, and the user needs to transmit the first data packet through the bluetooth chip, the main processing chip 401 does not need to be woken up, and the co-processing chip 402 receives the transmission of the first data packet in the low power consumption mode, that is, once entering the low power consumption display mode, the main processing chip 401 can keep the sleep state after entering the sleep state, and does not need to be woken up due to receiving the first data packet, so that the power consumption caused by the frequent wakening up of the main processing chip 401 can be saved. In addition, in the low power consumption mode, the main processing chip 401 with higher power consumption enters a sleep state, and receives the first data packet through the co-processing chip 402 with lower power consumption, so that the power consumption required for receiving the first data packet can also be reduced. Through the two aspects, the overall power consumption of the electronic device can be reduced finally.
An embodiment of the present application further provides a storage medium, where a computer program is stored in the storage medium, and when the computer program runs on a processor, the processor executes the method for implementing data transmission according to any of the above embodiments.
It is to be understood that the functions of the processors may refer to the first processor 4011 and the second processor 4021 in the above embodiments, which are not described herein again.
It should be noted that, a person skilled in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by the relevant hardware instructed by a computer program, and the computer program can be stored in a computer readable storage medium, which can include but is not limited to: read Only Memory (ROM), random Access Memory (RAM), magnetic or optical disks, and the like.
The data transmission method, the data transmission device, the storage medium, and the electronic device provided in the embodiments of the present application are described in detail above. The principles and embodiments of the present application are described herein using specific examples, which are presented only to aid in the understanding of the present application. Meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. The data transmission method is characterized by being applied to electronic equipment, wherein the electronic equipment comprises a main processing chip, a co-processing chip and a Bluetooth chip, and the operation power consumption of the co-processing chip is less than that of the main processing chip; the main processing chip comprises a Bluetooth core protocol stack and a second type Bluetooth protocol stack of all Bluetooth application layer protocol stacks, and the coprocessing chip comprises a first type Bluetooth protocol stack of the Bluetooth core protocol stack and a part of Bluetooth application layer protocol stacks; the data transmission method comprises the following steps:
the main processing chip wakes up the co-processing chip when detecting that the electronic equipment enters a low power consumption mode, and enters a dormant state after waking up the co-processing chip;
the co-processing chip receives a first data packet transmitted by the Bluetooth chip;
the co-processing chip determines a target Bluetooth protocol stack for processing the first data packet;
if the target Bluetooth protocol stack is the first type of Bluetooth protocol stack, the co-processing chip determines that a target processing main body of the first data packet is a co-processing chip, and the co-processing chip processes the first data packet;
if the target Bluetooth protocol stack is the second type Bluetooth protocol stack, the co-processing chip determines that a target processing main body of the first data packet is a main processing chip, and awakens the main processing chip and processes the first data packet by the main processing chip.
2. The data transmission method according to claim 1, wherein the step of waking up the main processing chip by the co-processing chip and processing the first data packet by the main processing chip comprises:
the co-processing chip wakes up the main processing chip, transmits the first data packet to the main processing chip and enters a dormant state after transmitting the first data packet;
the main processing chip processes the first data packet and obtains a processing result;
and the main processing chip outputs the processing result or transmits the processing result to the Bluetooth chip.
3. The method according to claim 1, wherein the electronic device further includes a first antenna, the first antenna is electrically connected to the bluetooth chip, and before the step of the co-processing chip receiving the first data packet transmitted by the bluetooth chip, the method further includes:
the Bluetooth chip receives the first data packet transmitted by other Bluetooth equipment through the first antenna;
and the Bluetooth chip transmits the first data packet to the co-processing chip.
4. The data transmission method according to claim 1, wherein the electronic device further comprises a baseband chip and a second antenna, the second antenna is electrically connected to the baseband chip, and the baseband chip is electrically connected to the bluetooth chip; the step of the co-processing chip receiving the first data packet transmitted by the bluetooth chip further comprises:
the baseband chip receives the first data packet transmitted by a base station through the second antenna and transmits the first data packet to the Bluetooth chip;
and the Bluetooth chip transmits the first data packet to the co-processing chip.
5. The data transmission method according to claim 1, wherein the step of waking up the co-processing chip by the main processing chip comprises:
the main processing chip sends a first awakening instruction to the co-processing chip;
the co-processing chip is switched from a dormant state to a working state according to the first awakening instruction so as to awaken the co-processing chip by the main processing chip;
the step of awakening the main processing chip by the co-processing chip comprises the following steps:
the co-processing chip sends a second awakening instruction to the main processing chip;
and the main processing chip is switched to a working state from a dormant state according to the second awakening instruction so as to awaken the main processing chip by the assistant processing chip.
6. The data transmission method according to claim 1, wherein the electronic device further comprises a switching module and a display screen, and the switching module is electrically connected to the main processing chip, the co-processing chip and the display screen respectively;
after the main processing chip wakes up the co-processing chip, the first data packet transmission method further includes:
the assistant processing chip outputs a switching control signal to control the switching module to execute switching operation, so that the switching module is switched from conducting display data output by the main processing chip to the display screen to conducting display data output by the assistant processing chip to the display screen, and display control of the assistant processing chip on the display screen is realized;
after the main processing chip is awakened by the co-processing chip, the first data packet transmission method further includes:
the assistant processing chip outputs a switching control signal to control the switching module to execute switching operation, so that the switching module is switched from switching on display data output by the assistant processing chip to switching on display data output by the main processing chip to the display screen, and display control of the main processing chip on the display screen is achieved.
7. The data transmission device is characterized by being applied to electronic equipment, wherein the electronic equipment comprises a main processing chip, a co-processing chip and a Bluetooth chip, and the operation power consumption of the co-processing chip is smaller than that of the main processing chip; the main processing chip comprises a Bluetooth core protocol stack and a second type Bluetooth protocol stack of all Bluetooth application layer protocol stacks, and the auxiliary processing chip comprises a Bluetooth core protocol stack and a first type Bluetooth protocol stack of partial Bluetooth application layer protocol stacks; the main processing chip comprises a first data processing module, the assistant processing chip comprises a data transmission module, a data determination module and a second data processing module, wherein:
the main processing chip is used for: awakening the co-processing chip when detecting that the electronic equipment enters a low power consumption mode, and entering a dormant state after awakening the co-processing chip;
the data transmission module is used for: receiving a first data packet transmitted by the Bluetooth chip;
the data determination module is to: determining a target Bluetooth protocol stack for processing the first data packet; if the target Bluetooth protocol stack is the first type of Bluetooth protocol stack, determining that a target processing main body of the first data packet is a co-processing chip; if the target Bluetooth protocol stack is the second type of Bluetooth protocol stack, determining that a target processing main body of the first data packet is a main processing chip;
the second data processing module is used for: when the target processing main body is the co-processing chip, processing the first data packet;
the co-processing chip is used for: when the target processing main body is the main processing chip, awakening the main processing chip;
the first data processing module is used for: and processing the first data packet after the main processing chip is awakened.
8. A computer-readable storage medium, on which a computer program is stored which, when run on a processor, causes the processor to carry out a data transmission method according to any one of claims 1 to 6.
9. An electronic device is characterized by comprising a main processing chip and a co-processing chip, wherein the operation power consumption of the co-processing chip is lower than that of the main processing chip; the main processing chip comprises a Bluetooth core protocol stack and a second type Bluetooth protocol stack of all Bluetooth application layer protocol stacks, and the auxiliary processing chip comprises a Bluetooth core protocol stack and a first type Bluetooth protocol stack of partial Bluetooth application layer protocol stacks;
the main processing chip comprises a first processor and a first memory, wherein a first computer program is stored in the first memory, and the first processor is used for executing the following steps by calling the first computer program:
awakening the co-processing chip when detecting that the electronic equipment enters a low power consumption mode, and entering a dormant state after awakening the co-processing chip;
the co-processing chip comprises a second processor and a second memory, wherein a second computer program is stored in the second memory, and the second processor is used for executing the following steps by calling the second computer program:
receiving a first data packet transmitted by a Bluetooth chip;
determining a target Bluetooth protocol stack for processing the first data packet;
if the target Bluetooth protocol stack is the first type of Bluetooth protocol stack, the co-processing chip determines that a target processing main body of the first data packet is a co-processing chip, and the co-processing chip processes the first data packet;
if the target Bluetooth protocol stack is the second type of Bluetooth protocol stack, the co-processing chip determines that a target processing main body of the first data packet is a main processing chip, and the co-processing chip wakes up the main processing chip;
the first processor, by invoking the first computer program, is further configured to perform:
and processing the first data packet after the main processing chip is awakened.
10. An electronic device is characterized by comprising a main processing chip, a co-processing chip and a Bluetooth chip, wherein the operation power consumption of the co-processing chip is less than that of the main processing chip; the main processing chip comprises a Bluetooth core protocol stack and a second type Bluetooth protocol stack of all Bluetooth application layer protocol stacks, and the coprocessing chip comprises a first type Bluetooth protocol stack of the Bluetooth core protocol stack and a part of Bluetooth application layer protocol stacks; the main processing chip, the co-processing chip and the Bluetooth chip are used for executing the data transmission method of any one of claims 1 to 6.
CN201911304654.2A 2019-12-17 2019-12-17 Data transmission method, device, storage medium and electronic equipment Active CN112996089B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911304654.2A CN112996089B (en) 2019-12-17 2019-12-17 Data transmission method, device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911304654.2A CN112996089B (en) 2019-12-17 2019-12-17 Data transmission method, device, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN112996089A CN112996089A (en) 2021-06-18
CN112996089B true CN112996089B (en) 2022-10-21

Family

ID=76343628

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911304654.2A Active CN112996089B (en) 2019-12-17 2019-12-17 Data transmission method, device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN112996089B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115882537A (en) * 2021-09-27 2023-03-31 Oppo广东移动通信有限公司 Electric quantity detection circuit, terminal, electric quantity determination method and readable storage medium
CN114189927B (en) * 2021-12-28 2024-02-27 浙江大华技术股份有限公司 Network link transfer method and device, electronic equipment and storage medium
WO2023169278A1 (en) * 2022-03-10 2023-09-14 华为技术有限公司 Data transmission method and apparatus, and electronic device
CN117597953A (en) * 2022-06-16 2024-02-23 北京小米移动软件有限公司 Bluetooth communication method, device, electronic equipment and medium supporting multi-protocol stack
CN115150211B (en) * 2022-06-20 2023-07-14 浙江大华技术股份有限公司 Information transmission method and device and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002031672A2 (en) * 2000-10-13 2002-04-18 Zucotto Wireless Inc. Method and apparatus for interprocessor communication and peripheral sharing
CN107126202A (en) * 2017-03-31 2017-09-05 上海掌门科技有限公司 A kind of heart rate anomaly data detection and the method and intelligent watch of prompting
CN110427097A (en) * 2019-06-18 2019-11-08 华为技术有限公司 Voice data processing method, apparatus and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9195628B2 (en) * 2008-08-15 2015-11-24 Intel Deutschland Gmbh Partitioned bluetooth system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002031672A2 (en) * 2000-10-13 2002-04-18 Zucotto Wireless Inc. Method and apparatus for interprocessor communication and peripheral sharing
CN107126202A (en) * 2017-03-31 2017-09-05 上海掌门科技有限公司 A kind of heart rate anomaly data detection and the method and intelligent watch of prompting
CN110427097A (en) * 2019-06-18 2019-11-08 华为技术有限公司 Voice data processing method, apparatus and system

Also Published As

Publication number Publication date
CN112996089A (en) 2021-06-18

Similar Documents

Publication Publication Date Title
CN112996089B (en) Data transmission method, device, storage medium and electronic equipment
CN112987986B (en) Method, device, storage medium and electronic equipment for realizing game application
CN112988256B (en) Application starting method and device, storage medium and electronic equipment
CN109901695B (en) Screen power-saving display method, mobile terminal and computer-readable storage medium
KR20150026652A (en) Method and apparatus for offering received information to user in a electronic device
US20130227175A1 (en) Electronic devices and methods for sharing peripheral devices in dual operating systems
EP4132122A1 (en) Power optimization method and electronic device
KR20150033505A (en) Method for performing a power save mode on an electronic device and the electronic device therefor
CN112817424A (en) Method, device, storage medium and electronic equipment for realizing compass application
CN111443803B (en) Mode switching method and device, storage medium and mobile terminal
CN110602772A (en) WiFi module control method, control device, electronic device and storage medium
CN111862972B (en) Voice interaction service method, device, equipment and storage medium
CN111026457B (en) Hardware configuration method and device, storage medium and terminal equipment
CN109947617B (en) Method, terminal and readable storage medium for monitoring display content of application interface
WO2021115212A1 (en) Dynamic font library-based display method and apparatus, and storage medium and electronic device
CN111045738B (en) Electronic equipment control method and device, electronic equipment and storage medium
CN112542867B (en) Mobile terminal power supply control method and device, terminal equipment and storage medium
CN110995324B (en) Bluetooth communication method, device, storage medium and terminal equipment
CN108681467B (en) System awakening method and terminal
CN115226048A (en) Data transmission method, device, equipment and storage medium
CN108287755B (en) Application program control method and mobile terminal
CN111078428A (en) Remote control method and device, storage medium and terminal equipment
CN110995932A (en) Memorandum setting method and device, storage medium and electronic equipment
CN110618798A (en) Multi-screen display method, multi-screen device, storage medium and terminal equipment
CN112929793B (en) Audio framework, audio control method, device and equipment

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
GR01 Patent grant
GR01 Patent grant