CN111586653B - Data reading and storing method, device and computer readable storage medium - Google Patents

Data reading and storing method, device and computer readable storage medium Download PDF

Info

Publication number
CN111586653B
CN111586653B CN202010274261.8A CN202010274261A CN111586653B CN 111586653 B CN111586653 B CN 111586653B CN 202010274261 A CN202010274261 A CN 202010274261A CN 111586653 B CN111586653 B CN 111586653B
Authority
CN
China
Prior art keywords
data
subsystem
module
external data
main system
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
CN202010274261.8A
Other languages
Chinese (zh)
Other versions
CN111586653A (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.)
Mobvoi Information Technology Co Ltd
Original Assignee
Mobvoi Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mobvoi Information Technology Co Ltd filed Critical Mobvoi Information Technology Co Ltd
Priority to CN202010274261.8A priority Critical patent/CN111586653B/en
Publication of CN111586653A publication Critical patent/CN111586653A/en
Priority to PCT/CN2020/138377 priority patent/WO2021203737A1/en
Application granted granted Critical
Publication of CN111586653B publication Critical patent/CN111586653B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/0212Power saving arrangements in terminal devices managed by the network, e.g. network or access point is master and terminal is slave
    • H04W52/0216Power saving arrangements in terminal devices managed by the network, e.g. network or access point is master and terminal is slave using a pre-established activity schedule, e.g. traffic indication frame
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals
    • 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 invention discloses a data reading and storing method, a device and a computer readable storage medium, which are applied to an auxiliary system, wherein the auxiliary system comprises a first subsystem and a second subsystem which are connected with each other in a communication way, and the method comprises the following steps: acquiring stored data through a memory in the second subsystem when the main system is judged to be in a non-wake-up state; transmitting the acquired stored data to the first subsystem; the first subsystem is instructed to read the stored data. When the main system is in a non-wake-up state, the auxiliary system is used for reading some data, so that the increase of system power consumption caused by waking up the main system is avoided.

Description

