CN110119644B - Communication protocol method and device for controlling label device - Google Patents

Communication protocol method and device for controlling label device Download PDF

Info

Publication number
CN110119644B
CN110119644B CN201910389223.4A CN201910389223A CN110119644B CN 110119644 B CN110119644 B CN 110119644B CN 201910389223 A CN201910389223 A CN 201910389223A CN 110119644 B CN110119644 B CN 110119644B
Authority
CN
China
Prior art keywords
label
instruction
label equipment
equipment
setting
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
CN201910389223.4A
Other languages
Chinese (zh)
Other versions
CN110119644A (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.)
Shanghai Shihan Internet Of Things Technology Co ltd
Original Assignee
Shanghai Shihan Internet Of Things 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 Shanghai Shihan Internet Of Things Technology Co ltd filed Critical Shanghai Shihan Internet Of Things Technology Co ltd
Priority to CN201910389223.4A priority Critical patent/CN110119644B/en
Publication of CN110119644A publication Critical patent/CN110119644A/en
Application granted granted Critical
Publication of CN110119644B publication Critical patent/CN110119644B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/0008General problems related to the reading of electronic memory record carriers, independent of its reading method, e.g. power transfer
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/10009Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves
    • G06K7/10297Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves arrangements for handling protocols designed for non-contact record carriers such as RFIDs NFCs, e.g. ISO/IEC 14443 and 18092

Abstract

The method comprises the steps of setting a template for a display screen of the label equipment through a plurality of setting instructions; performing data filling on the template according to a first type of display command and controlling the state of the label equipment; and setting a plurality of transmission instructions for controlling an interface of the label equipment, upgrading the label and acquiring data of the label equipment. Therefore, the designed universal communication protocol for controlling the label equipment enables the informatization degree of the label equipment to be higher, the reliability and the installation matching degree of the goods shelf to be higher, the goods shelf is easier to locate, the labor difficulty is reduced, the goods picking efficiency and the goods picking precision are greatly improved, different orders can be flexibly and accurately finished, and the label equipment is suitable for different application scenes.

Description

