CN116208563A - Electronic price tag reservation and graph brushing method, device and computer readable storage medium - Google Patents

Electronic price tag reservation and graph brushing method, device and computer readable storage medium Download PDF

Info

Publication number
CN116208563A
CN116208563A CN202211702521.2A CN202211702521A CN116208563A CN 116208563 A CN116208563 A CN 116208563A CN 202211702521 A CN202211702521 A CN 202211702521A CN 116208563 A CN116208563 A CN 116208563A
Authority
CN
China
Prior art keywords
electronic price
price tag
delay
time
picture
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.)
Pending
Application number
CN202211702521.2A
Other languages
Chinese (zh)
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 CN202211702521.2A priority Critical patent/CN116208563A/en
Publication of CN116208563A publication Critical patent/CN116208563A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/50Queue scheduling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/50Queue scheduling
    • H04L47/56Queue scheduling implementing delay-aware scheduling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/10Flow control between communication endpoints
    • H04W28/14Flow control between communication endpoints using intermediate storage
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/12Wireless traffic scheduling
    • H04W72/1263Mapping of traffic onto schedule, e.g. scheduled allocation or multiplexing of flows
    • 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
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The invention discloses a method, equipment and a computer-readable storage medium for reserving and brushing an electronic price tag, wherein the method comprises the following steps: when the base station dispatches the current picture pushing task according to the dispatching queue, calculating to obtain the delay display time of the electronic price tag corresponding to the picture resource according to the current time and the reserved display time contained in the picture pushing task; and transmitting the picture resource and the delay display time to the electronic price tag through the base station, so that the electronic price tag takes the delay display time as a starting value of own delay drawing time, and updating the delay drawing time when the electronic price tag wakes up each time until the delay drawing time is less than or equal to zero, and drawing the picture resource. The invention effectively expands the application scene of the reservation and drawing, reduces the delay time of the reservation and drawing to a certain extent, saves the self power consumption of the electronic price tag and improves the product force.

Description

