A kind of realtime communication system and method for intelligent wearable device
Technical field
The present invention relates to the communications field, especially a kind of realtime communication systems and method for intelligent wearable device.
Background technology
In intelligent wearable device, since equipment volume is small, power supply capacity generally also very little, however intelligence wearing is set
Standby to need to acquire various signals at any time, such as positioning signal, human heart rate etc., processor and communication chip are often in work
State, however can cause that power consumption is big, and equipment is extremely short cruise duration, needs frequent charge in this way.
In view of the above-mentioned problems, the solution in industry is by timing acquiring, but the mode of timing acquiring can not and
When response remote service end request of data, therefore meet the requirement of real-time.
Invention content
In order to solve the above-mentioned technical problem, the purpose of the present invention is:A kind of obtaining in real time for intelligent wearable device is provided
Take the communication system of upstream data.
In order to solve the above-mentioned technical problem, it is another object of the present invention to:A kind of reality for intelligent wearable device is provided
When obtain upstream data the means of communication.
The technical solution adopted in the present invention is:A kind of realtime communication system for intelligent wearable device includes
First processor for the data of sensing module in timing acquiring intelligent wearable device, while judges memory module
Identifier, if identifier is TRUE, memory module is written into the data of acquisition;If identifier is FALSE, by acquisition
Data are sent directly to second processor;
Second processor, for time opening down going channel, if receiving data requesting instructions, turn-on data receiving terminal and
Data feedback channel, the data for receiving and forwarding first processor to send, while the identifier of memory module is set to FALSE, it will deposit
Then the identifier of memory module is set to TRUE by Chu Mo all data forwardings in the block to server;If serverless backup instructs,
Close down going channel;
Memory module includes the identifier for identifying read-write state and the memory block for storing data;
Communication module, for the data requesting instructions that server is sent out to be forwarded to second processor and by second processing
The data forwarding that device is sent is to server;
Server for transmission data request instruction and receives data.
Further, the data of the sensing module include location data.
Further, the positioning signal include satellite positioning signal, LBS base station locations signal, WIFI positioning signals and
The signal of acceleration transducer, it is fixed to satellite positioning signal, LBS base station locations signal, WIFI that the first processor is additionally operable to
The signal of position signal and acceleration transducer carries out data fusion.
Further, the communication module includes GPRS communication module and/or WIFI communication module.
Further, the first processor is more than second processor for timing for the timed interval of timing acquiring
Open the timed interval of down going channel.
Another technical solution of the present invention is:A kind of real-time communication method for intelligent wearable device, including
There are following steps:
By the data of sensing module in first processor timing acquiring intelligent wearable device, while judge memory module
If identifier is TRUE, memory module is written in the data of acquisition by identifier;If identifier is FALSE, by the number of acquisition
According to being sent directly to second processor;
By second processor time opening down going channel, if the data that the server for receiving communication module forwarding is sent out
Request instruction, turn-on data receiving terminal and data feedback channel, the data for receiving and first processor being forwarded to send by communication module
FALSE is set to server, while by the identifier of memory module, by all data forwardings in memory module to server,
Then the identifier of memory module is set to TRUE;If serverless backup instructs, down going channel is closed.
Further, in the first processor timing acquiring intelligent wearable device after the data of sensing module, to sensing mould
The data of block carry out Data Fusion;The data of the sensing module include satellite positioning signal, LBS base station locations letter
Number, the signal of WIFI positioning signals and acceleration transducer.
Further, the communication module is wireless communication module.
Further, the first processor is more than second processor for timing for the timed interval of timing acquiring
Open the timed interval of down going channel.
Further, also it is stored with device id code in the memory module.
The advantageous effect of system and method for the present invention is:Gathered data is respectively used to by two processors and control uploads
Data procedures;First processor can be acquired with the high-frequency data of Timing Processing, but without receiving wake-up signal when standby;
Second processor can be with relatively low frequency timing receipt downlink signal;Meanwhile only data feedback channel is opened when needed, number
Short according to the opening time of channel, utilization rate is high, ensures to reduce power consumption while data transmission real-time.
Description of the drawings
Fig. 1 is the structure diagram of present system;
Fig. 2 is the step flow chart of the method for the present invention.
Specific embodiment
The specific embodiment of the present invention is described further below in conjunction with the accompanying drawings:
With reference to Fig. 1, a kind of realtime communication system for intelligent wearable device includes
First processor for the data of sensing module in timing acquiring intelligent wearable device, while judges memory module
Identifier, if identifier is TRUE, memory module is written into the data of acquisition;If identifier is FALSE, by acquisition
Data are sent directly to second processor;
Second processor, for time opening down going channel, if receiving data requesting instructions, turn-on data receiving terminal and
Data feedback channel, the data for receiving and forwarding first processor to send, while the identifier of memory module is set to FALSE, it will deposit
Then the identifier of memory module is set to TRUE by Chu Mo all data forwardings in the block to server;If serverless backup instructs,
Close down going channel;
Memory module includes the identifier for identifying read-write state and the memory block for storing data;
Communication module, for the data requesting instructions that server is sent out to be forwarded to second processor and by second processing
The data forwarding that device is sent is to server;
Server for transmission data request instruction and receives data.
Under normal conditions, the process of first processor transmission data is first to receive wake-up signal, is uploaded in turn-on data, because
This, which receives wake-up signal, needs some port of processor to carry out data decryptor, therefore processor can not accomplish real low-power consumption
Suspend mode.In the present invention, first processor only needs to set timing acquiring data by timer and data is written, and is called out without receiving
Awake signal, can determine whether to need to send data to second processing when data are written by reading the identifier of memory
Device.Wherein, identifier represents that second processor and communication module are in idle condition for TRUE, and first processor will acquire at this time
Data are stored into memory module;Identifier represents that second processor and communication module are in running order for FALSE, at second
Reason device is reading the data in memory module, and gathered data is sent directly to second processor by first processor at this time.
Correspondingly, second processor sends wake-up signal also without to first processor, by the mark for reading memory
Will symbol is that can determine whether to need turn-on data receiving terminal, and the two combines to be equivalent to and improves the previous real-time wake-up signal that sends
For non real-time read-write identifier, realize that signal transmits by the identifier in memory module.Although first processor after improving
It is non real-time with second processor read-write identifier, but actually due to the data that first processor is forwarded to send in the present invention
It is carried out at the same time with the data for reading memory module, therefore during data channel unlatching, data transmission efficiency is far above existing
Transmission plan, so as to avoid first processor and second processor read-write identifier to influence caused by non real-time.
Preferred embodiment is further used as, the data of the sensing module include location data.
Preferred embodiment is further used as, the positioning signal includes satellite positioning signal, LBS base station locations letter
Number, the signal of WIFI positioning signals and acceleration transducer, the first processor is additionally operable to satellite positioning signal, LBS bases
The signal for the positioning signal, WIFI positioning signals and acceleration transducer of standing carries out data fusion.
Preferred embodiment is further used as, the communication module includes GPRS communication module and/or WIFI communication
Module.
Preferred embodiment is further used as, the first processor is more than for the timed interval of timing acquiring
Second processor is used for the timed interval of time opening down going channel.
Since first processor need not receive wake-up signal, the timed interval of bigger can be set.
With reference to Fig. 2, a kind of real-time communication method for intelligent wearable device includes following steps:
By the data of sensing module in first processor timing acquiring intelligent wearable device, while judge memory module
If identifier is TRUE, memory module is written in the data of acquisition by identifier;If identifier is FALSE, by the number of acquisition
According to being sent directly to second processor;
By second processor time opening down going channel, if the data that the server for receiving communication module forwarding is sent out
Request instruction, turn-on data receiving terminal and data feedback channel, the data for receiving and first processor being forwarded to send by communication module
FALSE is set to server, while by the identifier of memory module, by all data forwardings in memory module to server,
Then the identifier of memory module is set to TRUE;If serverless backup instructs, down going channel is closed.
It is further used as preferred embodiment, sensing module in the first processor timing acquiring intelligent wearable device
Data after, Data Fusion is carried out to the data of sensing module;The data of the sensing module include satellite positioning letter
Number, the signal of LBS base station locations signal, WIFI positioning signals and acceleration transducer.
Preferred embodiment is further used as, the communication module is wireless communication module.
Preferred embodiment is further used as, the first processor is more than for the timed interval of timing acquiring
Second processor is used for the timed interval of time opening down going channel.
Preferred embodiment is further used as, device id code is also stored in the memory module.
It is that the preferable of the present invention is implemented to be illustrated, but the invention is not limited to the implementation above
Example, those skilled in the art can also make various equivalents under the premise of without prejudice to spirit of the invention or replace
It changes, these equivalent deformations or replacement are all contained in the application claim limited range.