Communication protocol method and device for controlling label device
Technical Field
The present application relates to the field of computers, and in particular, to a communication protocol method and device for controlling a tag device.
Background
The electronic shelf label is an electronic display device which is placed on a shelf and can replace the traditional paper label. The electronic shelf label can be applied to goods picking, shelving and warehousing in the fields of e-commerce, medicine, clothing, hardware warehouses and the like; when picking goods and delivering from the warehouse, an operator scans the goods placing list and the goods bar code, the corresponding warehouse position label lamp is lightened, the person does not need to think to place goods (check the goods and deliver from the warehouse) according to the label content prompt, and the light is shot and placed on the shelf. When the goods are put on the shelf and put in storage, the bar codes of the goods are scanned according to the received operation list, so that the label lamps are on, the goods are put on the shelf according to the label display products and the quantity, and the lamps are clapped to finish putting on the shelf and putting in storage. At present, a general CAN communication protocol for controlling the electronic tag does not exist, so that the electronic shelf tag is suitable for multiple application scenes, in addition, the content of the electronic shelf tag is simple and simple in function due to the existing communication protocol, and the accuracy is not accurate enough when the tag is positioned.
Disclosure of Invention
An object of the present application is to provide a communication protocol method and device for controlling a tag device, which solve the problems in the prior art that there is no universal communication protocol for controlling an electronic tag, the positioning accuracy is not high, and the error rate is not low.
According to an aspect of the present application, there is provided a communication protocol method for controlling a tag device, the method including:
setting a template for a display screen of the label equipment through a plurality of setting instructions;
performing data filling on the template according to a first type of display command and controlling the state of the label equipment;
and setting a plurality of transmission instructions for controlling an interface of the label equipment, upgrading the label and acquiring data of the label equipment.
Further, set up the template through a plurality of setting instructions to the display screen of labeller, include:
setting an interface head-up indication in a display screen of the label equipment through a first setting instruction;
setting variable parameters in a display screen of the label equipment through a second setting instruction;
setting fixed parameters in a display screen of the label equipment through a third setting instruction;
setting the display positions of the variable parameters and the fixed parameters in the display screen through a fourth setting instruction;
and returning the numerical value of the variable parameter or the fixed parameter selected by the user after triggering the key of the signal lamp through a fifth setting instruction.
Further, the first type of display command comprises a first display command, a second display command, a third display command, a fourth display command and a fifth display command; performing data filling on the template and controlling the state of the label device according to a first type of display command, including:
sending display data of the label equipment and controlling the state of a signal lamp of the label equipment according to the first display command, and keeping the lighting state of the signal lamp unchanged;
sending display data of the label equipment and controlling the state of a signal lamp of the label equipment according to the second display command, and responding after a key of the signal lamp is triggered;
sending display data of the label equipment and controlling the state of a signal lamp of the label equipment according to the third display command, responding to the triggered key of the signal lamp, and identifying multiple packets of data corresponding to the same label through an identification bit;
sending display data of the label equipment and controlling the state of a signal lamp of the label equipment according to the fourth display command, responding after a key of the signal lamp is triggered, identifying multi-packet data corresponding to the same label through an identification bit, and controlling the state of a buzzer of the label equipment;
and sending display data of the label equipment and controlling the state of a signal lamp of the label equipment according to the fifth display command, responding after a key of the signal lamp is triggered, identifying multi-packet data corresponding to the same label through an identification bit, and controlling the states of a buzzer and a breathing lamp of the label equipment.
Further, the transmitting instructions include: and the I/O interface alarm instruction is used for sending an alarm to the controller by the label equipment when the switching value is sent to the I/O interface of the label equipment according to the peripheral equipment of the label equipment.
Further, the transmission instruction comprises a downlink serial port transparent transmission instruction and an uplink serial port transparent transmission instruction;
when the label equipment receives a downlink serial port transparent transmission instruction of the controller, the label equipment requests to start data acquisition of peripheral equipment;
and the label equipment returns the data acquired by the peripheral equipment to the controller through the uplink serial port transparent transmission instruction.
Further, the transmission instruction comprises an upgrade instruction, and the transmission instruction is used for sending the upgrade instruction to the tag device by the controller in a broadcast mode, so that the tag device checks and upgrades the upgrade instruction.
Further, the transmission instruction comprises a voltage acquisition instruction, an uploading voltage instruction and a tag quantity counting instruction;
the label equipment acquires voltage according to the received voltage acquisition instruction sent by the controller and displays the voltage on a display screen of the label equipment;
the label equipment returns the acquired voltage to the controller according to the received uploading voltage instruction issued by the controller, so that the controller performs data statistics of the areas according to the returned voltage and analyzes the circuit electric power health state of the label equipment;
and the label equipment returns a label value to the controller according to the received label quantity counting instruction issued by the controller in a broadcasting manner, so that the controller detects the communication state of the label equipment in the area according to the returned label value and counts the quantity of the label equipment.
Further, the method comprises:
and displaying scanning code information in a display screen of the label equipment according to a second type of display command, or carrying out picture calling or adjusting the brightness of the display screen, wherein the scanning code information comprises one-dimensional code information and two-dimensional code information.
According to yet another aspect of the present application, there is also provided a computer readable medium having computer readable instructions stored thereon, the computer readable instructions being executable by a processor to implement the method as described above.
According to still another aspect of the present application, there is also provided an apparatus for controlling a communication protocol of a tag device, the apparatus including:
one or more processors; and
a memory having computer readable instructions stored thereon that, when executed, cause the processor to perform the operations of the method as described previously.
Compared with the prior art, the method and the device have the advantages that the template is set on the display screen of the label equipment through a plurality of setting instructions; performing data filling on the template according to a first type of display command and controlling the state of the label equipment; and setting a plurality of transmission instructions for controlling the interface of the label equipment, upgrading the label and acquiring the data of the label equipment. Therefore, the designed universal communication protocol for controlling the label equipment enables the informatization degree of the label equipment to be higher, the reliability and the installation matching degree of the goods shelf to be higher, the goods shelf is easier to locate, the labor difficulty is reduced, the goods picking efficiency and the goods picking precision are greatly improved, different orders can be flexibly and accurately finished, and the label equipment is suitable for different application scenes.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the detailed description of non-limiting embodiments made with reference to the following drawings:
fig. 1 illustrates a flow diagram of a communication protocol method for controlling a tag device according to an aspect of the present application.
The same or similar reference numbers in the drawings identify the same or similar elements.
Detailed Description
The present application is described in further detail below with reference to the attached figures.
In a typical configuration of the present application, the terminal, the device serving the network, and the trusted party each include one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include non-transitory computer readable media (transient media), such as modulated data signals and carrier waves.
Fig. 1 shows a schematic flow chart of a communication protocol method for controlling a tag device according to an aspect of the present application, the method including: from the step S11 to the step S13,
in step S11, a template is set for the display screen of the label device through a plurality of setting instructions; here, the labeling device is an electronic goods space label, and the functions of the labeling device are realized by defining a communication protocol between the controller and the labeling device. The label equipment is arranged on the goods shelf, and the signal lamp of the label equipment is turned on to prompt an operator to go to the goods space for operation. The signal lamp is also a key at the same time, the signal lamp is slapped to turn off the lamp after the operation is finished, and the signal is uploaded to indicate that the operation is finished. The states, lighting modes and the like of the signal lamps before and after being clapped and the display of contents in the display screen of the label equipment are controlled by issuing instructions to the label equipment through the controller, and firstly, the controller is required to issue a plurality of setting instructions for setting a template of the display screen of the label equipment, such as head-up color, character information and the like, line numbers, positions, display fonts of characters displayed on an interface, parameter values returned after the keys are clapped and the like.
In an embodiment of the present application, when the controller controls the tag devices, it is first required to assign an ID number to each electronic tag device through an ID (unique identifier) assignment command for subsequent operation on the designated tag device, a dynamic ID assignment mode may be used, for example, data may be sent through broadcast ID, and after ID assignment is confirmed, confirmation may be performed through a function key of the tag device, and the function key is pressed to return the data.
In step S12, data filling is performed on the template and the state of the label device is controlled according to a first type of display command; after the template is set, filling data into the template, and performing filling and controlling the state of the label equipment through a first type of display command, wherein the state of the label equipment comprises the state of a signal lamp and the state of a buzzer on the label equipment, and the first type of display command comprises a command word, template number information, data of parameters in the template, identification bit information and the like.
In step S13, a plurality of transmission commands are set, which are used to control the interface of the label device, upgrade the label, and collect the data of the label device. The controller controls the state of the label device and the display content of the display screen through a communication protocol, and controls the label device through different transmission instructions during data transmission, such as sending an instruction of an interface of the label device to enable the label device to complete configuration of the interface, such as configuration of a serial port, configuration of an I/O interface alarm, data acquisition according to the transmission instruction, and the like. Compared with an ordinary electronic tag, the controller and the label device of the communication protocol between the label devices are stronger in informatization degree, the matching degree of the goods shelf reliability and the installation is higher, the positioning is easier, the labor difficulty is reduced, the goods picking efficiency and the goods picking precision are greatly improved, different orders can be flexibly and accurately finished, and the controller and the label device are suitable for different application scenes.
In an embodiment of the application, in step S11, a head-up indication of an interface in a display screen of the label device is set through a first setting instruction; setting variable parameters in a display screen of the label equipment through a second setting instruction; setting fixed parameters in a display screen of the label equipment through a third setting instruction; setting the display positions of the variable parameters and the fixed parameters in the display screen through a fourth setting instruction; and returning the value of the variable parameter or the fixed parameter selected by the user after triggering the key of the signal lamp through a fifth setting instruction. Here, the first setting instruction (A1 instruction) may set five bytes for setting of a command word, a template number, a heads-up background color, a large-area background color, and a variable parameter color on a template, respectively, and set N bytes for setting of heads-up display contents. The second setting instruction (A2 instruction) is used for setting the attribute of variable parameters in the interface template, such as the size, font, word distance, color, position and the like of characters, and the broadcasting mode of the instruction is not responded. The variable parameter protocol is shown in table 1 below:
Figure BDA0002055870930000071
TABLE 1
And a third setting instruction (A3 instruction) is used for setting the attribute of the fixed parameter in the interface template, such as the size, font, word distance, color, position and the like of characters, and the broadcasting mode has no response. The fixed parameter protocol is shown in table 2:
Figure BDA0002055870930000072
TABLE 2
And the fourth setting instruction (A4 instruction) is used for performing centered typesetting on the parameters after the parameter numbers are selected, the variable parameters and the fixed parameters have unique parameter numbers, and the parameters can be typeset according to the A4 instruction and the selected parameters. The broadcasting mode of the A4 instruction has no response. And a fifth setting instruction (A5) is used for changing the parameter to red after the parameter number is selected and returning the value of the parameter after the signal lamp key is tapped.
In an embodiment of the present application, the first type of display command includes a first display command, a second display command, a third display command, a fourth display command, and a fifth display command; in step S12, sending display data of the label device and controlling a state of a signal lamp of the label device according to the first display command, and keeping a lighting state of the signal lamp unchanged; sending display data of the label equipment and controlling the state of a signal lamp of the label equipment according to the second display command, and responding after a key of the signal lamp is triggered; sending display data of the label equipment and controlling the state of a signal lamp of the label equipment according to the third display command, responding to the triggered key of the signal lamp, and identifying multiple packets of data corresponding to the same label through an identification bit; sending display data of the label equipment and controlling the state of a signal lamp of the label equipment according to the fourth display command, responding after a key of the signal lamp is triggered, identifying multi-packet data corresponding to the same label through an identification bit, and controlling the state of a buzzer of the label equipment; and sending display data of the label equipment and controlling the state of a signal lamp of the label equipment according to the fifth display command, responding after a key of the signal lamp is triggered, identifying multi-packet data corresponding to the same label through an identification bit, and controlling the states of a buzzer and a breathing lamp of the label equipment. The first display command (P3) sends a label display and lighting command, the lighting state is unchanged only when the label is in a state before shooting a key, and information uploading can be realized through other equipment such as a scanning gun and a photoelectric sensor, the P3 command protocol comprises a command word of one byte, a template number of one byte, a key front light color of one byte and data content of N bytes, wherein the command word is the ID number of the command, the template number is used for selecting the ID number of the template to select the target template, the data content is displayed at the position corresponding to the target template, and the data content is the content of each parameter. When interface switching exists in one operation flow, a plurality of instructions with different template numbers are issued. The second display command (P4) has a function of a P3 command, and also has a state of a signal lamp after a key is pressed, sends a label display and a light-up command, has a variable light-up state, and has a return value after the key of the signal lamp is pressed. And the third display command (P5) is additionally provided with an identification bit on the basis of the P4 instruction, and when a plurality of task commands correspond to one tag to be queued, the upper computer identifies different command states of the same tag according to the identification bit. The fourth display command (P6) adds a buzzer command to the P5 command, and may turn off, intermittently sound, or normally sound the buzzer. And a fifth display command (P7) is added with control commands of a buzzer and a breathing lamp on the basis of the command P5, and the breathing lamp is controlled to breathe all the time or from bright to dark or from dark to bright within a preset time. Thereby save the time that the operation personnel looked for the goods through the mode of lighting, select goods through pressing the lamp, reduce the error rate.
In an embodiment of the present application, the transmission instruction includes: and the I/O interface alarm instruction is used for sending an alarm to the controller by the label equipment when the switching value is sent to the I/O interface of the label equipment according to the peripheral equipment of the label equipment. The label equipment receives and uploads switching values given by the peripheral equipment, and transmits data to the controller through the label equipment to give an alarm; for example, when sensing that an article passes through, the infrared sensor sends a state to the tag device, and the tag device sends information triggered by the infrared sensor to the controller to perform infrared alarm. Wherein, the peripheral equipment can be a tower lamp, a scanning gun, a grating and the like.
In an embodiment of the application, the transmission instruction includes a downlink serial port transparent transmission instruction and an uplink serial port transparent transmission instruction; when the label equipment receives a downlink serial port transparent transmission instruction of the controller, the label equipment requests to start data acquisition of the infrared equipment; and the label equipment returns the data acquired by the peripheral equipment to the controller through the uplink serial port transparent transmission instruction. The controller issues a downlink serial port transparent transmission instruction to the tag device through the I/O interface, and the tag device can read the instruction through the RFID of the tag and request to start data acquisition of peripheral equipment. After receiving the uplink serial port transparent transmission instruction, the label equipment transmits the data collected by the receiving peripheral equipment back to the controller.
In an embodiment of the application, the transmission instruction includes an upgrade instruction, and the transmission instruction is used for the controller to send the upgrade instruction to the tag device in a broadcast manner, so that the tag device checks and upgrades the upgrade instruction. Here, the controller issues an upgrade instruction in a broadcast manner to notify the tag to perform upgrade, and temporarily modifies (for example, to 1) the ID of the tag for subsequent peer-to-peer upgrade and verification. The tag device checks the instruction of the upgrading program after receiving the upgrading instruction, can realize the remote online upgrading of the tag program by sending the upgrading instruction and receiving the upgrading instruction, and can update the firmware and the functions in real time.
In an embodiment of the application, the transmission instruction includes a voltage acquisition instruction, an uploading voltage instruction and a tag quantity counting instruction; the label equipment acquires voltage according to the received voltage acquisition instruction sent by the controller and displays the voltage on a display screen of the label equipment; the label equipment returns the acquired voltage to the controller according to the received uploading voltage instruction issued by the controller, so that the controller performs data statistics of the areas according to the returned voltage and analyzes the circuit electric power health state of the label equipment; and the label equipment returns a label value to the controller according to the received label quantity counting instruction issued by the controller in a broadcasting manner, so that the controller detects the communication state of the label equipment in the area according to the returned label value and counts the quantity of the label equipment. Here, when the controller issues a voltage acquisition command to indicate the label device, the label device acquires the voltage of the label device and displays the voltage on a screen by using a specific template, so that a user can visually detect the electric health condition of the circuit. The controller issues an upload voltage instruction to request the tag device to return the voltage of the tag device to the controller, the controller can count the voltage state of tags in an area, and the protocol of the instruction can be one byte of command words, one byte of reserved bits, one byte of working state, 6 bytes of voltage value and one byte of current lamp state. The controller issues a tag number counting instruction in a broadcasting mode, and a received tag return value is used for detecting the communication condition of tags in an area and counting the number of the tags, wherein the protocol of the instruction is a command word of one byte, and the format of tag return data is also a command word of one byte.
In an embodiment of the present application, the method includes: and displaying scanning code information in a display screen of the label equipment or carrying out picture calling or adjusting the brightness of the display screen according to a second type of display command, wherein the scanning code information comprises one-dimensional code information and two-dimensional code information. Here, a second type of display command, such as a command for displaying a one-dimensional code, a command for displaying a two-dimensional code, a command for calling a picture, and a command for adjusting the brightness of the display screen, is also included in the communication protocol. The protocol of the command for calling the picture is a command word of one byte, a reserved bit of one byte, a picture screen of one byte, a picture index of one byte, an X pixel of one byte, a Y pixel of one byte, an X coordinate of 4 bytes and a Y coordinate of 4 bytes. The display content of the label device is richer through the second type of display command, and the label device is convenient to adapt to more application scenes.
By using the communication protocol, the controller can conveniently send instruction data to the hardware system to control the display screen of the hardware system to display finally, the instruction needs to be forwarded through the tag middleware when the instruction is sent, the instruction sent by the controller is subjected to data processing through the tag middleware, and the processed data is recorded in the data table; in addition, the communication protocol enriches the content of the instruction, so that the content displayed on the display screen controlled finally is richer, and the control on the label equipment is more flexible.
Furthermore, the embodiment of the present application also provides a computer readable medium, on which computer readable instructions are stored, the computer readable instructions being executable by a processor to implement the aforementioned communication protocol method for controlling a tag device.
According to still another aspect of the present application, there is also provided an apparatus for controlling a communication protocol of a tag device, wherein the apparatus includes:
one or more processors; and
a memory storing computer readable instructions that, when executed, cause the processor to perform the operations of the foregoing method.
For example, the computer readable instructions, when executed, cause the one or more processors to:
setting a template for a display screen of the label equipment through a plurality of setting instructions;
performing data filling on the template according to a first type of display command and controlling the state of the label equipment;
and setting a plurality of transmission instructions for controlling the interface of the label equipment, upgrading the label and acquiring the data of the label equipment.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.
It should be noted that the present application may be implemented in software and/or a combination of software and hardware, for example, as an Application Specific Integrated Circuit (ASIC), a general purpose computer or any other similar hardware device. In one embodiment, the software programs of the present application may be executed by a processor to implement the steps or functions described above. Likewise, the software programs (including associated data structures) of the present application may be stored in a computer readable recording medium, such as RAM memory, magnetic or optical drive or diskette and the like. Additionally, some of the steps or functions of the present application may be implemented in hardware, for example, as circuitry that cooperates with the processor to perform various steps or functions.
Additionally, some portions of the present application may be applied as a computer program product, such as computer program instructions, which, when executed by a computer, may invoke or provide the method and/or solution according to the present application through the operation of the computer. Program instructions which invoke the methods of the present application may be stored on a fixed or removable recording medium and/or transmitted via a data stream on a broadcast or other signal-bearing medium and/or stored within a working memory of a computer device operating in accordance with the program instructions. An embodiment according to the present application comprises an apparatus comprising a memory for storing computer program instructions and a processor for executing the program instructions, wherein the computer program instructions, when executed by the processor, trigger the apparatus to perform a method and/or a solution according to the aforementioned embodiments of the present application.
It will be evident to those skilled in the art that the application is not limited to the details of the foregoing illustrative embodiments, and that the present application may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the application being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned. Furthermore, it is obvious that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. A plurality of units or means recited in the apparatus claims may also be implemented by one unit or means in software or hardware. The terms first, second, etc. are used to denote names, but not to denote any particular order.

