CN112152749A - Communication method and related device for electronic price tag network - Google Patents

Communication method and related device for electronic price tag network Download PDF

Info

Publication number
CN112152749A
CN112152749A CN202011178659.8A CN202011178659A CN112152749A CN 112152749 A CN112152749 A CN 112152749A CN 202011178659 A CN202011178659 A CN 202011178659A CN 112152749 A CN112152749 A CN 112152749A
Authority
CN
China
Prior art keywords
electronic price
price tag
channel
network
base station
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.)
Granted
Application number
CN202011178659.8A
Other languages
Chinese (zh)
Other versions
CN112152749B (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 CN202011178659.8A priority Critical patent/CN112152749B/en
Publication of CN112152749A publication Critical patent/CN112152749A/en
Application granted granted Critical
Publication of CN112152749B publication Critical patent/CN112152749B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J11/00Orthogonal multiplex systems, e.g. using WALSH codes
    • H04J11/0023Interference mitigation or co-ordination
    • H04J11/0026Interference mitigation or co-ordination of multi-user interference
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W74/00Wireless channel access, e.g. scheduled or random access
    • H04W74/04Scheduled or contention-free access
    • 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

Abstract

The embodiment of the invention provides a communication method of an electronic price tag network and a related device, wherein the communication method of the electronic price tag network comprises the following steps: acquiring channel resource information of a current wireless network; acquiring identification information of the at least one electronic price tag, and distributing the at least one electronic price tag to different channels according to the identification information; and if two or more electronic price tags exist in the same channel, setting different wake-up times for the two or more electronic price tags. The embodiment of the invention can prevent the communication between different electronic price tags from generating interference, save the time of the electronic price tags traversing the whole network channel, save the power consumption of the electronic price tags and improve the communication efficiency of the whole electronic price tag network.

Description

Communication method and related device for electronic price tag network
Technical Field
The present invention relates to the field of electronic technologies, and in particular, to a communication method for an electronic price tag network and a related device.
Background
Nowadays, with the continuous progress of technology, it is a trend that Electronic price tags (ESL) are used to replace traditional paper price tags. Electronic price tags are used in large numbers in many off-line retail outlets. The use of the electronic price tags improves the working efficiency of stores, and saves a large amount of manpower and time cost.
Because the number of the electronic price tags is usually large, the electronic price tags are in a dormant state generally, and are in an awakening state only when needing to be updated, so that whether a call request from a base station exists is checked. Because a plurality of electronic price tags exist in a wireless network at the same time, how to communicate between a base station and the electronic price tags, how to avoid interference and improve communication efficiency is a technical problem which needs to be solved urgently.
Disclosure of Invention
Embodiments of the present invention provide a communication method and a related apparatus for an electronic price tag network, which determine a channel corresponding to an electronic price tag according to identification information of the electronic price tag, so that a plurality of electronic price tags are conveniently allocated to different channels, mutual communication interference is prevented, and communication efficiency is improved.
A first aspect of an embodiment of the present invention provides a communication method for an electronic price tag network, which is applied to a base station, where the electronic price tag network includes a base station and at least one electronic price tag wirelessly connected to the base station, and includes:
acquiring channel resource information of a current wireless network;
acquiring identification information of the at least one electronic price tag, and distributing the at least one electronic price tag to different channels according to the identification information;
and if two or more electronic price tags exist in the same channel, setting different wake-up times for the two or more electronic price tags.
Optionally, the wireless network includes: wifi and bluetooth, the channel resource information includes the channel number.
Optionally, the obtaining the identification information of the at least one electronic price tag, and allocating the at least one electronic price tag to different channels according to the identification information includes:
acquiring a media access control address of the at least one electronic price tag;
performing hash processing on the media access control address to obtain a corresponding hash value;
and allocating the at least one electronic price tag to different channels according to the hash value of the at least one electronic price tag.
Optionally, if two or more electronic price tags exist in the same channel, setting different wake-up times for the two or more electronic price tags, including:
and if the hash values of the two or more electronic price tags are the same, setting different wake-up times for the two or more electronic price tags respectively.
Optionally, the method further includes:
acquiring target electronic price tag information corresponding to the updating task;
calculating a hash value corresponding to the target electronic price tag according to the target electronic price tag information, and determining a target channel to which the target electronic price tag belongs according to the hash value;
sending an update connection request in the target channel.
A second aspect of an embodiment of the present invention provides a communication method for an electronic price tag network, where the electronic price tag network is applied to an electronic price tag, the electronic price tag network includes a base station and at least one electronic price tag wirelessly connected to the base station, and includes:
calculating the channel to which the user belongs according to the identification information of the user;
and if the wake-up time is up, waking up from the sleep state, and monitoring the connection request on the channel to which the terminal belongs.
Optionally, the calculating the channel to which the channel belongs according to the identification information of the channel itself includes:
acquiring a media access control address of the user;
performing hash processing on the media access control address to obtain a corresponding hash value;
and determining the corresponding channel according to the hash value.
A third aspect of the embodiments of the present invention provides a base station, where the base station includes:
a processor; and
and the memory is connected with the processor and contains a control instruction, and when the processor reads the control instruction, the communication method of the base station is controlled.
A fourth aspect of an embodiment of the present invention provides an electronic price tag, including:
a processor; and
and the memory is connected with the processor and comprises a control instruction, and when the processor reads the control instruction, the electronic price tag is controlled to realize the communication method.
A fifth aspect of the embodiments of the present invention provides a computer-readable storage medium, where the computer-readable storage medium has one or more programs, and the one or more programs are executed by one or more processors to implement the communication method described above.
The embodiment of the invention has the following beneficial effects:
according to the communication method and the related device of the electronic price tag network provided by the embodiment of the invention, the base station allocates the electronic price tags to different channels by acquiring the identification information of the electronic price tags and the channel resource information of the wireless network, and sets different wake-up times for the plurality of electronic price tags under the same channel, so that the electronic price tags can be grouped in two dimensions of the channel and the time, and the electronic price tags can be awakened at a specific wake-up time and monitored at a specific channel, thereby preventing the communication between different electronic price tags from generating interference, saving the time of the electronic price tags traversing the whole network channel, saving the power consumption of the electronic price tags and improving the communication efficiency of the whole electronic price tag network.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a diagram of an implementation environment of an electronic price tag network according to an embodiment of the present invention;
fig. 2 is a flowchart of a method according to an embodiment of a communication method of an electronic price tag network according to the present invention;
fig. 3 is a flowchart of a method of another implementation of a communication method of an electronic price tag network according to an embodiment of the present invention.
Fig. 4 is a schematic structural diagram of a base station according to an embodiment of the present invention.
Fig. 5 is a schematic structural diagram of an electronic price tag according to an embodiment of the present invention.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
Fig. 1 is an implementation environment diagram of an electronic price tag network according to an embodiment of the present invention. As shown in fig. 1, the electronic price tag network may include: a server 10, a base station 20, and an electronic price tag 30. The server 10 is configured to configure the display information of the electronic price tag 30 and to configure the base station 20 and the electronic price tag 30 accordingly. The base station 20, also called a gateway device, may be connected between the server 10 and the base station 20 in a wired manner, so as to ensure accuracy and real-time performance of data transmission. The number of base stations 20 may be multiple depending on the actual implementation. Adopt wireless connection between electron price tag 30 and the base station 20, wireless connection can be 2.4 GHz's private agreement, also can be through the mode of bluetooth connection, can also be through wifi connection. In still other embodiments, the connection mode may also be a narrowband internet of things or other modes, and the embodiment is not limited thereto. The electronic price tag 30 is used to indicate information such as price and name of a commodity in a store or a supermarket. In general, the number of the electronic price tags 30 is plural, and the base station 20 needs to consider the distance from the electronic price tag 30 when setting up the base station in order to facilitate communication with the electronic price tag 30. One base station 20 may manage a plurality of electronic price tags 30, for example, one base station 20 may manage 1000 electronic price tags 30. The electronic price tag 30 typically includes a separate storage medium, processor, and display screen. In one embodiment, the display screen of the electronic price tag 30 is an ink screen, thereby reducing power consumption and achieving endurance of several years. When the data information needs to be updated, the configuration is performed on the server 10, the base station 20 sends corresponding update information to the electronic price tag 30, and the electronic price tag 30 updates the display information of itself, so that new relevant information is displayed.
In the prior art, because the base station 20 is correspondingly configured with the plurality of electronic price tags 30, the communication between the base station 20 and the electronic price tags 30 is often interfered.
Fig. 2 is a flowchart of a method of an embodiment of a communication method of an electronic price tag network according to an embodiment of the present invention. In this embodiment, the communication method of the electronic price tag network is applied to a base station, which may be similar to the base station 20 shown in fig. 1. The electronic price tag network comprises a base station and at least one electronic price tag wirelessly connected with the base station, and the communication method comprises the following steps S201-S204:
in step S201, acquiring channel resource information of a current wireless network;
in step S202, acquiring identification information of the at least one electronic price tag, and allocating the at least one electronic price tag to different channels according to the identification information;
in step S203, if two or more electronic price tags exist in the same channel, different wake-up times are set for the two or more electronic price tags.
The present embodiment is described in further detail below:
specifically, in step S201, the base station first obtains channel resource information of a current wireless network, where the wireless network is a communication network in which the base station is connected to the electronic price tag, and the channel resources are different according to different communication networks. The wireless network includes: wifi and bluetooth, the channel resource includes the channel number. In one embodiment, when the wireless network is a wifi network, at this time, the base station and the electronic price tag are connected through wifi, the channel resource at this time is the channel resource of the wifi network, and if the wifi network adopts 2.4GHz, the number of channels corresponding to the communication network at this time is 14; if the wifi network adopts 5GHz, the number of channels corresponding to the communication network is 24 at this time. Subsequent classification according to electronic price tags may be facilitated after channel resources are acquired. In another embodiment, when the wireless network is a bluetooth network, at this time, the base station and the electronic price tag are connected by bluetooth, the channel resource at this time is a channel resource of the bluetooth network, and at this time, the number of channels corresponding to the communication network is 40. In other embodiments, the communication network may also be a zigbee, NB-IOT, or the like, and the corresponding number of channels may also be of other types, which is not limited in this embodiment of the present invention.
Specifically, in step S202, the base station obtains identification information of the electronic price tags that need to be managed, classifies the electronic price tags according to the identification information of the electronic price tags, and allocates the electronic price tags to different channels. Because the number of the channels can be multiple, each electronic price tag is correspondingly classified into the corresponding channel according to the number of the electronic price tags and the identification information of the electronic price tags.
In one embodiment, the identification information of the electronic price tag may be a media access control address (MAC address), and the step S202 may further include the following steps S2021-S2023.
In step S2021, a media access control address of the at least one electronic price tag is acquired;
in step S2022, performing hash processing on the mac address to obtain a corresponding hash value;
in step S2023, the at least one electronic price tag is assigned to a different channel according to the hash value of the at least one electronic price tag.
In this embodiment, the MAC address of each electronic price tag is obtained, and further, the MAC address is hashed to obtain an integer. Because the MAC address is a string of hexadecimal arrays, after the Hash processing is carried out, corresponding integers can be obtained, and the range of the integers is ensured to be within the number of channels by adjusting corresponding algorithms. For example, if the number of channels of the current communication network is N, and the result of hashing the MAC address of a certain electronic price tag is an integer X, the integer X is ensured to be within the range of (1, N).
By the above manner, the MAC value of each electronic price tag is correspondingly calculated, so that each electronic price tag corresponds to the corresponding channel value. For example, if the integer obtained by calculating the electronic price tag a is 3 and the integer obtained by calculating the electronic price tag B is 4, the electronic price tag a is allocated to the channel 3 and the electronic price tag B is allocated to the channel 4.
It can be understood that, due to the large number of electronic price tags, there may be a case where the plurality of electronic price tags have the same value after being subjected to the hash operation, which indicates that the plurality of electronic price tags are allocated to the same channel. For example, if the integer calculated for electronic price tag C is 5 and the integer calculated for electronic price tag D is also 5, then both electronic price tags C and D are assigned to channel 5. That is, there may be a many-to-one relationship between the electronic price tags and the channels.
In other embodiments, the MAC address may be matched with the channel by adopting other operation manners, which is not limited in the embodiments of the present invention.
Specifically, in step S203, when two or more electronic price tags correspond to one channel, in order to prevent communication interference, the two or more electronic price tags are further configured in time, and different wake-up times are set for the two or more electronic price tags. When different channels are adopted among the electronic price tags, even if the electronic price tags are simultaneously awakened, interference can not be generated when the electronic price tags are communicated with a base station; when the two electronic price tags adopt the same channel, different wake-up times are configured, so that communication interference on the same channel can be avoided, grouping of the electronic price tags on two dimensions of the channel and the time is realized, the time of the electronic price tags traversing all channels is saved, interference in the communication process is avoided, and the communication efficiency is improved.
In other embodiments, whether different wake-up times are set may be determined according to the hash value of the electronic price tag, and if the hash values of the two or more electronic price tags are the same, different wake-up times are set for the two or more electronic price tags, respectively. When the hash values of the two electronic price tags are the same, the channels corresponding to the two electronic price tags are the same, and communication interference is avoided by setting different wake-up times.
In other embodiments, the communication method of the electronic price tag network may further include the following steps S204-S206.
In step S204, target electronic price tag information corresponding to the update task is acquired;
in step S205, calculating a hash value corresponding to the target electronic price tag according to the target electronic price tag information, and determining a target channel to which the target electronic price tag belongs according to the hash value;
in step S206, an update connection request is sent in the target channel.
Specifically, in this embodiment, when the base station acquires the update task issued by the server and needs to update the electronic price tag, because the electronic price tag is already associated with the channel, the base station only needs to send the request information on the associated channel at this time, and does not need to switch between multiple channels for sending, thereby improving the sending efficiency. In one embodiment, after acquiring target electronic price tag information corresponding to an update task, a base station calculates a corresponding hash value according to the target electronic price tag to acquire a corresponding target channel, and further sends an update connection request in the target channel, thereby improving transmission efficiency. In other embodiments, when the base station does not receive the feedback of the electronic price tag after sending the update connection request on the target channel, that is, when a link is not established with the electronic price tag, the base station may send the update connection request again in a retransmission manner, that is, at a preset time interval. Optionally, the sending may also be performed by changing a channel, and the embodiment of the present invention is not limited thereto.
According to the communication method of the electronic price tag network provided by the embodiment of the invention, the base station allocates the electronic price tags to different channels by acquiring the identification information of the electronic price tags and the channel resource information of the wireless network, and sets different wake-up times for the plurality of electronic price tags under the same channel, so that the electronic price tags can be grouped in two dimensions of the channel and the time, and the electronic price tags can be woken up at a specific wake-up time and monitored at a specific channel, thereby preventing the communication between different electronic price tags from generating interference, saving the time for the electronic price tags to traverse the whole network channel, saving the power consumption of the electronic price tags and improving the communication efficiency of the whole electronic price tag network.
Fig. 3 is a flowchart of a method of another implementation of a communication method of an electronic price tag network according to an embodiment of the present invention. In this embodiment, the communication method of the electronic price tag network is applied to an electronic price tag, which may be similar to the electronic price tag 30 shown in fig. 1. The electronic price tag network comprises a base station and at least one electronic price tag wirelessly connected with the base station, and the communication method comprises the following steps S301-S302:
in step S301, the channel to which the terminal belongs is calculated according to the identification information of the terminal;
in step S302, if the wake-up time is reached, the ue wakes up from the sleep state and listens for a connection request on the channel.
Specifically, the electronic price tag calculates the corresponding channel to which the electronic price tag belongs according to the identification information of the electronic price tag, for example, if the calculated number of the channels is 3, the electronic price tag monitors the channel 3 to determine whether a connection request of the base station exists. In this embodiment, if the base station sets a corresponding wake-up time for the electronic price tag, the electronic price tag wakes up from the sleep state when waiting for the wake-up time to arrive, and then monitors. It can be understood that, since the base station side also classifies the electronic price tags, the base station may send a connection request on a corresponding channel, and the electronic price tags may also receive the connection request on the channel and further establish a link to complete subsequent configuration or display update. That is to say, by determining the channel to which the electronic price tag belongs, a link can be quickly established between the electronic price tag and the base station, the electronic price tag is prevented from traversing all channels, the interaction success rate of the electronic price tag and the base station is improved, meanwhile, the communication between different electronic price tags is prevented from generating interference, the power consumption of the electronic price tag is saved, and the communication efficiency of the whole electronic price tag network is improved.
In other embodiments, the step S301 may further include the following steps S3011-S3013.
In step S3011, a media access control address of the user is acquired;
in step S3012, perform hash processing on the mac address to obtain a corresponding hash value;
in step S3013, the corresponding channel is determined according to the hash value.
Specifically, similar to the base station side, the electronic price tag may perform hash processing through its own MAC address, and determine a corresponding channel through a hash value. It is to be understood that, according to different wireless networks, the number of channels and the matching with the hash value may also be different, and the embodiment of the present invention is not limited thereto.
According to the communication method of the electronic price tag network provided by the embodiment of the invention, the electronic price tag can be awakened at a specific awakening time by calculating the corresponding affiliated channel according to the identification information of the electronic price tag, and is monitored at the specific channel, so that the interference generated by the communication among different electronic price tags is prevented, the time of the electronic price tag traversing the whole network channel is saved, the power consumption of the electronic price tag is saved, and the communication efficiency of the whole electronic price tag network is improved.
Fig. 4 is a schematic structural diagram of a base station according to an embodiment of the present invention. As shown in fig. 4, the base station includes a processor 401 (the number of processors 401 in the terminal may be one or more, and fig. 4 takes one processor as an example) and a memory 402. In the embodiment of the present invention, the processor 401 and the memory 402 may be connected by a bus or other means, wherein fig. 4 illustrates the connection by the bus. It is understood that the base station in this embodiment may also be applied to the embodiments shown in fig. 1 or fig. 2.
The memory 402 stores therein an executable program, and the processor 401 executes the executable program to implement the following steps:
acquiring channel resource information of a current wireless network;
acquiring identification information of the at least one electronic price tag, and distributing the at least one electronic price tag to different channels according to the identification information;
and if two or more electronic price tags exist in the same channel, setting different wake-up times for the two or more electronic price tags.
Optionally, the wireless network includes: wifi and bluetooth, the channel resource information includes the channel number.
Optionally, the obtaining the identification information of the at least one electronic price tag, and allocating the at least one electronic price tag to different channels according to the identification information includes:
acquiring a media access control address of the at least one electronic price tag;
performing hash processing on the media access control address to obtain a corresponding hash value;
and allocating the at least one electronic price tag to different channels according to the hash value of the at least one electronic price tag.
Optionally, if two or more electronic price tags exist in the same channel, setting different wake-up times for the two or more electronic price tags, including:
and if the hash values of the two or more electronic price tags are the same, setting different wake-up times for the two or more electronic price tags respectively.
Optionally, the processor 401 is further configured to:
acquiring target electronic price tag information corresponding to the updating task;
calculating a hash value corresponding to the target electronic price tag according to the target electronic price tag information, and determining a target channel to which the target electronic price tag belongs according to the hash value;
sending an update connection request in the target channel.
According to the base station provided by the embodiment of the invention, the electronic price tags are distributed to different channels by acquiring the identification information of the electronic price tags and the channel resource information of the wireless network, and different wake-up times are set for the plurality of electronic price tags under the same channel, so that the electronic price tags can be grouped in two dimensions of the channel and the time, and the electronic price tags can be awakened at a specific wake-up time and monitored at a specific channel, thereby preventing interference generated by communication between different electronic price tags, saving the time for the electronic price tags to traverse the whole network channel, saving the power consumption of the electronic price tags and improving the communication efficiency of the whole electronic price tag network.
Fig. 5 is a schematic structural diagram of an electronic price tag according to an embodiment of the present invention. As shown in fig. 5, the base station includes a processor 501 (the number of processors 501 in the terminal may be one or more, and fig. 5 takes one processor as an example) and a memory 502. In the embodiment of the present invention, the processor 501 and the memory 502 may be connected by a bus or other means, wherein fig. 5 illustrates the connection by the bus. It is understood that the electronic price tag in the present embodiment may also be applied to the embodiments shown in fig. 1 or fig. 3.
The memory 502 stores therein an executable program, and the processor 501 executes the executable program to implement the following steps:
calculating the channel to which the user belongs according to the identification information of the user;
and if the wake-up time is up, waking up from the sleep state, and monitoring the connection request on the channel to which the terminal belongs.
Optionally, the calculating the channel to which the channel belongs according to the identification information of the channel itself includes:
acquiring a media access control address of the user;
performing hash processing on the media access control address to obtain a corresponding hash value;
and determining the corresponding channel according to the hash value.
According to the electronic price tag provided by the embodiment of the invention, the corresponding affiliated channel is calculated according to the identification information of the electronic price tag, so that the electronic price tag can be awakened at a specific awakening time and monitored at a specific channel, the interference generated by the communication among different electronic price tags is prevented, the time of the electronic price tag traversing the whole network channel is saved, the power consumption of the electronic price tag is saved, and the communication efficiency of the whole electronic price tag network is improved.
Embodiments of the present invention also provide a computer-readable storage medium having one or more programs which, when executed by one or more processors, implement the steps of:
acquiring channel resource information of a current wireless network;
acquiring identification information of the at least one electronic price tag, and distributing the at least one electronic price tag to different channels according to the identification information;
and if two or more electronic price tags exist in the same channel, setting different wake-up times for the two or more electronic price tags.
Optionally, the wireless network includes: wifi and bluetooth, the channel resource information includes the channel number.
Optionally, the obtaining the identification information of the at least one electronic price tag, and allocating the at least one electronic price tag to different channels according to the identification information includes:
acquiring a media access control address of the at least one electronic price tag;
performing hash processing on the media access control address to obtain a corresponding hash value;
and allocating the at least one electronic price tag to different channels according to the hash value of the at least one electronic price tag.
Optionally, if two or more electronic price tags exist in the same channel, setting different wake-up times for the two or more electronic price tags, including:
and if the hash values of the two or more electronic price tags are the same, setting different wake-up times for the two or more electronic price tags respectively.
Optionally, the method further includes:
acquiring target electronic price tag information corresponding to the updating task;
calculating a hash value corresponding to the target electronic price tag according to the target electronic price tag information, and determining a target channel to which the target electronic price tag belongs according to the hash value;
sending an update connection request in the target channel.
In other embodiments, the one or more programs, when executed by one or more processors, implement the steps of:
calculating the channel to which the user belongs according to the identification information of the user;
and if the wake-up time is up, waking up from the sleep state, and monitoring the connection request on the channel to which the terminal belongs.
Optionally, the calculating the channel to which the channel belongs according to the identification information of the channel itself includes:
acquiring a media access control address of the user;
performing hash processing on the media access control address to obtain a corresponding hash value;
and determining the corresponding channel according to the hash value.
The computer-readable storage medium provided by the embodiment of the invention is applied to an electronic price tag network, the electronic price tag network comprises a base station and at least one electronic price tag wirelessly connected with the base station, the base station allocates the electronic price tags to different channels by acquiring identification information of the electronic price tags and channel resource information of a wireless network, and sets different wake-up times for a plurality of electronic price tags under the same channel, so that the electronic price tags can be grouped in two dimensions of channel and time, the electronic price tags can be woken up at a specific wake-up time and monitored at a specific channel, interference generated by communication between different electronic price tags is prevented, the time of the electronic price tags traversing the whole network channel is saved, the power consumption of the electronic price tags is saved, and the communication efficiency of the whole electronic price tag network is improved.
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 an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (10)

1. A communication method of an electronic price tag network is applied to a base station, the electronic price tag network comprises the base station and at least one electronic price tag wirelessly connected with the base station, and the communication method is characterized by comprising the following steps:
acquiring channel resource information of a current wireless network;
acquiring identification information of the at least one electronic price tag, and distributing the at least one electronic price tag to different channels according to the identification information;
and if two or more electronic price tags exist in the same channel, setting different wake-up times for the two or more electronic price tags.
2. The communication method of the electronic price tag network of claim 1, wherein the wireless network comprises: wifi and bluetooth, the channel resource information includes the channel number.
3. The method of communicating in an electronic price tag network of claim 1, wherein said obtaining identification information for said at least one electronic price tag and assigning said at least one electronic price tag to different channels based on said identification information comprises:
acquiring a media access control address of the at least one electronic price tag;
performing hash processing on the media access control address to obtain a corresponding hash value;
and allocating the at least one electronic price tag to different channels according to the hash value of the at least one electronic price tag.
4. The method of claim 3, wherein if two or more electronic price tags exist in the same channel, setting different wake-up times for the two or more electronic price tags comprises:
and if the hash values of the two or more electronic price tags are the same, setting different wake-up times for the two or more electronic price tags respectively.
5. The method of communicating of an electronic price tag network of claim 4, the method further comprising:
acquiring target electronic price tag information corresponding to the updating task;
calculating a hash value corresponding to the target electronic price tag according to the target electronic price tag information, and determining a target channel to which the target electronic price tag belongs according to the hash value;
sending an update connection request in the target channel.
6. A communication method of an electronic price tag network is applied to an electronic price tag, the electronic price tag network comprises a base station and at least one electronic price tag wirelessly connected with the base station, and the communication method is characterized by comprising the following steps:
calculating the channel to which the user belongs according to the identification information of the user;
and if the wake-up time is up, waking up from the sleep state, and monitoring the connection request on the channel to which the terminal belongs.
7. The communication method of the electronic price tag network as claimed in claim 6, wherein the calculating of the belonging channel according to the identification information of itself comprises:
acquiring a media access control address of the user;
performing hash processing on the media access control address to obtain a corresponding hash value;
and determining the corresponding channel according to the hash value.
8. A base station, characterized in that the base station comprises:
a processor; and
a memory coupled to the processor, the memory containing control instructions that, when read by the processor, control the base station to implement the communication method of any of claims 1-5.
9. An electronic price tag, comprising:
a processor; and
a memory coupled to the processor, the memory containing control instructions that, when read by the processor, control the electronic price tag to implement the communication method of any of claims 6-7.
10. A computer-readable storage medium having one or more programs thereon, the one or more programs being executable by one or more processors to implement the communication method of any one of claims 1-5 or any one of claims 6-7.
CN202011178659.8A 2020-10-29 2020-10-29 Communication method of electronic price tag network and related device Active CN112152749B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011178659.8A CN112152749B (en) 2020-10-29 2020-10-29 Communication method of electronic price tag network and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011178659.8A CN112152749B (en) 2020-10-29 2020-10-29 Communication method of electronic price tag network and related device

Publications (2)

Publication Number Publication Date
CN112152749A true CN112152749A (en) 2020-12-29
CN112152749B CN112152749B (en) 2024-03-19

Family

ID=73953553

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011178659.8A Active CN112152749B (en) 2020-10-29 2020-10-29 Communication method of electronic price tag network and related device

Country Status (1)

Country Link
CN (1) CN112152749B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140177604A1 (en) * 2012-12-21 2014-06-26 Samsung Electro-Mechanics Co., Ltd. Electronic shelf label system and method of operating the same
CN204576556U (en) * 2015-03-23 2015-08-19 夏华 Electronic bin tag system
US20170237704A1 (en) * 2016-02-16 2017-08-17 Le Holdings (Beijing) Co., Ltd. Addressing communication method and electronic device based on media access control address
CN110012439A (en) * 2019-04-16 2019-07-12 重庆物奇科技有限公司 Synchronous method for electronics price tag
CN111612106A (en) * 2019-02-22 2020-09-01 阿里巴巴集团控股有限公司 Position relation checking method, device, system and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140177604A1 (en) * 2012-12-21 2014-06-26 Samsung Electro-Mechanics Co., Ltd. Electronic shelf label system and method of operating the same
CN204576556U (en) * 2015-03-23 2015-08-19 夏华 Electronic bin tag system
US20170237704A1 (en) * 2016-02-16 2017-08-17 Le Holdings (Beijing) Co., Ltd. Addressing communication method and electronic device based on media access control address
CN111612106A (en) * 2019-02-22 2020-09-01 阿里巴巴集团控股有限公司 Position relation checking method, device, system and storage medium
CN110012439A (en) * 2019-04-16 2019-07-12 重庆物奇科技有限公司 Synchronous method for electronics price tag

Also Published As

Publication number Publication date
CN112152749B (en) 2024-03-19

Similar Documents

Publication Publication Date Title
CN115051903B (en) Intent processing method, device and system
US9338799B2 (en) Method for random access of machine to machine (M2M) terminals
CN109831753B (en) Electronic price tag, gateway and electronic price tag system
CN104396312A (en) Scanning method in wireless lan system and supporting device therefor
CN105049502B (en) The method and apparatus that device software updates in a kind of cloud network management system
TW201401218A (en) Querying for business service processing status information
EP2728915B1 (en) Identifier allocation method and system
KR101644248B1 (en) Identifier assignment method and device in wireless local area network
CN102769843B (en) The distinguished symbol sharing method of radio communication device and its base station and device thereof
CN110234175B (en) Ad hoc network coordination method, device, system, equipment and storage medium
CN105786600A (en) Task scheduling method and device
WO2015078276A1 (en) Wireless network access
CN105659689A (en) Method and system for dual role handling in a wireless environment
US9603041B2 (en) Method and device for sending traffic indication information
CN110505618A (en) A kind of method for processing business and server
CN104038978B (en) Transmission processing, receiving handling method and the device of business instruction information
CN104754627A (en) Resource monitoring method, user equipment and network equipment
CN112152749A (en) Communication method and related device for electronic price tag network
US20200162419A1 (en) Address assignment method and related device
CN112954779A (en) Awakening method of electronic price tag, electronic price tag and computer readable storage medium
CN105191419B (en) It enables the device to find to service via network controller or group owner
CN111106971B (en) Device registration management method, device and computer-readable storage medium
CN104244172A (en) Information interaction method and device
CN113094131A (en) Prompt resource display method, device, terminal, server and storage medium
CN113542424A (en) Data processing method, device, equipment and computer program product

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