Upgrade the method for firmware of radio frequency identification reading device by network system
Technical field
The present invention is about a kind of design of upgrading the firmware of radio frequency identification reading device method, particularly about a kind of method of upgrading firmware of radio frequency identification reading device by network system.
Background technology
Radio frequency identification system (Radio Frequency Identification, RFID) be at the shortcoming of contact system and develop out, be one be easy to control, simple and practical and be particularly suitable for the application technology of the dirigibility of robotization control, need not contact or aiming during use, and can freely be operated under the various rugged surroundings.Short-range radio frequency identification product is not afraid of rugged environments such as oil stain, contamination by dust, can substitute bar code, for example is used in the online tracing product of flowing water and the part of factory; The radio frequency identification product of long distance is used in the traffic more, and decipherment distance can reach tens of meters, as automatic charge or identification vehicle status etc.Unique superiority that it possessed is that other recognition technology is incomparable.
Radio frequency identification system mainly is made up of wireless radio frequency identification mark (RFID Tag), radio frequency identification reading device (RFID Reader) and management system (Processor) three parts.Utilize the less radio-frequency signal to transmit information in the radio frequency identification label to radio frequency identification reading device with wireless mode.Radio frequency identification system does not only have only design radio frequency identification reading device and wireless radio frequency identification mark, the application software that it is relevant and the business opportunity of service are very huge, and at present domestic existing many companies drop into the design as wireless radio frequency identification mark, the design of radio frequency identification reading device and the development of the application software that radio frequency identification system is correlated with in succession.
Along with the continuous research and development of radio frequency identification system, usually need radio frequency identification reading device is carried out the more new element of firmware.Traditional update mode is nothing more than rewriting radio frequency identification reading device memory internal data by specific device, the mode of this renewal not only needs one one tableland to go to carry out, and needs also to confirm whether each reading device upgraded.If generally when utilizing radio frequency identification system to position, the detecting website of the radio frequency identification reading device of a plurality of dispersions can need be set, so that the position of radio frequency identification label is judged, in this case, in case when having developed new system and need upgrade to radio frequency identification reading device, the staff must upgrade to each detecting website in person, or transmit data and upgrade the complicated fatigue of process for the responsible official of each radio frequency identification reading device.Some is used for the radio frequency identification reading device of road toll, vehicular control in addition, and usual nobody in this case, if need upgrade, just becomes and must send manpower to go the operation of on-the-spot ability in management.
Summary of the invention
The technical matters that institute of the present invention desire solves
In view of the above, traditional radio frequency identification reading device is when the needs tough body renewal, the user must carry out more new element to each radio frequency identification reading device in person, in case radio frequency identification reading device quantity too much, the position is set disperses, be arranged on the unattended place, will cause very big trouble.Radio frequency identification reading device quantity is too much, not only will go one by one to upgrade, and more needs to confirm whether upgraded one by one, has upgraded when finding to have problem to upgrade once again, will all reform once, and is very inefficent; The position is set disperses, just need effort to run around here and there, or take time and transmit the archives past one by one and upgrade, and be difficult to understand the more new situation of each radio frequency identification reading device is confirmed one by one to managerial personnel; When being arranged on the unattended place, must additionally send manpower just can carry out operation, no matter in the process or actual way of using of research and development, all be unnecessary cost.
Edge this, purpose of the present invention promptly provides a kind of method of upgrading firmware of radio frequency identification reading device by network system, the action that each radio frequency identification reading device unification is upgraded and confirmed by the main control equipment unification does not need each radio frequency identification reading device is operated one by one.
Another object of the present invention provides a kind of method by network system remote update firmware of radio frequency identification reading device, no matter it is remote that radio frequency identification reading device is provided with the position dispersion or the place is set, the user all can be from main control equipment from the long-range action of upgrading.
Another object of the present invention provides a kind of method of upgrading firmware of radio frequency identification reading device by network system simultaneously, no matter the quantity number of radio frequency identification reading device, all can all radio frequency identification reading devices be upgraded simultaneously by unified management and control and data transmission.
The technological means that the present invention deals with problems
The present invention is a kind of method of upgrading firmware of radio frequency identification reading device by network system for the technological means that problem adopted that solves known technology, send the renewal information to gateway by main control equipment by network system, again according to the stored position of reading device tough body renewal data, by gateway or directly transmit the radio frequency identification reading device that reading device tough body renewal data are given this each appointment by gateway, the microprocessor of each radio frequency identification reading device is according to the firmware region of data storage of the reading device tough body renewal data storing that receives to the internal storage location by main control equipment.
In embodiments of the invention, gateway also compares according to the tough volume data of firmware region of data storage in the internal storage location of the renewal information that transmits and each radio frequency identification reading device, produce the reading device sequence information of upgrading demand and give main control equipment, specify the radio frequency identification reading device that will upgrade for the user, produce renewal reading device appointed information by main control equipment and give gateway.
The present invention's effect against existing technologies
Via the technology used in the present invention means, can so that radio frequency identification reading device by gateway and network system with after main control equipment is connected, the user need only just can once send update command to all radio frequency identification reading devices at main control equipment, and upgrade the data of usefulness as long as store aly in main control equipment or gateway, just can allow arriving that all radio frequency identification reading devices all receive.Also, allow the user understand the down loading updating situation of each radio frequency identification reading device by the repayment of gateway.Thus, not only reduce and upgrade the time that is spent, more traditional mode is more simple on upgrading, and is also more quick when upgrading affirmation.
Moreover, even if the position that radio frequency identification reading device is provided with disperses, or be arranged on unwatched remote place, the user all can come management and control in addition by network system, there is not the problem on the data transmission, certainly more need not spend the manpower processing of showing up, not only quicken the flow process of entire job, also save the consumption of human resources.
In addition, the action of upgrading is by the flow scheme design of systematized framework and robotization, no matter make that the quantity of radio frequency identification reading device is many again, the user all can be by the management and control of main control equipment, transmit data without a break by gateway and give all radio frequency identification reading devices, all radio frequency identification reading devices are upgraded simultaneously.
Specific embodiment of the present invention will be further described by following embodiment and accompanying drawing.
Description of drawings
Fig. 1 upgrades system's connection diagram of the method for firmware of radio frequency identification reading device by network system for the present invention.
Fig. 2 is the systemic-function calcspar of first embodiment of the invention.
Fig. 3 is the control flow chart of first embodiment of the invention.
Fig. 4 is the main control equipment of first embodiment of the invention and the transmission time sequence synoptic diagram between gateway.
Fig. 5 is the systemic-function calcspar of second embodiment of the invention.
Fig. 6 is the control flow chart of second embodiment of the invention.
Fig. 7 is the main control equipment of second embodiment of the invention and the transmission time sequence synoptic diagram between gateway.
Embodiment
Consult shown in Figure 1ly, it upgrades system's connection diagram of the method for firmware of radio frequency identification reading device by network system for the present invention.The present invention upgrades the employed system of method of firmware of radio frequency identification reading device by network system, include three radio frequency identification reading device 1a, 1b, 1c, each radio frequency identification reading device 1a, 1b, 1c are connected with main control equipment 4 by gateway (gateway) 2 and network system 3.Though have only three radio frequency identification reading device 1a, 1b, 1c in the diagram, can be any amount during practical application, the demand when using one or more ends to see use.
Consult shown in Figure 2ly, it upgrades the systemic-function calcspar of first embodiment of the method for firmware of radio frequency identification reading device by network system for the present invention.Radio frequency identification reading device 1a includes microprocessor 11a, and it is connected with radio frequency transceiving module 12a, internal storage location 13a and gateway connecting interface 14a respectively.Radio frequency identification reading device 1a is connected to gateway 2 by gateway connecting interface 14a.And 13a has firmware region of data storage 131a in the internal storage location, in order to store the tough volume data of at least one pen.
Similarly, radio frequency identification reading device 1b includes microprocessor 11b, and it is connected with radio frequency transceiving module 12b, internal storage location 13b and gateway connecting interface 14b respectively.Radio frequency identification reading device 1b is connected to gateway 2 by gateway connecting interface 14b.And 13b has firmware region of data storage 131b in the internal storage location, in order to store the tough volume data of at least one pen.
Equally similarly, radio frequency identification reading device 1c includes microprocessor 11c, and it is connected with radio frequency transceiving module 12c, internal storage location 13c and gateway connecting interface 14c respectively.Radio frequency identification reading device 1c is connected to gateway 2 by gateway connecting interface 14c.And 13c has firmware region of data storage 131c in the internal storage location, in order to store the tough volume data of at least one pen.Dispose a reading device tough body renewal data D in the main control equipment 4, use for this each radio frequency identification reading device 1a, use when 1b, 1c upgrade.
Consult Fig. 3 and shown in Figure 4 simultaneously, it is that the present invention is by the control flow chart of first embodiment of the method for network system renewal firmware of radio frequency identification reading device and the transmission time sequence synoptic diagram between main control equipment and gateway.2 actions from predetermined sequential flow to I1 that carry out transmission with of main control equipment 4 and gateway, at first, the user is sent by main control equipment 4 and upgrades information S11 to gateway 2 (step 101), relevant information about this renewal is provided, upgrade information S11 and be selected from the bug check sign indicating number, upgrade start context and upgrade the data length value one of them.
Gateway 2 compares according to this renewal information S11 that transmits and this each radio frequency identification reading device 1a, 1b, internal storage location 13a, the 13b of 1c, the firmware region of data storage 131a among the 13c, the stored tough volume data of 131b, 131c, whether the version that similarly is more tough volume data is identical with this renewal start context, or the length of more tough volume data upgrades with this that data length value is whether identical comes as the judgement of upgrading, and produces the reading device sequence information S12 that upgrades demand by this and gives this main control equipment (step 102).
This main control equipment 4 receives this reading device and upgrades demand behind the sequence information S12, sequence information S12 includes reading device recognition data, reading device status data and the EOS information of upgrading demand because reading device is upgraded demand, supplying the user to understand has which to need to upgrade among each radio frequency identification reading device 1a, 1b, the 1c, and some relevant information.Thus, the user just can be according to the reading device sequence information S12 that upgrades demand, and the target that appointment will be upgraded is upgraded reading device appointed information S13 and given this gateway 2 (step 103) and produced by main control equipment 4.
Main control equipment 4 transmits stored these reading device tough body renewal data D and gives gateway 2 (step 104) with reading device tough body renewal data message S14.After gateway 2 is received reading device tough body renewal data message S14, just transmit to upgrade the Data Receiving information S15 that finishes and give main control equipment (step 105), main control equipment 4 reception renewal Data Receiving finish behind the information S15, passback confirms that return information S16 gives this gateway 2 (step 106), finishes the friendship of a succession of communication and holds action.
Gateway 2 send the radio frequency identification reading device 1a (step 107) that gives this each appointment with the reading device tough body renewal data D that receives, and has only radio frequency identification reading device 1a designated needs to upgrade in this supposition.The microprocessor 11a of radio frequency identification reading device 1a just is stored to firmware region of data storage 131a among the internal storage location 13a according to the reading device tough body renewal data D that receives, finishes the action (step 108) of renewal.If specific radio radio frequency recognition reading device 1a, 1b, 1c all need to upgrade, then gateway 2 can send reading device tough body renewal data D simultaneously and give radio frequency identification reading device 1a, 1b, 1c, makes radio frequency identification reading device 1a, 1b, 1c finish the action of renewal synchronously without a break.After renewal finished, gateway 2 transmission reading devices renewals were finished condition information S17 and are given main control equipment 3 (step 109), the situation that update notifications is finished.
Consult shown in Figure 5ly, it upgrades the systemic-function calcspar of second embodiment of the method for firmware of radio frequency identification reading device by network system for the present invention.The systemic-function calcspar of this embodiment is identical with aforementioned first embodiment haply, so identical member is the assembly numbering that indicates with identical, as a means of correspondence.Its difference is in reading device tough body renewal data D and is configured in gateway 2, and is not to be at main control equipment 4.
Consult Figure 6 and Figure 7 simultaneously, it is that the present invention is by the control flow chart of second embodiment of the method for network system renewal firmware of radio frequency identification reading device and the transmission time sequence synoptic diagram between main control equipment and gateway.The control flow of this embodiment is identical with aforementioned first embodiment haply with transmission time sequence, 2 actions from predetermined sequential flow to I2 that carry out transmission with of main control equipment 4 and gateway, because reading device tough body renewal data D is configured in gateway 2, so do not need to transmit when upgrading, and reduced some steps and information transmission process from main control equipment 4.
The user is still sent by main control equipment 4 earlier and upgrades information S21 as the notice (step 201) of upgrading beginning, gateway 2 produces the reading device sequence information S22 passback of upgrading demand according to the renewal information S22 that transmits and gives main control equipment 4 (step 202), the reading device that main control equipment 4 is transmitted according to the gateway 2 again radio frequency identification reading device that sequence information S22 decision will be upgraded of upgrading demand transmits and upgrades reading device appointed information S23 (step 203).This moment, gateway 2 was just directly delivered to radio frequency identification reading device 1a (step 204) with reading device tough body renewal data D, had only radio frequency identification reading device 1a designated needs to upgrade in this same supposition.Promptly be stored in the firmware region of data storage 131a among the internal storage location 13a after reading device tough body renewal data D is received by radio frequency identification reading device 1a then, finish the action (step 205) of renewal.After renewal finished, gateway 2 transmission reading devices renewals were finished condition information S17 and are given main control equipment 3 (step 206).
By above embodiment as can be known, provided by the present invention by the value on the true tool industry of method of network system renewal firmware of radio frequency identification reading device, so the present invention had accorded with the important document of patent already.Only above narration only is preferred embodiment explanation of the present invention, all technician who is skillful in this technology are when doing other all improvement according to above-mentioned explanation, and only these changes still belong in invention spirit of the present invention and the following claim scope that is defined.