Claims (9)

1. A communication protocol method for controlling a tag device, wherein the method comprises:
setting a template for a display screen of the label equipment through a plurality of setting instructions;
performing data filling on the template and controlling the state of the label equipment according to a first type of display command, wherein the first type of display command comprises a first display command, a second display command, a third display command, a fourth display command and a fifth display command;
setting a plurality of transmission instructions for controlling an interface of the label equipment, upgrading a label and acquiring data of the label equipment;
the data filling of the template and the control of the state of the label device according to the first type of display command comprise:
sending display data of the label equipment and controlling the state of a signal lamp of the label equipment according to the first display command, and keeping the lighting state of the signal lamp unchanged;
sending display data of the label equipment and controlling the state of a signal lamp of the label equipment according to the second display command, and responding after a key of the signal lamp is triggered;
sending display data of the label equipment and controlling the state of a signal lamp of the label equipment according to the third display command, responding to the triggered key of the signal lamp, and identifying multiple packets of data corresponding to the same label through an identification bit;
sending display data of the label equipment and controlling the state of a signal lamp of the label equipment according to the fourth display command, responding after a key of the signal lamp is triggered, identifying multi-packet data corresponding to the same label through an identification bit, and controlling the state of a buzzer of the label equipment;
and sending the display data of the label equipment and controlling the state of a signal lamp of the label equipment according to the fifth display command, responding to the triggered key of the signal lamp, identifying a plurality of packets of data corresponding to the same label through an identification bit, and controlling the states of a buzzer and a breathing lamp of the label equipment.
2. The method of claim 1, wherein the template for the display of the tag device is set by a plurality of setting instructions, comprising:
setting an interface head-up indication in a display screen of the label equipment through a first setting instruction;
setting variable parameters in a display screen of the label equipment through a second setting instruction;
setting fixed parameters in a display screen of the label equipment through a third setting instruction;
setting the display positions of the variable parameters and the fixed parameters in the display screen through a fourth setting instruction;
and returning the numerical value of the variable parameter or the fixed parameter selected by the user after triggering the key of the signal lamp through a fifth setting instruction.
3. The method of claim 1, wherein the transmitting the instruction comprises: and the I/O interface alarm instruction is used for sending an alarm to the controller when the tag device sends the switching value to the I/O interface of the tag device according to the external equipment of the tag device.
4. The method according to claim 1, wherein the transmission instruction comprises a downlink serial port transparent transmission instruction and an uplink serial port transparent transmission instruction;
when the tag equipment receives a downlink serial port transparent transmission instruction of the controller, the tag equipment requests to start data acquisition of peripheral equipment;
and the label equipment returns the data acquired by the peripheral equipment to the controller through the uplink serial port transparent transmission instruction.
5. The method of claim 1, wherein the transmission instruction includes an upgrade instruction, and the controller sends the upgrade instruction to the tag device in a broadcast manner, so that the tag device performs verification upgrade on the upgrade instruction.
6. The method of claim 1, wherein the transmission instructions include a voltage acquisition instruction, an upload voltage instruction, and a tag quantity statistics instruction;
the label equipment acquires voltage according to the received voltage acquisition instruction issued by the controller and displays the voltage on a display screen of the label equipment;
the label equipment returns the acquired voltage to the controller according to the received uploading voltage instruction issued by the controller, so that the controller performs data statistics of the area according to the returned voltage and analyzes the circuit electric power health state of the label equipment;
and the label equipment returns the label value to the controller according to the received label quantity counting instruction issued by the controller in a broadcasting manner, so that the controller detects the communication state of the label equipment in the area according to the returned label value and counts the quantity of the label equipment.
7. The method of claim 1, wherein the method comprises:
and displaying scanning code information in a display screen of the label equipment according to a second type of display command, or carrying out picture calling or adjusting the brightness of the display screen, wherein the scanning code information comprises one-dimensional code information and two-dimensional code information.
8. A computer readable medium having computer readable instructions stored thereon which are executable by a processor to implement the method of any one of claims 1 to 7.
9. An apparatus for controlling a communication protocol of a tag device, wherein the apparatus comprises:
one or more processors; and
a memory having computer-readable instructions stored thereon that, when executed, cause the processor to perform the operations of the method of any of claims 1 to 7.
CN201910389223.4A 2019-05-10 2019-05-10 Communication protocol method and device for controlling label device Active CN110119644B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910389223.4A CN110119644B (en) 2019-05-10 2019-05-10 Communication protocol method and device for controlling label device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910389223.4A CN110119644B (en) 2019-05-10 2019-05-10 Communication protocol method and device for controlling label device