Data reading and storing method, device and computer readable storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and apparatus for reading and storing data, and a computer readable storage medium.
Background
In some devices with multiple systems built in, some auxiliary hardware (such as sounders, microphones, etc.) is basically installed in the main system, and the corresponding functions (such as playing audio) can be used only when the main system is in an awake state, but the wake-up of the main system will result in an increase of the power consumption of the system.
Disclosure of Invention
The embodiment of the invention provides a data reading and storing method, a device and a computer readable storage medium, which have the technical effect that when a main system is in a non-awakening state, reading of some data is realized through an auxiliary system, so that the increase of system power consumption caused by awakening the main system is avoided.
In one aspect, the present invention provides a data reading method applied to an auxiliary system, where the auxiliary system includes a first subsystem and a second subsystem that are communicatively connected to each other, and the method includes: acquiring stored data through a memory in the second subsystem when the main system is judged to be in a non-wake-up state; transmitting the acquired stored data to the first subsystem; the first subsystem is instructed to read the stored data.
In an embodiment, the instructing the first subsystem to read the stored data includes: instructing the first subsystem to shell the received stored data to obtain specific data only for the first subsystem to apply; and instructing the first subsystem to read the obtained specific data.
Another aspect of the present invention provides a data storage method applied to an auxiliary system, the auxiliary system including a first subsystem and a second subsystem communicatively connected to each other, the method comprising: when the main system is judged to be in a non-awakening state, external data are acquired through a data receiving module in the first subsystem, or when the main system is judged to be in the awakening state, the external data are received through the main system; transmitting the acquired external data to the second subsystem; and instructing the second subsystem to store the external data obtained by transmission into a memory.
In one embodiment, the data receiving module is a bluetooth low energy module; correspondingly, the acquiring the external data through the data receiving module in the first subsystem includes: external data are acquired through equipment paired with the low-power consumption Bluetooth module; the main system comprises a classical Bluetooth module; correspondingly, the receiving external data from the main system specifically includes: and acquiring external data from equipment paired with the classical Bluetooth module in the main system.
In an embodiment, in the bluetooth pairing process, the method further includes: when the main system is judged to be in an awakening state, pairing is carried out on the equipment through a classical Bluetooth module in the main system, and the low-power-consumption Bluetooth module loses a pairing function; when the main system is judged to be in a non-awakening state, the low-power-consumption Bluetooth module in the auxiliary system is paired with equipment, and the classical Bluetooth module loses the pairing function.
In an embodiment, the method further comprises: in a state that the classical Bluetooth module is paired with the equipment, if the main system is switched to a non-wake-up state in a wake-up state, the classical Bluetooth module is disconnected with the paired equipment; and indicating the low-power consumption Bluetooth module to send a pairing request instruction to the equipment to be paired.
Another aspect of the present invention provides a data reading apparatus for use in an auxiliary system comprising a first subsystem and a second subsystem communicatively coupled to each other, the apparatus comprising: the stored data acquisition module is used for acquiring stored data through a memory in the second subsystem when the main system is judged to be in a non-awakening state; the stored data transmission module is used for transmitting the acquired stored data to the first subsystem; and the stored data reading module is used for indicating the first subsystem to read the stored data.
Another aspect of the present invention provides a data storage device for use in an auxiliary system comprising a first subsystem and a second subsystem communicatively coupled to each other, the device comprising: the external data acquisition module is used for acquiring external data through the data receiving module in the first subsystem when the main system is judged to be in a non-awakening state, or receiving the external data through the main system when the main system is judged to be in the awakening state; the external data transmission module is used for transmitting the acquired external data to the second subsystem; and the external data storage module is used for indicating the second subsystem to store the external data obtained by transmission into a memory.
Another aspect of the invention provides a computer-readable storage medium comprising a set of computer-executable instructions for performing the data reading method of any one of the preceding claims when the instructions are executed.
Another aspect of the invention provides a computer readable storage medium comprising a set of computer executable instructions for performing the data storage method of any one of the preceding claims when the instructions are executed.
In the embodiment of the invention, when the main system is in a non-awakening state, the auxiliary system is used for reading some data, so that the increase of system power consumption caused by awakening the main system is avoided.
Drawings
The above, as well as additional purposes, features, and advantages of exemplary embodiments of the present invention will become readily apparent from the following detailed description when read in conjunction with the accompanying drawings. Several embodiments of the present invention are illustrated by way of example, and not by way of limitation, in the figures of the accompanying drawings and in which:
in the drawings, the same or corresponding reference numerals indicate the same or corresponding parts.
FIG. 1 is a schematic diagram showing the structure of a data processing apparatus according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of an implementation flow of a data reading method according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of an implementation flow of a data storage method according to an embodiment of the present invention;
FIG. 4 is a schematic diagram illustrating a structure of a data reading apparatus according to an embodiment of the present invention;
FIG. 5 is a schematic diagram illustrating a structure of a data storage device according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of an implementation flow of a data notification method according to an embodiment of the present invention;
FIG. 7 is a schematic diagram illustrating a structure of a data notification device according to an embodiment of the present invention;
fig. 8 is a schematic diagram of an implementation flow of a communication switching method according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of a communication switching device according to an embodiment of the invention.
In the figure, 1, a data receiving module; 2. a first subsystem; 3. a second subsystem; 4. a first hardware interface module; 5. a first service module; 6. a first hardware abstraction layer; 7. a second hardware abstraction layer; 8. a second hardware interface module; 9. a display screen; 10. a third hardware abstraction layer; 11. a fourth hardware abstraction layer; 12. a memory.
Detailed Description
In order to make the objects, features and advantages of the present invention more comprehensible, the technical solutions according to the embodiments of the present invention will be clearly described in the following with reference to the accompanying drawings, and it is obvious that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Fig. 1 is a schematic structural diagram of a data processing apparatus according to an embodiment of the invention.
As shown in fig. 1, in one aspect, the present invention provides a data processing apparatus, including an auxiliary system and a switch module:
the switch module is used for sending a first control instruction and a second control instruction when the main system is in a non-awakening state, wherein the first control instruction is used for driving the main system to disconnect communication with the outside, and the second control instruction is used for driving the auxiliary system to connect communication with the outside;
the auxiliary system receives and responds to the second control instruction to drive the data receiving module 1 in the auxiliary system to receive external data;
the auxiliary system is also used for informing the outside of the received external data.
In this embodiment, the switch module is in communication connection with the main system and the auxiliary system respectively, and is specifically configured to obtain a working state of the main system and control respective communication connections of the main system and the auxiliary system, where the working state includes an awake state and a non-awake state, and the non-awake state further includes a sleep state, a sleep state and a shutdown state.
When the switch module captures that the main system is in a non-wake-up state, a first control instruction is sent to the main system, and the first control instruction is used for enabling the main system to disconnect communication with the outside. Meanwhile, the switch module sends a second control instruction to the auxiliary system, wherein the second control instruction is used for establishing communication connection between the auxiliary system and the outside, and the outside is a range except the switch module and is not a range except the whole equipment.
The auxiliary system receives and responds to the second control instruction sent by the switch module to drive the data receiving module 1 arranged in the auxiliary system to be in communication connection with the outside so as to receive the outside data. The external data comprise telephone notices, short message notices and application notices, and the auxiliary system finally informs the received external data outside.
Therefore, when data is transmitted to the device from the outside, the auxiliary system processes the data, so that the wake-up frequency of the main system is reduced, the power consumption of the system is reduced, and the purpose of improving the endurance is achieved.
Further, the data receiving module 1 is preferably BLE (Bluetooth Low Energy ).
Furthermore, each system in the existing multi-system equipment is provided with a BLE module so as to keep communication with the outside when any system works.
In an embodiment, the switch module is further specifically configured to drive the auxiliary system to continuously receive and notify external data when the auxiliary system is in an operating state and the main system is changed from a non-awake state to an awake state.
In this embodiment, when the auxiliary system is in the working state and the main system is changed from the non-awake state to the awake state, the switch module will not block the communication connection between the auxiliary system and the outside, and still receive the outside data through the auxiliary system, thereby further reducing the power consumption of the main system.
In an embodiment, the auxiliary system is specifically configured to notify the received external data to the outside through a voice broadcast manner, or through a manner of displaying on a screen interface, or through a manner of transmitting information through a network.
In this embodiment, the auxiliary system may include hardware devices such as a sounder, a screen, and a wireless transceiver module. After the external data is received by the data receiving module 1, the auxiliary system can pertinently inform the outside according to the type of the external data, wherein the type of the external data comprises images, audios, videos, characters and the like, and if the external data is the images, the videos and the characters, the external data is informed in a mode of being displayed on a screen; if the external data are audio data, informing the outside in a mode of broadcasting by a sounder; the received external data can also be informed to the outside in a mode of transmitting to the external equipment again through the network channel. Wherein, the object of the external notification can be a person, an animal, an equipment module and the like.
In an embodiment, the auxiliary system comprises a first subsystem 2 and a second subsystem 3;
the data receiving module 1 is installed in the first subsystem 2;
the first subsystem 2 is specifically configured to perform data preprocessing on the received external data, obtain intermediate data that can be commonly applied by the first subsystem 2 and the second subsystem 3, and transmit the obtained intermediate data to the second subsystem 3;
the second subsystem 3 is in particular used for signalling the intermediate data transmitted to the outside.
In this embodiment, referring specifically to fig. 1, the first subsystem 2 is preferably an apollo3+ type singlechip in this embodiment, and the second subsystem 3 is preferably an ST type singlechip in this embodiment, where the first subsystem 2 and the second subsystem 3 are connected in communication with each other.
The data receiving module 1 is installed in the first subsystem 2, and since different subsystems only process the identified or supported data, the first subsystem 2 performs data preprocessing on the external data received by the data receiving module 1 (i.e. BLE in the figure), so as to obtain intermediate data which can be commonly used by the first subsystem 2 and the second subsystem 3, and transmits the intermediate data to the second subsystem 3, and the second subsystem 3 informs the transmitted intermediate data to the outside.
In an embodiment, the first subsystem 2 further specifically includes a first hardware interface module 4 and a first service module 5;
the data receiving module 1 is installed in the first hardware interface module 4;
the first hardware interface module 4 is configured to transmit the external data received by the data receiving module 1 to the first service module 5;
the first service module 5 performs data preprocessing on the external data to obtain intermediate data, and transmits the intermediate data to the second subsystem 3.
In this embodiment, the first hardware interface module 4 includes hardware or an interface such as I2C-M (Inter-Integrated Circuit Master, integrated circuit bus), QSPI/SPI (QSPI: queued Serial Peripheral Interface, serial peripheral interface;/SPI: serial Peripheral Interface, serial peripheral interface), DMA (Direct Memory Access ), I2S/PCM (I2S: inter-IC Sound, integrated circuit built-In Audio bus; PCM: pulse-code modulation), and thus hardware devices such as LCD (Liquid Crystal Display ), FG (functional guide), sen (Sensors), blE (Bluetooth Low Energy ), AI (Audio In), and Mic (Microphone) may be mounted on the first hardware interface module 4. The data receiving module 1 (i.e. BLE in the figure) may be connected to the first hardware interface module 4 according to its own interface type.
The first hardware interface module 4 is configured to transmit the external data received by the data receiving module 1 to the first service module 5. The first Service module 5 is a processing core of the first subsystem 2, and is configured to process data in the first subsystem 2, and since the first subsystem 2 is preferably an Apollo3+ type singlechip, the corresponding first Service module 5 is preferably an Apollo3+ Service module. The external data is subjected to data preprocessing through the first service module 5 to obtain intermediate data, and the intermediate data is transmitted to the second subsystem 3 through the first service module 5.
In one implementation manner, the first hardware interface module 4 specifically transmits external data to the first service module 5 through the first hardware abstraction layer 6;
the first service module 5 transmits the intermediate data to the second subsystem 3, in particular via the second hardware abstraction layer 7.
In this embodiment, the first hardware abstraction layer 6 and the second hardware abstraction layer 7 (i.e. HAL, hardware Abstraction Layer in the figure) are interface layers between the operating system kernel and the hardware circuitry, which aim to abstract the hardware.
In one embodiment, the intermediate data is data content;
the first service module 5 is specifically configured to perform a shelling process on external data, so as to obtain data content from the external data.
In this embodiment, the external data received by the data receiving module 1 includes the feature information and the data content that can be identified or supported by the first subsystem 2 (mainly, the first hardware interface module 4 or the hardware under the first subsystem 2), so the first service module 5 needs to perform the shelling process on the external data, specifically, delete the feature information from the external data, and only retain the data content.
In one embodiment, the second subsystem 3 includes a second hardware interface module 8, a display screen 9, and a second service module;
the second service module is configured to receive the intermediate data, perform a shell processing on the intermediate data, obtain specific data only for the second subsystem 3 to apply, and transmit the obtained specific data to the second hardware interface module 8;
the second hardware interface module 8 mounts a display screen 9 thereon and displays intermediate data among the specific data according to the received specific data.
In this embodiment, the second hardware interface module 8 includes hardware or interfaces such as I2C-M I C-M (Inter-Integrated Circuit Master, integrated circuit bus), SPI-M (Serial Peripheral Interface Master, serial peripheral interface), DMA (Direct Memory Access ), etc., so that hardware devices such as OLED (Organic Light-Emitting Diode), tou (Touch pad), GPS (Global Positioning System ), K (KEY, keyboard), etc., can be installed in the second subsystem 3.
The display screen 9 is preferably an OLED screen, which is mounted on the second hardware interface module 8 according to its own interface type, so as to realize a communication connection of the second hardware interface module 8 with the display screen 9.
Because the second subsystem 3 is preferably a singlechip of ST type, correspondingly, the second Service module is correspondingly an ST Service module, and is used for processing the operation of the data in the second subsystem 3. In this embodiment, the second service module is mainly configured to perform shell-adding processing on the received intermediate data, and specifically includes: specific data is generated by adding feature information to the intermediate data, which can be recognized or supported by the second hardware interface module 8, the hardware. The second service module transmits the generated specific data to the second hardware interface module 8, and the second hardware interface module 8 receives the specific data and displays the intermediate data through the display screen 9.
In an embodiment, the second service module receives intermediate data through the third hardware abstraction layer 10 and transmits specific data to the second hardware interface module 8 through the fourth hardware abstraction layer 11.
In the present embodiment, the third hardware abstraction layer 10 and the fourth hardware abstraction layer 11 (i.e., HAL, hardware Abstraction Layer in the figure) are interface layers between the kernel of the operating system and the hardware circuits, and the purpose of the present embodiment is to abstract the hardware.
In one embodiment, the data receiving module 1 is specifically one of a bluetooth module, a wireless transceiver module, and a wired transceiver module.
In this embodiment, the data receiving module 1 is mainly configured to receive external data, and may specifically be one of a bluetooth module, a wireless transceiver module and a wired transceiver module, and in fig. 1, the data receiving module 1 is preferably a BLE module (bluetooth low energy).
Fig. 2 is a schematic diagram of an implementation flow of a data reading method according to an embodiment of the present invention.
As shown in fig. 2, another aspect of the embodiment of the present invention provides a data reading method, which is applied to an auxiliary system, where the auxiliary system includes a first subsystem 2 and a second subsystem 3 that are communicatively connected to each other, and the method includes:
step 101, when the main system is judged to be in a non-wake-up state, acquiring stored data through a memory 12 in the second subsystem 3;
step 102, transmitting the acquired stored data to the first subsystem 2;
step 103 instructs the first subsystem 2 to read the stored data.
In this embodiment, the structural relationship between the main system and the auxiliary system and the structure of the auxiliary system can be referred to fig. 1.
Referring to fig. 1, when it is determined that the main system is in a non-awake state, the stored data is obtained through the memory 12 in the second subsystem 3, where the operation state determination process of the main system may obtain the determination through the switch module; the memory 12 is pre-installed in the second subsystem 3, in particular a NF (Nor Flash, non-volatile Flash technology) based memory for storing data.
Then transmitting the acquired stored data to the first subsystem 2;
finally, the first subsystem 2 is instructed to read the stored data, wherein the reading operation in the embodiment comprises the display and broadcasting of the data; if the stored data is audio data, the read operation is broadcasting; if the stored data is text information, the reading operation at this time is displayed.
Therefore, when the main system is in a non-awakening state, the auxiliary system can also read some data, so that the increase of system power consumption caused by awakening the main system is avoided.
Further, referring to fig. 1, the second subsystem 3 includes a second service module, so the specific process of step 101 and step 102 is: when it is determined that the main system is in the non-awake state, the stored data in the memory 12 is acquired through the second service module, and the stored data is transferred to the first subsystem 2 through the third hardware abstraction layer 10 through the second service module.
In one embodiment, instructing the first subsystem 2 to read the stored data includes:
instructing the first subsystem 2 to perform a shell processing on the received stored data to obtain specific data only for the first subsystem 2 to apply;
The first subsystem 2 is instructed to read the resulting specific data.
In this embodiment, the specific process of step 103 is: the first subsystem 2 is instructed to perform a shell processing on the received stored data, so as to obtain specific data only for the first subsystem 2 to apply, specifically: the feature information that can be recognized or supported by the corresponding first subsystem 2 is added on the basis of the original data, and specific data that can be recognized by the interface module or hardware in the first subsystem 2 is generated, so that the interface module or hardware reads the specific data.
Further, referring to fig. 1, the first subsystem 2 has a plurality of different reading modes, different specific data corresponds to different reading modes, and corresponding hardware cooperation is required, if the extracted stored data is assumed to be audio data, sounder hardware is required, and the hardware is required to be installed in the I2S/PCM interface in the first hardware interface module 4. After the acquired stored data is transmitted to the first subsystem 2 in step 101, the first service module 5 of the first subsystem 2 receives the stored data and shells the stored data to obtain specific data, and then transmits the specific data to the sounder in the second interface module, so as to broadcast the audio data.
Fig. 3 is a schematic flow chart of an implementation of a data storage method according to an embodiment of the present invention.
As shown in fig. 3, in another aspect, a data storage method of an embodiment of the present invention is applied to an auxiliary system, where the auxiliary system includes a first subsystem 2 and a second subsystem 3 that are communicatively connected to each other, and the method includes:
step 201, when it is determined that the main system is in a non-wake-up state, external data is acquired through the data receiving module 1 in the first subsystem 2,
or when the main system is judged to be in the wake-up state, external data is received from the main system;
step 202, transmitting the acquired external data to the second subsystem 3;
step 203 directs the second subsystem 3 to store the external data obtained by the transmission in the memory 12.
In this embodiment, as shown in fig. 1, external data is acquired through the data receiving module 1 in the first subsystem 2 when the main system is determined to be in the non-awake state, or external data is received through the slave main system (classical bluetooth module in a specific main system) when the main system is determined to be in the awake state. The working state of the main system may be obtained and determined by the switch module, and the data receiving module 1 is mainly used for receiving external data, which may be specifically one of a bluetooth module, a wireless transceiver module and a wired transceiver module, and in this embodiment, the data receiving module 1 is preferably BLE (bluetooth low energy).
The specific process of step 201 is: when the main system is judged to be in a non-awakening state, the switch module enables the other auxiliary system to start working, and at the moment, the external data is received by the data receiving module 1 in the first subsystem 2; when it is determined that the host system is in an awake state, the host system is communicatively connected to the memory 12, and external data is received by a receiving module in the host system, such as a classical bluetooth module.
The acquired external data are then transmitted to the second subsystem 3, in particular: if the external data is received through the first subsystem 2, the received external data is transmitted to the second subsystem 3 after passing through the first hardware interface module 4, the first hardware abstract layer 6, the first service module 5 and the second hardware abstract layer 7 in sequence; if external data is received by the host system, the external data is transferred to the memory 12 under the second subsystem 3 using the output interface of the host system.
Finally, the second subsystem 3 is instructed to store the external data obtained by transmission in the memory 12, and the specific process is as follows: the external data is sequentially passed through the third abstraction layer and the second service module and then stored in the memory 12.
In one embodiment, the data receiving module 1 is a bluetooth low energy module;
Correspondingly, the external data is acquired by the data receiving module 1 in the first subsystem 2, which comprises the following steps:
external data are acquired through equipment paired with the low-power consumption Bluetooth module;
the main system comprises a classical Bluetooth module;
correspondingly, the external data is received from the main system, and the method specifically comprises the following steps:
external data are acquired from devices paired by classical Bluetooth modules in the main system.
In this embodiment, the data receiving module 1 is a low-power consumption bluetooth module, and the main system includes a classical bluetooth module; thus, step 201 is specifically: external data is acquired through the equipment paired with the low-power-consumption Bluetooth module, and external data is acquired from the equipment paired with the classical Bluetooth module in the main system.
In an embodiment, in the bluetooth pairing process, the method further includes:
when the main system is judged to be in an awakening state, the device is paired with a classical Bluetooth module in the main system, and the low-power consumption Bluetooth module loses the pairing function;
when the main system is judged to be in a non-awakening state, the low-power-consumption Bluetooth module in the auxiliary system is paired with the equipment, and the classical Bluetooth module loses the pairing function.
In this embodiment, the main system and the auxiliary system can only perform data receiving bluetooth pairing on one side, and when the main system is determined to be in an awake state, the main system is paired with the device through the classical bluetooth module in the main system to receive external data from the device, and at this time, the low-power bluetooth module is made to lose the pairing function; when the main system is judged to be in a non-awakening state, the low-power-consumption Bluetooth module in the auxiliary system is paired with the equipment to receive external data from the paired equipment, and at the moment, the classical Bluetooth module loses the pairing function, wherein the on and off of the pairing function can be controlled through the switch module.
In an embodiment, the method further comprises: in the state that the classical Bluetooth module is paired with the equipment, if the main system is switched to a non-wake-up state in a wake-up state, the classical Bluetooth module is disconnected with the paired equipment;
and indicating the low-power consumption Bluetooth module to send a pairing request instruction to the equipment to be paired.
In this embodiment, in a state that the classical bluetooth module is paired with the device, if the main system switches from the awake state to the non-awake state, the switch module controls the classical bluetooth module in the main system to disconnect the communication connection with the paired device, and starts the bluetooth module with low power consumption in the auxiliary system, and at this time, a pairing request is sent to the disconnected device by the bluetooth module with low power consumption, and the disconnected device can establish the communication connection again by responding to the request.
Fig. 4 is a schematic structural diagram of a data reading device according to an embodiment of the invention.
As shown in fig. 4, another aspect of the embodiment of the present invention provides a data reading apparatus, which is applied to an auxiliary system, the auxiliary system including a first subsystem 2 and a second subsystem 3 which are communicatively connected to each other, the apparatus including:
a stored data obtaining module 301, configured to obtain stored data through the memory 12 in the second subsystem 3 when it is determined that the main system is in a non-awake state;
A stored data transmission module 302, configured to transmit the acquired stored data to the first subsystem 2;
the stored data reading module 303 is configured to instruct the first subsystem 2 to read the stored data.
In this embodiment, a structural relationship diagram of the main system and the auxiliary system may refer to fig. 1.
Referring to fig. 1, when the stored data obtaining module 301 determines that the main system is in a non-awake state, the stored data is obtained through the memory 12 in the second subsystem 3, where the working state determining process of the main system may be determined by the switch module; a memory 12 is installed in the second subsystem 3 for storing data.
The acquired stored data is then transmitted to the first subsystem 2 by means of the stored data transmission module 302;
finally, the first subsystem 2 is instructed to read the stored data through the stored data reading module 303, wherein the reading operation in the embodiment comprises displaying and broadcasting the data; if the stored data is audio data, the read operation is broadcasting; if the stored data is text information, the reading operation at this time is displayed.
Therefore, when the main system is in a non-awakening state, the auxiliary system can also read some data, so that the increase of system power consumption caused by awakening the main system is avoided.
Fig. 5 is a schematic structural diagram of a data storage device according to an embodiment of the invention.
As shown in fig. 5, another aspect of the embodiment of the present invention provides a data storage device applied to an auxiliary system, the auxiliary system including a first subsystem 2 and a second subsystem 3 communicatively connected to each other, the device including:
an external data acquisition module 401, configured to acquire external data through the data receiving module 1 in the first subsystem 2 when it is determined that the main system is in a non-awake state,
or when the main system is judged to be in the wake-up state, external data is received from the main system;
an external data transmission module 402, configured to transmit the acquired external data to the second subsystem 3;
the external data storage module 403 is configured to instruct the second subsystem 3 to store the external data obtained by transmission in the memory 12.
In this embodiment, as shown in fig. 1, the external data acquisition module 401 acquires external data through the data receiving module 1 in the first subsystem 2 when determining that the main system is in the non-awake state, or receives external data from the main system when determining that the main system is in the awake state. The working state of the main system can be determined by the switch module, the data receiving module 1 is mainly used for receiving external data, and can be specifically one of a bluetooth module, a wireless receiving and transmitting module and a wired receiving and transmitting module of the wired receiving and transmitting module, and in this embodiment, the data receiving module 1 is preferably BLE (bluetooth low energy).
The external data acquisition module 401 specifically includes: when the main system is judged to be in a non-awakening state, the main system is disconnected from the memory 12, the switch module enables the auxiliary system to start working, and at the moment, the data receiving module 1 in the first subsystem 2 receives external data; when it is determined that the main system is in the awake state, the main system is communicatively connected to the memory 12, and external data is received through a receiving module in the main system, such as a classical bluetooth module.
The acquired external data is then transmitted to the second subsystem 3 by the external data transmission module 402, specifically: if the external data is received through the first subsystem 2, the received external data is transmitted to the second subsystem 3 after passing through the first hardware interface module 4, the first hardware abstract layer 6, the first service module 5 and the second hardware abstract layer 7 in sequence; if the external data is received by the main system, the external data is transmitted to the second subsystem 3 by using the output interface of the main system.
Finally, the external data storage module 403 instructs the second subsystem 3 to store the external data obtained by transmission in the memory 12, which specifically includes: the external data is sequentially passed through the third abstraction layer and the second service module and then stored in the memory 12.
Another aspect of the embodiments of the present invention provides a computer-readable storage medium comprising a set of computer-executable instructions for performing a data reading method when the instructions are executed.
In an embodiment of the invention the computer readable storage medium comprises a set of computer executable instructions which when executed are adapted to retrieve stored data via the memory 12 in the second subsystem 3 when it is determined that the main system is in a non-awake state; transmitting the acquired stored data to the first subsystem 2; the first subsystem 2 is instructed to read the stored data.
Therefore, when the main system is in a non-awakening state, the auxiliary system can also read some data, so that the increase of system power consumption caused by awakening the main system is avoided.
Another aspect of the embodiments of the present invention provides a computer-readable storage medium comprising a set of computer-executable instructions for performing a data storage method when the instructions are executed.
In an embodiment of the invention the computer readable storage medium comprises a set of computer executable instructions which when executed are adapted to retrieve stored data via the memory 12 in the second subsystem 3 when it is determined that the main system is in a non-awake state; transmitting the acquired stored data to the first subsystem 2; instructs the first subsystem 2 to read the stored data
In an embodiment of the present invention, the computer-readable storage medium includes a set of computer-executable instructions, which when executed, are configured to obtain external data through the data receiving module 1 in the first subsystem 2 when it is determined that the main system is in a non-awake state, or receive external data from through the main system when it is determined that the main system is in a awake state; transmitting the acquired external data to the second subsystem 3; the second subsystem 3 is instructed to store the transmitted external data in the memory 12.
Fig. 6 is a schematic diagram of an implementation flow of a data notification method according to an embodiment of the present invention.
As shown in fig. 6, another aspect of the embodiment of the present invention provides a data notification method, applied to an auxiliary system, where the method includes:
step 501, when the main system is judged to be in a non-wake-up state, external data is received through the auxiliary system;
step 502, judging whether the received external data is a notification type supported by the auxiliary system;
step 503, if it is determined that the received external data is of the notification type supported by the auxiliary system, externally notifying the external data of the data content through the auxiliary system;
step 504, if it is determined that the received external data is of a notification type not supported by the auxiliary system, the external data is prompted externally by the auxiliary system.
In this embodiment, first, when it is determined that the main system is in a non-awake state, external data is received through the auxiliary system, where the non-awake state includes a sleep state, and a shutdown state, and the external data includes a phone notification, a sms notification, an application notification, and the like.
Then, it is determined whether the received external data is a notification type supported by the auxiliary system, where the supported notification type is usually preset in the system, for example, a short message notification function, a positioning notification function, a plurality of cooperative third party applications and the like are preset in a mobile phone operating system on the market, and the corresponding data of the short message notification type, the positioning notification type and the plurality of application notifications are data supported by the auxiliary system, and the other external data are data not supported by the auxiliary system, but the data may be data supported by the main system. The specific procedure of this step can therefore be: and acquiring and judging the notification type of the external data, and comparing the acquired notification type with the notification type preset in the system to judge whether the external data is supported by the system.
And then if the received external data is judged to be the notification type supported by the auxiliary system, carrying out external notification on the data content in the external data through the auxiliary system, wherein the external notification is specifically to display the data content on a screen in the embodiment, or broadcast the data content externally through a sounder, or transmit the data content to other equipment through a network.
If the received external data is judged to be the notification type which is not supported by the auxiliary system, external prompt is carried out on the external data through the auxiliary system, wherein the external prompt specifically comprises the steps of displaying a message notification prompt on a screen, broadcasting the message notification prompt or a lamplight prompt on a sounder in the embodiment so as to indicate that the receiving of the notification message arrives, and the data content in the notification message is not displayed. For the type of notification not supported by the auxiliary system, the user can actively wake the main system to view or process the notification according to the notification prompt.
Therefore, when the main system is in a non-awakening state, once external data is received, the auxiliary system can be used for screening the notification types and displaying the notification types in a targeted manner according to the notification types, the main system is not awakened, the power consumption of the system is reduced, and the duration of the system is prolonged.
In one embodiment, when the main system is determined to be in the non-awake state, the method further includes, during the process of receiving external data by the auxiliary system:
and cutting off the communication connection between the main system and the outside so that the auxiliary system receives all the outside data.
In this embodiment, in the process of executing step 501, the communication connection between the main system and the outside is cut off, so that the data receiving module 1 in the main system is prevented from receiving the outside data, thereby causing the main system to be awakened, and further enabling the auxiliary system to receive all the outside data.
Further, as shown in fig. 1, the steps specifically include: the communication connection between the main system and the outside is cut off through the switch module which is in communication connection with both the main system and the auxiliary system, and the data receiving module 1 in the auxiliary system is driven to receive all the outside messages.
In an embodiment, the auxiliary system comprises a first subsystem 2 and a second subsystem 3;
receiving, by the auxiliary system, external data, comprising:
receiving external data through a data receiving module 1 of a first subsystem 2;
correspondingly, the external notification of the data content of the external data in the auxiliary system comprises the following steps:
displaying the data content of the external data on the screen of the second subsystem 3;
correspondingly, external prompt is carried out in the auxiliary system aiming at external data, and the method comprises the following steps:
and carrying out external prompt on the screen of the second subsystem 3 aiming at external data.
In this embodiment, as shown in connection with fig. 1, the auxiliary system comprises a first subsystem 2 and a second subsystem 3.
In connection with fig. 1, the specific procedure of step 501 is thus: the external data is received by the data receiving module 1 of the first subsystem 2. The method comprises the following steps: further, the received external data is transferred to the first service module 5 through the first hardware interface module 4 and the first hardware abstraction layer 6. The first service module 5 extracts the data content of the external data and transmits the data content to the second subsystem 3. The second subsystem 3 transmits the data content to the second service module through the third hardware abstraction layer 10, and the second service module is utilized to judge the notification type of the data content and perform the shell processing on the data content.
Accordingly, the specific process of step 503 is: if the notification type is a supported type, the data content is displayed on the screen through the fourth hardware abstraction layer 11 and the second hardware interface module 8.
The specific process of step 504 is: if the notification type is not supported, the screen is made to display message prompt information.
In an embodiment, externally notifying the data content of the external data in the auxiliary system includes:
and extracting the key display content from the data content, and displaying the extracted key display content on a screen of the auxiliary system.
In this embodiment, in order to apply the method to a small screen or a device with a low resolution, the extraction of the key display content in the data content is required, and the extraction mode may be implemented through a trained neural network model, where the training of the neural network model generally includes the following steps:
and taking the related training corpus and the corresponding result as input of the neural network model to obtain an output result, and if the deviation between the output result and the corresponding real result is larger, continuing training the language until the deviation between the output result and the corresponding real result is within a preset range.
The extracted highlighting is then displayed on the screen of the auxiliary system, in particular on the OLED screen in the second subsystem 3, in connection with fig. 1.
In an embodiment, the external prompting is performed on external data in the auxiliary system, including:
an unread message prompt and icon information corresponding to the data content are displayed on a screen within the auxiliary system.
In this embodiment, step 504 specifically includes: an unread message prompt and icon information corresponding to the data content are displayed on a screen within the auxiliary system. The icon information may be included in the data content, or some icon information corresponding to the type of unsupported notification may be stored in advance in the auxiliary system, and the unread message prompt may be displayed while the corresponding chart information is extracted from the data content or the corresponding icon information is selected from the system according to the type of notification, and displayed on the screen.
Fig. 7 is a schematic structural diagram of a data notification device according to an embodiment of the present invention.
As shown in fig. 7, another aspect of the embodiment of the present invention provides a data notification device, which is applied to an auxiliary system, and the device includes:
the external data receiving module 601 is configured to receive external data through the auxiliary system when it is determined that the main system is in a non-awake state;
A notification type judging module 602, configured to judge whether the received external data is a notification type supported by the auxiliary system;
an external notification module 603, configured to, if the notification type judging module 602 judges that the received external data is of a notification type supported by the auxiliary system, notify the external of the data content of the external data through the auxiliary system;
the external prompting module 604 is configured to prompt the external data through the auxiliary system if the notification type judging module 602 judges that the received external data is of a notification type that is not supported by the auxiliary system.
In this embodiment, when the external data receiving module 601 determines that the main system is in a non-wake state, external data is received through the auxiliary system, where the non-wake state includes a sleep state, a sleep state and a power-off state, and the external data includes a phone notification, a short message notification, an application notification, and the like.
Then, the notification type determining module 602 determines whether the received external data is a notification type supported by the auxiliary system, where the supported notification type is usually preset in the system, for example, a short message notification function, a positioning notification function, some collaborative third party applications and the like will be preset in a mobile phone operating system on the market, the corresponding short message notification type, positioning notification type and some application notification data are the data supported by the auxiliary system, and the other external data are the data not supported by the auxiliary system, but the data are the data supported by the main system. The specific procedure of this step can therefore be: and acquiring and judging the notification type of the external data, and comparing the acquired notification type with the notification type preset in the system to judge whether the external data is supported by the system.
Then, if the notification type judging module 602 judges that the received external data is the notification type supported by the auxiliary system, the external notification module 603 performs external notification on the data content in the external data through the auxiliary system, where the external notification is specifically that the data content is displayed on a screen in the embodiment, or the data content is broadcasted externally through a sounder, or the data content is transmitted to other devices through a network.
If the notification type judging module 602 judges that the received external data is of a notification type not supported by the auxiliary system, the external prompting module 604 prompts the external data to the external data through the auxiliary system, wherein the external prompting is specifically to display a message notification prompt on a screen, broadcast a message notification prompt on a sounder or a light prompt in the embodiment so as to indicate that the notification message is received, but not display the data content therein. For notification types not supported by the auxiliary system, the user can actively wake the main system to view or process the notification types.
Therefore, when the main system is in a non-awakening state, once external data is received, the auxiliary system can be used for screening the notification types and displaying the notification types in a targeted manner according to the notification types, the main system is not awakened, the power consumption of the system is reduced, and the duration of the system is prolonged.
In an embodiment, the external data receiving module 601 is further specifically configured to, during the process of receiving external data through the auxiliary system:
and cutting off the communication connection between the main system and the outside so that the auxiliary system receives all the outside data.
In this embodiment, the external data receiving module 601 is further specifically configured to cut off communication connection between the main system and the outside during execution, so as to avoid that the data receiving module 1 in the main system receives external data, thereby causing the main system to be awakened, and further enabling the auxiliary system to receive all external data.
In one embodiment, the external notification module 603 is specifically configured to:
and extracting the key display content from the data content, and displaying the extracted key display content on a screen of the auxiliary system.
In this embodiment, in order to apply the method to a small screen or a device with a low resolution, the external notification module 603 is specifically configured to extract the key display content in the data content, where the extraction mode may be implemented by a trained neural network model, and the training of the neural network model generally includes the following steps:
the extracted highlighting is then displayed on the screen of the auxiliary system, in particular on the OLED screen in the second subsystem 3, in connection with fig. 1.
In one embodiment, the external prompting module 604 is specifically configured to:
an unread message prompt and icon information corresponding to the data content are displayed on a screen within the auxiliary system.
In this embodiment, the external prompt module 604 is specifically configured to: an unread message prompt and icon information corresponding to the data content are displayed on a screen within the auxiliary system. The icon information may be included in the data content, or some icon information corresponding to the type of unsupported notification may be stored in advance in the auxiliary system, and the unread message prompt may be displayed while the corresponding chart information is extracted from the data content or the corresponding icon information is selected from the system according to the type of notification, and displayed on the screen.
Another aspect of the embodiments of the present invention provides a computer-readable storage medium comprising a set of computer-executable instructions for performing a data notification method when the instructions are executed.
In an embodiment of the invention, a computer-readable storage medium includes a set of computer-executable instructions that, when executed, are configured to receive, by an auxiliary system, external data when it is determined that a primary system is in a non-awake state; judging whether the received external data is of a notification type supported by the auxiliary system; if the received external data is judged to be the notification type supported by the auxiliary system, the external notification is carried out on the data content in the external data through the auxiliary system; if the received external data is judged to be the notification type which is not supported by the auxiliary system, the external data is externally prompted through the auxiliary system.
Therefore, when the main system is in a non-awakening state, once external data is received, the auxiliary system can be used for screening the notification types and displaying the notification types in a targeted manner according to the notification types, the main system is not awakened, the power consumption of the system is reduced, and the duration of the system is prolonged.
Fig. 8 is a schematic diagram of an implementation flow of a communication handover method according to an embodiment of the present invention.
As shown in fig. 8, another aspect of the embodiment of the present invention provides a communication switching method, where the method includes:
step 701, when the main system is judged to be in a non-wake-up state, external data is received through the auxiliary system;
step 702, judging the notification type of the received external data;
in step 703, if it is determined that the notification type of the received external data is a specific notification type, the host system is awakened, and instructed to process the external data.
In this embodiment, first, when it is determined that the main system is in a non-awake state, external data is received through the auxiliary system, where the non-awake state includes a sleep state, and a shutdown state, and the external data includes a phone notification, a sms notification, an application notification, and the like.
Then, the notification type of the received external data is determined, wherein the notification type is usually preset in the system, such as a short message notification type, a telephone notification type, a third party application notification type, and the like.
And then, if the received notification type of the external data is determined to be the specific notification type, waking up the main system and indicating the main system to process the external data. The specific notification type is defined as a notification type which can only be processed by the main system or a specific notification type which is difficult to be processed by the auxiliary system in the embodiment, and the specific notification type can be set in the system in advance, for example, the type of instant messaging such as a telephone notification type, a short message notification type and the like can be used as the specific notification type, and certain third party applications can be added by the user as the specific notification type. The method for indicating the main system to process the external data specifically comprises the following steps: if the specific notification type is a telephone notification type, the main system is instructed to answer, hang up and other operations; if the specific notification type is a short message notification type, the main system is instructed to read, delete, reply and other operations.
Therefore, the external data is judged in type, if the external data is of a specific notification type, the external data is submitted to the main system to be processed, so that all the external data can be processed.
Further, as shown in fig. 1, when the switch module determines that the main system is in the non-wake-up state, the data receiving module 1 in the auxiliary system receives external data, and then transmits the external data to the first service module 5, and determines whether the external data is of a specific notification type through the first service module 5, if the external data is determined to be of the specific notification type, the switch module wakes up the main system, and instructs the main system to process the specific notification type.
In an embodiment, the method further comprises:
and if the received notification type of the external data is judged to be the common notification type, the auxiliary system is instructed to process the external data.
In this embodiment, if it is determined that the notification type of the received external data is a general notification type, the auxiliary system is instructed to process the external data, wherein the general notification type is defined as a notification type other than a specific notification type in this embodiment, for example, a calendar notification, an alarm notification, and the like.
Further, in connection with fig. 1, the generic notification type is handled in a second service module in the second subsystem 3.
In one embodiment, instructing the auxiliary system to process the external data includes:
the auxiliary system is instructed to inform the outside of the external data.
In this embodiment, referring to fig. 1, the specific process of "instructing the auxiliary system to process the external data" is as follows: the data receiving module 1 in the first subsystem 2 is instructed to receive external data, the first subsystem 2 transmits the external data to the second subsystem 3, and the second subsystem 3 informs the outside according to the data content of the external data, wherein the outside informing mode can be a bright screen display informing mode and can be used for reminding an alarm clock; the method can also be used for informing in a voice broadcasting mode and can be used for reminding a memo; the method can also be informed in an external information transmission mode and can be used for transmitting some intermediate data.
In one embodiment, in the process of waking up the host system and instructing the host system to process external data, the method further includes:
disconnecting the auxiliary system from the outside communication;
after the processing of the main system is completed, or when the main system enters a non-wake state, the auxiliary system reestablishes a communication connection with the outside world.
In this embodiment, in the process of waking up the main system and indicating the main system to process external data, the communication connection between the auxiliary system and the external is disconnected, and in connection with fig. 1, specifically, the communication connection between the data receiving module 1 and the external is disconnected, when the main system is processed, or when the main system enters a non-wake-up state, the switch module determines that the main system is in the non-wake-up state, and drives the data receiving module 1, that is, the auxiliary system, to establish communication connection with the external again.
In one embodiment, waking up the host system and instructing the host system to process external data includes:
and waking up a classical Bluetooth module in the main system by using the switch module, and indicating the classical Bluetooth module to process external data.
In this embodiment, the switch module is in communication connection with the main system and the auxiliary system respectively, and is specifically configured to obtain a working state of the main system and control respective communication connections of the main system and the auxiliary system, where the working state includes an awake state and a non-awake state, and the non-awake state further includes a sleep state, a sleep state and a shutdown state.
The classical Bluetooth module is preset in the main system and is mainly used for communicating with the outside. If the external data is judged to be of a specific notification type and the specific notification type is a call type, the classical Bluetooth module is utilized to perform processes such as answering, hanging up or suspending.
Fig. 9 is a schematic structural diagram of a communication switching device according to an embodiment of the invention.
As shown in fig. 9, another aspect of the embodiment of the present invention provides a communication switching apparatus, including:
the external data receiving module 801 is configured to receive external data through the auxiliary system when it is determined that the main system is in a non-awake state;
a notification type judging module 802, configured to judge a notification type of the received external data;
the first data processing module 803 is configured to wake up the host system and instruct the host system to process the external data when the notification type of the received external data is determined to be a specific notification type by the notification type determining module 802.
In this embodiment, when the external data receiving module 801 determines that the main system is in a non-wake state, external data is received through the auxiliary system, where the non-wake state includes a sleep state, and a power-off state, and the external data includes a phone notification, a sms notification, an application notification, and the like.
The notification type of the received external data is then determined by the notification type determining module 802, where the notification type is typically a preset notification type in the system, such as a sms notification type, a phone notification type, a third party application notification type, etc.
When the notification type of the received external data is determined to be a specific notification type by the notification type determining module 802, the first data processing module 803 wakes up the host system, and instructs the host system to process the external data. The specific notification type is defined as a notification type which can only be processed by the main system or a specific notification type which is difficult to be processed by the auxiliary system in the embodiment, and the specific notification type can be set in the system in advance, for example, the type of instant messaging such as a telephone notification type, a short message notification type and the like can be used as the specific notification type, and certain third party applications can be added by the user as the specific notification type. The method for indicating the main system to process the external data specifically comprises the following steps: if the specific notification type is a telephone notification type, the main system is instructed to answer, hang up and other operations; if the specific notification type is a short message notification type, the main system is instructed to read, delete, reply and other operations.
Therefore, the external data is judged in type, if the external data is of a specific notification type, the external data is submitted to the main system to be processed, so that all the external data can be processed.
In an embodiment, the apparatus further comprises:
the second data processing module 804 is configured to instruct the auxiliary system to process the external data if it is determined that the notification type of the received external data is a normal notification type.
In this embodiment, if the notification type of the received external data is determined to be a normal notification type by the notification type determining module 802, the second data processing module 804 instructs the auxiliary system to process the external data, wherein the normal notification type is defined as a notification type other than a specific notification type in this embodiment, such as a calendar notification, an alarm notification, and the like.
In an embodiment, the second data processing module 804 is specifically configured to:
the auxiliary system is instructed to inform the outside of the external data.
In this embodiment, as shown in fig. 1, the second data processing module 804 is specifically configured to: the data receiving module 1 in the first subsystem 2 is instructed to receive external data, the first subsystem 2 transmits the external data to the second subsystem 3, and the second subsystem 3 informs the outside according to the data content of the external data, wherein the outside informing mode can be a bright screen display informing mode and can be used for reminding an alarm clock; the method can also be used for informing in a voice broadcasting mode and can be used for reminding a memo; the method can also be informed in an external information transmission mode and can be used for transmitting some intermediate data.
In an embodiment, the first data processing module 803 is specifically configured to:
and waking up a classical Bluetooth module in the main system by using the switch module, and indicating the classical Bluetooth module to process external data.
In this embodiment, the switch module is in communication connection with the main system and the auxiliary system respectively, and is specifically configured to obtain a working state of the main system and control respective communication connections of the main system and the auxiliary system, where the working state includes an awake state and a non-awake state, and the non-awake state further includes a sleep state, a sleep state and a shutdown state.
The classical Bluetooth module is preset in the main system and is mainly used for communicating with the outside. If the external data is judged to be of a specific notification type and the specific notification type is a call type, the classical Bluetooth module is utilized to perform processes such as answering, hanging up or suspending.
Another aspect of the embodiments of the present invention provides a computer-readable storage medium comprising a set of computer-executable instructions for performing a communication handover method when the instructions are executed.
In an embodiment of the invention, a computer-readable storage medium includes a set of computer-executable instructions that, when executed, are configured to receive, by an auxiliary system, external data when it is determined that a primary system is in a non-awake state; judging the notification type of the received external data; if the received notification type of the external data is determined to be the specific notification type, waking up the main system and indicating the main system to process the external data.
Therefore, the external data is judged in type, if the external data is of a specific notification type, the external data is submitted to the main system to be processed, so that all the external data can be processed.
In the description of the present specification, a description referring to terms "one embodiment," "some embodiments," "examples," "specific examples," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present invention. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, the different embodiments or examples described in this specification and the features of the different embodiments or examples may be combined and combined by those skilled in the art without contradiction.
Furthermore, the terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include at least one such feature. In the description of the present invention, the meaning of "a plurality" is two or more, unless explicitly defined otherwise.
The foregoing is merely illustrative embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think about variations or substitutions within the technical scope of the present invention, and the invention should be covered. Therefore, the protection scope of the invention is subject to the protection scope of the claims.

