CN112636791B - Electronic price tag communication method, electronic price tag communication device and computer readable storage medium - Google Patents

Electronic price tag communication method, electronic price tag communication device and computer readable storage medium Download PDF

Info

Publication number
CN112636791B
CN112636791B CN202011465113.0A CN202011465113A CN112636791B CN 112636791 B CN112636791 B CN 112636791B CN 202011465113 A CN202011465113 A CN 202011465113A CN 112636791 B CN112636791 B CN 112636791B
Authority
CN
China
Prior art keywords
electronic price
price tag
target electronic
communication channel
data gateway
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
CN202011465113.0A
Other languages
Chinese (zh)
Other versions
CN112636791A (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.)
Nubia Technology Co Ltd
Original Assignee
Nubia 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN202011465113.0A priority Critical patent/CN112636791B/en
Publication of CN112636791A publication Critical patent/CN112636791A/en
Application granted granted Critical
Publication of CN112636791B publication Critical patent/CN112636791B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B5/00Near-field transmission systems, e.g. inductive or capacitive transmission systems
    • H04B5/70Near-field transmission systems, e.g. inductive or capacitive transmission systems specially adapted for specific purposes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • G06K17/0022Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisions for transferring data to distant stations, e.g. from a sensing device
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/0231Traffic management, e.g. flow control or congestion control based on communication conditions
    • H04W28/0236Traffic management, e.g. flow control or congestion control based on communication conditions radio quality, e.g. interference, losses or delay
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application provides an electronic price tag communication method which is applied to an electronic price tag system, wherein the electronic price tag system comprises a data gateway, a broadcasting gateway, a main control device and a plurality of electronic price tags, and the method comprises the following steps: the main control equipment stores bitmap data corresponding to the target electronic price tag into the data gateway; the main control equipment controls the broadcast gateway to send a broadcast data packet containing a label of the target electronic price tag, wherein the broadcast data packet also comprises a channel list, and the channel list comprises at least one communication channel; the data gateway tries to establish communication connection with the target electronic price tag according to the channel list; when the data gateway successfully establishes communication connection with the target electronic price tag through a communication channel, the data gateway pushes bitmap data to the target electronic price tag based on the communication channel and the label. The application also provides an electronic price tag communication method, device and computer readable storage medium. Such bitmap data may be pushed to the target electronic price tag based on a communication channel of the channel list.

Description

