Disclosure of Invention
The invention aims to provide a tandem type electronic label system, so that the electronic label system is more convenient to operate and run.
In order to achieve the above object, the present invention provides a serial electronic tag system, which includes a main controller, a communication device and a multi-stage electronic tag, wherein the communication device is connected to the main controller, and the electronic tag is connected to the communication device; the electronic tags are connected in series, namely a data inlet and a data outlet are arranged on the electronic tags, the data inlet is used for the electronic tags to receive data, and the data outlet is used for the electronic tags to transmit the data to the next-stage electronic tags, so that the electronic tags are automatically numbered in a step-by-step increasing mode.
As a further improvement of the present invention, the electronic tag is connected to the master controller through a communication device connected to the electronic tag, so that the master controller adjusts and controls the display content of the electronic tag.
As a further improvement of the present invention, the communication device includes a power module and a data transmission module, the power module is configured to supply power to the communication device and an electronic tag connected to the communication device, and the data transmission module is configured to perform data transmission with the main controller and/or the electronic tag.
The invention also aims to provide an information processing method of the serial electronic tag system, so that all information to be issued is analyzed, technical personnel are not required to bind and associate the addresses of the electronic tags in advance, the information instruction packet can be pushed down section by section and automatically numbered in a step-by-step increasing mode, and a user can freely expand or replace the electronic tags without the operation of the technical personnel.
In order to achieve the above object, the present invention provides an information processing method for a serial electronic tag system, where the information processing method is applied to the serial electronic tag system, and the method includes the following specific steps:
step 1, a main controller packages an information instruction into an information instruction packet, numbers the information instruction packet and then sends the information instruction packet to communication equipment;
step 2, the communication equipment receives and transmits the information instruction packet;
step 3, the first-stage electronic tag receives the information instruction packet and analyzes the number of the information instruction packet;
step 4, the electronic tag judges whether the number of the information instruction packet is equal to 1;
if the number is equal to 1, analyzing all information of the information instruction packet;
if the number is not equal to 1, the electronic tag repackages the information instruction packet into a new information instruction packet, and after numbering the new information instruction packet, the electronic tag transparently transmits the new information instruction packet to the next-stage electronic tag;
step 5, if the electronic tag judges that the serial numbers of the information instructions are different from 1 in the step 4, the next-stage electronic tag receives a new information instruction packet and identifies the serial number of the new information instruction packet;
and 6, circulating the steps 4-5 until all the information of the information instruction packet is analyzed.
As a further improvement of the present invention, the step 1 specifically includes:
step 11, the main controller packs the information instruction into an information instruction packet;
step 12, the main controller numbers the information instruction packet;
and step 13, the main controller sends the numbered information instruction packet to the communication equipment.
As a further improvement of the present invention, the information instruction packet includes main information and number information.
As a further improvement of the present invention, the step 2 specifically includes:
step 21, the communication equipment receives an information instruction packet sent by the main controller;
and step 22, after the communication equipment receives the information instruction packet, transmitting the information instruction packet to the first-stage electronic tag through a data transmission module of the communication equipment.
As a further improvement of the present invention, the step 3 specifically includes:
step 31, the first-stage electronic tag receives an information instruction packet through a data entry;
and step 32, after the first-stage electronic tag receives the information instruction packet, only the number information of the information instruction packet needs to be identified, and the main information of the information instruction packet does not need to be analyzed.
As a further improvement of the present invention, in step 4, if the number of the information instruction packet is not equal to 1, the information instruction packet is repackaged into a new information instruction packet, and after numbering the new information instruction packet, the new information instruction packet is transmitted to the next-stage electronic tag through the data outlet of the electronic tag.
As a further improvement of the present invention, the step 5 specifically includes:
step 51, if the number of the information instruction packet is equal to 1, the data entry of the next-stage electronic tag receives a new information instruction packet;
and step 52, the next-stage electronic tag only analyzes the number information of the new information instruction packet and does not analyze the main information of the new information instruction packet.
The invention has the beneficial effects that: the serial electronic tag system of the invention ensures that the access mode of the electronic tag system is serial by arranging the data inlet for receiving data and the data outlet for transmitting the data to the next-stage electronic tag on the electronic tag, and the serial electronic tag system ensures that the electronic tag does not need technicians to bind and associate addresses in advance and automatically numbers in a gradually increasing mode, so that users can freely expand or replace the electronic tag system, thereby saving manpower and leading the electronic tag system to be more convenient to use.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in detail with reference to the accompanying drawings and specific embodiments.
The invention discloses a serial electronic tag system, which comprises a main controller, communication equipment and a multi-stage electronic tag. The electronic tag is connected with the control host through the connected communication equipment, so that the control host adjusts and controls the display content of the electronic tag.
The communication equipment comprises a data transmission module and a power supply module, the power supply module is used for supplying power to the communication equipment and an electronic tag connected with the communication equipment, and the data transmission module is used for transmitting data with the main controller. The data transmission module can be an infinite module, such as a bluetooth module, a radio frequency module, an infrared module, a WiFi module, or the like. The communication equipment further comprises a first controller connected with the data transmission module, and the power module supplies power to the electronic tag discontinuously under the action of the first controller. The electronic tag comprises a second controller and a display screen connected with the second controller, and the second controller is used for transmitting information sent by the communication equipment to the display screen for displaying. The display screen can adopt an LED dot matrix display screen or an electronic ink screen.
Specifically, the communication device is connected with the electronic tag through a connecting line, and information and electric energy are transmitted through the connecting line. The communication equipment is provided with a data receiving and transmitting interface, the first-stage electronic tag is also provided with a data receiving and transmitting interface, and the data receiving and transmitting interface on the communication equipment is connected with the data receiving and transmitting interface on the first-stage electronic tag through a connecting wire and used for transmitting information and electric energy between the communication equipment and the first-stage electronic tag. Because the electronic tags are connected in series, when information and electric energy are input into the first-stage electronic tag, the information can be input or output through the data receiving and transmitting interface, namely the data inlet and the data outlet, of each stage of electronic tag, and the electric energy can also be transmitted to each stage of electronic tag through the data receiving and transmitting interface, namely the data inlet and the data outlet.
The main controller transmits the information instruction to the electronic tags through the communication equipment, and the electronic tags in the electronic tag system are connected in series, so that the electronic tags can automatically bias numbers. Specifically, all electronic tags in the electronic tag system are provided with a data inlet for receiving data and a data outlet for transmitting the data to the electronic tag of the next stage, the electronic tags do not need to be address-bound and associated in advance in a serial connection access mode among the electronic tags, the electronic tag system can automatically number in a step-by-step increasing mode from the electronic tag of the first stage in the information processing process, and a user can freely expand and replace the electronic tags.
The multi-stage electronic tags in the electronic tag system share one data transmission module and one power supply module, so that the cost can be reduced, the power consumption can be saved, and the mutual interference and communication conflict of information in the communication process can be reduced.
As shown in fig. 1, the information processing method of the tandem electronic tag system of the present invention specifically includes:
step 1, the main controller packs the information instruction into an information instruction packet, numbers the information instruction packet and then sends the information instruction packet to the communication equipment. Specifically, the main controller packages the information command to be issued, that is, the information command is changed into an information command packet, and meanwhile, the main controller adds the number information to the packaged information command packet, so that the information command packet includes the main information and the number information. And if the information instruction packet needs to be downloaded to the nth label, numbering the information instruction packet as n.
And 2, the communication equipment receives and transmits the information instruction packet. The communication equipment is connected with the main controller, receives the information instruction packet sent by the main controller, and transmits the received information instruction packet to the first-stage electronic tag through the data transmission module, namely, the communication equipment receives the information instruction packet numbered n and transmits the information instruction packet to the first-stage electronic tag.
And 3, receiving the information instruction packet by the first-stage electronic tag, and analyzing the serial number of the information instruction packet. After the first-level electronic tag receives the information instruction packet through the preset data entry, the main information of the information instruction packet does not need to be analyzed, and only the number n of the information instruction packet needs to be identified.
And 4, judging whether the number of the information instruction packet is equal to 1 or not by the electronic tag. After receiving the information instruction packet, the electronic tag only identifies the number information n of the information instruction packet, and judges whether the number n of the information instruction packet is equal to 1, if n is equal to 1, the electronic tag analyzes all information of the information instruction packet, namely analyzes the main information and the number n of the information instruction packet, and performs content presentation according to the instruction information; if not, the electronic tag repackages the information instruction packet into a new information instruction packet, and subtracts 1 from the original number, namely the number of the new information instruction packet is n-1, and then the level electronic tag transmits the new information instruction packet to the next level electronic tag through a preset data outlet.
And 5, if the electronic tag judges that the number of the information instruction is not equal to 1 in the step 4, the next-stage electronic tag receives a new information instruction packet. And after the next-stage electronic tag receives the new information instruction packet, analyzing the number information of the new information instruction packet, namely identifying the number n-1 of the new information instruction packet by the next-stage electronic tag. Specifically, after the next-stage electronic tag receives the new information instruction packet transparently transmitted by the previous-stage electronic tag through the preset data entry, the main information of the new information instruction packet does not need to be analyzed, and only the number n-1 of the new information instruction packet needs to be identified.
And 6, circulating the steps 4-5 until all the information of the information instruction packet is analyzed. Specifically, the next-level electronic tag judges whether the number of a new information instruction packet transparently transmitted by the previous-level electronic tag is equal to 1, if so, all information of the information instruction packet is analyzed and content is presented; if not, repackaging and numbering the information instruction packet again, and then transmitting the information instruction packet to the next-stage electronic tag, and the next-stage electronic tag receives the new information instruction packet and identifies and analyzes the numbering information. And (5) sequentially circulating the information processing flows of the step (4) and the step (5) until all the information of the information instruction packet is analyzed.
As shown in fig. 2, in order to better understand the technology of the present invention, the following will specifically describe how the information processing of the serial electronic tag system of the present invention is implemented by taking the application of the electronic tag on the shelf of a supermarket as an example.
Firstly, the working personnel input all the commodities on the goods shelf into the main control machine, the main controller in the main control machine subpackages all the commodity information into an information instruction packet, and the information instruction packet is sent to the communication equipment after being numbered. If a certain information instruction packet needs to be downloaded to the nth tag, the information instruction packet is numbered as n. The automatic numbering mode enables a user to freely expand or replace the electronic tag, and can be realized without special technicians.
And then, starting a power module on the communication equipment to supply power to the communication equipment and the electronic tag connected with the communication equipment. Meanwhile, a data receiving and transmitting interface in the data transmission module firstly receives the information instruction packet with the number n, and then transmits the information instruction packet to the first-stage electronic tag through the data receiving and transmitting interface.
After the first-level electronic tag receives the information instruction packet with the number n, the information of the commodity does not need to be completely analyzed, such as the price, the production address, the date, the validity period of the commodity and the like of the commodity, and the information of the commodity is only required to be analyzed and grouped into the number of the information instruction packet, namely the identification number n. Then the electronic tag judges whether n is equal to 1 or not under the action of the second controller, if so, all information of the commodity is analyzed, namely the price, the production address, the date, the validity period and the like of the commodity are analyzed, and all information of the commodity is displayed on a display screen; if not, repackaging the information of the commodity, changing the number into n-1, and transmitting the number to the next-stage electronic tag, after the next-stage electronic tag receives the information instruction packet, only analyzing the number of the commodity, then judging whether the number is equal to 1, if so, analyzing all the information of the commodity, and displaying the information on a display screen according to the instruction information through a second controller of the electronic tag; if not, continuing to circulate the information transparent transmission process until the information of the needed commodity is completely analyzed and displayed.
The electronic tag system packages the information instruction to be issued into the information instruction packet by changing the access mode of the electronic tag into the serial mode, and pushes down the information instruction packet section by section, so that the electronic tag is automatically numbered in a step-by-step increasing mode, address binding and association do not need to be carried out on the electronic tag in advance, and the electronic tag system is more convenient and simpler in information processing.
In summary, the present invention provides a serial electronic tag system, in which a data inlet and a data outlet are disposed on an electronic tag, so that the access manner is serial access; the electronic tag system carries out the information processing flow of the steps 1-6 by applying a serial connection type access mode, analyzes all information to be issued, does not need technical personnel to carry out address binding and association on the electronic tag in advance, can push down the information instruction packet section by section to automatically number in a step-by-step increasing mode, and can freely expand or replace the electronic tag without the operation of the technical personnel.
Although the present invention has been described in detail with reference to the preferred embodiments, it will be understood by those skilled in the art that various changes may be made and equivalents may be substituted for elements thereof without departing from the spirit and scope of the present invention.