Claims (8)

1. A data reading method applied to an auxiliary system, wherein the auxiliary system comprises a first subsystem and a second subsystem which are in communication connection with each other, the method comprising:
acquiring stored data through a memory in the second subsystem when the main system is judged to be in a non-wake-up state;
transmitting the acquired stored data to the first subsystem;
instruct the first subsystem to read the stored data;
wherein said instructing said first subsystem to read said stored data comprises:
instructing the first subsystem to shell the received stored data to obtain specific data only for the first subsystem to apply;
and instructing the first subsystem to read the obtained specific data.
2. A data storage method applied to an auxiliary system, wherein the auxiliary system comprises a first subsystem and a second subsystem which are communicatively connected to each other, the method comprising:
When the main system is judged to be in a non-wake-up state, external data are acquired through a data receiving module in the first subsystem,
or when the main system is judged to be in the wake-up state, external data is received through the main system;
transmitting the acquired external data to the second subsystem;
instructing the second subsystem to store the external data obtained by transmission into a memory;
the data receiving module is a low-power consumption Bluetooth module;
correspondingly, the acquiring the external data through the data receiving module in the first subsystem includes:
external data are acquired through equipment paired with the low-power consumption Bluetooth module;
the main system comprises a classical Bluetooth module;
correspondingly, the external data is received from the main system, and the method specifically comprises the following steps:
and acquiring external data from equipment paired with the classical Bluetooth module in the main system.
3. The method of claim 2, wherein during bluetooth pairing, the method further comprises:
when the main system is judged to be in an awakening state, pairing is carried out on the equipment through a classical Bluetooth module in the main system, and the low-power-consumption Bluetooth module loses a pairing function;
When the main system is judged to be in a non-awakening state, the low-power-consumption Bluetooth module in the auxiliary system is paired with equipment, and the classical Bluetooth module loses the pairing function.
4. The method according to claim 2, wherein the method further comprises:
in a state that the classical Bluetooth module is paired with the equipment, if the main system is switched to a non-wake-up state in a wake-up state, the classical Bluetooth module is disconnected with the paired equipment;
and indicating the low-power consumption Bluetooth module to send a pairing request instruction to the equipment to be paired.
5. A data reading device for use in an auxiliary system, the auxiliary system comprising a first subsystem and a second subsystem communicatively coupled to each other, the device comprising:
the stored data acquisition module is used for acquiring stored data through a memory in the second subsystem when the main system is judged to be in a non-awakening state;
the stored data transmission module is used for transmitting the acquired stored data to the first subsystem;
a stored data reading module, configured to instruct the first subsystem to read the stored data;
the stored data reading module is specifically configured to: instructing the first subsystem to shell the received stored data to obtain specific data only for the first subsystem to apply; and instructing the first subsystem to read the obtained specific data.
6. A data storage device for use in an auxiliary system, the auxiliary system comprising a first subsystem and a second subsystem communicatively coupled to each other, the device comprising:
an external data acquisition module for acquiring external data through a data receiving module in the first subsystem when the main system is judged to be in a non-wake-up state,
or when the main system is judged to be in the wake-up state, external data is received through the main system;
the external data transmission module is used for transmitting the acquired external data to the second subsystem;
the external data storage module is used for indicating the second subsystem to store the external data obtained by transmission into a memory;
the data receiving module is a low-power consumption Bluetooth module; the main system comprises a classical Bluetooth module;
the external data acquisition module is specifically configured to: external data are acquired through equipment paired with the low-power consumption Bluetooth module; and acquiring external data from equipment paired with the classical Bluetooth module in the main system.
7. A computer readable storage medium comprising a set of computer executable instructions for performing the data reading method of claim 1 when the instructions are executed.
8. A computer readable storage medium comprising a set of computer executable instructions for performing the data storage method of any of claims 2-4 when the instructions are executed.
CN202010274261.8A 2020-04-09 2020-04-09 Data reading and storing method, device and computer readable storage medium Active CN111586653B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202010274261.8A CN111586653B (en) 2020-04-09 2020-04-09 Data reading and storing method, device and computer readable storage medium
PCT/CN2020/138377 WO2021203737A1 (en) 2020-04-09 2020-12-22 Data processing method and apparatus, and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010274261.8A CN111586653B (en) 2020-04-09 2020-04-09 Data reading and storing method, device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN111586653A CN111586653A (en) 2020-08-25
CN111586653B true CN111586653B (en) 2023-04-28