Publications (2)

Publication Number Publication Date
CN110119644A CN110119644A (en) 2019-08-13
CN110119644B true CN110119644B (en) 2022-10-04

Family

ID=67521993

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910389223.4A Active CN110119644B (en) 2019-05-10 2019-05-10 Communication protocol method and device for controlling label device

Country Status (1)

Country Link
CN (1) CN110119644B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008234243A (en) * 2007-03-20 2008-10-02 Hitachi Koukiyou Syst Eng Kk Electronic application system, communication system, electronic application method and communication method
JP2011023015A (en) * 2005-12-23 2011-02-03 Ingenia Holdings (Uk) Ltd Optical authentication
EP2333709A1 (en) * 2009-12-14 2011-06-15 Hanna C. & Co. Methods and arrangements for designing and producing an appearance of an object
CN104517077A (en) * 2013-09-29 2015-04-15 北京三星通信技术研究有限公司 Method and apparatus for realizing simulation tags in NFC equipment
CN108596291A (en) * 2018-03-06 2018-09-28 杭州优工品科技有限公司 Label data generation method and device

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
SE0400556D0 (en) * 2004-03-05 2004-03-05 Pricer Ab Electronic shelf labeling system, electronic label, handheld device and method in an electronic labeling system
US8020765B2 (en) * 2006-04-19 2011-09-20 Grandville Printing Company Method of printing, distributing and placing price information
US9384374B2 (en) * 2013-03-14 2016-07-05 Hand Held Products, Inc. User interface facilitating specification of a desired data format for an indicia reading apparatus
CN105512696B (en) * 2014-09-25 2018-09-14 北京浪奇捷联科技开发有限公司 Region recognition statistical method, active electronic label and regional identification statistical system
CN105446764A (en) * 2014-12-10 2016-03-30 苏州汉朗光电有限公司 Online update type electronic tag system and update method therefor
CN105005800B (en) * 2015-06-11 2018-05-22 中国东方电气集团有限公司 A kind of data-updating method of Electronic Paper passive label
CN105046459A (en) * 2015-06-11 2015-11-11 中国东方电气集团有限公司 Method for warning and confirming storage and taking of bins based on electronic paper passive tags
WO2017079348A1 (en) * 2015-11-02 2017-05-11 Olson Kenneth Stanley Marketing display systems and methods
US10089293B2 (en) * 2016-10-10 2018-10-02 International Business Machines Corporation QR code loading of form elements
CN107437162A (en) * 2017-08-14 2017-12-05 金蝶软件(中国)有限公司 The reminding method and terminal device of a kind of goods warehousing
CN108764437A (en) * 2018-08-22 2018-11-06 浙江莲荷科技有限公司 Electronic tag assembly and the showing stand that electronic tag assembly can be accommodated

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011023015A (en) * 2005-12-23 2011-02-03 Ingenia Holdings (Uk) Ltd Optical authentication
JP2008234243A (en) * 2007-03-20 2008-10-02 Hitachi Koukiyou Syst Eng Kk Electronic application system, communication system, electronic application method and communication method
EP2333709A1 (en) * 2009-12-14 2011-06-15 Hanna C. & Co. Methods and arrangements for designing and producing an appearance of an object
CN104517077A (en) * 2013-09-29 2015-04-15 北京三星通信技术研究有限公司 Method and apparatus for realizing simulation tags in NFC equipment
CN108596291A (en) * 2018-03-06 2018-09-28 杭州优工品科技有限公司 Label data generation method and device

