CN110446273A - A kind of method and apparatus based on electronics price tag networking - Google Patents
A kind of method and apparatus based on electronics price tag networking Download PDFInfo
- Publication number
- CN110446273A CN110446273A CN201910695971.5A CN201910695971A CN110446273A CN 110446273 A CN110446273 A CN 110446273A CN 201910695971 A CN201910695971 A CN 201910695971A CN 110446273 A CN110446273 A CN 110446273A
- Authority
- CN
- China
- Prior art keywords
- price tag
- electronics price
- identification information
- gateway
- heartbeat packet
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/11—Allocation or use of connection identifiers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/40—Connection management for selective distribution or broadcast
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W84/00—Network topologies
- H04W84/18—Self-organising networks, e.g. ad-hoc networks or sensor networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The present invention is suitable for field of computer technology, provides a kind of method and apparatus based on electronics price tag networking, this method comprises: obtaining the identification information of the electronics price tag when detecting the heartbeat packet of electronics price tag broadcast in preset channel;In the preset channel, establishes and communicate to connect with the associated electronics price tag of the identification information.Above scheme, gateway obtain the identification information of the electronics price tag when preset channel detects the heartbeat packet of electronics price tag broadcast;In preset channel, establishes and communicate to connect with the associated electronics price tag of identification information.The communication connection that can be established between gateway and electronics price tag is participated in without server in above scheme, it is established that the communication connection come is stablized, and establishment process step is simple, and the consuming time is short, user-friendly electronics price tag.
Description
Technical field
The invention belongs to field of computer technology more particularly to a kind of method and apparatus based on electronics price tag networking.
Background technique
Electronics price tag is a kind of electronic display unit with information transmit-receive function, is mainly used in supermarket, convenience store, medicine
The places such as shop, and need gateway and electronics price tag to establish communication connection rear and can be used.
However, it is that user is first configured server that tradition, which establishes the mode of communication connection, then server obtains each
The information such as signal strength, distance between a gateway and electronics price tag further select suitable gateway and electronics price tag to establish
Communication connection.
Consuming time is long for this mode for establishing communication connection, and complex for operation step, communication connection is unstable, makes to user
It is made troubles with electronics price tag.
Summary of the invention
In view of this, the embodiment of the invention provides a kind of method and apparatus based on electronics price tag networking, it is existing to solve
With in technology, the communication connection between electronics price tag and gateway is established using traditional approach, consuming time is long, and operating procedure is numerous
Trivial, communication connection is unstable, leads to the problem of making troubles to user using electrovalence label.
The first aspect of the embodiment of the present invention provides a kind of method based on electronics price tag networking, comprising:
When detecting the heartbeat packet of electronics price tag broadcast in preset channel, the identity letter of the electronics price tag is obtained
Breath;
In the preset channel, establishes and communicate to connect with the associated electronics price tag of the identification information.
The second aspect of the embodiment of the present invention provides a kind of equipment based on electronics price tag networking, which includes:
Acquiring unit, for obtaining the electrovalence when detecting the heartbeat packet of electronics price tag broadcast in preset channel
The identification information of label;
Unit is established, for being built in the preset channel with the associated electronics price tag of the identification information
Vertical communication connection.
The third aspect of the embodiment of the present invention provides another equipment based on electronics price tag networking, including processor,
Input equipment, output equipment and memory, the processor, input equipment, output equipment and memory are connected with each other, wherein
The memory is used to store the computer program that holding equipment executes the above method, and the computer program includes that program refers to
It enabling, the processor is configured for calling described program instruction, execute following steps:
When detecting the heartbeat packet of electronics price tag broadcast in preset channel, the identity letter of the electronics price tag is obtained
Breath;
In the preset channel, establishes and communicate to connect with the associated electronics price tag of the identification information.
The fourth aspect of the embodiment of the present invention provides a kind of computer readable storage medium, the computer-readable storage
Media storage has computer program, and the computer program performs the steps of when being executed by processor
When detecting the heartbeat packet of electronics price tag broadcast in preset channel, the identity letter of the electronics price tag is obtained
Breath;
In the preset channel, establishes and communicate to connect with the associated electronics price tag of the identification information.
A kind of method and apparatus based on electronics price tag networking provided in an embodiment of the present invention has the advantages that
The embodiment of the present invention, gateway obtain the electrovalence when preset channel detects the heartbeat packet of electronics price tag broadcast
The identification information of label;In preset channel, establishes and communicate to connect with the associated electronics price tag of identification information.Above-mentioned side
The communication connection that can be established between gateway and electronics price tag is participated in without server in case, it is established that the communication connection come is steady
It is fixed, and establishment process step is simple, the consuming time is short, user-friendly electronics price tag.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art
Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only of the invention some
Embodiment for those of ordinary skill in the art without any creative labor, can also be according to these
Attached drawing obtains other attached drawings.
Fig. 1 is a kind of implementation flow chart for method based on electronics price tag networking that one embodiment of the invention provides;
Fig. 2 be another embodiment of the present invention provides a kind of method based on electronics price tag networking implementation flow chart;
Fig. 3 is a kind of implementation flow chart for method based on electronics price tag networking that further embodiment of this invention provides;
Fig. 4 is a kind of implementation flow chart for method based on electronics price tag networking that yet another embodiment of the invention provides;
Fig. 5 is a kind of schematic diagram for equipment based on electronics price tag networking that one embodiment of the invention provides;
Fig. 6 be another embodiment of the present invention provides a kind of equipment based on electronics price tag networking schematic diagram.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right
The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and
It is not used in the restriction present invention.
Referring to Figure 1, Fig. 1 is a kind of exemplary flow of method based on electronics price tag networking provided in an embodiment of the present invention
Figure.The executing subject of method based on electronics price tag networking in the present embodiment is gateway.It is as shown in Figure 1 based on electronics price tag group
Net can include:
S101: when detecting the heartbeat packet of electronics price tag broadcast in preset channel, the identity of the electronics price tag is obtained
Identification information.
Notification gateway when heartbeat packet is signed for electrovalence, the current display state of the electronics price tag and electronics price tag packet
The attribute information contained.The time cycle of electronics price tag broadcast heartbeat packet can be preset in user, and heartbeat packet tool also can be preset
The data information that body includes.For example, heartbeat packet may include: the identification information of electronics price tag, the broadcast heartbeat of electronics price tag
The time cycle of packet, electronics price tag current display state are the charge value normal or abnormal, electronics price tag is current, electronics price tag
Display identification information, the electronics price tag for the content that model, the position of electronics price tag, electronics price tag current interface are shown are presently in
Data, the user such as channel heartbeat packet can be set according to actual needs, do not limited this.
Identification information is the mark of each electronics price tag, for identifying the electronics price tag.Identification information can be with
It is that electrovalence checks out unique number included when factory, is also possible to the random coded that electronics price tag automatically generates, can also be use
Family is unique encodings, character, the number etc. of each electronics price tag setting.It should be noted that above-mentioned identification information is only
Exemplary illustration does not limit this.
Preset channel is that user is pre-set, and the channel of heartbeat packet, while preset channel are broadcasted for electronics price tag
It is monitored in real time by gateway.When gateway preset channel detect electronics price tag broadcast heartbeat packet when, obtain the electronics price tag
Identification information.Specifically, it when gateway detects the heartbeat packet of electronics price tag broadcast in preset channel, obtains and analyzes this
Heartbeat packet extracts the identification information of the electronics price tag in heartbeat packet.Further, when one electrovalence of a Channel Processing
When signing the heartbeat packet of broadcast, identification information and the storage of corresponding electronics price tag can also be arranged in user in advance for preset channel
Into database, i.e. user presets which electronics price tag broadcasts heartbeat packet in which preset channel.When gateway is default
When detecting the heartbeat packet of electronics price tag broadcast in channel, pre-stored identification information is searched in the database, is obtained
The identification information of the electronics price tag.
S102: in the preset channel, communication link is established with the associated electronics price tag of the identification information
It connects.
Gateway is established with the associated electronics price tag of identification information and is communicated to connect in preset channel.Specifically, gateway
Send foundation logical to signing and issuing with the associated electrovalence of identification information based on wireless network protocol (ZigBee) in preset channel
Believe connection request, electronics price tag receives the communication connection request of establishing of gateway transmission, and establishes communication connection request life based on this
At response message, response message is sent to gateway in the preset channel, gateway receives electronics price tag in the preset channel
The response message of transmission.When gateway, which receives the electrovalence in the preset channel, signs and issues the response message sent, it was demonstrated that gateway
Completion is had built up in the communication connection of the preset channel and the electronics price tag.Further, when not receiving within a preset time
When the electrovalence signs and issues the response message sent, gateway can be signed and issued to send to the electrovalence again establishes communication connection request.Wherein, in advance
If the time by user's self-setting, does not limit this.
The embodiment of the present invention, gateway obtain the electrovalence when preset channel detects the heartbeat packet of electronics price tag broadcast
The identification information of label;In preset channel, establishes and communicate to connect with the associated electronics price tag of identification information.Above-mentioned side
The communication connection that can be established between gateway and electronics price tag is participated in without server in case, it is established that the communication connection come is steady
It is fixed, and establishment process step is simple, the consuming time is short, user-friendly electronics price tag.
Refer to Fig. 2, Fig. 2 be another embodiment of the present invention provides a kind of method based on electronics price tag networking signal
Flow chart.It should be noted that being related to multiple gateways in the present embodiment, in order to distinguish each gateway, indicated with local terminal gateway
Executing subject.
The present embodiment embodiment corresponding with Fig. 1 is distinguished as S202~S203, S205, S201, S204 in the present embodiment
S101, S102 in embodiment corresponding with Fig. 1 is identical, referring specifically to S101, S102 in the corresponding embodiment of Fig. 1
Associated description does not repeat herein.It should be noted that S205 is arranged side by side with S203-S204, S205 is not executed after S204.Tool
Body is subject to actual conditions when implementing, and does not limit this.S202~S203, S205 are specific as follows:
S202: the gateway into group sends inquiry request;The inquiry request is for inquiring whether the gateway receives
The heartbeat packet.
Gateway in group refers to other gateways being in same local area network with local terminal gateway, and user can be in advance to each gateway
It is configured, these gateways is made to establish communication connection in same local area network.Inquiry request is used for other gateways inquired in group
Whether the heartbeat packet of electronics price tag broadcast is received.
It should be noted that electronics price tag here refers to the corresponding electricity of identification information that local terminal gateway is got at this time
Sub- price tag.Other gateways of gateway into group send inquiry request, and specifically, local terminal gateway analyzes the heartbeat packet got, mention
Data included in heartbeat packet are taken, and generate inquiry request based on the data extracted.It include any data i.e. in heartbeat packet,
Just corresponding in inquiry request includes any data.For example, heartbeat packet may include: the identification information of electronics price tag, electricity
The channel that display identification information, the electronics price tag for the content that model, the electronics price tag current interface of sub- price tag are shown are presently in
Etc. data, inquiry request also it is corresponding include these data.
Inquiry request comprising these data is sent to other gateways in group by local terminal gateway, other gateways are receiving
When the inquiry request, these data for whether having and including in the inquiry request are inquired in respective gateway.If some net in group
The Central Shanxi Plain finds identical data, then illustrates that the gateway in group has received the heartbeat packet of above-mentioned electronics price tag broadcast;If group
Some interior gateway does not find identical data, then illustrates that the gateway in group is not received by above-mentioned electronics price tag broadcast
Heartbeat packet.
Further, in order to promote query rate, it is possible to reduce the data for including in inquiry request.Specifically, local terminal net
It closes when generating inquiry request, the partial data in heartbeat packet can be only extracted, such as the identification information of electronics price tag.It will packet
Inquiry request containing identification information is sent to other gateways in group, other gateways are when receiving the inquiry request, In
The identification information for whether having the electronics price tag inquired in respective gateway.If finding the electrovalence in some gateway in group
The identification information of label then illustrates that the gateway in group has received the heartbeat packet of above-mentioned electronics price tag broadcast;If in group
Some gateway does not find the identification information of the electronics price tag, then illustrates that the gateway in group is not received by above-mentioned electronics
The heartbeat packet of price tag broadcast.
When query result does not receive the heartbeat packet for other gateways in group, S203~S204 is executed;Work as inquiry
When as a result receiving the heartbeat packet for other any gateways in group, S205 is executed.
S203: when the gateway is not receive the heartbeat packet based on the query result that the inquiry request returns
When, Xiang Suoshu gateway sends processing prompt information;The processing prompt information is for prompting the gateway to forbid handling the heart
Jump packet.
Gateway in group is inquired in respective gateway after receiving inquiry request, according to the data for including in inquiry request
It is wide to illustrate that the gateway in group has received above-mentioned electronics price tag when some gateway in group inquires the data for the data
The heartbeat packet broadcast;When some gateway in group does not inquire the data, illustrate that the gateway in group is not received by above-mentioned electricity
The heartbeat packet of sub- price tag broadcast.When gateway in group does not receive the heartbeat packet of above-mentioned electronics price tag broadcast, it is based on inquiry request
The query result for not receiving heartbeat packet is generated, and the query result is back to local terminal gateway.
Local terminal gateway is not receive heartbeat packet based on the query result that inquiry request returns, it can be understood as in group
Other gateways are all not received by the heartbeat packet of above-mentioned electronics price tag broadcast, all return to local terminal gateway and do not receive heartbeat packet
Query result.At this point, other gateways of local terminal gateway into group send processing prompt information.Wherein, processing prompt information is used
Forbid handling the heartbeat packet in other gateways in prompt group.Other gateways i.e. in group are at the place for receiving the transmission of local terminal gateway
After managing prompt information, even if having received the heartbeat packet subsequent, also any processing is not done to the heartbeat packet, while also not to hair
It gives the electronics price tag of the heartbeat packet to do any processing, does not establish and communicate to connect with the electronics price tag for sending the heartbeat packet.
When local terminal gateway is not receive heartbeat packet based on the query result that inquiry request returns, other into group
After gateway sends processing prompt information, the S102 executed in the corresponding embodiment of S204, S204 and Fig. 1 is identical, specifically asks
Refering to fig. 1 in corresponding embodiment S102 associated description, do not repeat herein.
S205: when any gateway is to have received the heartbeat packet based on the query result that the inquiry request returns
When, the heartbeat packet is not handled, and does not establish the communication connection between the electronics price tag.
When other gateways in any group are to have received heartbeat packet based on the query result that inquiry request returns, local terminal
Gateway does not handle the heartbeat packet, and does not establish the communication connection between the electronics price tag.As long as it is to be understood that its in group
In his gateway, having any one based on query result that inquiry request returns is when having received heartbeat packet, and local terminal gateway is just not
The heartbeat packet is handled, does not also establish and communicates to connect with the electronics price tag.
Specifically, the gateway in group is after receiving inquiry request, according to the data for including in inquiry request in respective net
The data are inquired in the Central Shanxi Plain, when any one gateway in group inquires the data, generate the inquiry for having received the heartbeat packet
As a result, and the query result is back to local terminal gateway.At this point, local terminal gateway does not handle the heartbeat packet, i.e. local terminal gateway no longer
Any processing is done to the heartbeat packet, for example, the processing operations such as no longer analyze the heartbeat packet, obtain, compressing;Also not with the electricity
Sub- price tag establishes communication connection.Correspondingly, query result is that gateway for having received the heartbeat packet, it can be to the heartbeat packet
It the processing such as analyzes, obtain, compressing, and establishing and communicate to connect with the electronics price tag for broadcasting the heartbeat packet.
It should be noted that query result is that gateway for having received the heartbeat packet, which is handled
Method it is identical as the method that local terminal gateway handles heartbeat packet, with broadcast the heartbeat packet electronics price tag establish communication connection
Mode and local terminal gateway are identical as the mode that electronics price tag establishes communication connection, specifically can be with reference in the corresponding embodiment of Fig. 1
The specific implementation process of S101, S102, details are not described herein again.
It should be noted that when the query result that other gateways in any group are returned based on inquiry request is to have received
When heartbeat packet, local terminal gateway does not handle the heartbeat packet, and does not establish the communication connection between the electronics price tag.At this point, local terminal
Gateway can monitor preset channel again, wait the heartbeat packet of a new round.
The embodiment of the present invention, gateway obtain the electrovalence when preset channel detects the heartbeat packet of electronics price tag broadcast
The identification information of label;In preset channel, establishes and communicate to connect with the associated electronics price tag of identification information.Above-mentioned side
The communication connection that can be established between gateway and electronics price tag is participated in without server in case, it is established that the communication connection come is steady
It is fixed, and establishment process step is simple, the consuming time is short, user-friendly electronics price tag.
Fig. 3 is referred to, Fig. 3 is a kind of signal for method based on electronics price tag networking that further embodiment of this invention provides
Flow chart.The executing subject of method based on electronics price tag networking in the present embodiment is gateway.
The present embodiment embodiment corresponding with Fig. 1 is distinguished as S303~S305, S301, S302 and Fig. 1 in the present embodiment
S101, S102 in corresponding embodiment is identical, referring specifically to the correlation of S101, S102 in the corresponding embodiment of Fig. 1
Description, details are not described herein again.
Further, heartbeat packet includes that identification information and the display for indicating present displayed content identify letter
Breath.
Further, in order to which the picture for showing that electronics price tag currently is more acurrate, authentic communication, In are provided in time for user
It may also include S303~S305 after S302, specific as follows:
S303: it is generated based on the heartbeat packet and updates solicited message;The update solicited message includes the identity
Information and the display identification information.
Heartbeat packet includes the identification information for identifying the electronics price tag for broadcasting the heartbeat packet, and for indicating this
The display identification information of electronics price tag display interface present displayed content.Wherein, identification information refers to the description in S101,
Details are not described herein again.Display identification information shows that identification information can be with for indicating the content that electronics price tag current interface show
For commodity bar code, or user is unique encodings, character, number of the curriculum offering that electronics price tag is shown etc. in advance.
For example, display identification information can be should when the content that electronics price tag display interface is shown is the exhibiting pictures of some commodity
The bar code of commodity is also possible to user in advance and is the character of merchandise display picture setting.It should be noted that above-mentioned display
Identification information is merely illustrative, and user can be adjusted according to actual implementation situation, is not limited this.
Gateway is generated according to heartbeat packet updates solicited message.Specifically, gateway obtains the identification information in heartbeat packet
And identification information and display identification information binding also are understood as identification information by display identification information
And display identification information is associated, and according to the identification information after binding and shows that identification information generates update and asks
Seek information.Correspondingly, including the identification information and display identification information in the update solicited message generated.
S304: the update solicited message is sent to server;The update solicited message is for triggering the server
It is corresponded to based on whether the identification information and the display identification information judgment need to update the identification information
The content that currently shows of electronics price tag generate and return to update notification and when confirmation needs to update the content currently shown
Information;The update notification information includes the electronics price tag corresponding data of display content to be updated.
The update solicited message of generation is sent to server by gateway.Solicited message is updated for trigger the server according to body
Whether part identification information and display identification information judgment need to update the corresponding electronics price tag of the identification information and currently show
The content shown, and when confirmation needs to update the content currently shown, it generates and returns to update notification information.
Specifically, the identification information of multiple electronics price tags and each identification information are stored in advance in server
The corresponding data of display content belonging to corresponding display identification information and each display identification information.Server receives net
The update solicited message sent is closed, extracts and updates identification information in solicited message and associated aobvious with the identity
Show identification information, the identification information is searched in the database of server;When finding the identification information, obtain
The corresponding display identification information of this identification information in database, compare update solicited message in display identification information with
Whether the display identification information found in database is identical;When in the display identification information and database in update solicited message
When the display identification information found is identical, it was demonstrated that do not need to update the content that electronics price tag is currently shown, at this point, determining result
Not need the content that update electronics price tag is currently shown, which is back to gateway by server.Believe when updating request
When the display identification information found in display identification information and database in breath is not identical, it was demonstrated that need to update electronics price tag
The content currently shown, at this point, determining result to need to update the content that electronics price tag is currently shown;Server obtains database
In the corresponding data of display content belonging to this display identification information, and it is raw according to the corresponding data of the display content got
At update notification information, which is back to gateway.Wherein, update notification information includes that electrovalence label are to be updated
The corresponding data of display content, i.e. the corresponding data of display content that get of server.
S305: when getting the update notification information that the server is returned based on the update solicited message,
It is signed and issued to the electrovalence and send the update notification information;The update notification information is for triggering the electronics price tag according to institute
State the content that update notification information update is currently shown.
Gateway is signed and issued to electrovalence and is sent when getting server based on the update notification information for updating solicited message return
Update notification information.Specifically, server is when determining to need to update the content that electronics price tag is currently shown, according to what is got
It shows that the corresponding data of content generate update notification information, which is sent to gateway, gateway receives the update
Notification information, and the update notification information is forwarded to electronics price tag.Wherein, update notification information is for triggering electronics price tag root
The content currently shown according to the update notification information update.Specifically, electronics price tag receives the update notification information that gateway is sent,
The corresponding data of display content that electronics price tag is to be updated in update notification information are obtained, and according to the data in electronics price tag
Display interface shows the corresponding display content of the data.
It should be noted that the S303-S305 in the present embodiment can also be executed after the S204 of the corresponding embodiment of Fig. 2,
It is subject to actual conditions, does not limit this.
The embodiment of the present invention, gateway obtain the electrovalence when preset channel detects the heartbeat packet of electronics price tag broadcast
The identification information of label;In preset channel, establishes and communicate to connect with the associated electronics price tag of identification information.Above-mentioned side
The communication connection that can be established between gateway and electronics price tag is participated in without server in case, it is established that the communication connection come is steady
It is fixed, and establishment process step is simple, the consuming time is short, user-friendly electronics price tag.
Fig. 4 is referred to, Fig. 4 is a kind of signal for method based on electronics price tag networking that yet another embodiment of the invention provides
Flow chart.The executing subject of method based on electronics price tag networking in the present embodiment is gateway.
The present embodiment embodiment corresponding with Fig. 1 is distinguished as S403~S404, S401, S402 and Fig. 1 in the present embodiment
S101, S102 in corresponding embodiment is identical, referring specifically to the correlation of S101, S102 in the corresponding embodiment of Fig. 1
Description, details are not described herein again.
Further, in order to make user be best understood from the electricity consumption situation of Current electronic price tag, electronics price tag electricity not
Battery is replaced when sufficient in time, heartbeat packet includes the current charge value of the electronics price tag, may also include S403- after S401
S404, specific as follows:
S403: when detecting that the charge value is less than default power threshold, capacity prompt information is generated.
Heartbeat packet includes the current charge value of electronics price tag.Default power threshold is preset by user, compares electrovalence
Sign the size of current charge value and default power threshold, it can be determined that whether electronics price tag currently needs replacing battery.Specifically
Ground, when gateway detects that the current charge value of electronics price tag is greater than or equal to preset threshold, it was demonstrated that electronics price tag current electric quantity is filled
Foot does not need replacement battery, at this point it is possible to generate the prompt information of electricity abundance, and is sent to electronics price tag;When gateway detects
When the charge value current to electronics price tag is less than preset threshold, it was demonstrated that electronics price tag current electric quantity deficiency needs replacing battery, this
When, generate capacity prompt information.Wherein, capacity prompt information can mention for the text of " not enough power supply please replaces battery in time "
Show information, or: the pictorial information of electricity early warning symbol can also be speech prompt information etc., not limit this.
S404: the capacity prompt information is sent to the electronics price tag;The capacity prompt information is for prompting user
Replace the battery of the electronics price tag.
Capacity prompt information is sent to electronics price tag by gateway.Capacity prompt information is for prompting user to replace electronics price tag
Battery.Specifically, after electronics price tag receives the capacity prompt information that gateway is sent, which is shown aobvious
Show in interface, the position being particularly shown can be preset by user, and user sees that the prompt information can replace electronics in time
The battery of price tag.
It is worth noting that S403-S404 can also be executed after the corresponding embodiment S204 of Fig. 2 in the present embodiment.This
S403-S404 can also be executed after the corresponding embodiment S305 of Fig. 3 in embodiment, or be held after S302, before S303
Row needs to infuse at this time when the S403-S404 in the present embodiment is after the corresponding embodiment S302 of Fig. 3, when executing before S303
Meaning presets power threshold by user setting, even if the power threshold being usually arranged can guarantee that electronics price tag has received electricity and mentions
Showing information, remaining electricity can also support electronics price tag to work again a period of time, so S403-S404 is executed after S302, it
After continue to execute step S303-S305 will not be impacted.
The embodiment of the present invention, gateway obtain the electrovalence when preset channel detects the heartbeat packet of electronics price tag broadcast
The identification information of label;In preset channel, establishes and communicate to connect with the associated electronics price tag of identification information.Above-mentioned side
The communication connection that can be established between gateway and electronics price tag is participated in without server in case, it is established that the communication connection come is steady
It is fixed, and establishment process step is simple, the consuming time is short, user-friendly electronics price tag.
Fig. 5 is referred to, Fig. 5 is a kind of signal for equipment based on electronics price tag networking that one embodiment of the invention provides
Figure.The each unit that equipment includes is used to execute each step in the corresponding embodiment of Fig. 1, Fig. 2, Fig. 3, Fig. 4.Referring specifically to figure
1, the associated description in the corresponding embodiment of Fig. 2, Fig. 3, Fig. 4.For ease of description, it illustrates only related to the present embodiment
Part.Referring to Fig. 5, equipment 5 includes:
Acquiring unit 510, for obtaining the electronics when detecting the heartbeat packet of electronics price tag broadcast in preset channel
The identification information of price tag;
Unit 520 is established, is used in the preset channel, with the associated electronics price tag of the identification information
Establish communication connection.
Further, equipment further include:
First transmission unit sends inquiry request for the gateway into group;The inquiry request is for inquiring the net
It closes and whether receives the heartbeat packet;
Second transmission unit is not receive for working as the gateway based on the query result that the inquiry request returns
When the heartbeat packet, Xiang Suoshu gateway sends processing prompt information;The processing prompt information is for prompting the gateway to forbid
Handle the heartbeat packet.
Further, equipment further include:
Processing unit, the query result for being returned when any gateway based on the inquiry request is has received
When stating heartbeat packet, the heartbeat packet is not handled, and does not establish the communication connection between the electronics price tag.
Further, the heartbeat packet includes that identification information and the display for indicating present displayed content identify
Information;
Further, equipment further include:
Solicited message generation unit updates solicited message for generating based on the heartbeat packet;The update solicited message
Including the identification information and the display identification information;
Third transmission unit, for sending the update solicited message to server;The update solicited message is for touching
It sends out server described and is based on the identification information and whether the display identification information judgment needs to update the identity
The content that the corresponding electronics price tag of identification information is currently shown, and when confirmation needs to update the content currently shown, it generates simultaneously
Return to update notification information;The update notification information includes the electronics price tag corresponding data of display content to be updated;
4th transmission unit, for getting the update of the server based on the update solicited message return
When notification information, Xiang Suoshu electrovalence, which is signed and issued, send the update notification information;The update notification information is for triggering the electricity
The content that sub- price tag is currently shown according to the update notification information update.
Further, the heartbeat packet includes the current charge value of the electronics price tag;
Further, equipment further include:
Generation unit, for generating capacity prompt information when detecting that the charge value is less than default power threshold;
Prompt information transmission unit, for sending the capacity prompt information to the electronics price tag;The capacity prompt
The battery that information is used to that user to be prompted to replace the electronics price tag.
Refer to Fig. 6, Fig. 6 be another embodiment of the present invention provides a kind of equipment based on electronics price tag networking signal
Figure.As shown in fig. 6, the equipment 6 of the embodiment includes: processor 60, memory 61 and is stored in the memory 61 simultaneously
The computer program 62 that can be run on the processor 60.The processor 60 is realized when executing the computer program 62
State the step in the embodiment of the method based on electronics price tag networking, such as S101 shown in FIG. 1 to S102.Alternatively, the processing
Device 60 realizes the function of each unit in above-mentioned each Installation practice, such as unit shown in Fig. 5 when executing the computer program 62
510 to 520 functions.
Illustratively, the computer program 62 can be divided into one or more units, one or more of
Unit is stored in the memory 61, and is executed by the processor 60, to complete the present invention.One or more of lists
Member can be the series of computation machine program instruction section that can complete specific function, and the instruction segment is for describing the computer journey
Implementation procedure of the sequence 62 in the equipment 6.For example, the computer program 62 can be divided into acquiring unit and foundation
Unit, each unit concrete function are as described above.
The equipment includes but are not limited to, processor 60, memory 61.It will be understood by those skilled in the art that Fig. 6 is only
It is only the example of equipment 6, does not constitute the restriction to equipment 6, may include than illustrating more or fewer components, or combination
Certain components or different components, such as the equipment can also include input-output equipment, network access equipment, bus
Deng.
Alleged processor 60 can be central processing unit (Central Processing Unit, CPU), can also be
Other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit
(Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor
Deng.
The memory 61 can be the internal storage unit of the equipment 6, such as the hard disk or memory of equipment 6.It is described
Memory 61 is also possible to the External memory equipment of the equipment 6, such as the plug-in type hard disk being equipped in the equipment 6, intelligence
Storage card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card)
Deng.Further, the memory 61 can also both include the internal storage unit of the equipment 6 or set including external storage
It is standby.The memory 61 is for other programs and data needed for storing the computer program and the equipment.It is described to deposit
Reservoir 61 can be also used for temporarily storing the data that has exported or will export.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although referring to aforementioned reality
Applying example, invention is explained in detail, those skilled in the art should understand that: it still can be to aforementioned each
Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modified
Or replacement, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution should all
It is included within protection scope of the present invention.
Claims (10)
1. a kind of method based on electronics price tag networking characterized by comprising
When detecting the heartbeat packet of electronics price tag broadcast in preset channel, the identification information of the electronics price tag is obtained;
In the preset channel, establishes and communicate to connect with the associated electronics price tag of the identification information.
2. the method as described in claim 1, which is characterized in that described when the heart for detecting the broadcast of electronics price tag in preset channel
It is described in the preset channel after the identification information for obtaining the electronics price tag when jumping packet, with the identity
The electronics price tag of information association is established before communication connection, further includes:
Gateway into group sends inquiry request;The inquiry request is for inquiring whether the gateway receives the heartbeat
Packet;
When the gateway is not receive the heartbeat packet based on the query result that the inquiry request returns, to the net
It closes and sends processing prompt information;The processing prompt information is for prompting the gateway to forbid handling the heartbeat packet.
3. method according to claim 2, which is characterized in that after the gateway into group sends inquiry request, also wrap
It includes:
When any gateway is to have received the heartbeat packet based on the query result that the inquiry request returns, do not handle
The heartbeat packet, and do not establish the communication connection between the electronics price tag.
4. the method as described in claim 1, which is characterized in that the heartbeat packet includes identification information and for indicating
The display identification information of present displayed content;It is described in the preset channel, it is associated described with the identification information
Electronics price tag is established after communication connection, further includes:
It is generated based on the heartbeat packet and updates solicited message;The update solicited message includes the identification information and institute
State display identification information;
The update solicited message is sent to server;The update solicited message is based on the body for triggering the server
Whether part identification information and the display identification information judgment need to update the corresponding electronics price tag of the identification information
The content currently shown, and when confirmation needs to update the content currently shown, it generates and returns to update notification information;It is described more
New notification information includes the electronics price tag corresponding data of display content to be updated;
When getting the update notification information that the server is returned based on the update solicited message, Xiang Suoshu electronics
Price tag sends the update notification information;The update notification information is for triggering the electronics price tag according to the update notification
The content that information update is currently shown.
5. such as the described in any item methods of Claims 1-4, which is characterized in that the heartbeat packet includes that the electronics price tag is worked as
Preceding charge value;It is described in the preset channel, communicated with the associated electronics price tag foundation of the identification information
After connection, further includes:
When detecting that the charge value is less than default power threshold, capacity prompt information is generated;
The capacity prompt information is sent to the electronics price tag;The capacity prompt information is for prompting user to replace the electricity
The battery of sub- price tag.
6. a kind of equipment based on electronics price tag networking characterized by comprising
Acquiring unit, for obtaining the electronics price tag when detecting the heartbeat packet of electronics price tag broadcast in preset channel
Identification information;
Unit is established, for establishing with the associated electronics price tag of the identification information logical in the preset channel
Letter connection.
7. equipment as claimed in claim 6, which is characterized in that further include:
First transmission unit sends inquiry request for the gateway into group;The inquiry request is used to inquire the gateway
It is no to receive the heartbeat packet;
Second transmission unit, for when the gateway based on the query result that the inquiry request returns be do not receive described in
When heartbeat packet, Xiang Suoshu gateway sends processing prompt information;The processing prompt information is for prompting the gateway to forbid handling
The heartbeat packet.
8. equipment as claimed in claim 6, which is characterized in that further include:
Generation unit, for generating capacity prompt information when detecting that the charge value is less than default power threshold;
Prompt information transmission unit, for sending the capacity prompt information to the electronics price tag;The capacity prompt information
For prompting user to replace the battery of the electronics price tag.
9. a kind of equipment based on electronics price tag networking, including memory, processor and storage are in the memory and can
The computer program run on the processor, which is characterized in that the processor is realized when executing the computer program
Such as the step of any one of claim 1 to 5 the method.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists
In when the computer program is executed by processor the step of any one of such as claim 1 to 5 of realization the method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910695971.5A CN110446273B (en) | 2019-07-30 | 2019-07-30 | Networking method and device based on electronic price tags |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910695971.5A CN110446273B (en) | 2019-07-30 | 2019-07-30 | Networking method and device based on electronic price tags |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110446273A true CN110446273A (en) | 2019-11-12 |
CN110446273B CN110446273B (en) | 2021-08-13 |
Family
ID=68432294
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910695971.5A Active CN110446273B (en) | 2019-07-30 | 2019-07-30 | Networking method and device based on electronic price tags |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110446273B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111355737A (en) * | 2020-03-04 | 2020-06-30 | 努比亚技术有限公司 | Electronic price tag communication method, gateway, server, system, device, and computer-readable storage medium |
CN112104984A (en) * | 2020-09-15 | 2020-12-18 | 努比亚技术有限公司 | Electronic price tag parallel drawing method and device and computer readable storage medium |
CN112272395A (en) * | 2020-11-25 | 2021-01-26 | 努比亚技术有限公司 | Electronic price sign-on network backoff method, equipment and computer readable storage medium |
CN112636791A (en) * | 2020-12-14 | 2021-04-09 | 努比亚技术有限公司 | Electronic price tag communication method, electronic price tag communication device and computer-readable storage medium |
CN112866499A (en) * | 2020-12-31 | 2021-05-28 | 努比亚技术有限公司 | Electronic price tag differential mapping method, equipment and computer storage medium |
CN114513750A (en) * | 2020-11-16 | 2022-05-17 | 福建星网元智科技有限公司 | Price tag searching method and storage device |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20140146812A (en) * | 2013-06-18 | 2014-12-29 | 삼성전기주식회사 | Electronic shelf lable system and method for operating thereof |
CN204256783U (en) * | 2014-11-26 | 2015-04-08 | 武汉理工大学 | Based on the electronic price tag device of wireless self-networking |
CN108694421A (en) * | 2017-04-11 | 2018-10-23 | 浙江汉朔电子科技有限公司 | Electronics price tag system and working method |
CN109547578A (en) * | 2019-01-18 | 2019-03-29 | 重庆物奇科技有限公司 | Network-building method for electronics price tag system |
CN109587778A (en) * | 2019-01-18 | 2019-04-05 | 重庆物奇科技有限公司 | Communication means for electronics price tag |
CN109874135A (en) * | 2019-02-13 | 2019-06-11 | 广州鹰云电子科技有限公司 | Bluetooth electronic price tag and its data-updating method |
-
2019
- 2019-07-30 CN CN201910695971.5A patent/CN110446273B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20140146812A (en) * | 2013-06-18 | 2014-12-29 | 삼성전기주식회사 | Electronic shelf lable system and method for operating thereof |
CN204256783U (en) * | 2014-11-26 | 2015-04-08 | 武汉理工大学 | Based on the electronic price tag device of wireless self-networking |
CN108694421A (en) * | 2017-04-11 | 2018-10-23 | 浙江汉朔电子科技有限公司 | Electronics price tag system and working method |
CN109547578A (en) * | 2019-01-18 | 2019-03-29 | 重庆物奇科技有限公司 | Network-building method for electronics price tag system |
CN109587778A (en) * | 2019-01-18 | 2019-04-05 | 重庆物奇科技有限公司 | Communication means for electronics price tag |
CN109874135A (en) * | 2019-02-13 | 2019-06-11 | 广州鹰云电子科技有限公司 | Bluetooth electronic price tag and its data-updating method |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111355737A (en) * | 2020-03-04 | 2020-06-30 | 努比亚技术有限公司 | Electronic price tag communication method, gateway, server, system, device, and computer-readable storage medium |
CN112104984A (en) * | 2020-09-15 | 2020-12-18 | 努比亚技术有限公司 | Electronic price tag parallel drawing method and device and computer readable storage medium |
CN114513750A (en) * | 2020-11-16 | 2022-05-17 | 福建星网元智科技有限公司 | Price tag searching method and storage device |
CN114513750B (en) * | 2020-11-16 | 2024-02-23 | 福建星网元智科技有限公司 | Price tag searching method and storage device |
CN112272395A (en) * | 2020-11-25 | 2021-01-26 | 努比亚技术有限公司 | Electronic price sign-on network backoff method, equipment and computer readable storage medium |
CN112636791A (en) * | 2020-12-14 | 2021-04-09 | 努比亚技术有限公司 | Electronic price tag communication method, electronic price tag communication device and computer-readable storage medium |
CN112636791B (en) * | 2020-12-14 | 2023-06-27 | 努比亚技术有限公司 | Electronic price tag communication method, electronic price tag communication device and computer readable storage medium |
CN112866499A (en) * | 2020-12-31 | 2021-05-28 | 努比亚技术有限公司 | Electronic price tag differential mapping method, equipment and computer storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN110446273B (en) | 2021-08-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110446273A (en) | A kind of method and apparatus based on electronics price tag networking | |
CN107172205B (en) | Pushed information processing method, mobile terminal and computer storage media | |
CN107509178A (en) | Express delivery information sharing Notification Method and device | |
CN104346256B (en) | Method and device for acquiring power consumption information of application program and mobile terminal | |
CN110310174A (en) | A kind of electronics price tag shows the more new control method and system of information | |
US8769030B2 (en) | Device event notification registration through direct interaction with mobile device | |
CN102196383A (en) | Mobile terminal, system and method capable of reminding arrival of goods by using short message | |
CN105915343B (en) | A kind of offline Activiation method of registration user and system | |
CN109191674A (en) | Vending machine people replenishing method and system | |
CN106211074A (en) | The distribution method of e-sourcing and distributor | |
CN102685751B (en) | A kind of method and apparatus for processing conversation request | |
CN105929697A (en) | Smart home maintenance method and device and terminal | |
CN110119262A (en) | Show update method, control terminal, electronic tag and the display system of data | |
CN109547299A (en) | Information processing method, device, intelligence control system, intelligent gateway and server | |
CN109447674A (en) | Electronic device, insurance agent target service area determine method and storage medium | |
CN114374602A (en) | Master control equipment configuration method and device, cloud server and storage medium | |
CN106017514A (en) | Air conditioner charging system | |
CN111131418A (en) | Vulnerable part monitoring and managing method, device and system | |
CN106447242A (en) | Power consumption service acceptance time limit management method and device | |
KR101084508B1 (en) | Method of changing price of electronic shelf lable tag and system thereof | |
CN106779124A (en) | That intelligently lends bookshelf lends method and system | |
CN109766964A (en) | Reminding method, device, storage medium and the electronic device of intelligent electric meter information | |
CN106532954B (en) | Ground state monitoring method and system | |
CN105355022A (en) | Intelligent home remote control system | |
CN109670062A (en) | A kind of three dimensional resource management method and device |
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 |