Price tag font attribute regulating method, equipment and computer readable storage medium

文档序号:195928 发布日期:2021-11-02 浏览:18次 中文

阅读说明:本技术 一种价签字体属性调控方法、设备及计算机可读存储介质 (Price tag font attribute regulating method, equipment and computer readable storage medium ) 是由 林惺 于 2021-07-26 设计创作,主要内容包括:本发明公开了一种价签字体属性调控方法、设备及计算机可读存储介质,其中,该方法包括:由基站接收服务端发送的价签字体数据,其中,所述价签字体数据由所述服务端的文本编辑器生成;对接收到的所述价签字体数据进行解析,得到显示于价签显示屏的点阵数据;将所述点阵数据发送至电子价签,其中,所述点阵数据在经所述电子价签解析后,在所述价签显示屏上进行显示。实现了一种高效的价签字体属性调控方案,使得电子价签内的显示字体能够得到动态地调控,满足用户对价签字体的多样化显示需求,避免了固件升级带来的额外成本,提升了产品力。(The invention discloses a method, a device and a computer readable storage medium for regulating and controlling the font property of a price tag, wherein the method comprises the following steps: the method comprises the steps that price tag font data sent by a server side are received by a base station, wherein the price tag font data are generated by a text editor of the server side; analyzing the received price tag font data to obtain dot matrix data displayed on a price tag display screen; and sending the dot matrix data to an electronic price tag, wherein the dot matrix data is displayed on a price tag display screen after being analyzed by the electronic price tag. The efficient price tag font attribute regulation and control scheme is realized, so that the display fonts in the electronic price tag can be dynamically regulated and controlled, the diversified display requirements of a user on the price tag fonts are met, the extra cost caused by firmware upgrading is avoided, and the product strength is improved.)

1. A method for regulating and controlling the attribute of a price tag font is characterized by comprising the following steps:

the method comprises the steps that price tag font data sent by a server side are received by a base station, wherein the price tag font data are generated by a text editor of the server side;

analyzing the received price tag font data to obtain dot matrix data displayed on a price tag display screen;

sending the dot matrix data to an electronic price tag, wherein the dot matrix data is displayed on a price tag display screen after being analyzed by the electronic price tag;

and receiving the font display state fed back by the electronic price tag, and reporting the font display state to the server side so as to determine whether the price tag font data is correctly written into the electronic price tag.

2. The method for regulating and controlling the price tag font property according to claim 1, wherein the receiving, by the base station, the price tag font data sent by the server, wherein the price tag font data is generated by a text editor of the server, comprises:

determining a client connected to the server, and acquiring an input interface of the text editor in the client;

and modifying the current default font through the input interface to obtain the modified price tag font data.

3. The method for regulating and controlling the price tag font property according to claim 2, wherein the base station receives price tag font data sent by a server, wherein the price tag font data is generated by a text editor of the server, and further comprising:

receiving price tag deduction map data sent by the server side;

and analyzing to obtain character data in the price tag image pushing data, and associating the character data with the price tag font data.

4. The method for regulating and controlling the attribute of the price tag font according to claim 3, wherein the analyzing the received price tag font data to obtain the dot matrix data displayed on the price tag display screen comprises:

obtaining price tag characters and font attributes displayed on the price tag display screen according to the associated character data and the price tag font data;

and generating the dot matrix data according to the price tag characters, the font attributes and the screen display parameters of the price tag display screen.

5. The method for regulating and controlling the font property of the price tag according to claim 4, wherein the step of sending the dot matrix data to the electronic price tag, wherein the dot matrix data is displayed on the price tag display screen after being analyzed by the electronic price tag, comprises the steps of:

after the dot matrix data are sent to the electronic price tag, the electronic price tag detects whether new price tag chart pushing data are received or not;

and if the electronic price tag receives the new price tag image pushing data, analyzing the new price tag image pushing data to obtain new picture data and new character data.

6. The method for regulating and controlling the font property of the price tag according to claim 5, wherein the sending of the dot matrix data to the electronic price tag, wherein the dot matrix data is displayed on the price tag display screen after being analyzed by the electronic price tag, further comprises:

generating new dot matrix data according to the new character data, the font attributes and the screen display parameters of the price tag display screen;