Electronic price tag communication method, electronic price tag communication device and computer readable storage medium
Technical Field
The present disclosure relates to the field of electronic devices, and in particular, to a method and an apparatus for electronic price tag communication, and a computer readable storage medium.
Background
Electronic tags (Electronic Shelf Label, ESL) have become a trend for replacing traditional paper tags. At present, the electronic price tag is used by various large-scale commercial enterprises as a standard of new retail industry. The communication channel commonly used in current electronic price tag systems is 2.4G (2402 MHz-2483 Mhz). Because the 2.4G frequency band is free, the frequency band is very crowded, and meanwhile, wifi, bluetooth, microwave ovens, amateur radio and other devices basically use the frequency band, the transmission process is easy to be interfered by outsourcing and inside, and the problem of how to avoid the interference on a communication channel, so that the signal transmission is successful, and the problem to be solved urgently is solved.
Disclosure of Invention
The main purpose of the application is to provide an electronic price tag communication method, electronic price tag communication equipment and a computer readable storage medium, aiming at introducing a frequency hopping intelligent optimization technology so as to realize successful signal transmission.
In order to achieve the above object, the present application provides an electronic price tag communication method applied to an electronic price tag system, where the electronic price tag system includes a data gateway, a broadcast gateway, a main control device communicatively connected with the data gateway and the broadcast gateway, and a plurality of electronic price tags, and the electronic price tag communication method includes:
The main control equipment stores bitmap data corresponding to the target electronic price tag into the data gateway;
the main control equipment controls the broadcast gateway to send a broadcast data packet containing the tag of the target electronic price tag, wherein the broadcast data packet also contains a channel list used by the data gateway, and the channel list comprises at least one communication channel;
the data gateway tries to establish communication connection with the target electronic price tag according to the channel list;
when the data gateway successfully establishes communication connection with the target electronic price tag through a communication channel in the channel list, the data gateway pushes the bitmap data to the target electronic price tag based on the communication channel and the label.
Optionally, each electronic price tag corresponds to a unique label, and the channel list includes a default communication channel and an alternative communication channel.
Optionally, the electronic price tag communication method further includes:
and when the data gateway fails to establish communication connection with the target electronic price tag based on the default communication channel for a first preset number of times, the data gateway frequency hops to the alternative communication channel so as to attempt to establish communication connection with the target electronic price tag through the alternative communication channel.
Optionally, the electronic price tag communication method further includes:
when the data gateway establishes communication connection with the target electronic price tag based on the default communication channel and the data gateway fails to push the bitmap data to the target electronic price tag, the data gateway frequency hops to the alternative communication channel so as to attempt to establish communication connection with the target electronic price tag through the alternative communication channel.
Optionally, the electronic price tag communication method further includes:
and when the data gateway fails to establish communication connection with the target electronic price tag or fails to successfully push the bitmap data to the target electronic price tag based on the default communication channel and the standby communication channel, the main control equipment controls the data gateway to give up pushing the bitmap data to the target electronic price tag.
Optionally, the electronic price tag communication method further includes:
and when the data gateway finishes pushing the bitmap data to the target electronic price tag, the data gateway restores to the default communication channel.
Optionally, the step of storing, by the master control device, bitmap data corresponding to the target electronic price tag into the data gateway includes:
And the master control equipment stores bitmap data corresponding to the target electronic price tag into a buffer of the data gateway through a UART.
The application also provides another electronic price tag communication method, which comprises the following steps:
transmitting a broadcast data packet containing a tag of the target electronic price tag based on a default communication channel;
judging whether to establish communication connection with the target electronic price tag;
if communication connection with the target electronic price tag is not established on the default communication channel, switching to an alternative communication channel by the default communication channel so as to send a broadcast data packet containing the label of the target electronic price tag based on the alternative communication channel;
and if the communication connection is successfully established with the target electronic price tag on the default communication channel, issuing price tag data to the target electronic price tag based on the default communication channel.
The application also provides an electronic price tag communication device comprising: a processor; and the memory is connected with the processor and contains control instructions, and when the processor reads the control instructions, the electronic price tag communication equipment is controlled to realize the electronic price tag communication method.
The present application also provides a computer-readable storage medium having one or more programs that are executed by one or more processors to implement the electronic price tag communication method described above.
According to the electronic price tag communication method, the main control equipment stores bitmap data corresponding to the target electronic price tag into the data gateway; the main control equipment controls the broadcast gateway to send a broadcast data packet containing the tag of the target electronic price tag, wherein the broadcast data packet also contains a channel list used by the data gateway, and the channel list comprises at least one communication channel; the data gateway tries to establish communication connection with the target electronic price tag according to the channel list; when the data gateway successfully establishes communication connection with the target electronic price tag through a communication channel in the channel list, the data gateway pushes the bitmap data to the target electronic price tag based on the communication channel and the label, so that the target electronic price tag can display and update commodity information based on the received bitmap data, and the data gateway can push the bitmap data to the target electronic price tag based on one communication channel of the channel list. According to the electronic price tag communication method, device and computer readable storage medium, a broadcast data packet containing a label of a target electronic price tag can be sent based on a default communication channel, then whether communication connection is established with the target electronic price tag is judged, if communication connection cannot be established with the target electronic price tag on the default communication channel, the default communication channel is switched to an alternative communication channel so as to send the broadcast data packet containing the label of the target electronic price tag based on the alternative communication channel, and accordingly when communication connection cannot be established with the target electronic price tag on the default communication channel, the alternative communication channel can be switched to so as to send the broadcast data packet containing the label of the target electronic price tag based on the alternative communication channel, and accordingly data can be effectively transmitted in time.
The foregoing description is only an overview of the present invention, and is intended to be implemented in accordance with the teachings of the present invention in order that the same may be more clearly understood and to make the same and other objects, features and advantages of the present invention more readily apparent.
Drawings
FIG. 1 is a flow chart of a method for electronic price tag communication according to an embodiment of the present application;
FIG. 2 is a schematic diagram of the electronic price tag communication system shown in FIG. 1;
FIG. 3 is a flowchart of an electronic price tag communication method according to another embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic price tag communication device according to an embodiment of the present application.
The realization, functional characteristics and advantages of the present application will be further described with reference to the embodiments, referring to the attached drawings.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
In the following description, suffixes such as "module", "component", or "unit" for representing elements are used only for facilitating the description of the present invention, and have no specific meaning per se. Thus, "module," "component," or "unit" may be used in combination.
Fig. 1 is a flowchart of a first embodiment of an electronic price tag communication method provided herein. Once triggered by the user, the process in this embodiment automatically operates through the electronic price tag communication system 100, where each step may be performed sequentially as shown in the flowchart, or may be performed simultaneously according to the actual situation, which is not limited herein. As shown in fig. 2, the electronic price tag system 100 includes at least one data gateway 101, at least one broadcast gateway 102, a master control device 103 communicatively connected to the data gateway 101 and the broadcast gateway 102, and a plurality of electronic price tags 104. The electronic price tag communication method provided by the application comprises the following steps:
step S310, the master control device 103 stores bitmap data corresponding to the target electronic price tag into the data gateway 101;
step S330, the master control device 103 controls the broadcast gateway 102 to send a broadcast data packet containing the tag of the target electronic price tag, where the broadcast data packet further contains a channel list used by the data gateway 101, and the channel list includes at least one communication channel;
In step S350, the data gateway 101 attempts to establish a communication connection with the target electronic price tag according to the channel list.
In step S370, when the data gateway 101 successfully establishes a communication connection with the target electronic price tag through a communication channel in the channel list, the data gateway 101 pushes the bitmap data to the target electronic price tag based on the communication channel and the label.
With the above embodiment, first, the master control device 103 stores bitmap data corresponding to a target electronic price tag into the data gateway 101; secondly, the master control device 103 controls the broadcast gateway 102 to send a broadcast data packet containing the tag of the target electronic price tag, wherein the broadcast data packet further contains a channel list used by the data gateway 101, and the channel list includes at least one communication channel; again the data gateway 101 attempts to establish a communication connection with the target electronic price tag according to the channel list; finally, when the data gateway 101 successfully establishes communication connection with the target electronic price tag through a communication channel in the channel list, the data gateway 101 pushes the bitmap data to the target electronic price tag based on the communication channel and the label, so that the target electronic price tag can perform commodity information display update based on the received bitmap data, and the data gateway 101 can push the bitmap data to the target electronic price tag based on one communication channel in the channel list.
The above steps will be specifically described with reference to specific embodiments.
In step S310, the master device 103 stores bitmap data corresponding to the target electronic price tag in the data gateway 101.
In this embodiment, the target electronic price tag may be one of the plurality of electronic price tags 104.
In this embodiment, each electronic price tag 104 may correspond to a unique tag. The tag may refer to identification information of the electronic price tag 104, and the identification information may be a flag of each electronic price tag 104, which is used to identify the electronic price tag 104. The identification information may be a unique number of the electronic price tag 104 when leaving the factory, or a random code automatically generated by the electronic price tag 104, or a unique code, a character, a number, etc. set by a user for each electronic price tag 104. It should be noted that the above identification information is only exemplary, and is not limited thereto.
In this embodiment, the step of storing, by the master device 103, bitmap data corresponding to a target electronic price tag into the data gateway 101 includes:
in step S3101, the master device 103 may store bitmap data corresponding to the target electronic price tag in the buffer of the data gateway 101 through UART.
Specifically, the master device 103 may store bitmap data corresponding to the target electronic price tag into the buffer of the data gateway 101 through a universal asynchronous receiver Transmitter (Universal Asynchronous Receiver/Transmitter, UART), and then may notify the broadcast gateway 102 to put the tag of the target electronic price tag into a broadcast data packet through the UART.
In step S330, the master device 103 controls the broadcast gateway 102 to send a broadcast packet containing the tag of the target electronic price tag, where the broadcast packet further contains a channel list used by the data gateway 101, and the channel list includes at least one communication channel.
In this embodiment, the broadcast data packet may include data such as identification information, which is a tag of the target electronic price tag, a time period in which the target electronic price tag broadcasts the data packet, whether a current display state of the target electronic price tag is normal or abnormal, a current electric quantity value of the target electronic price tag, a model number of the target electronic price tag, a location of the target electronic price tag, display identification information of a content displayed on a current interface of the target electronic price tag, and the like. It will be appreciated that the user may set the broadcast packet according to actual requirements, which is not limited.
In this embodiment, the broadcast packet may further include a channel list used by the data gateway 101, where the channel list may include at least one communication channel. The list of channels used by the data gateway 101 may be allocated by the master device 103. The channel list may include default communication channels and alternate communication channels. The frequency band of the default communication channel may be 2.4G (2402 MHz-2483 MHz), and the frequency band of the alternative communication channel may be a frequency band other than 2.4G, where the frequency band of the alternative communication channel differs greatly from the frequency band of the default communication channel, so as to avoid interference. The default communication channel may be set to the first bit in the channel list so that in a subsequent step the data gateway 101 may first attempt to establish a communication connection with the target electronic price tag based on the default communication channel in the channel list. The alternative communication channels may be one or more. It will be appreciated that the number of the alternative communication channels may be set by the user according to actual requirements, which is not limited.
In this embodiment, the master control device 103 may control the broadcast gateway 102 to transmit a broadcast packet including the tag of the target electronic price tag.
In step S350, the data gateway 101 attempts to establish a communication connection with the target electronic price tag according to the channel list.
In this embodiment, the data gateway 101 may attempt to establish a communication connection with the target electronic price tag based on a wireless internet protocol (ZigBee) according to the default communication channel or the alternative communication channel in the channel list.
Specifically, the data gateway 101 may send a request for establishing a communication connection to the target electronic price tag associated with the tag based on a wireless network protocol according to the default communication channel or the alternative communication channel, the target electronic price tag receives the request for establishing a communication connection sent by the data gateway 101, generates response information based on the request for establishing a communication connection, sends the response information to the data gateway 101 in the default communication channel or the alternative communication channel, and the data gateway 101 may receive the response information sent by the target electronic price tag in the default communication channel or the alternative communication channel, so as to determine whether to successfully establish a communication connection with the target electronic price tag. When the data gateway 101 receives the response information sent by the target electronic price tag on the default communication channel or the alternative communication channel, the data gateway 101 indicates that the communication connection between the data gateway 101 and the target electronic price tag on the default communication channel or the alternative communication channel is established; and when the data gateway 101 does not receive the response information sent by the target electronic price tag within the preset time, the data gateway 101 is indicated to not establish communication connection with the target electronic price tag. The preset time may be set by the user himself, which is not limited.
For example, after receiving the connection request of the target electronic price tag, the data gateway 101 SENDs the first transport block to the target electronic price tag, and the transport of the transport block may adopt a SEND-ACK mode. When the data gateway 101 receives the acknowledgement character (Acknowledge character, ACK) returned by the target electronic price tag, the data gateway 101 may perform transmission of the transport block. In this embodiment, the electronic price tag communication method further includes:
in step S3501, when the data gateway 101 fails to establish a communication connection with the target electronic price tag based on the default communication channel for a first preset number of times, the data gateway 101 hops to the alternative communication channel to attempt to establish a communication connection with the target electronic price tag through the alternative communication channel.
In this embodiment, the first preset number of times may be set by the user according to actual needs, for example, three times, five times, six times, and the like. When the data gateway 101 fails to establish a communication connection with the target electronic price tag based on the first preset number of times of attempts by the default communication channel within the preset time, that is, the data gateway 101 does not receive response information sent by the target electronic price tag within the preset time by the default communication channel, the data gateway 101 may frequency-hop to the alternative communication channel to attempt to establish a communication connection with the target electronic price tag through the alternative communication channel.
In this embodiment, taking the first preset number of times as three, and the preset time as one minute as an example, when the data gateway 101 fails to establish a communication connection with the target electronic price tag in three attempts within one minute based on the default communication channel, the data gateway 101 may frequency-hop to the alternative communication channel to attempt to establish a communication connection with the target electronic price tag through the alternative communication channel.
In this embodiment, for example, the default communication channel is marked as 2. When the data gateway 101 fails to establish a communication connection with the target electronic price tag based on the default communication channel 2, the data gateway 101 may frequency hop to the alternate communication channel to attempt to establish a communication connection with the target electronic price tag through the alternate communication channel.
In this embodiment, when the number of the alternative communication channels is greater than one and the data gateway 101 fails to establish a communication connection with the target electronic price tag based on the first preset number of times of attempting by the default communication channel and the second preset number of times of attempting by the alternative communication channel, the data gateway 101 may frequency-hop to other alternative communication channels to attempt to establish a communication connection with the target electronic price tag through the other alternative communication channels. The second preset number of times may also be set by the user according to actual requirements, for example, twice, three times, four times, etc. It is understood that the second preset number of times may be the same as or different from the first preset number of times.
In this embodiment, for example, the default communication channel is marked as 2. The number of alternate communication channels is two, including a first alternate communication channel labeled 16 and a second alternate communication channel labeled 8. When the data gateway 101 fails to establish a communication connection with the target electronic price tag based on the default communication channel 2, the data gateway 101 may frequency hop to the first alternate communication channel 16 to attempt to establish a communication connection with the target electronic price tag through the first alternate communication channel 16; when the data gateway 101 fails to establish a communication connection with the target electronic price tag based on the first alternative communication channel 16, the data gateway 101 may also frequency hop to the second alternative communication channel 8 to attempt to establish a communication connection with the target electronic price tag through the second alternative communication channel 8.
In other embodiments, the number of the alternative communication channels may be zero, and when the data gateway 101 fails to establish a communication connection with the target electronic price tag based on the first preset number of attempts of the default communication channels and the number of the alternative communication channels is zero, the data gateway 101 may report an exception to the master control device 103 directly through a preset interface without frequency hopping.
In step S370, when the data gateway 101 successfully establishes a communication connection with the target electronic price tag through a communication channel in the channel list, the data gateway 101 pushes the bitmap data to the target electronic price tag based on the communication channel and the label.
In this embodiment, when the data gateway 101 successfully establishes a communication connection with the target electronic price tag through the default communication channel or the alternative communication channel, the data gateway 101 may push the bitmap data to the target electronic price tag based on the default communication channel or the alternative communication channel and the label.
In this embodiment, when the data gateway 101 receives the response information sent by the target electronic price tag on the default communication channel or the alternative communication channel but does not receive the reception success information sent by the target electronic price tag, it indicates that the data gateway 101 has established a communication connection with the target electronic price tag based on the default communication channel or the alternative communication channel but fails to push the bitmap data to the target electronic price tag. When the data gateway 101 receives the response information sent by the target electronic price tag and receives the reception success information sent by the target electronic price tag on the default communication channel or the alternative communication channel, it indicates that the data gateway 101 has successfully pushed the bitmap data to the target electronic price tag.
In this embodiment, the electronic price tag communication method further includes:
in step S3701, when the data gateway 101 establishes a communication connection with the target electronic price tag based on the default communication channel and the data gateway 101 fails to push the bitmap data to the target electronic price tag, the data gateway 101 hops to the alternative communication channel to attempt to establish a communication connection with the target electronic price tag through the alternative communication channel.
In this embodiment, when the data gateway 101 receives the response information sent by the target electronic price tag on the default communication channel but does not receive the reception success information sent by the target electronic price tag, it indicates that the data gateway 101 has established a communication connection with the target electronic price tag based on the default communication channel but fails to successfully push the bitmap data to the target electronic price tag. When the data gateway 101 receives the response information sent by the target electronic price tag and receives the successful receipt information sent by the target electronic price tag in the default communication channel, the data gateway 101 indicates that the bitmap data has been successfully pushed to the target electronic price tag.
In this embodiment, when the data gateway 101 receives the response information sent by the target electronic price tag on the default communication channel within the preset time, but the data gateway 101 fails to successfully push the bitmap data to the target electronic price tag within the preset time period, the data gateway 101 may frequency hop to the alternative communication channel to attempt to establish a communication connection with the target electronic price tag through the alternative communication channel, and attempt to push the bitmap data to the target electronic price tag after establishing the communication connection, so as to ensure that the bitmap data can be effectively transmitted in time. The preset period may be set by the user himself, which is not limited. The preset period and the preset time may be the same or different.
In this embodiment, when the continuous communication between the data gateway 101 and the target electronic price tag is not successful, the data gateway 101 starts to hop frequency, and the target electronic price tag also hops according to the channel list (the target electronic price tag hops may have delay with respect to the data gateway 101), the data gateway 101 may send a transmission block on the frequency band of the current hop until receiving the ACK of the target electronic price tag.
It will be appreciated that the bitmap data may be divided into a plurality of transport blocks for transmission, and the transport blocks may be transmitted using SEND-ACK, and after a plurality of transmission failures, may be synchronized to other alternative communication channels by a synchronization command (SYNC) short packet.
For example, the default communication channel is labeled 2. When the data gateway 101 establishes a communication connection with the target electronic price tag based on the default communication channel 2 and the data gateway 101 fails to push the bitmap data to the target electronic price tag, the data gateway 101 may frequency hop to the alternative communication channel to attempt to establish a communication connection with the target electronic price tag through the alternative communication channel.
In this embodiment, when the number of the alternative communication channels is greater than one and the data gateway 101 establishes a communication connection with the target electronic price tag based on the default communication channel and one of the alternative communication channels, but fails to successfully push the bitmap data to the target electronic price tag, the data gateway 101 may frequency hop to other alternative communication channels to attempt to establish a communication connection with the target electronic price tag through the other alternative communication channels, thereby improving the utilization rate of the communication channels in the channel list.
For example, the default communication channel is labeled 2. The number of alternate communication channels is two, including a first alternate communication channel labeled 16 and a second alternate communication channel labeled 8. When the data gateway 101 establishes a communication connection with the target electronic price tag based on the default communication channel 2 and the data gateway 101 fails to successfully push the bitmap data to the target electronic price tag, the data gateway 101 may frequency hop to the first alternative communication channel 16 to attempt to establish a communication connection with the target electronic price tag through the first alternative communication channel 16; when the data gateway 101 fails to successfully push the bitmap data to the target electronic price tag based on the first alternative communication channel 16, the data gateway 101 may frequency hop to the second alternative communication channel 8 to attempt to establish a communication connection with the target electronic price tag through the second alternative communication channel 8.
In this embodiment, the electronic price tag communication method further includes:
in step S3702, when the data gateway 101 completes pushing the bitmap data to the target electronic price tag, the data gateway 101 reverts to the default communication channel.
In this embodiment, when the data gateway 101 establishes a communication connection with the target electronic price tag through the alternative communication channel and completes pushing the bitmap data to the target electronic price tag, the data gateway 101 may hop to the default communication channel to temporarily borrow the alternative communication channel to complete the bitmap data transmission, and restore to the default communication channel to perform communication connection with the target electronic price tag after the transmission is completed.
In this embodiment, the electronic price tag communication method further includes:
in step S3703, when the data gateway 101 fails to establish a communication connection with the target electronic price tag or fails to push the bitmap data to the target electronic price tag based on the default communication channel and the alternative communication channel, the master control device 103 controls the data gateway 101 to discard pushing the bitmap data to the target electronic price tag.
In this embodiment, when the data gateway 101 fails to establish a communication connection with the target electronic price tag or fails to push the bitmap data to the target electronic price tag based on the default communication channel and all the alternative communication channels, the master control device 103 may control the data gateway 101 to discard pushing the bitmap data to the target electronic price tag.
With the above embodiment, bitmap data corresponding to the target electronic price tag is stored in the data gateway 101 by the main control device 103; the master control device 103 controls the broadcast gateway 102 to send a broadcast data packet containing the tag of the target electronic price tag, wherein the broadcast data packet further contains a channel list used by the data gateway 101, and the channel list includes at least one communication channel; the data gateway 101 attempts to establish a communication connection with the target electronic price tag according to the channel list; when the data gateway 101 successfully establishes communication connection with the target electronic price tag through a communication channel in the channel list, the data gateway 101 pushes the bitmap data to the target electronic price tag based on the communication channel and the label, so that the target electronic price tag can perform commodity information display update based on the received bitmap data, and the data gateway 101 can push the bitmap data to the target electronic price tag based on the communication channel of the channel list.
Fig. 3 is a flow chart of a second embodiment of an electronic price tag communication method provided herein. Once triggered by the user, the process in this embodiment automatically operates through the electronic price tag communication device 200, where each step may be performed sequentially as shown in the flowchart, or may be performed simultaneously according to the actual situation, which is not limited herein. The electronic price tag communication method provided by the application comprises the following steps:
Step S410, a broadcast data packet containing a tag of a target electronic price tag is sent based on a default communication channel;
step S430, judging whether to establish communication connection with the target electronic price tag;
step S450, if the communication connection with the target electronic price tag is not established on the default communication channel, switching to an alternative communication channel by the default communication channel so as to send a broadcast data packet containing the label of the target electronic price tag based on the alternative communication channel;
step S470, if the communication connection is successfully established with the target electronic price tag on the default communication channel, issuing price tag data to the target electronic price tag based on the default communication channel.
In this embodiment, the default communication channel, the alternative communication channel, and the broadcast packet are the same as the above embodiments, and are not described herein.
In this embodiment, a broadcast packet including a tag of the target electronic price tag is first transmitted based on the default communication channel, and then a request for establishing a communication connection is transmitted to the target electronic price tag associated with the tag according to the default communication channel, and it is determined whether to establish a communication connection with the target electronic price tag. If the response information sent by the target electronic price tag is received, the communication connection between the target electronic price tag and the default communication channel is successfully established; and if the response information sent by the target electronic price tag is not received, indicating that communication connection with the target electronic price tag cannot be established on the default communication channel.
In this embodiment, when the response information sent by the target electronic price tag is not received on the default communication channel, that is, communication connection with the target electronic price tag cannot be established on the default communication channel, the default communication channel may be switched to an alternative communication channel, so as to send a broadcast data packet containing the tag of the target electronic price tag based on the alternative communication channel.
For example, the default communication channel is labeled 2. When a communication connection with the target electronic price tag is not established on the default communication channel 2, frequency hopping to the alternative communication channel is possible to transmit broadcast data packets containing the tag of the target electronic price tag based on the alternative communication channel.
In this embodiment, when the number of the alternative communication channels is greater than one and a communication connection with the target electronic price tag cannot be established on one of the alternative communication channels, frequency hopping may be performed to other alternative communication channels so as to transmit a broadcast data packet including a tag of the target electronic price tag based on the alternative communication channels.
For example, the default communication channel is labeled 2. The number of the alternative communication channels is three, including a first alternative communication channel, a second alternative communication channel and a third alternative communication channel, wherein the first alternative communication channel is marked with 16, the second alternative communication channel is marked with 8, and the third alternative communication channel is marked with 4. When a communication connection with the target electronic price tag is not established on the default communication channel 2, frequency hopping to the first alternative communication channel 16 to transmit a broadcast data packet containing a tag of the target electronic price tag based on the first alternative communication channel 16; when a communication connection is also not established with the target electronic price tag on the first alternative communication channel 16, frequency hopping to the second alternative communication channel 8 can be performed to send a broadcast data packet containing a tag of the target electronic price tag based on the second alternative communication channel 8; when a communication connection with the target electronic price tag is not yet established on the second alternative communication channel 8, frequency hopping to the third alternative communication channel 4 is possible to transmit a broadcast data packet containing a tag of the target electronic price tag based on the third alternative communication channel 4.
In this embodiment, when the transmission of the broadcast data packet including the tag of the target electronic price tag is completed based on the alternative communication channel, the broadcast data packet may be frequency-hopped to the default communication channel, so that the data transmission is completed by temporarily borrowing the alternative communication channel through frequency hopping, and after the transmission is completed, the communication connection between the default communication channel and the target electronic price tag is restored. The target electronic price tag may also revert to the default communication channel after transmission is completed.
In this embodiment, if the communication connection is successfully established with the target electronic price tag on the default communication channel, price tag data may be directly issued to the target electronic price tag based on the default communication channel.
According to the embodiment, the broadcast data packet containing the tag of the target electronic price tag is sent based on the default communication channel, then whether communication connection is established with the target electronic price tag is judged, if communication connection is not established with the target electronic price tag on the default communication channel, the default communication channel is switched to the alternative communication channel, so that the broadcast data packet containing the tag of the target electronic price tag is sent based on the alternative communication channel, and when communication connection is not established with the target electronic price tag on the default communication channel, the alternative communication channel can be switched to send the broadcast data packet containing the tag of the target electronic price tag based on the alternative communication channel, so that timely and effective data transmission is ensured.
Fig. 4 is a schematic structural diagram of an electronic price tag communication device 200 according to an embodiment of the present application, where the electronic price tag communication device 200 includes: a processor 201; a memory 202 is connected to the processor 201, the memory 202 contains control instructions, and when the processor 201 reads the control instructions, the electronic price tag communication device 200 is controlled to implement the following steps:
transmitting a broadcast data packet containing a tag of the target electronic price tag based on a default communication channel;
judging whether to establish communication connection with the target electronic price tag;
if communication connection with the target electronic price tag is not established on the default communication channel, switching to an alternative communication channel by the default communication channel so as to send a broadcast data packet containing the label of the target electronic price tag based on the alternative communication channel;
and if the communication connection is successfully established with the target electronic price tag on the default communication channel, issuing price tag data to the target electronic price tag based on the default communication channel.
Through the electronic price tag communication device 200, by firstly transmitting the broadcast data packet containing the label of the target electronic price tag based on the default communication channel, then judging whether to establish communication connection with the target electronic price tag, if the communication connection with the target electronic price tag cannot be established on the default communication channel, switching to the alternative communication channel by the default communication channel so as to transmit the broadcast data packet containing the label of the target electronic price tag based on the alternative communication channel, thereby switching to the alternative communication channel so as to transmit the broadcast data packet containing the label of the target electronic price tag based on the alternative communication channel when the communication connection with the target electronic price tag cannot be established on the default communication channel, and ensuring that data can be effectively transmitted in time.
The embodiments also provide a computer-readable storage medium having one or more programs executed by one or more processors to implement the steps of:
transmitting a broadcast data packet containing a tag of the target electronic price tag based on a default communication channel;
judging whether to establish communication connection with the target electronic price tag;
if communication connection with the target electronic price tag is not established on the default communication channel, switching to an alternative communication channel by the default communication channel so as to send a broadcast data packet containing the label of the target electronic price tag based on the alternative communication channel;
and if the communication connection is successfully established with the target electronic price tag on the default communication channel, issuing price tag data to the target electronic price tag based on the default communication channel.
According to the computer readable storage medium, the broadcast data packet containing the tag of the target electronic price tag is sent based on the default communication channel, then whether communication connection is established with the target electronic price tag is judged, if communication connection cannot be established with the target electronic price tag on the default communication channel, the default communication channel is switched to the alternative communication channel, so that the broadcast data packet containing the tag of the target electronic price tag is sent based on the alternative communication channel, and when communication connection cannot be established with the target electronic price tag on the default communication channel, the alternative communication channel can be switched to send the broadcast data packet containing the tag of the target electronic price tag based on the alternative communication channel, so that data can be effectively transmitted in time.
Embodiments of the present application also provide a computer-readable storage medium. The computer-readable storage medium here stores one or more programs. Wherein the computer readable storage medium may include volatile memory, such as random access memory; the memory may also include non-volatile memory, such as read-only memory, flash memory, hard disk, or solid state disk; the memory may also comprise a combination of the above types of memories.
The corresponding technical features in the above embodiments can be used mutually without causing contradiction between schemes or incapacitation.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The foregoing embodiment numbers of the present application are merely for describing, and do not represent advantages or disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), including several instructions for causing a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method described in the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those of ordinary skill in the art without departing from the spirit of the present application and the scope of the protection of the claims, which fall within the protection of the present application.

