CN109874135B - Bluetooth electronic price tag and data updating method thereof - Google Patents

Bluetooth electronic price tag and data updating method thereof Download PDF

Info

Publication number
CN109874135B
CN109874135B CN201910116475.XA CN201910116475A CN109874135B CN 109874135 B CN109874135 B CN 109874135B CN 201910116475 A CN201910116475 A CN 201910116475A CN 109874135 B CN109874135 B CN 109874135B
Authority
CN
China
Prior art keywords
bluetooth
electronic price
price tag
communication
access point
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
CN201910116475.XA
Other languages
Chinese (zh)
Other versions
CN109874135A (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.)
Guangzhou Yingyun Electronic Technology Co ltd
Original Assignee
Guangzhou Yingyun Electronic 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 Guangzhou Yingyun Electronic Technology Co ltd filed Critical Guangzhou Yingyun Electronic Technology Co ltd
Priority to CN201910116475.XA priority Critical patent/CN109874135B/en
Publication of CN109874135A publication Critical patent/CN109874135A/en
Application granted granted Critical
Publication of CN109874135B publication Critical patent/CN109874135B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a Bluetooth electronic price tag, which comprises a Bluetooth SoC, a display screen and an indicator light; wherein: the Bluetooth SoC is used for establishing communication connection with other Bluetooth equipment to acquire the updating information of the Bluetooth electronic price tag, and a radio frequency module for Bluetooth communication and a protocol stack capable of developing Bluetooth are integrated on the Bluetooth SoC; the display screen is used for displaying information of the Bluetooth electronic price tag; the indicator light is used for indicating the communication state of the Bluetooth electronic price tag. The Bluetooth electronic price tag can effectively improve the communication reliability of the electronic price tag, and simultaneously simplifies the structure, so that the manufacturing cost is reduced.

Description