Electronic price tag reservation and graph brushing method, device and computer readable storage medium
Technical Field
The present invention relates to the field of mobile communications, and in particular, to a method and apparatus for electronic price tag reservation and image brushing, and a computer readable storage medium.
Background
The electronic price tag system comprises a background server, a base station and an electronic price tag terminal. The background server is used as a producer of an information source and is responsible for generating picture resources; the base station is used as a transfer medium and is responsible for transmitting the picture resources to the electronic price tag in a short-distance communication mode (such as Bluetooth or private 2.4G protocol); the electronic price tag is used as a terminal and is responsible for receiving the picture and displaying the picture to a user.
The pictures of the server sometimes need to be immediately presented to the user, for example, if a commodity in a supermarket is subjected to price adjustment, the price pictures on the electronic price tag need to be immediately updated; however, some scenes are not immediately displayed, but are delayed, for example, a holiday, a merchant is about to do an activity, the activity price is effective at a certain moment, and price tags of a large number of commodities are changed simultaneously.
Aiming at the requirement of delayed drawing of the electronic price tag, namely reservation drawing, the existing scheme is that the picture is transmitted to the electronic price tag for caching in advance, after the drawing brushing time is up, a base station initiates a display notice, and the cached picture is refreshed on a screen after the price tag receives the notice. The scheme can meet the requirements of most commercial superenvironments. However, for other scenarios, for example, the base station has a problem before the time of reserving the drawing, and some institutions such as temple will take the electronic price tag as the souvenir of their institutions (the electronic price tag is essentially, but the appearance can be of various types), send the electronic price tag to members, and need the price tag to display different contents every day (for example, display different momordica every day), so the electronic price tag is selected as the core of the souvenir, mainly because the electronic price tag is of a low-power design, and the battery can meet the power consumption requirement of 2-3 years. Under the application scene, after the member holds the souvenir and returns home, the member is separated from the environment of the base station, and the base station cannot give a command to give the price tag to display the reservation map.
Aiming at the application scene, how to realize a more effective electronic price tag reservation and graph brushing scheme becomes a technical problem to be solved urgently.
Disclosure of Invention
In order to solve the technical defects in the prior art, the invention provides an electronic price tag reservation and graph brushing method, which comprises the following steps:
after receiving a picture resource to be reserved and displayed sent by a server, a base station generates a picture pushing task to be reserved and displayed, and the picture pushing task is discharged into a scheduling queue of the base station;
when the base station dispatches the current picture pushing task according to the dispatching queue, calculating to obtain the delay display time of the electronic price tag corresponding to the picture resource according to the current time and the reserved display time contained in the picture pushing task;
and transmitting the picture resource and the delay display time to the electronic price tag through the base station, so that the electronic price tag takes the delay display time as a starting value of own delay drawing time, and updating the delay drawing time when the electronic price tag wakes up each time until the delay drawing time is less than or equal to zero, and drawing the picture resource.
Optionally, after receiving the picture resource to be reserved and displayed sent by the server, the base station generates a push graph task to be reserved and displayed, and the push graph task is queued into a scheduling queue of the base station, including:
the base station receives the picture resources to be reserved and displayed by the electronic price tags through a TCP/IP communication protocol;
and creating the image pushing task corresponding to each electronic price according to the task ID, the image resource index, the price ID and the reserved display time of each electronic price.
Optionally, when the base station schedules the current push-map task according to the scheduling queue, calculating to obtain a delay display time of the electronic price tag corresponding to the push-map task for the picture resource according to the current time and a reserved display time included in the push-map task, where the delay display time includes:
the base station dispatches the current electronic price tag and the corresponding map pushing task according to the task ID and the dispatching queue;
and taking the difference value between the reserved display time and the current time as the delay display time.
Optionally, the transmitting, by the base station, the picture resource and the delay display time to the electronic price tag, so that the electronic price tag uses the delay display time as a start value of a delay brushing time of the electronic price tag, and updates the delay brushing time when the electronic price tag wakes up each time until the delay brushing time is less than or equal to zero, and the brushing display the picture resource includes:
transmitting, by the base station, the picture resource and the delayed display time to the electronic price tag through a 2.4G communication protocol;
and caching the picture resource and the delay display time by the electronic price tag.
Optionally, the method further comprises:
after the electronic price tag leaves the coverage area of the base station, waking up according to a preset wake-up period;
and when the electronic price tag wakes up, judging whether the delay brushing time is equal to 0xFFFFFF.
Optionally, the method further comprises:
when the delay brushing time is equal to 0xFFFFFF, the electronic price tag enters sleep again;
and when the delay brushing time is not equal to 0xFFFFFF, taking the difference value between the delay brushing time and the wake-up period as the updated delay brushing time.
Optionally, the method further comprises:
judging whether the updated delay brushing time is smaller than or equal to zero;
and when the updated delay brushing time is greater than zero, the electronic price tag enters dormancy again.
Optionally, the method further comprises:
when the updated delay brushing time is less than or equal to zero, brushing the picture resources;
and releasing the picture resources and the cache of the delay display time.
The invention also provides electronic price book graph brushing equipment, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the computer program realizes the steps of the electronic price book graph brushing method according to any one of the above steps when being executed by the processor.
The invention also provides a computer readable storage medium, wherein the computer readable storage medium stores an electronic price tag reservation and image brushing program, and the electronic price tag reservation and image brushing program realizes the steps of the electronic price tag reservation and image brushing method according to any one of the above steps when being executed by a processor.
After receiving picture resources to be reserved and displayed sent by a server, a base station generates a picture pushing task to be reserved and displayed, and the picture pushing task is discharged into a scheduling queue of the base station; when the base station dispatches the current picture pushing task according to the dispatching queue, calculating to obtain the delay display time of the electronic price tag corresponding to the picture resource according to the current time and the reserved display time contained in the picture pushing task; and transmitting the picture resource and the delay display time to the electronic price tag through the base station, so that the electronic price tag takes the delay display time as a starting value of own delay drawing time, and updating the delay drawing time when the electronic price tag wakes up each time until the delay drawing time is less than or equal to zero, and drawing the picture resource. The scheme of reserving and brushing the image of the electronic price tag is realized, the application scene of reserving and brushing the image is effectively expanded, the delay time of reserving and brushing the image is reduced to a certain extent, the self power consumption of the electronic price tag is saved, and the product force is improved.
Drawings
The invention will be further described with reference to the accompanying drawings and examples, in which:
fig. 1 is a schematic diagram of a hardware structure of a mobile terminal according to the present invention;
FIG. 2 is a first flowchart of the electronic price tag reservation brush method of the present invention;
FIG. 3 is a second flowchart of the electronic price tag reservation brush method of the present invention;
FIG. 4 is a third flowchart of the electronic price tag reservation brush method of the present invention;
FIG. 5 is a fourth flowchart of the electronic price tag reservation swiping method of the present invention;
FIG. 6 is a fifth flowchart of the electronic price tag reservation swiping method of the present invention;
FIG. 7 is a sixth flowchart of the electronic price tag reservation swiping method of the present invention;
FIG. 8 is a seventh flowchart of the electronic price tag reservation swiping method of the present invention;
FIG. 9 is an eighth flowchart of the electronic price tag reservation swiping method of the present invention;
FIG. 10 is a schematic diagram of the functional structure of the method for reserving and brushing electronic price tags according to the present invention;
FIG. 11 is a schematic diagram of a dispatch queue structure of the electronic price tag reservation and swiping method of the present invention;
FIG. 12 is a flow chart of a periodic inquiry subscription chart expiration of the electronic price tag subscription chart brushing method of the present invention.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
In the following description, suffixes such as "module", "component", or "unit" for representing elements are used only for facilitating the description of the present invention, and have no specific meaning per se. Thus, "module," "component," or "unit" may be used in combination.
The terminal may be implemented in various forms. For example, the terminals described in the present invention may include mobile terminals such as cell phones, tablet computers, notebook computers, palm computers, personal digital assistants (Personal Digital Assistant, PDA), portable media players (Portable Media Player, PMP), navigation devices, wearable devices, smart bracelets, pedometers, and fixed terminals such as digital TVs, desktop computers, and the like.
The following description will be given taking a mobile terminal as an example, and those skilled in the art will understand that the configuration according to the embodiment of the present invention can be applied to a fixed type terminal in addition to elements particularly used for a moving purpose.
Referring to fig. 1, which is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present invention, the mobile terminal 100 may include: an RF (Radio Frequency) unit 101, a WiFi module 102, an audio output unit 103, an a/V (audio/video) input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, a processor 110, and a power supply 111. Those skilled in the art will appreciate that the mobile terminal structure shown in fig. 1 is not limiting of the mobile terminal and that the mobile terminal may include more or fewer components than shown, or may combine certain components, or a different arrangement of components.
The following describes the components of the mobile terminal in detail with reference to fig. 1:
the radio frequency unit 101 may be used for receiving and transmitting signals during the information receiving or communication process, specifically, after receiving downlink information of the base station, processing the downlink information by the processor 110; and, the uplink data is transmitted to the base station. Typically, the radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication, global System for Mobile communications), GPRS (General Packet Radio Service ), CDMA2000 (Code Division Multiple Access, CDMA 2000), WCDMA (Wideband Code Division Multiple Access ), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, time Division synchronous code Division multiple Access), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, frequency Division Duplex Long term evolution), and TDD-LTE (Time Division Duplexing-Long Term Evolution, time Division Duplex Long term evolution), etc.
WiFi belongs to a short-distance wireless transmission technology, and a mobile terminal can help a user to send and receive e-mails, browse web pages, access streaming media and the like through the WiFi module 102, so that wireless broadband Internet access is provided for the user. Although fig. 1 shows a WiFi module 102, it is understood that it does not belong to the necessary constitution of a mobile terminal, and can be omitted entirely as required within a range that does not change the essence of the invention.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output as sound when the mobile terminal 100 is in a call signal reception mode, a talk mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output (e.g., a call signal reception sound, a message reception sound, etc.) related to a specific function performed by the mobile terminal 100. The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive an audio or video signal. The a/V input unit 104 may include a graphics processor (Graphics Processing Unit, GPU) 1041 and a microphone 1042, the graphics processor 1041 processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphics processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 can receive sound (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, and the like, and can process such sound into audio data. The processed audio (voice) data may be converted into a format output that can be transmitted to the mobile communication base station via the radio frequency unit 101 in the case of a telephone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting the audio signal.
The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and the proximity sensor can turn off the display panel 1061 and/or the backlight when the mobile terminal 100 moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the acceleration in all directions (generally three axes), and can detect the gravity and direction when stationary, and can be used for applications of recognizing the gesture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and knocking), and the like; as for other sensors such as fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc. that may also be configured in the mobile phone, the detailed description thereof will be omitted.
The display unit 106 is used to display information input by a user or information provided to the user. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and to generate key signal inputs related to user settings and function control of the mobile terminal. In particular, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, may collect touch operations thereon or thereabout by a user (e.g., operations of the user on the touch panel 1071 or thereabout by using any suitable object or accessory such as a finger, a stylus, etc.) and drive the corresponding connection device according to a predetermined program. The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch azimuth of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts it into touch point coordinates, and sends the touch point coordinates to the processor 110, and can receive and execute commands sent from the processor 110. Further, the touch panel 1071 may be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. The user input unit 107 may include other input devices 1072 in addition to the touch panel 1071. In particular, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, mouse, joystick, etc., as specifically not limited herein.
Further, the touch panel 1071 may overlay the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or thereabout, the touch panel 1071 is transferred to the processor 110 to determine the type of touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of touch event. Although in fig. 1, the touch panel 1071 and the display panel 1061 are two independent components for implementing the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 may be integrated with the display panel 1061 to implement the input and output functions of the mobile terminal, which is not limited herein.
The interface unit 108 serves as an interface through which at least one external device can be connected with the mobile terminal 100. For example, the external devices may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal 100 and an external device.
Memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area that may store an operating system, application programs required for at least one function (such as a sound playing function, an image playing function, etc.), and a storage data area; the storage data area may store data (such as audio data, phonebook, etc.) created according to the use of the handset, etc. In addition, memory 109 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
The processor 110 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by running or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the mobile terminal. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor that primarily handles operating systems, user interfaces, applications, etc., with a modem processor that primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The mobile terminal 100 may further include a power source 111 (e.g., a battery) for supplying power to the respective components, and preferably, the power source 111 may be logically connected to the processor 110 through a power management system, so as to perform functions of managing charging, discharging, and power consumption management through the power management system.
Although not shown in fig. 1, the mobile terminal 100 may further include a bluetooth module or the like, which is not described herein.
Based on the above mobile terminal hardware structure, various embodiments of the method of the present invention are provided.
FIG. 2 is a first flowchart of the electronic price tag reservation brush method of the present invention. The embodiment provides a method for brushing an electronic price tag reservation, which comprises the following steps:
s1, after a base station receives picture resources to be reserved and displayed, which are sent by a server, generating a picture pushing task to be reserved and displayed, and discharging the picture pushing task into a scheduling queue of the base station;
s2, when the base station dispatches the current picture pushing task according to the dispatching queue, calculating to obtain the delay display time of the electronic price tag corresponding to the picture resource according to the current time and the reserved display time contained in the picture pushing task;
and S3, transmitting the picture resource and the delay display time to the electronic price tag through the base station, so that the electronic price tag takes the delay display time as a starting value of own delay picture brushing time, and updating the delay picture brushing time when the electronic price tag wakes up each time until the delay picture brushing time is less than or equal to zero, and displaying the picture resource.
Referring to fig. 10, in this embodiment, a server generates all picture resources to be reserved for display, pushes the picture resources to a base station, and the base station arranges the picture pushing tasks into its own scheduling queue, where each picture pushing task includes several key elements: task ID, picture resource, price tag ID, reservation display time. When the base station dispatches a certain picture pushing task, calculating the time of delayed display of the bidding price according to the current time and the reservation time, transmitting the delay time to the price when the base station transmits the picture to the price, caching the reservation picture to a flash by the price, setting delay picture brushing time DelayTime for the picture, and subtracting the awakening period from DelayTime to update the value after each awakening of the price. When the delay brushing time DelayTime is less than or equal to 0, the picture is immediately displayed on the price tag screen.
Referring to fig. 3, optionally, after receiving a picture resource to be reserved and displayed sent by a server, the base station generates a push-graph task to be reserved and displayed, and queues the push-graph task into its own scheduling queue, including:
s11, the base station receives the picture resources to be reserved and displayed by the electronic price tags through a TCP/IP communication protocol;
s12, creating the image pushing task corresponding to each electronic price according to the task ID, the image resource index, the price ID and the reserved display time of each electronic price.
Referring to fig. 4, optionally, when the base station schedules the current push-map task according to the scheduling queue, calculating, according to the current time and the reserved display time included in the push-map task, a delay display time of the electronic price tag corresponding to the push-map task for the picture resource, including:
s21, the base station dispatches the current electronic price tag and the corresponding map pushing task according to the task ID and the dispatching queue;
s22, taking the difference value between the reserved display time and the current time as the delay display time.
Referring to fig. 5, optionally, the transmitting, by the base station, the picture resource and the delay display time to the electronic price tag, so that the electronic price tag uses the delay display time as a start value of a delay brushing time of the electronic price tag, and updates the delay brushing time when the electronic price tag wakes up each time until the delay brushing time is less than or equal to zero, where brushing the picture resource includes:
s31, the base station transmits the picture resource and the delay display time to the electronic price tag through a 2.4G communication protocol;
and S32, caching the picture resource and the delay display time by the electronic price tag.
Referring to fig. 11, in this embodiment, a server provides webUI (interactive interface at a web page end) for a user, so that the user can conveniently generate or import a picture resource, and send the picture resource to a base station. In this embodiment, considering that the transmission speed of the TCP/IP connection is far faster than that of the 2.4G protocol, and that the base station and the server both supply power for the wired power supply, no low power consumption mode is required, and the processing delay is small, the present embodiment uses the base station as a buffer, and needs to buffer the picture received from the server to the local first, and establish a database to save the image_task to wait for scheduling. The image_task is used as a basic unit of scheduling, key information such as a task Id, a picture resource index, a price tag Id, a reserved picture brushing time and the like is stored, and meanwhile, the image_task is also a basic unit of data transmission between the base station and the price tag. Based on this, the base station sequentially selects one task from the scheduling queue and then transmits the picture resource to the price tag using the 2.4G communication protocol. The price tag may leave the coverage area of the base station, and at this time, the price tag cannot synchronize the system time from the base station, so the price tag cannot know the current date and time, and therefore the reservation display time, such as 2022.12.5 15:05:25, cannot be directly transmitted to the price tag, but the base station calculates the delay time, and the delay time=the reservation time-current time. The base station communicates the delay time to the price tag.
Referring to fig. 6, optionally, the method further includes:
s41, after the electronic price tag leaves the coverage area of the base station, waking up according to a preset wake-up period;
s42, judging whether the delay brushing time is equal to 0xFFFFFF or not when the electronic price tag wakes up.
Referring to fig. 7, optionally, the method further includes:
s43, when the delay brushing time is equal to 0xFFFFFF, the electronic price tag enters dormancy again;
and S44, when the delay brushing time is not equal to 0xFFFFFF, taking the difference value between the delay brushing time and the wake-up period as the updated delay brushing time.
Referring to fig. 8, optionally, the method further includes:
s45, judging whether the updated delay map brushing time is smaller than or equal to zero;
and S46, when the updated delay brushing time is greater than zero, the electronic price tag enters dormancy again.
Referring to fig. 9, optionally, the method further includes:
s47, when the updated delay picture brushing time is less than or equal to zero, the picture brushing display the picture resource;
and S48, releasing the picture resource and caching the delay display time.
Referring to fig. 12, in this embodiment, a certain flash space is required when the electronic price tag caches the picture, and the cache map and the delay display time delay time are managed. The price tag is used as a low-power-consumption product, and is in a long sleep state after leaving the coverage area of the base station, the wake-up period is about 1-2 hours, after the price tag is waken-up, delayTime is required to be updated, whether overtime is generated or not is judged, if overtime is generated, the screen is immediately brushed, and the flash space of the picture cache is released.
It should be noted that, for comparison of the reservation push map and the conventional real-time push map in this embodiment: the reservation pushing picture is to push the picture into the price tag in advance, and the picture is displayed on a price tag screen until a preset moment; and the real-time pushing is to push the pictures to the price tag and then display the pictures in real time. Both targets want to display a picture on the price tag screen at a certain moment. When the number of price tags under the base station is small, the effect of the price tags is not obviously different, but when the number of price tags is large, the image pushing task queue of the base station is long, the real-time image pushing effect is difficult to achieve to be expected, for example, the user 12:00 sends out the image pushing task, the image pushing task is queued in the scheduling queue of the base station, and the image pushing task can be scheduled only when the number of price tags is 12:05, namely, the image is refreshed only after 5 minutes. The picture can be refreshed to the screen within 5 seconds of the reserved time by reserving the push picture.
To supplement this, the timing error for the subscription profile scheme is: in this embodiment, the check of the reserved time is placed on the price tag side, and thus, it is checked whether the delay display time delay time is timed out after each wakeup, and thus, the timing error depends on the wakeup period S of the price tag, and the timing error range is [0,S ].
The method has the advantages that after receiving the picture resources to be reserved and displayed sent by the server, the base station generates the picture pushing task to be reserved and displayed, and the picture pushing task is arranged in a scheduling queue of the base station; when the base station dispatches the current picture pushing task according to the dispatching queue, calculating to obtain the delay display time of the electronic price tag corresponding to the picture resource according to the current time and the reserved display time contained in the picture pushing task; and transmitting the picture resource and the delay display time to the electronic price tag through the base station, so that the electronic price tag takes the delay display time as a starting value of own delay drawing time, and updating the delay drawing time when the electronic price tag wakes up each time until the delay drawing time is less than or equal to zero, and drawing the picture resource. The scheme of reserving and brushing the image of the electronic price tag is realized, the application scene of reserving and brushing the image is effectively expanded, the delay time of reserving and brushing the image is reduced to a certain extent, the self power consumption of the electronic price tag is saved, and the product force is improved.
Based on the above embodiment, the invention also provides an electronic price book appointment graph brushing device, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the computer program realizes the steps of the electronic price book appointment graph brushing method according to any one of the above steps when being executed by the processor.
It should be noted that the above device embodiments and method embodiments belong to the same concept, the specific implementation process of the device embodiments is detailed in the method embodiments, and technical features in the method embodiments are correspondingly applicable to the device embodiments, which are not repeated herein.
Based on the above embodiment, the present invention further provides a computer readable storage medium, where an electronic price tag reservation and brushing program is stored, where the electronic price tag reservation and brushing program, when executed by a processor, implements the steps of the electronic price tag reservation and brushing method according to any one of the above embodiments.
It should be noted that the medium embodiment and the method embodiment belong to the same concept, the specific implementation process of the medium embodiment and the method embodiment are detailed, and technical features in the method embodiment are correspondingly applicable in the medium embodiment, which is not repeated herein.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method according to the embodiments of the present invention.
The embodiments of the present invention have been described above with reference to the accompanying drawings, but the present invention is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present invention and the scope of the claims, which are to be protected by the present invention.