and updating the dot matrix data in the price tag display screen to display the new dot matrix data.

7. The method for regulating and controlling the font property of the price tag according to claim 6, wherein the receiving the font display status fed back by the electronic price tag and reporting the font display status to the server to determine whether the price tag font data is correctly written into the electronic price tag comprises:

receiving feedback information of the electronic price tag, wherein the feedback information comprises a drawing display state and a font display state;

and judging whether the image pushing display state and the font display state are successful or not, and reporting status information of font attribute regulation failure to the server if the image pushing display state or the font display state indication fails.

8. The method for regulating and controlling the font property of the price tag according to claim 7, wherein the receiving the font display status fed back by the electronic price tag and reporting the font display status to the server to determine whether the price tag font data is correctly written into the electronic price tag comprises the following steps:

if the price tag image pushing state fails and the font display state succeeds, receiving updated price tag image pushing data sent by the server side so that the updated price tag image pushing data is matched with the price tag font data;

and if the image pushing display state is successful and the font display state is failed, receiving the updated price tag font data sent by the server side so as to enable the updated price tag font data to be matched with the price tag image pushing data.

9. A price tag font property manipulation device, comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the price tag font property manipulation method according to any one of claims 1 to 8.

10. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a price tag font property adjustment program which, when executed by a processor, implements the steps of the price tag font property adjustment method of any one of claims 1 to 8.

Technical Field

The invention relates to the field of mobile communication, in particular to a method and equipment for regulating and controlling the font property of a price tag and a computer-readable storage medium.

Background

The rapid development of intelligent new retail in the modern society makes the lives of the masses more and more convenient, and the intelligent new retail can be predicted to be an essential part in our lives in the future. The electronic price tag serving as an intelligent new retail representative product greatly improves the working efficiency of the retail industry and saves a large amount of labor cost.

Electronic Shelf Label (ESL) has become a trend to replace the traditional paper price Label. The price tag is a standard in new retail industry, and electronic price tags are used by large-scale merchants. The use of the electronic price tags improves the working efficiency of stores, releases the hands of employees, and can save a great deal of manpower and time cost for merchants after long-term use.

With the different requirements of electronic price tags, the electronic price tags are often required to display different fonts so as to attract customers more. Traditional electronic price tag typeface is put the font and is downloaded in the firmware to the electronic price tag, just need compile the firmware again and download the procedure again if need change typeface, and the operation feasibility is not high, and the implementation cost is higher, and the flexibility that can expand is relatively poor, and user experience is not good.

Disclosure of Invention

In order to solve the technical defects in the prior art, the invention provides a method for regulating and controlling the attribute of a price tag font, which comprises the following steps:

and receiving the price tag font data sent by the server by the base station, wherein the price tag font data is generated by a text editor of the server.

And analyzing the received price tag font data to obtain dot matrix data displayed on a price tag display screen.

And sending the dot matrix data to an electronic price tag, wherein the dot matrix data is displayed on a price tag display screen after being analyzed by the electronic price tag.

And receiving the font display state fed back by the electronic price tag, and reporting the font display state to the server side so as to determine whether the price tag font data is correctly written into the electronic price tag.

Optionally, the receiving, by the base station, price tag font data sent by a server, where the price tag font data is generated by a text editor of the server, includes:

and determining a client connected to the server, and acquiring an input interface of the text editor in the client.

And modifying the current default font through the input interface to obtain the modified price tag font data.

Optionally, the receiving, by the base station, price tag font data sent by a server, where the price tag font data is generated by a text editor of the server, includes:

and receiving price tag deduction map data sent by the server.

And analyzing to obtain character data in the price tag image pushing data, and associating the character data with the price tag font data.

Optionally, the analyzing the received price tag font data to obtain dot matrix data displayed on a price tag display screen includes:

and obtaining the price tag characters and the font attributes displayed on the price tag display screen according to the associated character data and the price tag font data.

And generating the dot matrix data according to the price tag characters, the font attributes and the screen display parameters of the price tag display screen.

Optionally, the sending the dot matrix data to an electronic price tag, where the dot matrix data is displayed on the price tag display screen after being analyzed by the electronic price tag includes:

and after the dot matrix data are sent to the electronic price tag, the electronic price tag detects whether new price tag impulse data are received or not.