Claims (6)

1. The electronic price tag communication method is applied to an electronic price tag system, and the electronic price tag system comprises a data gateway, a broadcast gateway, a main control device and a plurality of electronic price tags, wherein the main control device is in communication connection with the data gateway and the broadcast gateway, and the electronic price tag communication method is characterized by comprising the following steps:
the main control equipment stores bitmap data corresponding to the target electronic price tag into the data gateway;
the main control equipment controls the broadcast gateway to send a broadcast data packet containing the tag of the target electronic price tag, wherein the broadcast data packet also contains a channel list used by the data gateway, and the channel list comprises a default communication channel and an alternative communication channel;
the data gateway attempts to establish a communication connection with the target electronic price tag based on the default communication channel;
when the data gateway successfully establishes communication connection with the target electronic price tag through the default communication channel, the data gateway pushes the bitmap data to the target electronic price tag based on the default communication channel and the label;
when the data gateway fails to establish communication connection with the target electronic price tag based on the default communication channel, the data gateway and the target electronic price tag both hop to the alternative communication channel to attempt to establish communication connection.
2. The electronic price tag communication method of claim 1, wherein each of the electronic price tags corresponds to a unique tag.
3. The electronic price tag communication method of claim 1, further comprising:
when the data gateway establishes communication connection with the target electronic price tag based on the default communication channel and the data gateway fails to successfully push the bitmap data to the target electronic price tag, the data gateway and the target electronic price tag both hop to the alternative communication channel so as to attempt to establish communication connection through the alternative communication channel.
4. The electronic price tag communication method of claim 1, further comprising:
and when the data gateway fails to establish communication connection with the target electronic price tag or fails to successfully push the bitmap data to the target electronic price tag based on the default communication channel and the standby communication channel, the main control equipment controls the data gateway to give up pushing the bitmap data to the target electronic price tag.
5. The electronic price tag communication method of claim 1 or 3, further comprising:
And when the data gateway finishes pushing the bitmap data to the target electronic price tag, the data gateway restores to the default communication channel.
6. The electronic price tag communication method of claim 1, wherein the step of storing bitmap data corresponding to the target electronic price tag in the data gateway by the main control device comprises:
and the master control equipment stores bitmap data corresponding to the target electronic price tag into a buffer of the data gateway through a UART.
CN202011465113.0A 2020-12-14 2020-12-14 Electronic price tag communication method, electronic price tag communication device and computer readable storage medium Active CN112636791B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011465113.0A CN112636791B (en) 2020-12-14 2020-12-14 Electronic price tag communication method, electronic price tag communication device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011465113.0A CN112636791B (en) 2020-12-14 2020-12-14 Electronic price tag communication method, electronic price tag communication device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN112636791A CN112636791A (en) 2021-04-09
CN112636791B true CN112636791B (en) 2023-06-27