Family

ID=72124323

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010274261.8A Active CN111586653B (en) 2020-04-09 2020-04-09 Data reading and storing method, device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN111586653B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021203737A1 (en) * 2020-04-09 2021-10-14 出门问问信息科技有限公司 Data processing method and apparatus, and computer readable storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1782956A (en) * 2004-11-23 2006-06-07 微软公司 Waking a main computer system to pre-fetch data for an auxiliary computing device
CN1866161A (en) * 2004-06-10 2006-11-22 马维尔国际贸易有限公司 Separate operating system stored in separation NV memory and executed during HP and LP mode
CN104035877A (en) * 2013-01-29 2014-09-10 三星电子株式会社 Apparatus and method for managing memory of mobile terminal
CN104685937A (en) * 2012-09-28 2015-06-03 三星电子株式会社 Low energy short range communication function operation method and apparatus of mobile terminal
KR20160111786A (en) * 2015-03-17 2016-09-27 삼성전자주식회사 Method for power saving in electronic device and electronic device thereof
CN107126202A (en) * 2017-03-31 2017-09-05 上海掌门科技有限公司 A kind of heart rate anomaly data detection and the method and intelligent watch of prompting
CN107491160A (en) * 2017-06-22 2017-12-19 深圳天珑无线科技有限公司 A kind of application method of dual operating systems, storage device and intelligent terminal

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7421602B2 (en) * 2004-02-13 2008-09-02 Marvell World Trade Ltd. Computer with low-power secondary processor and secondary display
KR20190108364A (en) * 2018-03-14 2019-09-24 삼성전자주식회사 Electronic apparatus and operating method thereof

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1866161A (en) * 2004-06-10 2006-11-22 马维尔国际贸易有限公司 Separate operating system stored in separation NV memory and executed during HP and LP mode
CN1782956A (en) * 2004-11-23 2006-06-07 微软公司 Waking a main computer system to pre-fetch data for an auxiliary computing device
CN104685937A (en) * 2012-09-28 2015-06-03 三星电子株式会社 Low energy short range communication function operation method and apparatus of mobile terminal
CN104035877A (en) * 2013-01-29 2014-09-10 三星电子株式会社 Apparatus and method for managing memory of mobile terminal
KR20160111786A (en) * 2015-03-17 2016-09-27 삼성전자주식회사 Method for power saving in electronic device and electronic device thereof
CN107126202A (en) * 2017-03-31 2017-09-05 上海掌门科技有限公司 A kind of heart rate anomaly data detection and the method and intelligent watch of prompting
CN107491160A (en) * 2017-06-22 2017-12-19 深圳天珑无线科技有限公司 A kind of application method of dual operating systems, storage device and intelligent terminal

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
无线传感器网络节点低功耗设计策略;涂巧玲等;《电子测量技术》(第01期);全文 *