Claims (10)

1. An electronic price tag reservation and graph brushing method, which is characterized by comprising the following steps:
after receiving a picture resource to be reserved and displayed sent by a server, a base station generates a picture pushing task to be reserved and displayed, and the picture pushing task is discharged into a scheduling queue of the base station;
when the base station dispatches the current picture pushing task according to the dispatching queue, calculating to obtain the delay display time of the electronic price tag corresponding to the picture resource according to the current time and the reserved display time contained in the picture pushing task;
and transmitting the picture resource and the delay display time to the electronic price tag through the base station, so that the electronic price tag takes the delay display time as a starting value of own delay drawing time, and updating the delay drawing time when the electronic price tag wakes up each time until the delay drawing time is less than or equal to zero, and drawing the picture resource.
2. The method for brushing reservation of electronic price tag according to claim 1, wherein the generating a push-graph task to be reserved and displayed after the base station receives the picture resource to be reserved and displayed sent by the server, and the pushing-graph task is queued into its own scheduling queue comprises:
the base station receives the picture resources to be reserved and displayed by the electronic price tags through a TCP/IP communication protocol;
and creating the image pushing task corresponding to each electronic price according to the task ID, the image resource index, the price ID and the reserved display time of each electronic price.
3. The method for reserving and brushing the electronic price tag according to claim 2, wherein when the base station schedules the current pushing task according to the scheduling queue, calculating to obtain the delay display time of the electronic price tag corresponding to the pushing task for the picture resource according to the current time and the reserved display time included in the pushing task, the method comprises the following steps:
the base station dispatches the current electronic price tag and the corresponding map pushing task according to the task ID and the dispatching queue;
and taking the difference value between the reserved display time and the current time as the delay display time.
4. The method for reserving a drawing for a price tag according to claim 3, wherein the transmitting the picture resource and the delay display time to the electronic price tag through the base station, so that the electronic price tag takes the delay display time as a starting value of own delay drawing time, and updating the delay drawing time when the electronic price tag wakes up each time until the delay drawing time is less than or equal to zero, comprises the steps of:
transmitting, by the base station, the picture resource and the delayed display time to the electronic price tag through a 2.4G communication protocol;
and caching the picture resource and the delay display time by the electronic price tag.
5. The electronic price tag reservation swiping method of claim 4, further comprising:
after the electronic price tag leaves the coverage area of the base station, waking up according to a preset wake-up period;
and when the electronic price tag wakes up, judging whether the delay brushing time is equal to 0xFFFFFF.
6. The electronic price tag reservation swiping method of claim 5, further comprising:
when the delay brushing time is equal to 0xFFFFFF, the electronic price tag enters sleep again;
and when the delay brushing time is not equal to 0xFFFFFF, taking the difference value between the delay brushing time and the wake-up period as the updated delay brushing time.
7. The electronic price tag reservation swiping method of claim 6, further comprising:
judging whether the updated delay brushing time is smaller than or equal to zero;
and when the updated delay brushing time is greater than zero, the electronic price tag enters dormancy again.
8. The electronic price tag reservation swiping method of claim 7, further comprising:
when the updated delay brushing time is less than or equal to zero, brushing the picture resources;
and releasing the picture resources and the cache of the delay display time.
9. An electronic price label subscription brush device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, which when executed by the processor carries out the steps of the electronic price label subscription brush method of any of claims 1 to 8.
10. A computer readable storage medium, characterized in that it has stored thereon an electronic price book reservation swiping program, which when executed by a processor, implements the steps of the electronic price book reservation swiping method according to any of claims 1 to 8.
CN202211702521.2A 2022-12-29 2022-12-29 Electronic price tag reservation and graph brushing method, device and computer readable storage medium Pending CN116208563A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211702521.2A CN116208563A (en) 2022-12-29 2022-12-29 Electronic price tag reservation and graph brushing method, device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211702521.2A CN116208563A (en) 2022-12-29 2022-12-29 Electronic price tag reservation and graph brushing method, device and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN116208563A true CN116208563A (en) 2023-06-02