Family

ID=75312380

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011465113.0A Active CN112636791B (en) 2020-12-14 2020-12-14 Electronic price tag communication method, electronic price tag communication device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN112636791B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103069883A (en) * 2010-08-11 2013-04-24 汤姆森特许公司 Combining bandwidth aware routing with channel selection and channel switching in a multi-hop wireless home network
CN103237355A (en) * 2013-04-25 2013-08-07 京信通信系统(中国)有限公司 Method and system for automatically distributing wireless communication channels
KR20140086530A (en) * 2012-12-28 2014-07-08 삼성전기주식회사 Electronic shef label system and chnnel formation method in electronic shef label system
CN106898129A (en) * 2017-01-13 2017-06-27 成都中科慧源科技有限公司 The radio communication gas meter, flow meter and its application method of a kind of many communication channels
CN110177384A (en) * 2019-07-15 2019-08-27 迈普通信技术股份有限公司 Cut-in method, device, wireless access point and readable storage medium storing program for executing
CN110446273A (en) * 2019-07-30 2019-11-12 深圳市天工测控技术有限公司 A kind of method and apparatus based on electronics price tag networking

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103069883A (en) * 2010-08-11 2013-04-24 汤姆森特许公司 Combining bandwidth aware routing with channel selection and channel switching in a multi-hop wireless home network
KR20140086530A (en) * 2012-12-28 2014-07-08 삼성전기주식회사 Electronic shef label system and chnnel formation method in electronic shef label system
CN103237355A (en) * 2013-04-25 2013-08-07 京信通信系统(中国)有限公司 Method and system for automatically distributing wireless communication channels
CN106898129A (en) * 2017-01-13 2017-06-27 成都中科慧源科技有限公司 The radio communication gas meter, flow meter and its application method of a kind of many communication channels
CN110177384A (en) * 2019-07-15 2019-08-27 迈普通信技术股份有限公司 Cut-in method, device, wireless access point and readable storage medium storing program for executing
CN110446273A (en) * 2019-07-30 2019-11-12 深圳市天工测控技术有限公司 A kind of method and apparatus based on electronics price tag networking

