Background technology
Existing Internet of Things communication relates generally to take the internet and to be the remote public information transmission network of representative, the collection of Proximity Sensor information take Zigbee network as representative and collection and the wireless transmission of wireless transmission and the closely identification take active electronic label as representative and locating information.
Existing various public information transmission network, technology are relatively ripe.And public network is following from several meters low costs in the kilometer range, and the wireless short-distance transmission of low-power consumption then becomes the key of current Internet of Things communication, still has the problem of many needs solutions.
Zigbee network utilizes self dynamic group net, the feature of dynamic routing and mesh network communication, and the freedom of information ground of each node transmits in network in the automatic network in the future, in a kind of mode of multipath, improves the reliability of communication.Yet, just because of these characteristics of Zigbee network, so that it in the power consumption of each node, on the cost, and makes great sacrifice on the speed of communication.
Yet in most practical applications, the circuit of communication is known to relatively-stationary, thereby the functions such as dynamic group net and dynamic routing do not have real practical significance.Distant range active electronic tag with 2000 meters transmission ranges and two-way communications capabilities by a star-network, with the many problems that solve easily in the Zigbee network communication, particularly can satisfy a big chunk in the Internet of Things demand.For the most of application demands that only relate to identification and location, bear this work with a Zigbee module, with regard to can not show a candle to general active electronic label come more effectively, more economical.This also is that ZigBee technology comes out for many years, fails the reason that opens up new prospect in practical application area always.
And existing active electronic label is mainly used in the people, remote identification and the management of the targets such as thing and vehicle.Its basic methods is by the mode of radio communication, to read and be identified target electronic tag coding (ID number) with it, call again and be stored in advance control processor, such as computing machine, database in corresponding to the related data of this coding, realize identification and management to target.Thereby the application of this technology must be connected with Relational database in the control processor.
Existing active electronic label generally all adopts the mode of periodically initiatively launching own ID number work.Namely in advance by the internal clocking setting, start the crystal oscillator in the electronic tag and frequently combine the packet information of emission certain-length every certain time interval (for example 1 second, 5 seconds or 10 minutes).For the reason of power saving, often only launch short id information, and then enter sleep state, although this has reduced the working time of system, played to a certain extent the effect that prolongs battery.Yet, make the problem that exists in this way very many, comprise the electromagnetic pollution that causes environment, signal blocks up and mutually mutual interference, the dirigibility of shortage work and adaptability etc.
In order to increase the function of electronic tag, and use dirigibility, the active electronic label that has, the method that has also adopted low-and high-frequency two cover communication systems to work simultaneously.For example, low frequency 125KHz and high frequency 2.4GHz two cover receive-transmit systems have been adopted, the then employing ultra broadband UWB that also has and 2.4GHz two cover receive-transmit systems.The complicacy that this has not only increased label has greatly increased cost, and the effect that can bring into play is also very limited.
In sum, existing active electronic mark, as formulating working group in IEEE active electronic label international standard, recently (in March, 2009, July and September) state in the file that provides the same: " in order to reduce energy consumption, what current most of active labels used all is the mode of unidirectional emission ID.Its unique purpose is identified exactly and is located, and does not consider to block up and the signal collision problem.Active electronic label need to have two-way and ability telecommunication, need to have the ability of processing the magnanimity label, but the power that consumes simultaneously is very low.But the scheme of going back at present the neither one suggestion can address that need.”
Proposition along with the Internet of Things concept, people wish to utilize active electronic label volume simple in structure little, cost is low, the advantage such as low in energy consumption, solve in the Internet of Things communication, how several meters of people or thing and public communication networks between the distance of km, set up a kind of simple and reliablely, radio communication low-cost and low-power consumption contacts this key issue.Write to each other by this, identity identification information and status information (label and sensor information) about people or thing can pass to the relevant control center rapidly.To existing active electronic label, this is a greatly challenge beyond doubt.Except low-power consumption, outside the requirements such as low-cost and operation flexibility, how to solve the signal problem of blocking up, also be a very crucial problem.Although we can work electronic tag by the mode of two-way communication as required, yet, when processing the magnanimity label information, how to reduce the air communication time as far as possible, it is obviously most important to improve air communication efficient.The communication of Internet of Things particularly, only transmit when using compared with general identification one ID number more complex.In the Internet of Things communication, possible communicating pair need to come and go several times just can finish a simple job; And the quantity of information of each transmission is more, and the probability of the re-transmission that makes mistakes is also just higher.This is many power consumptions not only, and also at the crucial moment, crucial place has taken the more time of aerial channels, thereby has increased aerial blocking up, and causes possible phase mutual interference.Therefore, the shortening air communication time seems most important.
Summary of the invention
The objective of the invention is for a kind of active electronic label and application system and method with one or more fixed mode actions is provided, reduce the time of active electronic label air communication as far as possible, with the situation that mitigation signal blocks up, effectively reduce the probability of signal collision and phase mutual interference.
For achieving the above object, the invention provides a kind of system of using active electronic tag, comprising: control processor; Telegon is used for repeating uninterruptedly to send on the first channel waking instruction up; Active electronic label is used for receiving within the time period of listening state and wakes instruction up; Read write line, be connected with control processor, be used for active electronic label receive wake instruction up after, communicate by letter in the foundation of the second channel with active electronic label, and to active electronic label sending action instruction index, wherein, active electronic label comprises: the command reception module is used for receiving the action command index from read write line; Memory module is used for the index that storage sets in advance-action mapping relation; And the action executing module, be used for finding out the action command corresponding with the action command index and execution in index-action mapping relation.
Wherein, the action command index comprises action code and corresponding parameter, and action command comprises control function.
Wherein, corresponding parameter comprises at least one in following group: signal sends channel, signal and sends interval time, transmitted power, signal transmission times, read the numbering of parts of parameter and the numbering that receives the read write line of the signal that active electronic label sends by active electronic label.
Wherein, telegon is the control of controlled processor and carry out work, and perhaps, telegon is to work alone according to the process that sets in advance.
Wherein, telegon and read write line are integrated in the module.
In addition, the present invention also provides the system of another kind of using active electronic tag, comprising: control processor; Telegon is used for repeating uninterruptedly to send command signal on the first channel, and command signal comprises wakes instruction and action command index up; Active electronic label wakes instruction up and is waken up for reception within the time period of listening state, and operates according to the action command index; Wherein, active electronic label comprises: the command reception module is used for receiving the action command index from telegon; Memory module is used for the index that storage sets in advance-action mapping relation; And the action executing module, be used for finding out the action command corresponding with the action command index and execution in index-action mapping relation.
In addition, the present invention also provides a kind of method of using active electronic tag, comprising: step S402: telegon repeats to send wake-up signal uninterruptedly on the first channel; Step S404: active electronic label receives wake-up signal within the time period of listening state; Step S406: read write line is set up at the second channel with active electronic label and is communicated by letter, and to active electronic label sending action instruction index; And step S408: active electronic label receives the action command index from read write line, finds out the action command corresponding with the action command index and execution in the index that sets in advance-action mapping relation.
Wherein, the action command index comprises action code and corresponding parameter, and action command comprises control function.
Wherein, corresponding parameter comprises at least one in following group: signal sends channel, signal and sends interval time, transmitted power, signal transmission times, read the numbering of parts of parameter and the numbering that receives the read write line of the signal that active electronic label sends by active electronic label.
In addition, the invention allows for a kind of active electronic label, comprising: the command reception module is used for receiving the action command index from the outside; Memory module is used for the index that storage sets in advance-action mapping relation; And the action executing module, be used for finding out the action command corresponding with the action command index and execution in index-action mapping relation.
Wherein, the action command index comprises action code and corresponding parameter, and action command comprises control function.
Wherein, corresponding parameter comprises at least one in following group: signal sends channel, signal and sends interval time, transmitted power, signal transmission times, read the numbering of parts of parameter and the numbering that receives the read write line of the signal that active electronic label sends by active electronic label.
A kind of active electronic label and application system and method with one or more fixed mode actions provided by the present invention, prestore in the active electronic label by the program with fixed mode operation, number call this program and carry out by the instruction that wakes up of greatly shortening to active electronic label emission length again, thereby reduced the time of active electronic label air communication, improved the communication efficiency of wireless communication system, alleviate the pressure that signal blocks up, effectively reduced the probability of signal collision and phase mutual interference; In addition, active electronic label can be accomplished to work as required on the basis of two-way communication; Also will the general low cost that only is used for identification, the active electronic label of low-power consumption becomes that can to satisfy the work of Internet of Things communication various, uses flexibly multi-functional label.
Embodiment
A kind of active electronic label and application system and method with one or more fixed mode actions proposed by the invention now describes technical scheme of the present invention in detail with specific embodiment by reference to the accompanying drawings.
At first, in the first embodiment, disclosed a kind of system of using active electronic tag, as shown in Fig. 1, Fig. 2, having comprised: control processor (that is, the network among Fig. 1, Fig. 2 and control computing machine); Telegon is used for repeating uninterruptedly to send command signal on the first channel; Active electronic label was used for (at listening state as shown in Figure 3, when the purpose of active electronic label for power saving, adopting periodic sleep, when reviving the flashy low energy consumption operation mode of rear monitoring signal within the time period of listening state.The time period of the listening state here is exactly the moment of this rear monitoring signal of reviving; The length of this time period depends on active electronic label eliminating invalid signals, or receives the required time of useful signal) the reception command signal; Read write line is connected with control processor, is used for communicating by letter in the foundation of the second channel with active electronic label after active electronic label receives the command signal of setting up with it communication.Active electronic label also comprises: command reception module (not shown) is used for receiving the action command index from read write line; The memory module (not shown) is used for the index that storage sets in advance-action mapping relation; And action executing module (not shown), be used for finding out the action command corresponding with the action command index and execution in index-action mapping relation.
In addition, also disclosed the system of another kind of using active electronic tag, having comprised: control processor (that is, the network among Fig. 1, Fig. 2 and control computing machine); Telegon is used for repeating uninterruptedly to send command signal on the first channel, and described command signal comprises wakes instruction and action command index up; Active electronic label wakes instruction up and is waken up for (at listening state as shown in Figure 3) reception within the time period of listening state, and operates according to the action command index.Preferably, active electronic label also comprises: command reception module (not shown) is used for receiving the action command index from telegon; The memory module (not shown) is used for the index that storage sets in advance-action mapping relation; And action executing module (not shown), be used for finding out the action command corresponding with the action command index and execution in index-action mapping relation.Here, command signal can be a data segment, and first half has been the instruction that wakes up of the effect of waking up, and latter half is the index codes of action command.
In addition, further disclosed a kind of method of using active electronic tag, as shown in Figure 5, having comprised: step S402: telegon repeats to send wake-up signal continuously on the first channel; Step S404: active electronic label receives wake-up signal within the time period of listening state; Step S406: read write line is set up at the second channel with active electronic label and is communicated by letter, and to active electronic label sending action instruction index; And step S408: active electronic label receives the action command index from read write line, finds out the action command corresponding with the action command index and execution in the index that sets in advance-action mapping relation.
In addition, also disclosed a kind of active electronic label, (as shown in Figure 1 and Figure 2) comprising: soft filtering module (not shown) is used for judging whether active electronic label is correct in the address code of waking the signal that channel receives up; And as hard as filter module (not shown), be used for before signal is processed by soft filtering module, in the hardware side signal being filtered, to get rid of invalid signal.
Fig. 1 is the system schematic according to active electronic label of the present invention, and wherein telegon is connected with control processor.Fig. 2 is another system schematic according to active electronic label of the present invention, and wherein telegon and control processor are separated.
As shown in Figure 1 and Figure 2, the system of active electronic label comprises: telegon, read write line, active electronic label and control processor.Wherein, read write line is connected with control processor, and telegon is connected with control processor (as shown in fig. 1) or be separated (as shown in Figure 2).Active electronic label, read write line and telegon have signal receiving strength deixis (RSSI function), comprise respectively low cost, the single-chip microcomputer of the micropower single-chip wireless micro-power transceiver of low-power consumption and control transceiver, perhaps comprise low cost, the micropower of low-power consumption has the one chip of transceiver and function of the MCU, active electronic label both can receive the command signal from telegon, also can communicate with read write line.Frequently being subject to of bringing of the communication mode crystal oscillator self that external interference, temperature variation cause is aging and cause the deviation of crystal oscillator frequency of operation for fear of general arrowband point, and the multipath effect that may exist in the practical application, the problems such as Doppler effect, also be for carrying out more effective hardware filtering to invalid signals simultaneously, power consumption with further reduction electronic tag, and by spread spectrum or coding gain, increase the communication distance between them.Broadband direct sequence spectrum spread communication mode or other coding techniques are adopted in suggestion.Can realize telecommunication between them; Distance is adjustable in the scope of 0.1-2000 rice; Active electronic label can adopt powered battery, such as lithium battery power supply; Can between different channels, switch, as: channel and working channel (the second channel F2) waken up; In order to increase versatility, the international free frequency range of 2.4GHz is adopted in suggestion, also can adopt other frequency ranges; Also can as required, provide the various interface that links to each other with sensor; Control processor is can execution control function and the computing machine that data are processed and stored, single-chip microcomputer or other smart machine.
In addition, read write line can also have the function of telegon simultaneously, thereby make system not need independent telegon, the working method that read write line adopts can be to launch the certain hour wake-up signal of (should surpass at least the sleep cycle of active electronic label launch time) waking channel up first, and then switches on the working channel and communicate by letter with active electronic label.Can bear the data processing identical with control processor and the single-chip microcomputer of the work of storage if having in the read write line, read write line further can also have the function of control processor, thereby makes system not need independent telegon.Therefore, described system also can be comprised of the read write line and the active electronic label that have simultaneously control processor function, coordinator function and read write line function, or is comprised of the read write line, control processor and the active electronic label that have simultaneously coordinator function and read write line function.
Control processor is needing active electronic label to carry out place and the time of a certain task, mode by wired (situation as shown in fig. 1) or wireless (situation as shown in Figure 2) sends indication or message to telegon, the control telegon is waking channel (i.e. the first channel F1) up to one of appointment, or one group, or all active electronic label repeats to send wake-up signal (as shown in Figure 3) uninterruptedly.
Fig. 3 is the working state schematic representation according to active electronic label of the present invention, as shown in Figure 3, most times of active electronic label all are in the holding state of low-power consumption, only be required the when and where of work, when receiving work order, just can enter at short notice the duty of requirement, and after the task of finishing the work, get back to rapidly holding state.When being in holding state, active electronic label periodically is in sleep state or listening state, wherein, when being in sleep state, crystal oscillator and frequency are combined and all are in closed condition, this moment, power consumption was very low, and when being in listening state, crystal oscillator and frequency are combined and all are in opening, this periodic sleep of active electronic label and revive after on the first channel the flashy low power consumpting state of monitoring signal be referred to as holding state, the average working current of general holding state is about about 20uA, depends on sleep cycle, and the method (referring to subsequent calculations) of the invalid signals that adopts filtration.This is the basic status that active electronic label can long term maintenance; And after receiving the telegon work order, jump to and communicate with read write line on the second channel, or carry out the state of other action according to instruction, be called duty, this is the high power consumption state that an electronic tag can only short-term be kept; The sleep cycle of holding state can be set, and the length that the rear monitoring signal time is revived in sleep then depends on active electronic label eliminating invalid signals, or receives the required time of useful signal.And in actual applications, it is considerably less really to need active electronic label to be in time of high power consumption duty, its share that accounts in the total power consumption of general active electronic label is very little, and its main power consumption is the power consumption when active electronic label periodicity monitoring signal, in other words, at every turn revive time of rear monitoring invalid signals of active electronic label is shorter, and the work dutycycle of holding state is just less, just more power saving.Here the dutycycle of working refers to the time of monitoring reception signal in each sleep cycle of active electronic label, with the ratio of the T.T. that adds the monitoring reception signal length of one's sleep.
The above has described active electronic label of the present invention and system thereof, and the below is described in further detail the present invention according to Fig. 4 and in conjunction with Fig. 5, Fig. 6 again.
Step S402: telegon repeats to send wake-up signal to active electronic label uninterruptedly waking channel up independently or under the control of control processor; Step S404: active electronic label receives wake-up signal within the time period of listening state; Step S406: read write line is set up at the second channel with active electronic label and is communicated by letter, and to active electronic label sending action instruction index; And step S408: active electronic label receives the action command index from read write line, finds out the action command corresponding with the action command index and execution in the index that sets in advance-action mapping relation.
Wake-up signal includes the numbering of address code, task and the information such as parameter of task at least, wherein, active electronic label can be identified wake-up signal by address code, numbering by task is called (or inquiring) and is pre-stored in the program that the fixed mode to numbering in the active electronic label operates, by the program assignment of parameter to the fixed mode that should number is operated.
The program of fixed mode operation refers to that active electronic label carries out the program of some particular task, the program of one or more tasks that can in active electronic label, prestore (fixed mode running program), the corresponding numbering of each program, for example, in active electronic label, prestored and numbered three programs that are respectively " 1 ", " 2 " " 3 ", the fixed mode operation that can be applicable to program 1 execution of entrance guard management is: with the m transmission interval of second, on the n channel, with the emissive power of P size, launch k time ID number; The fixed mode operation that can be applicable to program 2 execution of sensor data acquisition is: reads the data of L sensor, and on the n channel, with the emissive power of P size, with the communication mode of data with S, sends to the R receiver ...; The operation that program 3 is carried out is: after working channel emission ID number, wait for read write line receipt m millisecond with elder generation, if without receipt, repeat its transmission is n time again, until receive receipt, sets up ' dialogue ' with read write line and writes to each other, otherwise get back to the low-power consumption standby state.When the needs active electronic label is carried out a certain task, only need numbering and the relevant parameter that this task is corresponding to be transmitted into active electronic label, for example, in wake-up signal, the Position input 1 of action numbering, and at subsequently transmission interval Position input 1, channel position input 3, power location input 2, emitting times Position input 20, i.e. " 1-1-3-2-20 ".Just mean the system requirements label every 1 second, on 1 channel, with 3 grades power, launch continuously 20 times ID number.
In addition, be different from very short fixed mode operation of execution time, it is very long that the fixed mode operation can also be finished some perdurabilities, the task that power consumption is relatively low.Can be that Transmission Time Interval is longer, to changing the less demanding application scenario of time response of working method.Urban heat supplying temperature monitoring system for example.We arrange the active electronic label with temperature sensor in advance, comprise the normal temperature bound, the actuation of an alarm when transfiniting value, and in the normal temperature range and interval time of improper temperature time report temperature etc.When for example temperature was normal, report in 10 minutes once when just not long, was reported once for 10 seconds.Can also by wireless mode, adjust as required at any time these running parameters.Because this low-power consumption mode general signal emission duration is long, signal dutyfactor is very low.Thereby, even the congested variety of issue that waits of signal that general active electronic label brings, also can't appear all the time in outside initiatively transmitted signal in active electronic label.
Waking up in the instruction of telegon, if the numbering of the program of the fixed mode operation that requires execution is set with a byte (8 bit), can be the programming numbering of 256 fixed mode operations in theory, normally according to the requirement of detailed programs, in active electronic label, write the program of one or several fixed mode operation of satisfying these detailed programs.Wake up in the instruction, be used for arranging the parameter that the byte that follows hard on after the byte of numbering of program of fixed mode operation is used for setting this fixed mode operational correspondence, program for a fixed mode operation, type and the number of the parameter that it needs are determined, when having determined numbering, also just determined type and the number of numbering parameter afterwards.
The working method of employing action fixed pattern why, it is main because telegon must be in wake-up signal in the prior art, clearly demonstrate the specific tasks that require active electronic label to bear, perhaps utilize the instruction of " requiring active electronic label and read write line to set up dialogue contacts ", make control processor active electronic label and read write line set up write to each other after, assigned the specific tasks that will finish by read write line.This dual mode all means the communication process of a long period, therefore takies in a large number the time of air traffic channel, easily causes the problems such as signal blocks up, interferes with each other.And the mode of employing action fixed pattern only needs emission to include the wake-up signal of the weak point of mission number and corresponding parameter, and this will greatly reduce the time of air communication, improved the efficient of communication, also can carry out simultaneously multinomial different task, realize several functions, thereby improve the dirigibility of its application.
Active electronic label periodically is in sleep state or listening state, when switching to listening state from sleep state, start crystal oscillator and frequently combine and receive wake-up signal, determine by software identification address code to receive be wake-up signal the time, coding according to task calls the program that is pre-stored in the fixed mode operation corresponding with this task coding in the active electronic label, and utilize parameter that program is carried out assignment, carry out afterwards this program (usually comprise in the program to execute and switch to working channel after this program with the operation to read write line of the data transmission that obtains) or communicate by letter with read write line at working channel (unidirectional or two-way communication) in carry out the program (usually in the process of this program of execution active electronic label with the data transmission that obtains to read write line) of fixed mode operation.
In addition, shown in Fig. 5,6, the data transmission that read write line will obtain from active electronic label to control processor to process.Control processor sends acknowledgement information by read write line to active electronic label after receiving the data of obtaining from active electronic label via read write line.Active electronic label enters the low-power consumption standby state after receiving acknowledgement information, or is transformed into other predefined fixed mode operations, or time-delay reception control processor is carried out corresponding switching motion according to instruction again by the instruction that read write line sends.
In addition, active electronic label receives the acknowledgement information mode can adopt various ways, for example, can adopt the mode of after at every turn having launched data, monitoring (reception) receipt, this emission can be periodic, as shown in Figure 5, active electronic label is monitored the acknowledgement information that whether has from read write line behind each emission ID; Can also adopt and monitor acknowledgement information one time after repeatedly launching information, this emission is normally periodic, as shown in Figure 6, after finishing the emission of 5 secondary data, monitors one time receipt.In order to save the time of waiting receipt, the automated response piece function that active electronic label can also utilize many single-chip transceivers to have, like this, active electronic label can also further be delayed time after receiving automated response piece information and be received the instruction that whether has control processor to send by read write line, if receive instruction, then carry out corresponding switching motion according to instruction.
The parameters such as the frequency of operation of active electronic label, emissive power, receiving sensitivity, standby-work period can be changed by the wireless mode transmitted signal or by self the control signal of single-chip microcomputer by telegon or read write line.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.