Also Published As

Publication number Publication date
CN110119644A (en) 2019-08-13

Similar Documents

Publication Publication Date Title
US11282129B2 (en) Order processing and order-picking task processing method, server, order-picking terminal, and electronic price tag
US10636391B2 (en) Electronic label system including control device for controlling electronic labels
US20090295592A1 (en) Electronic display medium and electronic display system
US11340076B2 (en) Shopping cart, positioning system and method, and electronic equipment
CN207938017U (en) Intelligent storage managing device and system
CN110609912B (en) Component information recording method, device, equipment and readable storage medium
US10002553B2 (en) Method, system, and device for determining a location of micro digital signage devices
US20200275069A1 (en) Display method and display system
JP2021519470A (en) Product location method and device, device, and storage medium
US10387829B2 (en) Method and apparatus for using label data to assist in performing a retail store function
US9135790B2 (en) Handheld device and method for determining the location of physical objects stored in storage containers
US20210216955A1 (en) Augmented reality based package finding assistance system
CN110119644B (en) Communication protocol method and device for controlling label device
US11328627B2 (en) Apparatus, method and system for management of electronic shelf label, and storage medium
CN110428207A (en) A kind of quick pickup method, apparatus and its system
EP2204767A1 (en) Electronic display medium and electronic display system
JP7309171B2 (en) Optical recognition code reader, method and program
CN115098753A (en) File cabinet capable of accurately positioning files and method for accurately positioning files
WO2022197598A1 (en) Systems and methods for inventory management
CN111353562A (en) Electronic tag weighing method
CN113055707B (en) Video display method and device
CN112346678A (en) Article information display method, device, equipment and storage medium
CN110595592A (en) Wireless weighing method and system
US11244107B1 (en) Electronic apparatus for providing information and data providing method thereof
US11507245B1 (en) Systems and methods for enhancing image content captured by a machine vision camera

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
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: A communication protocol method and device for controlling label devices

Effective date of registration: 20230421

Granted publication date: 20221004

Pledgee: Shanghai Rural Commercial Bank Co.,Ltd. Xuhui sub branch

Pledgor: SHANGHAI SHIHAN INTERNET OF THINGS TECHNOLOGY Co.,Ltd.

Registration number: Y2023310000133

PE01 Entry into force of the registration of the contract for pledge of patent right