Also Published As

Publication number Publication date
CN112636791A (en) 2021-04-09

Similar Documents

Publication Publication Date Title
CN102067515B (en) Collision mitigation for multicast transmission in wireless local area networks
KR100558582B1 (en) Systems and Methods for Providing Seamless Handover to Wireless Computer Networks
CN103442396A (en) Wireless architecture for a traditional wire-based protocol
JP4586906B2 (en) Wireless communication apparatus, program, wireless communication method, and wireless communication system
CN112165413B (en) Equipment state reporting method and device and electronic device
JP2004274321A (en) Communication method and communication terminal device
CN103401692A (en) Broadcasting method and communication device
EP3911089A1 (en) Transmission processing method and device, and apparatus and storage medium
CN111263338A (en) Network distribution method of Bluetooth Mesh network and related network distribution equipment and system
CN104363581A (en) Determination method of associated terminal and related device
CN112636791B (en) Electronic price tag communication method, electronic price tag communication device and computer readable storage medium
US20100040041A1 (en) Switching role of apparatuses between controller (host) and participant (device) to schedule bi-directional data
EP1127472B1 (en) Method and system for restoring a subscriber context
US8693449B2 (en) Method of allocating and withdrawing time slot using position movement of time slot and TDMA communication system using the same
Huh et al. Improvement of multichannel LoRa networks based on distributed joint queueing
CN110087225B (en) Message processing method and related device
CN101529747A (en) Network devices having handover information and method of exchanging handover information between the devices
US10003954B2 (en) Method and apparatus for distributive mobility management
CN102883344A (en) Method and device for exchanging of wireless network management messages
CN109922466B (en) Method for realizing directional data access in multi-node wireless transmission system
US20120163295A1 (en) Communication apparatus and method
JPH08256162A (en) Radio lan system
CN112751650B (en) Method for determining sending rate of non-unicast data frame
WO2004077744A1 (en) Method and system for handoff to a destination base station by measuring signal strength of carrier signals during at least one csma-backoff time
JP3714009B2 (en) Multi-protocol compatible communication control method, multi-protocol compatible communication system, and multi-protocol compatible communication control processing program

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