Family

ID=86508642

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211702521.2A Pending CN116208563A (en) 2022-12-29 2022-12-29 Electronic price tag reservation and graph brushing method, device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN116208563A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116456449A (en) * 2023-06-06 2023-07-18 汉朔科技股份有限公司 Price tag communication method, price tag system and computer equipment based on synchronous network

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116456449A (en) * 2023-06-06 2023-07-18 汉朔科技股份有限公司 Price tag communication method, price tag system and computer equipment based on synchronous network
CN116456449B (en) * 2023-06-06 2023-10-17 汉朔科技股份有限公司 Price tag communication method, price tag system and computer equipment based on synchronous network

Similar Documents

Publication Publication Date Title
CN111273951B (en) Electronic price tag management method, electronic terminal and computer readable storage medium
CN111246555B (en) Electronic price tag device management method, electronic terminal and computer readable storage medium
CN109901695B (en) Screen power-saving display method, mobile terminal and computer-readable storage medium
CN108073458B (en) Memory recovery method, mobile terminal and computer-readable storage medium
CN107734170B (en) Notification message processing method, mobile terminal and wearable device
CN112822763B (en) Electronic price tag dynamic awakening method, electronic price tag dynamic awakening equipment and computer storage medium
CN112104985B (en) Electronic price tag reservation image brushing method, equipment and computer readable storage medium
CN108984066B (en) Application icon display method and mobile terminal
CN112492674A (en) Sleep cycle configuration method and device and computer readable storage medium
CN109933294B (en) Data processing method and device, wearable device and storage medium
CN116208563A (en) Electronic price tag reservation and graph brushing method, device and computer readable storage medium
CN112105057B (en) Method and equipment for locally brushing electronic price tag and computer readable storage medium
CN110532050B (en) Motion data refreshing method, wearable device and computer readable storage medium
CN110399195B (en) Desktop icon dynamic replacement method, equipment and computer readable storage medium
CN109799937B (en) Input control method, input control equipment and computer readable storage medium
CN108134879B (en) Method for adjusting state of mobile terminal according to user habit, mobile terminal and medium
CN116033530A (en) Dynamic configuration method and device for price tag power consumption and computer readable storage medium
CN109992087B (en) Optimization method for data display of wearable device, wearable device and storage medium
CN110908732B (en) Application task deleting method and electronic equipment
CN110109605B (en) Image sharing method and device and computer readable storage medium
CN113596745A (en) Electronic price tag scheduling method and device and computer readable storage medium
CN109976608B (en) Application timing method and device and computer readable storage medium
CN112689021B (en) Electronic price tag reservation graph brushing method, electronic price tag reservation graph brushing equipment and computer storage medium
CN112689251B (en) Method, equipment and computer storage medium for electronic price tag time delay graph brushing
CN110188233B (en) Voice online search processing method, wearable device and storage medium

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