Bluetooth electronic price tag and data updating method thereof
Technical Field
The invention relates to the technical field of electronic price tags, in particular to a Bluetooth electronic price tag and a data updating method thereof.
Background
With the development of new retail in China, the application of electronic price tags in retail industries such as supermarkets, convenience stores and pharmacies is more and more emphasized, and a large number of retailers start to use the electronic price tags to replace the traditional paper price tags so as to realize accurate display and quick update of commodity prices.
In the prior art, the electronic price tag generally includes an MCU, a communication module, a display screen, and other auxiliary devices, and establishes a connection with the AP dedicated to the data access point through the communication module to obtain display data of the electronic price tag from the dedicated AP, thereby implementing data display and update of the electronic price tag. In the process of establishing connection between the electronic price tag and the dedicated AP, it mainly uses a private communication protocol based on 2.4G open frequency.
However, the 2.4G open frequency used by the current electronic price tag is easily interfered by other devices, so that the data of the electronic price tag cannot be updated in time, namely, the communication is unreliable. As is well known, bluetooth BLE employs a frequency hopping communication mode, which well solves the problem of interference of bluetooth communication in ISM open frequency band, so that bluetooth communication becomes more reliable. However, if the current bluetooth BLE communication protocol is directly applied to the electronic price label, the following technical problems will exist: 1. if the Bluetooth is used as a communication means to realize the communication between the electronic price tag and the AP of the data access terminal, but the connection with the smart phone is not realized, the whole architecture of the system is not changed; 2. the Bluetooth BLE equipment is difficult to connect in a broadcasting period exceeding 2 seconds, and the broadcasting frequency is too high for the power consumption of the electronic price tag; 3. the bluetooth communication is connection-oriented, the time of each connection is long, and when the number of updated electronic price tags is large, the efficiency of bluetooth data communication is low.
Disclosure of Invention
The invention mainly aims to provide a Bluetooth electronic price tag, and aims to solve the technical problems of unreliable communication, relatively complex structure and relatively high manufacturing cost of the conventional electronic price tag.
In order to solve the technical problem, the invention provides a Bluetooth electronic price tag, which comprises a Bluetooth SoC, a display screen and an indicator light; wherein: the Bluetooth SoC is used for establishing communication connection with other Bluetooth equipment to acquire the updating information of the Bluetooth electronic price tag, and a radio frequency module for Bluetooth communication and a protocol stack capable of developing Bluetooth are integrated on the Bluetooth SoC; the display screen is used for displaying information of the Bluetooth electronic price tag; the indicator light is used for indicating the communication state of the Bluetooth electronic price tag.
Preferably, the protocol stack includes a first customized protocol or a second customized protocol obtained after the bluetooth L2CAP layer or the HCI layer is developed, the first customized protocol is used to skip the bluetooth scanning to simplify the bluetooth connection process, and the second customized protocol is used to skip the bluetooth connection process to implement the connectionless bluetooth communication; the protocol stack also includes a standard bluetooth protocol for implementing standard bluetooth communications.
Preferably, the system further comprises a change-over switch for selecting the bluetooth electronic price tag communication protocol, so as to realize the switching of the dual-mode communication mode of the bluetooth electronic price tag.
Preferably, the display screen is an electronic paper display screen EPD or a liquid crystal display screen LCD.
The invention also provides a data updating method of the Bluetooth electronic price tag, which comprises the following steps: the access point acquires the MAC address of the electronic price tag of the data to be updated from the server and stores the MAC address to a white list; the access point directionally receives an ADV _ IND packet sent by an electronic price tag of the data to be updated according to the MAC address in the white list, wherein the electronic price tag sends the ADV _ IND packet at a time interval which is more than 30 seconds and less than 300 seconds; the access point sends a CONN _ REQ packet to an electronic price tag corresponding to the received ADV _ IND packet to establish connection; the access point sends the update information to the electronic price tag which has established the bluetooth connection.
Preferably, the sending, by the access point, the CONN _ REQ packet to the electronic price tag corresponding to the received ADV _ IND packet to establish a connection includes: the electronic price tag extracts an access address from the CONN _ REQ packet, and judges the type of the access point according to the type of the access address; and if the access point is an intelligent terminal, the electronic price tag transmits the connection characteristics to the access point and establishes connection.
Preferably, the data updating method for the bluetooth electronic price tag further comprises: and the electronic price tag enters a Bluetooth BLE standard mode according to the received switching instruction, wherein the electronic price tag sends out an ADV _ IND packet at a time interval which is more than 0.5 second and less than 1 second.
The invention also provides a data updating method of the Bluetooth electronic price tag, which comprises the following steps: the access point acquires the MAC address of the electronic price tag of the data to be updated from the server and stores the MAC address to a white list; the access point directionally receives an ADV _ IND packet sent by an electronic price tag of the data to be updated according to the MAC address in the white list, wherein the electronic price tag sends the ADV _ IND packet at a time interval which is more than 30 seconds and less than 300 seconds; the access point sends a SCAN _ REQ packet to an electronic price tag corresponding to the received ADV _ IND packet, wherein the SCAN _ REQ packet comprises updating information used for updating display information of the electronic price tag; and the electronic price tag extracts updating information from the received SCAN _ REQ packet.
Preferably, the update information includes any combination of one or two of a price, a one-dimensional code and a two-dimensional code, and the update information is written in the SCAN _ REQ packet in a compressed code form.
Preferably, the electronic price tag enters a bluetooth BLE standard mode according to the received switching command, wherein the electronic price tag issues ADV _ IND packets at a time interval greater than 0.5 seconds and less than 1 second.
The technical scheme of the invention has the beneficial effects that: compared with the existing MCU and communication module, the Bluetooth SoC integrated with the radio frequency module and the communication protocol can simplify the overall structure of the electronic price tag, reduce the manufacturing cost of the electronic price tag and improve the communication reliability of the electronic price tag.
Drawings
FIG. 1 is a schematic structural diagram of an embodiment of a Bluetooth electronic price tag of the present invention;
FIG. 2 is a flowchart of an embodiment of a data updating method for a Bluetooth electronic price tag;
FIG. 3 is a flowchart of an embodiment of a data updating method for a Bluetooth electronic price tag;
FIG. 4 is a flowchart illustrating a data updating method for a Bluetooth electronic price tag according to another embodiment of the present invention;
fig. 5 is a schematic diagram illustrating a connection process of the data updating method of the bluetooth electronic price tag according to the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are exemplary and intended to be illustrative of the present invention and should not be construed as limiting the present invention, and all other embodiments that can be obtained by one skilled in the art based on the embodiments of the present invention without inventive efforts shall fall within the scope of protection of the present invention.
In order to solve the above technical problem, the present invention provides a bluetooth electronic price tag, which includes a bluetooth SoC, a display screen, and an indicator light, as shown in fig. 1. The Bluetooth SoC is used for establishing communication connection with other Bluetooth equipment to acquire the updating information of the Bluetooth electronic price tag, and a radio frequency module for Bluetooth communication and a protocol stack capable of developing Bluetooth are integrated on the Bluetooth SoC; the display screen is used for displaying information of the Bluetooth electronic price tag; the indicator light is used for indicating the communication state of the Bluetooth electronic price tag.
Further, the protocol stack comprises a first customized protocol or a second customized protocol obtained after the bluetooth L2CAP layer or the HCI layer is developed, the first customized protocol is used for skipping bluetooth scanning to simplify a bluetooth connection process, and the second customized protocol is used for skipping the bluetooth connection process to realize connectionless bluetooth communication; the protocol stack also includes a standard bluetooth protocol for implementing standard bluetooth communications.
Furthermore, the system also comprises a change-over switch used for selecting the Bluetooth electronic price tag communication protocol so as to realize the switching of the dual-mode communication mode of the Bluetooth electronic price tag.
The Bluetooth electronic price tag provided by the invention is internally provided with a Bluetooth SoC chip and runs a deeply customized Bluetooth protocol (a first customized protocol or a second customized protocol), so that the problems that the standard Bluetooth BLE still has high power consumption and low connection-oriented communication efficiency can be solved, the extremely low power consumption required by an electronic price tag product is met, meanwhile, more communication modes are added, and the Bluetooth electronic price tag has a non-connection communication mode to improve the communication efficiency. Further communication modes mentioned above include a fast connect communication mode based on a first custom protocol and a connectionless communication mode based on a second custom protocol. The protocol stack is still compatible with a Bluetooth standard smart phone, a tablet personal computer or a smart television to update price tag information on the basis of customization. The universal equipment and the universal protocol are used for replacing the special equipment and the protocol, so that the architecture of the traditional electronic price tag application is simplified, the convenience of price tag use is improved, and the total cost of ownership of the system is reduced.
In the embodiment of the present invention, the bluetooth SoC is greatly different from the conventional bluetooth module: the Bluetooth module can only realize a specific communication function under the Bluetooth specification, such as the most common Bluetooth transparent transmission function, which is equivalent to virtualizing Bluetooth as a common serial port and only allows hardware devices to communicate with each other like using the common serial port; the Bluetooth SoC provided by the invention can be customized on the basis of the provided protocol so as to match the use requirement of the electronic price tag.
The Bluetooth SoC is communicated with the data access point AP, and works on a Bluetooth HCI layer protocol customized in depth at the moment so as to obtain a larger coverage range and higher communication efficiency compared with the smart phone, but the Bluetooth SoC also has synchronous frequency hopping anti-jamming capability of Bluetooth communication. The Bluetooth SOC also realizes Bluetooth communication compatible with the smart phone APP to acquire the updated information of the electronic price tag. And the Bluetooth SOC formats, stores and sends the acquired electronic price tag information to a display screen for display. In the example, a cheap common segment code Liquid Crystal Display (LCD) can be selected, and an Electronic Paper Display (EPD) with better display effect and longer standby time can also be selected.
The invention also provides a data updating method of the bluetooth electronic price tag, referring to fig. 2, the data updating method of the bluetooth electronic price tag comprises the following steps:
step S10, the access point obtains the MAC address of the electronic price tag of the data to be updated from the server and stores the MAC address to a white list;
the standard procedure for making connections between bluetooth BLE devices is: the Slave (Slave) is in a broadcast state and periodically sends out broadcast packets; master is in scanning state, searches for the matched slave device, then initiates connection, and transmits connection characteristic for several times, finally realizes data transmission between the Master device and the slave device. Wherein, for avoiding bluetooth communication to receive the interference at 2.4 GHz's ISM open band, bluetooth BLE adopts frequency hopping communication usually, and its principle is: the frequency of the carrier used for transmitting signals by the two parties of the transceiver is subjected to discrete transformation according to a preset rule, namely the frequency of the carrier used in communication is randomly jumped under the control of a pseudo-random variation code so as to avoid frequency collision. In the embodiment of the invention, the master device is an access point, and the slave device is an electronic price tag.
However, due to the use of the bluetooth frequency hopping communication mechanism, the master device needs to go through several broadcast intervals to complete the scanning process, resulting in a relatively long connection time between the master and slave devices. Therefore, the data updating method of the Bluetooth electronic price tag modifies the communication protocol of the L2CAP layer of the Bluetooth, namely: the access point acquires the MAC address of the electronic price tag to be communicated from the server in advance and stores the MAC address to the white list. The technical scheme of the invention modifies the working process of the L2CAP Layer, so that an access point only receives ADV _ IND packets sent by electronic price tags in a white list and automatically ignores other ADV _ IND packets to reduce unnecessary communication, thereby improving the communication efficiency of Bluetooth communication.
Step S20, the access point directionally receives an ADV _ IND packet sent by an electronic price tag of the data to be updated according to the MAC address in the white list, wherein the electronic price tag sends the ADV _ IND packet at a time interval of more than 30 seconds and less than 300 seconds;
the access point acquires the MAC address of the electronic price tag needing to be communicated from the server in advance, so that the access point can selectively receive the ADV _ IND packets sent by the electronic price tags nearby, certain purposiveness is achieved, all the ADV _ IND packets do not need to be received, a MAC address list of each electronic price tag is formed, the MAC addresses of the electronic price tags needing to be communicated are screened one by one from the list, the time needed by Bluetooth connection is greatly shortened, and the communication efficiency of Bluetooth communication is improved.
Step S30, the access point sends CONN _ REQ packet to the electronic price tag corresponding to the received ADV _ IND packet to establish connection;
in step S40, the access point sends the update information to the electronic price tag that has established the bluetooth connection.
Referring to fig. 3, in the above embodiment, the access point includes a wireless AP and an intelligent terminal, and the types of access addresses allocated to the electronic price tag by the wireless AP and the intelligent terminal are different; the step of the access point sending the CONN _ REQ packet to the electronic price tag corresponding to the received ADV _ IND packet to establish connection includes:
step S31, the electronic price tag extracts an access address from the CONN _ REQ packet, and judges the type of the access point according to the type of the access address;
CONN _ REQ includes the MAC Address of the master, the MAC Address of the slave, and LLData, which includes the Access Address. The access address is a communication address generated and allocated by the master device before the master device and the slave device establish connection, and the master device and the slave device communicate by using the access address after the connection is established; and when the connection is disconnected, the access address can automatically fail. Based on the above, the technical scheme of the invention sets the types of the access addresses respectively allocated to the electronic price tag by the wireless AP and the intelligent terminal, so that the electronic price tag can judge that the access point requesting connection is the wireless AP or the intelligent terminal according to the types of the allocated access addresses. In the embodiment of the present invention, the smart terminal includes a mobile phone, a tablet, a computer, and the like, but is not limited thereto.
Step S32, if the access point is an intelligent terminal, the electronic price tag transmits the connection characteristic to the access point and establishes connection;
in this embodiment, if the access point requesting connection is an intelligent terminal, after receiving the connection request, the access point transmits connection characteristics for several times, and then performs communication to transmit data to update the display information of the electronic price tag. The introduction of the intelligent terminal removes the use of a special handset, so that the overall cost of the electronic price tag system is reduced, the overall architecture of the electronic price tag system is optimized, and the use convenience is improved.
In the above embodiment, the electronic price tag issues an ADV _ IND packet at intervals greater than 30 seconds and less than 300 seconds. According to the bluetooth BLE communication protocol, the electronic price tag device needs to send out broadcasts periodically in anticipation of being connected by the access point device for communication. Thus, the main power consumption of the electronic price tag device is the broadcast power consumption. However, it is difficult to connect for a bluetooth BLE device with a broadcast interval of more than 2 seconds, and the power consumption of such a broadcast frequency is still too high for an electronic price tag. Therefore, the electronic price tag used in the technical scheme of the invention needs to select the broadcast interval as long as possible so as to meet the requirement of low power consumption of the electronic price tag.
Referring to fig. 2, in the embodiment of the present invention, the data updating method for the bluetooth electronic price tag further includes:
in step S50, the electronic price tag enters the bluetooth BLE standard mode according to the received switching command, wherein the electronic price tag outputs an ADV _ IND packet at a time interval greater than 0.5 second and less than 1 second.
In the embodiment of the invention, the Bluetooth electronic price tag comprises a Bluetooth SoC, a display screen, a change-over switch, an indicator light and a battery, wherein the Bluetooth SoC comprises radio frequency hardware for realizing Bluetooth BLE communication and a protocol stack of the Bluetooth electronic price tag, and the Bluetooth SoC is communicated with other Bluetooth equipment to acquire the update information of the electronic price tag. The data updating method of the Bluetooth electronic price tag provided by the invention has two different communication modes, namely a Bluetooth BLE standard mode and a Bluetooth customization mode formed by the preferred embodiment. And the conversion between the Bluetooth BLE standard mode and the Bluetooth customization mode is switched through a change-over switch arranged on the electronic price tag so as to adopt different communication modes according to actual conditions. Considering the problem of power consumption, in a normal case, the electronic price tag is in a state in the bluetooth customization mode, and after the electronic price tag is switched to the bluetooth BLE mode, if the electronic price tag is not connected with the intelligent terminal within a preset time, the electronic price tag automatically restores to the state in the bluetooth customization mode.
When the electronic price tags are actually used, due to the problem of wireless coverage dead angles, the electronic price tags which need to be updated cannot be updated, and therefore the electronic price tags need to be checked one by one to update the display information of the electronic price tags in the wireless dead angles. Although the overall power consumption of the electronic price tag can be greatly reduced by adopting the bluetooth customization mode, the updating speed is slower when a single electronic price tag is updated. And under bluetooth BLE standard mode, its broadcast interval is short, and intelligent terminal can realize the high-speed joint with the electron price tag to improve the update rate of electron price tag.
Based on the above contents, the broadcasting interval of the electronic price tag in the bluetooth BLE mode is short, the power consumption is high, but the electronic price tag can be quickly connected with the corresponding intelligent terminal, so that the updating speed of the electronic price tag is increased; and the broadcast interval of the electronic price tag in the Bluetooth customization mode is longer, the power consumption is low, but the updating speed is slower. Therefore, the bluetooth BLE mode is suitable for updating a single electronic price tag, such as the above-mentioned case that a partial electronic price tag cannot be updated due to wireless dead angles; the bluetooth customization mode is suitable for updating a plurality of electronic price tags, and the overall power consumption of the electronic price tag system can be greatly reduced.
When the switch is pressed and switched to the Bluetooth BLE mode, the electronic price tag enters a fast broadcasting mode, and at the moment, the electronic price tag sends out an ADV _ IND packet at a short time interval; then, the intelligent terminal acquires the MAC address of the electronic price tag needing communication from the server and sends out an SCAN _ REQ packet; when an ADV _ IND packet corresponding to the electronic price tag is acquired and matched, a CONN _ REQ packet is sent out; and then, the connection characteristics are sequentially transmitted, connection is established, and data are transmitted so as to send the updated content to the electronic price tag.
In addition, the pilot lamp is used for indicating bluetooth broadcasting, connection or communication state, and specifically, the pilot lamp uses three kinds of states of slow flash, constant, quickflashing to indicate bluetooth broadcasting, connection, three kinds of states of communication under bluetooth BLE standard mode respectively.
In the above embodiments, the display screen may be an LCD segment code liquid crystal screen or an EPD electronic paper display screen. The LCD segment code liquid crystal screen can only display simple information, such as simple numbers and Chinese character information, so that the application range is limited and the LCD segment code liquid crystal screen can only be customized; meanwhile, when viewing the display information on the LCD segment code LCD screen, the viewer is required to be located right in front of and above the electronic price tag for clear viewing. However, the LCD segment code liquid crystal screen has low power consumption and cost, and when the LCD segment code liquid crystal screen is applied to an electronic price tag, the cost can be greatly reduced.
Compared with an LCD (liquid crystal display) segment code liquid crystal display, the EPD electronic paper display screen has a better display effect. The visual effect of the EPD electronic paper display screen is like that of common paper, and a viewer can clearly view the electronic price tag in any direction. In addition, the EPD electronic paper display screen only needs to consume power when the display information is updated, and does not need to continuously consume power after the display information is updated, so that the electronic price tag can still display the information under the condition of power failure; meanwhile, the use cost of the electronic price tag is reduced. When the EPD electronic paper display screen is used in the embodiment of the invention, the power supply is started only when the price tag information is updated, the processor returns to the standby state after the information is written in through the interface, and the power supply is disconnected until the display information of the EPD electronic paper display screen is updated. Through testing, when the display information is updated, the power consumption of the EPD electronic paper display screen is as follows:
phases Electric current Duration of time
Writing data 8.565mA 0.5s
Screen refreshing (Black and white) 7.655mA 1.9s
Screen refreshing (Black red and white) 7.655mA 13.8s
Screen refreshing (Black yellow white) 7.655mA 18.9s
Calculated as such, two updates per day in 5 years, total required:
black and white: 5 × 365 × 2 (_8.565 × 0.5+7.655 × 1.9)/(33000) ═ 19.1(mAH)
Black, red and white: 5 × 365 × 2 (_8.565 × 0.5+7.655 × 13.8)/(33000) ═ 111.5(mAH)
Black, yellow and white: 5 x 365 x 2 (_8.565 x 0.5+7.655 x 18.9)/(33000) ═ 151.0(mAH)
Compared with the case of using an LCD segment code liquid crystal screen, the average 7uA power consumption is calculated, 5 years of power consumption is needed:
5*365*24*0.007=306.6(mAH)
obviously, the EPD electronic paper display screen is more energy-saving in the embodiment of the invention, and can meet the use requirement of the electronic price tag.
In specific implementation, the updating information received by the Bluetooth chip can be divided into a label and a number. The label needs to transmit all the lattice information of the corresponding label, and the number only needs to transmit the ASCII code of the corresponding label. It is obvious that digital transmission is a method for simplifying transmission contents and increasing transmission speed. When using an LCD screen, the labels are unsupported, the numbers are directly formatted into LCD short codes for display, and using dot matrix electronic paper is much more complicated. For the label, the Bluetooth SoC uses an algorithm to superpose the label on a display background, stores the label in an internal Flash memory and then writes the label into a display screen; for the number, the number is firstly converted into a label format by combining with a built-in word stock and a coding rule, and then the operation is carried out according to a label display rule.
The present invention also provides another data updating method for a bluetooth electronic price tag, referring to fig. 4, the data updating method for the bluetooth electronic price tag includes:
s100, the access point acquires the MAC address of the electronic price tag of the data to be updated from the server and stores the MAC address to a white list;
the MAC address of the electronic price tag to be communicated is obtained from the server in advance and is stored in the white list, so that the scanning process of the wireless AP can be accelerated, the wireless AP does not need to be scanned one by one, but is scanned purposefully, unnecessary data communication is reduced, and the communication efficiency is improved;
s200, the access point directionally receives an ADV _ IND packet sent by an electronic price tag of data to be updated according to the MAC address in the white list, wherein the electronic price tag sends the ADV _ IND packet at a time interval of more than 30 seconds and less than 300 seconds;
the access point acquires the MAC address of the electronic price tag needing to be communicated from the server in advance, so that the access point can selectively receive the ADV _ IND packets sent by the electronic price tags nearby, certain purposiveness is achieved, all the ADV _ IND packets do not need to be received, a MAC address list of each electronic price tag is formed, the MAC addresses of the electronic price tags needing to be communicated are screened one by one from the list, the time needed by Bluetooth connection is greatly shortened, and the communication efficiency of Bluetooth communication is improved.
S300, an access point sends a SCAN _ REQ packet to an electronic price tag corresponding to a received ADV _ IND packet, wherein the SCAN _ REQ packet comprises updating information used for updating display information of the electronic price tag;
in this embodiment, the information to be updated of the electronic price tag is compressed, encoded into the SCAN _ REQ packet, and sent to the corresponding electronic price tag. Considering that the size of the display information in a display area is far beyond the storage capacity of a SCAN _ REQ packet when the display information is uncompressed, the display information needs to be compressed so that the compressed display information can be placed in a SCAN _ REQ packet. After receiving the SCAN _ REQ packet, the electronic price tag does not send out the SCAN _ RSP packet according to the provision of the Bluetooth BLE, but analyzes the compressed information, and then restores the compressed information into corresponding display information such as price, one-dimensional code and two-dimensional code which can be checked by combining with a local database.
S400, the electronic price tag extracts the updating information from the received SCAN _ REQ packet.
Standard bluetooth BLE applications are developed based on the bluetooth L2CAP or GATT layer, which requires that bluetooth BLE devices must connect and then communicate according to the bluetooth communication specification. In the embodiment of the invention, the HCI layer of the Bluetooth communication protocol is rewritten to skip the connection process, thereby realizing the connectionless Bluetooth communication process.
In the above embodiment, the electronic price tag issues an ADV _ IND packet at intervals greater than 30 seconds and less than 300 seconds. According to the bluetooth BLE communication protocol, the electronic price tag device needs to send out broadcasts periodically in anticipation of being connected by the access point device for communication. Thus, the main power consumption of the electronic price tag device is the broadcast power consumption. However, it is difficult to connect for a bluetooth BLE device with a broadcast interval of more than 2 seconds, and the power consumption of such a broadcast frequency is still too high for an electronic price tag. Therefore, the electronic price tag used in the technical scheme of the invention needs to select the broadcast interval as long as possible so as to meet the requirement of low power consumption of the electronic price tag.
Referring to fig. 4, in the embodiment of the present invention, the data updating method for the bluetooth electronic price tag further includes:
s500, the electronic price tag receives a switching command to enter a bluetooth BLE standard mode, wherein the electronic price tag sends out an ADV _ IND packet at a time interval greater than 0.5 seconds and less than 1 second.
The data updating method of the Bluetooth electronic price tag provided by the invention has two different communication modes, namely a Bluetooth BLE standard mode and a Bluetooth customization mode formed by the embodiment. And the conversion between the Bluetooth BLE standard mode and the Bluetooth customization mode is switched through a change-over switch arranged on the electronic price tag so as to adopt different communication modes according to actual conditions. Considering the problem of power consumption, in a normal case, the electronic price tag is in a state in the bluetooth customization mode, and after the electronic price tag is switched to the bluetooth BLE mode, if the electronic price tag is not connected with the intelligent terminal within a preset time, the electronic price tag automatically restores to the state in the bluetooth customization mode.
The Bluetooth electronic price tag provided by the invention is customized on the basis of a protocol provided by a Bluetooth SoC, so that the Bluetooth electronic price tag is matched with the use requirement of the electronic price tag. Bluetooth low energy BLE designs for the low-power consumption hardware originally, and in addition the customization further reduces the consumption, and compatible bluetooth HCI and the synchronous frequency hopping communication of LL layer again simultaneously possess very strong interference killing feature, are particularly suitable for battery powered's small-size equipment. The low power consumption and tamper resistance characteristics of bluetooth communication have been widely used commercially and verified in comparison to proprietary protocols employed by traditional electronic price tags.
The above description is only a part of or preferred embodiments of the present invention, and neither the text nor the drawings should be construed as limiting the scope of the present invention, and all equivalent structural changes, which are made by using the contents of the present specification and the drawings, or any other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A Bluetooth electronic price tag is characterized by comprising a Bluetooth SoC, a display screen and an indicator light; wherein:
the Bluetooth SoC is used for establishing communication connection with other Bluetooth equipment to acquire the updated information of the Bluetooth electronic price tag, a radio frequency module for Bluetooth communication and a protocol stack capable of carrying out Bluetooth development are integrated on the Bluetooth SoC, the protocol stack comprises a first customized protocol, the first customized protocol is used for skipping Bluetooth scanning to simplify the Bluetooth connection process, and the communication mode of the Bluetooth electronic price tag comprises a quick connection communication mode based on the first customized protocol;
the display screen is used for displaying information of the Bluetooth electronic price tag;
the indicator light is used for indicating the communication state of the Bluetooth electronic price tag.
2. The bluetooth electronic price tag of claim 1, wherein the protocol stack comprises a first customized protocol or a second customized protocol obtained after development of a bluetooth L2CAP layer or an HCI layer, the second customized protocol being used to skip a bluetooth connection process to implement connectionless bluetooth communication;
the protocol stack also includes a standard bluetooth protocol for implementing standard bluetooth communications.
3. The bluetooth electronic price tag of claim 2, further comprising a switch for selecting the bluetooth electronic price tag communication protocol to enable switching of a dual-mode communication mode of the bluetooth electronic price tag.
4. The bluetooth electronic price tag of claim 1, wherein the display screen is an electronic paper display screen (EPD) or a Liquid Crystal Display (LCD).
5. A data updating method of a Bluetooth electronic price tag, wherein the Bluetooth electronic price tag is the Bluetooth electronic price tag of any one of claims 1-4, and the data updating method of the Bluetooth electronic price tag comprises the following steps:
the access point acquires the MAC address of the electronic price tag of the data to be updated from the server and stores the MAC address to a white list;
the access point directionally receives an ADV _ IND packet sent by an electronic price tag of the data to be updated according to the MAC address in the white list so as to improve the communication efficiency of Bluetooth communication, wherein the electronic price tag sends the ADV _ IND packet at a time interval of more than 30 seconds and less than 300 seconds;
the access point sends a CONN _ REQ packet to an electronic price tag corresponding to the received ADV _ IND packet to establish connection;
the access point sends the update information to the electronic price tag which has established the bluetooth connection.
6. The method of claim 5, wherein the step of the access point sending a CONN _ REQ packet to the electronic price tag corresponding to the received ADV _ IND packet to establish a connection comprises:
the electronic price tag extracts an access address from the CONN _ REQ packet, and judges the type of the access point according to the type of the access address;
and if the access point is an intelligent terminal, the electronic price tag transmits the connection characteristics to the access point and establishes connection.
7. The method of claim 5, further comprising:
and the electronic price tag enters a Bluetooth BLE standard mode according to the received switching instruction, wherein the electronic price tag sends out an ADV _ IND packet at a time interval which is more than 0.5 second and less than 1 second.
8. A data updating method of a Bluetooth electronic price tag, wherein the Bluetooth electronic price tag is the Bluetooth electronic price tag of any one of claims 1-4, and the data updating method of the Bluetooth electronic price tag comprises the following steps:
the access point acquires the MAC address of the electronic price tag of the data to be updated from the server and stores the MAC address to a white list;
the access point directionally receives an ADV _ IND packet sent by an electronic price tag of the data to be updated according to the MAC address in the white list so as to improve the communication efficiency of Bluetooth communication, wherein the electronic price tag sends the ADV _ IND packet at a time interval of more than 30 seconds and less than 300 seconds;
the access point sends a SCAN _ REQ packet to an electronic price tag corresponding to the received ADV _ IND packet, wherein the SCAN _ REQ packet comprises updating information used for updating display information of the electronic price tag;
and the electronic price tag extracts updating information from the received SCAN _ REQ packet.
9. The data updating method of the bluetooth electronic price tag according to claim 8, wherein the updating information includes any combination of one or more of price, one-dimensional code and two-dimensional code, and the updating information is written in the SCAN _ REQ packet in a compressed code form.
10. The method of claim 8, further comprising:
and the electronic price tag enters a Bluetooth BLE standard mode according to the received switching instruction, wherein the electronic price tag sends out an ADV _ IND packet at a time interval which is more than 0.5 second and less than 1 second.
CN201910116475.XA 2019-02-13 2019-02-13 Bluetooth electronic price tag and data updating method thereof Active CN109874135B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910116475.XA CN109874135B (en) 2019-02-13 2019-02-13 Bluetooth electronic price tag and data updating method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910116475.XA CN109874135B (en) 2019-02-13 2019-02-13 Bluetooth electronic price tag and data updating method thereof