And if the electronic price tag receives the new price tag image pushing data, analyzing the new price tag image pushing data to obtain new picture data and new character data.

Optionally, the sending the lattice data to an electronic price tag, where the lattice data is displayed on the price tag display screen after being analyzed by the electronic price tag, further includes:

and generating new dot matrix data according to the new character data, the font attribute and the screen display parameters of the price tag display screen.

And updating the dot matrix data in the price tag display screen to display the new dot matrix data.

Optionally, the receiving a font display status fed back by the electronic price tag, and reporting the font display status to the server to determine whether the price tag font data is correctly written into the electronic price tag includes:

and receiving feedback information of the electronic price tag, wherein the feedback information comprises a drawing display state and a font display state.

And judging whether the image pushing display state and the font display state are successful or not, and reporting status information of font attribute regulation failure to the server if the image pushing display state or the font display state indication fails.

Optionally, the receiving a font display status fed back by the electronic price tag, and reporting the font display status to the server to determine whether the price tag font data is correctly written into the electronic price tag, and then includes:

and if the image pushing display state fails and the font display state succeeds, receiving the updated price tag image pushing data sent by the server so as to enable the updated price tag image pushing data to be matched with the price tag font data.

And if the image pushing display state is successful and the font display state is failed, receiving the updated price tag font data sent by the server side so as to enable the updated price tag font data to be matched with the price tag image pushing data.

The invention also provides a price tag font property control 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 price tag font property control method according to any one of the above items when being executed by the processor.

The present invention further provides a computer-readable storage medium having stored thereon a price tag font property control program, which when executed by a processor implements the steps of the price tag font property control method as described in any of the above.

The method, the device and the computer readable storage medium for regulating the price tag font property are implemented, and the price tag font data sent by a server side is received through a base station, wherein the price tag font data is generated by a text editor of the server side; analyzing the received price tag font data to obtain dot matrix data displayed on a price tag display screen; sending the dot matrix data to an electronic price tag, wherein the dot matrix data is displayed on a price tag display screen after being analyzed by the electronic price tag; and receiving the font display state fed back by the electronic price tag, and reporting the font display state to the server side so as to determine whether the price tag font data is correctly written into the electronic price tag. The efficient price tag font attribute regulation and control scheme is realized, so that the display fonts in the electronic price tag can be dynamically regulated and controlled, the diversified display requirements of a user on the price tag fonts are met, the extra cost caused by firmware upgrading is avoided, and the product strength 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 communication network system architecture diagram provided by an embodiment of the present invention;

FIG. 3 is a flowchart of a method for adjusting and controlling the font property of a price tag according to a first embodiment of the present invention;

FIG. 4 is a flowchart of a second embodiment of a method for adjusting and controlling a price tag font property according to the present invention;

FIG. 5 is a flowchart of a third embodiment of a method for adjusting and controlling a price tag font property according to the present invention;

FIG. 6 is a flowchart illustrating a method for adjusting and controlling the font property of a price tag according to a fourth embodiment of the present invention;

FIG. 7 is a flowchart illustrating a fifth embodiment of a method for adjusting and controlling a font property of a price tag according to the present invention;

FIG. 8 is a flowchart illustrating a method for adjusting and controlling a font property of a price tag according to a sixth embodiment of the present invention;

FIG. 9 is a flowchart illustrating a method for adjusting and controlling the font property of a price tag according to a seventh embodiment of the present invention;

FIG. 10 is a flowchart illustrating an eighth embodiment of a method for adjusting and controlling a font property of a price tag according to the present invention.

Detailed Description

It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.

In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.

The terminal may be implemented in various forms. For example, the terminal described in the present invention may include a mobile terminal such as a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a navigation device, a wearable device, a smart band, a pedometer, and the like, and a fixed terminal such as a Digital TV, a desktop computer, and the like.

The following description will be given by way of example of a mobile terminal, and it will be understood by those skilled in the art that the construction according to the embodiment of the present invention can be applied to a fixed type terminal, in addition to elements particularly used for mobile purposes.

Referring to fig. 1, which is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present invention, the mobile terminal 100 may include: RF (Radio Frequency) unit 101, WiFi module 102, audio output unit 103, a/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 1 is not intended to be limiting of mobile terminals, which may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.