Also Published As

Publication number Publication date
CN111586653A (en) 2020-08-25

Similar Documents

Publication Publication Date Title
US20240098646A1 (en) Bandwidth part switching method and apparatus
CN109496452B (en) Power-saving signal monitoring method and device
CN102138284B (en) Sleep mode for mobile communication device
CN110730504B (en) Paging indication method, device and system
CN112075104B (en) Power saving method, power saving signal configuration device and storage medium
CN105912392A (en) Method, device and mobile terminal for calendar reminding
JP5741095B2 (en) Wireless communication apparatus and power saving control method
JP2014044483A (en) Information processing device, information processing method, and program
KR20150042486A (en) Operating Method For Communication Service And Electronic Device supporting the same
WO2020006711A1 (en) Message playing method and terminal
CN113133095B (en) Method for reducing power consumption of mobile terminal and mobile terminal
WO2015043505A1 (en) Method, apparatus, and system for sending and receiving social network information
CN105263182A (en) Equipment control method, device and terminal
CN111586653B (en) Data reading and storing method, device and computer readable storage medium
CN111586652B (en) Communication switching method, device and computer readable storage medium
CN111601372B (en) Data processing device
CN111538400A (en) Data notification method and device and computer readable storage medium
JP2001186571A (en) Wireless communication system and its control method
CN110621057B (en) Information transmission method, network equipment and terminal
KR20050023822A (en) Method for performing low power mode in mobile communication terminal
CN113271385B (en) Call forwarding method
JP2012060329A (en) Remote operation system, communication device, imaging device, control method for remote operation system, control method for communication device, control method for imaging device, and program
WO2021203737A1 (en) Data processing method and apparatus, and computer readable storage medium
CN111176598B (en) Multimedia apparatus and output method, and processing apparatus and control method
JP5041850B2 (en) Telephone 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