Publications (2)

Publication Number Publication Date
CN109874135A CN109874135A (en) 2019-06-11
CN109874135B true CN109874135B (en) 2022-04-15

Family

ID=66918730

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910116475.XA Active CN109874135B (en) 2019-02-13 2019-02-13 Bluetooth electronic price tag and data updating method thereof

Country Status (1)

Country Link
CN (1) CN109874135B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110446273B (en) * 2019-07-30 2021-08-13 深圳市天工测控技术有限公司 Networking method and device based on electronic price tags
CN110460991B (en) 2019-08-16 2021-12-24 高创(苏州)电子有限公司 Method, system, upper computer, equipment and medium for displaying streaming media data
CN112104985B (en) * 2020-09-17 2022-09-06 努比亚技术有限公司 Electronic price tag reservation image brushing method, equipment and computer readable storage medium
CN112367633A (en) * 2020-10-29 2021-02-12 北京勇芯科技有限公司 Public transport handle advertisement communication system based on bluetooth
CN112968921B (en) * 2021-01-18 2023-05-16 浙江大华技术股份有限公司 Data updating method, device and computer readable storage medium

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101114845A (en) * 2006-07-25 2008-01-30 华为技术有限公司 Information transmission method, device and system
WO2010137883A2 (en) * 2009-05-29 2010-12-02 Lg Innotek Co., Ltd. Terminal, system and method for electronic shelf label using radio-frequency identification
CN102708388A (en) * 2012-03-02 2012-10-03 友达光电股份有限公司 Electronic tag system, electronic tag and method for updating electronic tag
CN103324965A (en) * 2013-06-05 2013-09-25 佛山市广华合志科技有限公司 Electronic goods shelf label based on FPGA
US8676657B2 (en) * 2008-09-12 2014-03-18 Ibm International Group, B.V. Automated service and support notices using electronic shopping lists
CN104112156A (en) * 2013-04-18 2014-10-22 财团法人工业技术研究院 System and method for updating electronic shelf label and updating device and method thereof
EP2819072A1 (en) * 2013-06-28 2014-12-31 Samsung Electro-Mechanics Co., Ltd. System for electronic shelf label and method of operating system for electronic shelf label
CN204557535U (en) * 2015-02-15 2015-08-12 上海布鲁斯凯物联网科技有限公司 Based on electronic tag and the electronic labelling system of bluetooth 4.0
CN105117752A (en) * 2015-09-07 2015-12-02 丹阳伦图电子技术有限公司 Bluetooth technology-based ESL (electronic shelf label) system
CN105320981A (en) * 2014-07-07 2016-02-10 上海网频电子科技有限公司 Bluetooth radio frequency identification active RFID tag
CN105446764A (en) * 2014-12-10 2016-03-30 苏州汉朗光电有限公司 Online update type electronic tag system and update method therefor
CN206162633U (en) * 2016-07-29 2017-05-10 广州奥松电子有限公司 Electronic tags of refrigerator -freezer goods shelves
CN106997427A (en) * 2017-04-06 2017-08-01 苏州易泰勒电子科技有限公司 A kind of communication system and its method based on electronic medicine shelf label
CN108764437A (en) * 2018-08-22 2018-11-06 浙江莲荷科技有限公司 Electronic tag assembly and the showing stand that electronic tag assembly can be accommodated
CN108989994A (en) * 2018-07-13 2018-12-11 京东方科技集团股份有限公司 A kind of data-updating method, electronic tag, control terminal and system

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101114845A (en) * 2006-07-25 2008-01-30 华为技术有限公司 Information transmission method, device and system
US8676657B2 (en) * 2008-09-12 2014-03-18 Ibm International Group, B.V. Automated service and support notices using electronic shopping lists
WO2010137883A2 (en) * 2009-05-29 2010-12-02 Lg Innotek Co., Ltd. Terminal, system and method for electronic shelf label using radio-frequency identification
CN102708388A (en) * 2012-03-02 2012-10-03 友达光电股份有限公司 Electronic tag system, electronic tag and method for updating electronic tag
CN104112156A (en) * 2013-04-18 2014-10-22 财团法人工业技术研究院 System and method for updating electronic shelf label and updating device and method thereof
CN103324965A (en) * 2013-06-05 2013-09-25 佛山市广华合志科技有限公司 Electronic goods shelf label based on FPGA
EP2819072A1 (en) * 2013-06-28 2014-12-31 Samsung Electro-Mechanics Co., Ltd. System for electronic shelf label and method of operating system for electronic shelf label
CN105320981A (en) * 2014-07-07 2016-02-10 上海网频电子科技有限公司 Bluetooth radio frequency identification active RFID tag
CN105446764A (en) * 2014-12-10 2016-03-30 苏州汉朗光电有限公司 Online update type electronic tag system and update method therefor
CN204557535U (en) * 2015-02-15 2015-08-12 上海布鲁斯凯物联网科技有限公司 Based on electronic tag and the electronic labelling system of bluetooth 4.0
CN105117752A (en) * 2015-09-07 2015-12-02 丹阳伦图电子技术有限公司 Bluetooth technology-based ESL (electronic shelf label) system
CN206162633U (en) * 2016-07-29 2017-05-10 广州奥松电子有限公司 Electronic tags of refrigerator -freezer goods shelves
CN106997427A (en) * 2017-04-06 2017-08-01 苏州易泰勒电子科技有限公司 A kind of communication system and its method based on electronic medicine shelf label
CN108989994A (en) * 2018-07-13 2018-12-11 京东方科技集团股份有限公司 A kind of data-updating method, electronic tag, control terminal and system
CN108764437A (en) * 2018-08-22 2018-11-06 浙江莲荷科技有限公司 Electronic tag assembly and the showing stand that electronic tag assembly can be accommodated

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
基于蓝牙4.0的广播通信;WOwo大神;《https://blog.csdn.net/z497544849/article/details/53929861》;20161229;正文第2-3节 *
无线网络电子价签系统的设计与实现;刘美健;《计算机应用》;20141231;全文 *