The following describes each component of the mobile terminal in detail with reference to fig. 1:

the radio frequency unit 101 may be configured to receive and transmit signals during information transmission and reception or during a call, and specifically, receive downlink information of a base station and then process the downlink information to the processor 110; in addition, the uplink data is transmitted to the base station. Typically, 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 can also communicate with a network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA2000(Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division duplex Long Term Evolution), and TDD-LTE (Time Division duplex Long Term Evolution).

WiFi belongs to short-distance wireless transmission technology, and the mobile terminal can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 102, and provides wireless broadband internet access for the user. Although fig. 1 shows the WiFi module 102, it is understood that it does not belong to the essential constitution of the mobile terminal, and may be omitted entirely as needed within the scope not changing 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 call 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 related to a specific function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, and the like.

The a/V input unit 104 is used to receive audio or video signals. The a/V input Unit 104 may include a 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 graphic 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 may receive sounds (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, or the like, and may be capable of processing such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone 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 audio signals.

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 that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or a backlight when the mobile terminal 100 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.

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 (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 generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, 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 a touch operation performed by a user on or near the touch panel 1071 (e.g., an operation performed by the user on or near the touch panel 1071 using a finger, a stylus, or any other suitable object or accessory), and drive a 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 direction 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 sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and can receive and execute commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. 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, a mouse, a joystick, and the like, and are not limited to these specific examples.

Further, the touch panel 1071 may cover the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although the touch panel 1071 and the display panel 1061 are shown in fig. 1 as two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.

The interface unit 108 serves as an interface through which at least one external device is connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (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 external devices 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 external devices.

The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the 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 operating 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, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly 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 supply 111 (e.g., a battery) for supplying power to various components, and preferably, the power supply 111 may be logically connected to the processor 110 via a power management system, so as to manage charging, discharging, and power consumption management functions via 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 in detail herein.

In order to facilitate understanding of the embodiments of the present invention, a communication network system on which the mobile terminal of the present invention is based is described below.

Referring to fig. 2, fig. 2 is an architecture diagram of a communication Network system according to an embodiment of the present invention, where the communication Network system is an LTE system of a universal mobile telecommunications technology, and the LTE system includes a UE (User Equipment) 201, an E-UTRAN (Evolved UMTS Terrestrial Radio Access Network) 202, an EPC (Evolved Packet Core) 203, and an IP service 204 of an operator, which are in communication connection in sequence.

Specifically, the UE201 may be the terminal 100 described above, and is not described herein again.

The E-UTRAN202 includes eNodeB2021 and other eNodeBs 2022, among others. Among them, the eNodeB2021 may be connected with other eNodeB2022 through backhaul (e.g., X2 interface), the eNodeB2021 is connected to the EPC203, and the eNodeB2021 may provide the UE201 access to the EPC 203.

The EPC203 may include an MME (Mobility Management Entity) 2031, an HSS (Home Subscriber Server) 2032, other MMEs 2033, an SGW (Serving gateway) 2034, a PGW (PDN gateway) 2035, and a PCRF (Policy and Charging Rules Function) 2036, and the like. The MME2031 is a control node that handles signaling between the UE201 and the EPC203, and provides bearer and connection management. HSS2032 is used to provide registers to manage functions such as home location register (not shown) and holds subscriber specific information about service characteristics, data rates, etc. All user data may be sent through SGW2034, PGW2035 may provide IP address assignment for UE201 and other functions, and PCRF2036 is a policy and charging control policy decision point for traffic data flow and IP bearer resources, which selects and provides available policy and charging control decisions for a policy and charging enforcement function (not shown).

The IP services 204 may include the internet, intranets, IMS (IP Multimedia Subsystem), or other IP services, among others.

Although the LTE system is described as an example, it should be understood by those skilled in the art that the present invention is not limited to the LTE system, but may also be applied to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, and future new network systems.

Based on the above mobile terminal hardware structure and communication network system, the present invention provides various embodiments of the method.

Example one

FIG. 3 is a flowchart illustrating a method for adjusting and controlling a font property of a price tag according to a first embodiment of the present invention. A method for regulating and controlling the attribute of a price tag font comprises the following steps:

and S1, the base station receives the price tag font data sent by the server, wherein the price tag font data is generated by a text editor of the server.

And S2, analyzing the received price tag font data to obtain dot matrix data displayed on the price tag display screen.

And S3, sending the dot matrix data to an electronic price tag, wherein the dot matrix data is displayed on a price tag display screen after being analyzed by the electronic price tag.

And S4, receiving the font display state fed back by the electronic price tag, and reporting the font display state to the server side to determine whether the price tag font data is correctly written into the electronic price tag.

Optionally, in this embodiment, in consideration of the traditional price tag font display scheme, the font library is built in the firmware and burned into the electronic price tag. However, because the Flash memory of the electronic price tag is limited, only a few word sizes of one word stock can be built in, and the amount of contained characters is small. Therefore, the embodiment specifically stores the word stock outside the electronic price tag, and when the electronic price tag data needs to be updated, the dot matrix data of the words needing to be displayed in the word stock is acquired through external calculation, is compressed through the LZMA algorithm, and is then sent to the electronic price tag through the 2.4GHz network. The electronic price tag is decompressed after receiving the data and then displayed on the display screen.

Alternatively, in this embodiment, in consideration of the load of the server and the problem of the network transmission efficiency, and the marginal computing power can be fully utilized, so the word library is stored at the base station, and the base station performs the parsing of the word library and the extraction of the lattice. Therefore, the server only needs to send the displayed original data value to the base station, and the base station extracts the character dot matrix and then sends the character dot matrix to the electronic price tag.

Optionally, in this embodiment, through a font editing interface connected to the server, the user may dynamically modify text attributes such as electronic price tag text font, font size, format, and the like. And all characters can be displayed, and the condition of missing characters and few characters can not exist.

Optionally, in this embodiment, considering that the overall architecture of the electronic price tag is consistent with the conventional architecture, one server may load a plurality of base stations, and one server may basically control a plurality of price tags. Therefore, in this embodiment, when a maintenance person of the font needs to modify the font displayed by the electronic price tag, the maintenance person can access the server system through the browser/PC client/mobile phone client, issue new data to the base station, and transmit the new data to the corresponding electronic price tag through the base station to perform corresponding font writing, modification or display.

Optionally, in this embodiment, the applicable electronic price tag does not need to burn the font in advance.

Alternatively, in the present embodiment, the scheme is used by upgrading the price tag FW firmware for the price tag of the existing word stock, but if some of the word stocks occupied before the price tag are not used, the program can be used as the rest.

Alternatively, in this embodiment, for a price tag without a font library, the scheme may be directly used by upgrading the price tag FW firmware.

Optionally, in this embodiment, as compared with the conventional graph pushing, the data transmission of the dot matrix data and the data transmission of the conventional graph pushing are both transmitted through a 2.4G network, but the data analysis is different, and the price tag needs to be processed correspondingly to the data type.

Optionally, in this embodiment, the dot matrix data may be pushed together with the map pushing data, where by adding a type identifier, for example: [01] the [ graphic data ] [02] [ text dot data ] … … is labeled to perform differential analysis.

Optionally, in this embodiment, the user may log in the server and make any modification to the text attribute, such as: font size, bold, italic, underline, strikethrough, etc. the base station will convert the result into lattice result after analysis and send it to the price tag.

Optionally, in this embodiment, in the existing scheme, the font library exists in the price tag, and the most intuitive effect is that the font cannot be adaptively modified according to the current display requirement, or only fonts of several font sizes can be displayed. This is because the price tag is an MCU, and the flash buffer space is limited to reduce the cost, and no more word stock resources can be put in. Therefore, the present embodiment considers that the resource of the base station is large, and thus, the space-consuming font library is placed on the base station, the final display result of the price tag is calculated by the base station and then transmitted to the price tag, so that the text display supported by the electronic price tag is not limited.

Optionally, in this embodiment, to implement the above scheme, first, a communication protocol needs to be modified, a price tag end needs to add a text lattice parsing process, a base station end needs to add a parsing process of a word stock, and a server needs to add text editing. It can be seen that the present embodiment utilizes some nodes (base stations) with computing capability to share the resource and computational stress.

Specifically, in this embodiment, after the user modifies the price tag font data, the price tag font data is updated to the database of the price tag font data of the server, and then the server sends the updated price tag font data to the corresponding base station. After receiving the price tag font data or other image pushing data, the base station locally judges the data type of the data, if the data is character data, the base station loads a corresponding character library and acquires the dot matrix information of corresponding characters from the character library. And compressing by using an LZMA algorithm in order to improve the transmission rate, and sending the data to the electronic price tag through a 2.4GHz network after compression. The electronic price tag judges the received data, if the data is character data, the electronic price tag conducts LZMA decompression on the data to obtain dot matrix data, and then the dot matrix is displayed on a display screen. And finally, the response base station is successfully operated.

The method has the advantages that the price tag font data sent by the server side are received through the base station, wherein the price tag font data are generated by a text editor of the server side; analyzing the received price tag font data to obtain dot matrix data displayed on a price tag display screen; sending the dot matrix data to an electronic price tag, wherein the dot matrix data is displayed on a price tag display screen after being analyzed by the electronic price tag; and receiving the font display state fed back by the electronic price tag, and reporting the font display state to the server side so as to determine whether the price tag font data is correctly written into the electronic price tag. The efficient price tag font attribute regulation and control scheme is realized, so that the display fonts in the electronic price tag can be dynamically regulated and controlled, the diversified display requirements of a user on the price tag fonts are met, the extra cost caused by firmware upgrading is avoided, and the product strength is improved.

Example two

Fig. 4 is a flowchart of a second embodiment of a method for adjusting and controlling a price tag font attribute according to the present invention, where based on the above embodiments, the base station receives price tag font data sent by a server, where the price tag font data is generated by a text editor of the server, and the method includes:

and S11, determining the client connected to the server, and acquiring the input interface of the text editor in the client.

And S12, modifying the current default font through the input interface to obtain the modified price tag font data.

Optionally, in this embodiment, an input interface of the text editor is obtained in the client, where the input interface of the text editor includes a position tag, an area tag, a product tag, a customer tag, and the like of an electronic price tag, and by selecting a corresponding tag, performing batch font attribute control on the electronic price tag with the tag attribute.

Optionally, in this embodiment, an input interface of the text editor is obtained in the client, where the input interface of the text editor includes a home base station of an electronic price tag, and by selecting a corresponding base station, batch font attribute control is performed on all electronic price tags that belong to the base station.

The method has the advantages that the input interface of the text editor is obtained in the client by determining the client connected to the server; and modifying the current default font through the input interface to obtain the modified price tag font data. The price tag font data generation method is provided for realizing an efficient price tag font attribute regulation and control scheme, so that the display fonts in the electronic price tag can be dynamically regulated and controlled, the diversified display requirements of users on the price tag fonts are met, the extra cost caused by firmware upgrading is avoided, and the product strength is improved.

EXAMPLE III

Fig. 5 is a flowchart of a third embodiment of a method for adjusting and controlling a price tag font property according to the present invention, where based on the above embodiments, the base station receives price tag font data sent by a server, where the price tag font data is generated by a text editor of the server, and the method includes:

and S13, receiving the price tag deduction map data sent by the server.

And S14, analyzing to obtain the character data in the price tag deduction image data, and associating the character data with the price tag font data.

Optionally, in this embodiment, it is detected whether to receive the price tag deduction data sent by the server within a preset time of receiving the price tag font data sent by the server.

Optionally, in this embodiment, if within the preset time, if price tag pushed graph data sent by the server is received, it is determined whether target price tags corresponding to the price tag pushed graph data and the price tag font data are the same, and if the target price tags are the same, text data in the price tag pushed graph data is obtained through analysis and is associated with the price tag font data.

The method has the advantages that price tag deduction map data sent by the server side are received; and analyzing to obtain character data in the price tag image pushing data, and associating the character data with the price tag font data. The method provides a correlation basis for two types of data to be pushed at the same time for realizing an efficient price tag font property regulation scheme, so that the display fonts in the electronic price tag can be dynamically regulated, the diversified display requirements of users on the price tag fonts are met, the extra cost caused by firmware upgrading is avoided, and the product strength is improved.

Example four

Fig. 6 is a flowchart of a fourth embodiment of the method for adjusting and controlling the attribute of the price tag font according to the present invention, where the analyzing the received price tag font data to obtain the dot matrix data displayed on the price tag display screen includes:

and S21, obtaining the price tag characters and the font attributes displayed on the price tag display screen according to the associated character data and the price tag font data.

And S22, generating the dot matrix data according to the price tag characters, the font attributes and the screen display parameters of the price tag display screen.

Optionally, in this embodiment, a font requirement in the price tag pushchart data is detected, and if an original font is limited to be adopted, a font library burned by the electronic price tag firmware is directly called to display the price tag characters.

Optionally, in this embodiment, if the font to be used is not limited, the dot matrix data is generated according to the price tag text, the font attribute, and the screen display parameter of the price tag display screen.

The method has the advantages that the price tag characters and the font attributes displayed on the price tag display screen are obtained through the associated character data and the price tag font data; and generating the dot matrix data according to the price tag characters, the font attributes and the screen display parameters of the price tag display screen. A flexible dot matrix data generation mode is provided for realizing an efficient price tag font property regulation scheme, so that display fonts in the electronic price tags can be dynamically regulated, the diversified display requirements of users on the price tag fonts are met, extra cost caused by firmware upgrading is avoided, and the product strength is improved.

EXAMPLE five

Fig. 7 is a flowchart of a fifth embodiment of a method for adjusting and controlling a font property of a price tag according to the present invention, where based on the above embodiments, the dot matrix data is sent to an electronic price tag, where the dot matrix data is displayed on a price tag display screen after being analyzed by the electronic price tag, and the method includes:

and S31, after the dot matrix data are sent to the electronic price tag, the electronic price tag detects whether new price tag deduction image data are received.

And S32, if the electronic price tag receives new price tag image pushing data, analyzing the new price tag image pushing data to obtain new picture data and new character data.

Optionally, in this embodiment, in another preset time period after the dot matrix data is sent to the electronic price tag, the electronic price tag detects whether new price tag draft data is received.

Optionally, in this embodiment, if the electronic price tag receives new price tag pushed image data within the another preset time period, the new price tag pushed image data is analyzed to obtain new image data and new text data.

The method has the advantages that after the dot matrix data are sent to the electronic price tag, whether new price tag chart pushing data are received or not is detected by the electronic price tag; and if the electronic price tag receives the new price tag image pushing data, analyzing the new price tag image pushing data to obtain new picture data and new character data. The display processing condition after font updating is provided for realizing an efficient price tag font property regulation scheme, so that the display fonts in the electronic price tag can be dynamically regulated and controlled, the diversified display requirements of a user on the price tag fonts are met, the extra cost caused by firmware upgrading is avoided, and the product strength is improved.

EXAMPLE six

Fig. 8 is a flowchart of a sixth embodiment of a method for adjusting and controlling a font property of a price tag according to the present invention, where based on the above embodiments, the method sends the dot matrix data to an electronic price tag, where the dot matrix data is displayed on a price tag display screen after being analyzed by the electronic price tag, and further includes:

and S33, generating new dot matrix data according to the new text data, the font attributes and the screen display parameters of the price tag display screen.

And S34, updating the dot matrix data in the price tag display screen to display the new dot matrix data.

Optionally, in this embodiment, the electronic price tag no longer uses a font library in firmware to perform text display, but generates new dot matrix data according to the new text data, the font attribute, and screen display parameters of the price tag display screen.

Optionally, in this embodiment, the dot matrix data in the price tag display screen is updated to display the new dot matrix data. That is, the font is directly updated without updating the thumbnail data.

The method has the advantages that the new dot matrix data are generated through the new text data, the font attributes and the screen display parameters of the price tag display screen; and updating the dot matrix data in the price tag display screen to display the new dot matrix data. A font updating mode is provided for realizing an efficient price tag font attribute regulation scheme, so that the display fonts in the electronic price tags can be dynamically regulated, the diversified display requirements of users on the price tag fonts are met, the extra cost caused by firmware upgrading is avoided, and the product strength is improved.

EXAMPLE seven

Fig. 9 is a flowchart of a seventh embodiment of a method for adjusting and controlling a font property of a price tag according to the present invention, where based on the above embodiments, the receiving a font display status fed back by an electronic price tag and reporting the font display status to the server to determine whether the font data of the price tag is correctly written into the electronic price tag includes:

and S41, receiving feedback information of the electronic price tag, wherein the feedback information comprises a drawing display state and a font display state.

And S42, judging whether the image-pushing display state and the font display state are successful, and reporting status information of font attribute regulation failure to the server if the image-pushing display state or the font display state indication fails.

Optionally, in this embodiment, it is determined whether the graph pushing display state and the font display state are both successful, and if the graph pushing display state or the font display state indicates a failure, status information of a font property control failure is reported to the server. If one of the associated pushcharts and fonts fails to indicate, determining that the current font attribute modification exceeds the range, or the current font attribute modification does not match with the characters in the pushcharts, and the correct display of the electronic price tags cannot be obtained, so that the state information of the font attribute regulation failure is timely reported to the server side under the condition.

Optionally, in this embodiment, the server changes the font attribute or changes text data in the associated mapping data, and performs a preview based on a display effect of the electronic price tag display screen at the modification port, so as to ensure that the text of the corresponding font can be displayed well on the electronic price tag.

The method has the advantages that feedback information of the electronic price tag is received, wherein the feedback information comprises a drawing display state and a font display state; and judging whether the image pushing display state and the font display state are successful or not, and reporting status information of font attribute regulation failure to the server if the image pushing display state or the font display state indication fails. The feedback mode of the display state is provided for realizing an efficient price tag font property regulation scheme, so that the display fonts in the electronic price tags can be dynamically regulated, the diversified display requirements of users on the price tag fonts are met, the extra cost caused by firmware upgrading is avoided, and the product strength is improved.

Example eight

Fig. 10 is a flowchart of an eighth embodiment of a method for adjusting and controlling a font property of a price tag according to the present invention, where based on the above embodiments, the method receives a font display status fed back by an electronic price tag, and reports the font display status to the server to determine whether price tag font data is correctly written into the electronic price tag, and then includes:

and S51, if the deduction display state fails and the font display state succeeds, receiving the updated price deduction data sent by the server, so that the updated price deduction data is matched with the price deduction font data.

And S52, if the image-pushing display state is successful and the font display state is failed, receiving the updated price tag font data sent by the server, so that the updated price tag font data is matched with the price tag image-pushing data.

Optionally, in this embodiment, as in the above example, if the mapping display status fails and the font display status succeeds, the updated price mapping data sent by the server is received, so that the updated price mapping data matches the price font data. And the updated price tag image pushing data sent by the server side comprises the adjusted character data.

Optionally, in this embodiment, as in the above example, if the mapping display status is successful and the font display status is failed, the updated price tag font data sent by the server is received, so that the updated price tag font data matches the price tag mapping data. And the updated font data of the price tag sent by the server side comprises the font attribute adjusted by Beijing.

The embodiment has the advantages that the updated price tag chart pushing data sent by the server side is received by identifying that if the chart pushing display state fails and the font display state succeeds, so that the updated price tag chart pushing data is matched with the price tag font data; and if the image pushing display state is successful and the font display state is failed, receiving the updated price tag font data sent by the server side so as to enable the updated price tag font data to be matched with the price tag image pushing data. The correction mode when the font display fails is provided for realizing an efficient price tag font property regulation scheme, so that the display fonts in the electronic price tags can be dynamically regulated, the diversified display requirements of users on the price tag fonts are met, the extra cost caused by firmware upgrading is avoided, and the product strength is improved.

Example nine

Based on the foregoing embodiments, the present invention further provides a price tag font property control device, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor, where the computer program, when executed by the processor, implements the steps of the price tag font property control method according to any one of the above items.

It should be noted that the device embodiment and the method embodiment belong to the same concept, and specific implementation processes thereof are detailed in the method embodiment, and technical features in the method embodiment are correspondingly applicable in the device embodiment, which is not described herein again.

Example ten

Based on the foregoing embodiment, the present invention further provides a computer-readable storage medium, where a price tag font property control program is stored on the computer-readable storage medium, and when executed by a processor, the price tag font property control program implements the steps of the price tag font property control method according to any one of the foregoing embodiments.

It should be noted that the media embodiment and the method embodiment belong to the same concept, and specific implementation processes thereof are detailed in the method embodiment, and technical features in the method embodiment are correspondingly applicable in the media embodiment, which is not described herein again.

It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.

The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.

Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.

While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

22页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种基于大数据的资源调度的方法及装置

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类