Also Published As

Publication number Publication date
CN109874135A (en) 2019-06-11

Similar Documents

Publication Publication Date Title
CN109874135B (en) Bluetooth electronic price tag and data updating method thereof
EP2800341B1 (en) A method and technical equipment for short range data transmission
EP2080350B1 (en) Connectionless information transfer from advertising device
CN102088792B (en) BSS/PBSS support and schedule-free networking in 60GHz
KR100473667B1 (en) Radio communication system, radio communication apparatus, and radio communicating method
US7356347B1 (en) Efficient discovery of devices in a bluetooth environment
US20170311240A1 (en) Discovery method and an electronic device thereof
KR101407942B1 (en) Method for pairing of device using milimeter wave band and apparatus for performing the same
US20060189359A1 (en) Power-conserving intuitive device discovery technique in a Bluetooth environment
US8379555B2 (en) Method and apparatus of awaking a communication device
CN102387612B (en) Device for mobile communication, mobile network sharing method and electronic installation
WO2020224522A1 (en) Method for updating data, electronic tag, display system, electronic apparatus and storage medium
US8908105B2 (en) Wireless display system, wireless display device and method for switching working mode
CN106028266B (en) Information transmission method, device and system
CN210804487U (en) Electronic price tag and electronic price tag display information modification system
WO2018196799A1 (en) Wireless access point, terminal device, and method for wireless access point to wake up terminal device
CN111343614A (en) BLE active scanning-oriented rapid discovery mechanism
CN108334917B (en) Low-power consumption wireless electronic tag system based on LORA technology
CN107708077B (en) Electronic student identity card and short message issuing system
CN104469656B (en) Data transmission method based on NFC and system
CN105722017A (en) Method for broadcasting and scanning wireless label in low power consumption
CN216491077U (en) Key system for collecting and transmitting data of Internet of things
CN113747543B (en) Network distribution method, equipment, device and storage medium
CN1165117C (en) Method for realizing wire-wireless general-use blue tooth keyboard function
CN209044654U (en) A kind of electronic tag AP device and electronic labelling system

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