CN112068783B - Label printing system and method - Google Patents

Label printing system and method Download PDF

Info

Publication number
CN112068783B
CN112068783B CN202010846734.7A CN202010846734A CN112068783B CN 112068783 B CN112068783 B CN 112068783B CN 202010846734 A CN202010846734 A CN 202010846734A CN 112068783 B CN112068783 B CN 112068783B
Authority
CN
China
Prior art keywords
label
target
printing
data
template
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010846734.7A
Other languages
Chinese (zh)
Other versions
CN112068783A (en
Inventor
白松
陈润
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shishi Tongyun Technology Chengdu Co ltd
Original Assignee
Shishi Tongyun Technology Chengdu 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 Shishi Tongyun Technology Chengdu Co ltd filed Critical Shishi Tongyun Technology Chengdu Co ltd
Priority to CN202010846734.7A priority Critical patent/CN112068783B/en
Publication of CN112068783A publication Critical patent/CN112068783A/en
Application granted granted Critical
Publication of CN112068783B publication Critical patent/CN112068783B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1237Print job management
    • G06F3/1242Image or content composition onto a page
    • G06F3/1243Variable data printing, e.g. document forms, templates, labels, coupons, advertisements, logos, watermarks, transactional printing, fixed content versioning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1202Dedicated interfaces to print systems specifically adapted to achieve a particular effect
    • G06F3/1203Improving or facilitating administration, e.g. print management
    • G06F3/1205Improving or facilitating administration, e.g. print management resulting in increased flexibility in print job configuration, e.g. job settings, print requirements, job tickets
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1237Print job management
    • G06F3/1253Configuration of print job parameters, e.g. using UI at the client

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Record Information Processing For Printing (AREA)

Abstract

The application discloses a label printing system and a method, in the system, a label setting end obtains content configuration data of a target label component contained in a custom label template corresponding to a target entity object, and obtains target coordinate data of the target label component relative to the custom label template, the content configuration data and the target coordinate data are synchronously transmitted to a label printing terminal corresponding to the target entity object through a label management platform server, the label printing terminal obtains printing strategy data of a target printing data object corresponding to the target label component, which is matched with local printing equipment, based on the content configuration data and the target coordinate data, and the printing strategy data is converted into a printing instruction aiming at the local printing equipment, so that the local printing equipment can execute label printing operation. By using the label printing system, the custom design requirement of a merchant for label information display positions and label contents can be met.

Description

Label printing system and method
Technical Field
The application relates to the technical field of computers, in particular to a label printing system. The application also relates to a label printing method, a label printing device, an electronic device and a computer readable storage medium. The application also relates to a data processing method, a device, an electronic apparatus and a computer readable storage medium.
Background
The label printing technology is widely applied to the fields of retail, fast food, distribution and the like, for example, the industry of making beverages in the field of fast food, after a customer places an order, a merchant prints information such as a meal taking number, a beverage name, a beverage processing mode, materials required by beverages, a customer taste remark and the like in the order one by one through a label printer, the printed labels are posted on the outer surface of a beverage container, beverage making personnel can make beverages based on the label information, and beverage delivery personnel can check the identity of the customer according to the label information so as to realize beverage delivery.
Besides the function of information transmission, the label information can be shown to end customers, so that the label information can be used as an important carrier for information popularization. For example, in the field of fast food, the label information can be order information, commodity information, user identification information, merchant customized document information and the like, and how to meet the personalized label printing requirements of different merchants becomes a current urgent problem to be solved.
In the existing process of providing label printing Service for merchants based on Software-as-a-Service (SaaS), the merchants can configure label printing templates through a front-end label setting interface, the template content provides check boxes for the merchants to select, the merchants add the printing content items in the check boxes to the templates in a checking mode, the server stores template data, and synchronizes the template data to printing terminals of the merchants, and the printing terminals print notes according to the template configuration of the server. In this way, the merchant may choose to display or not display preset order information, merchandise information, and merchant information.
However, the above manner has the following drawbacks:
in the process of configuring a label printing template, the position arrangement of each piece of printing content is fixed, the position and arrangement of the printing content can not be adjusted at will, only the display and non-display of label information can be set, the display position of the label information can not be adjusted, and the custom design requirement for the display position of the label information can not be met;
the print content items in the check boxes are added to the template in a checking mode, so that the label content cannot be customized based on the requirements of merchants, and the custom design requirements for the label content cannot be met.
Disclosure of Invention
The embodiment of the application provides a label printing system, a label printing method, a label printing device, electronic equipment and a computer readable storage medium, which are used for solving the problem that the custom design requirements for label information display positions and label contents cannot be met in the prior art.
The embodiment of the application provides a label printing system, which comprises: the label management platform server is used for managing the label printing terminal; the label setting end is used for obtaining content configuration data of a target label assembly contained in a custom label template corresponding to a target entity object and obtaining target coordinate data of the target label assembly relative to the custom label template; transmitting the content configuration data and the target coordinate data to the tag management platform server; the label management platform server is used for synchronizing the content configuration data and the target coordinate data to a label printing terminal corresponding to the target entity object; the label printing terminal is used for obtaining printing strategy data which is matched with the local printing equipment and is specific to a target printing data object corresponding to the target label component according to the content configuration data and the target coordinate data; and converting the printing strategy data into a printing instruction aiming at the local printing equipment, and enabling the local printing equipment to execute label printing operation.
Optionally, the obtaining content configuration data of the target tag assembly included in the custom tag template corresponding to the target entity object, and obtaining target coordinate data of the target tag assembly relative to the custom tag template, includes: acquiring a custom tag template corresponding to the target entity object based on the tag component setting operation of the tag setting interface by the operation main body of the target entity object; obtaining an interface description data file aiming at the self-defined label template, wherein the interface description data file comprises content configuration data of the target label assembly and target coordinate data of the target label assembly relative to the self-defined label template; the step of synchronizing the content configuration data and the target coordinate data to the label printing terminal corresponding to the target entity object includes: synchronizing the interface description data file containing the content configuration data and the target coordinate data to a label printing terminal corresponding to the target entity object; the label printing terminal is further configured to: and analyzing the interface description data file to obtain the content configuration data and the target coordinate data.
Optionally, the operation body of the target entity object performs a label component setting operation on a label setting interface, including at least one of the following: the operation main body of the target entity object selects and drags the existing label assembly in the label setting interface; and creating a label component in a label setting interface by the operation main body of the target entity object according to a self-defined mode.
Optionally, the obtaining, according to the content configuration data and the target coordinate data, print policy data of a target print data object corresponding to the target label component, where the print policy data is adapted to a local print device, includes: restoring the self-defined label template in a mode matched with the local printing equipment based on the content configuration data and the target coordinate data to obtain a label printing image file corresponding to the self-defined label template; determining a target printing data object corresponding to the target label assembly according to the content configuration data; and replacing the target printing data object into the label printing image file to obtain printing strategy data which is matched with the local printing equipment and aims at the target printing data object.
Optionally, the restoring the custom label template based on the content configuration data and the target coordinate data in a manner adapted to the local printing device to obtain a label print image file corresponding to the custom label template includes: according to the corresponding relation between the preset printing carrier of the local printing equipment and the custom label template, adjusting the content configuration data of the target label assembly in the custom label template and the target coordinate data of the target label assembly relative to the custom label template to obtain printing content configuration data and printing coordinate data matched with the preset printing carrier; and obtaining a label printing image file corresponding to the custom label template based on the printing content configuration data and the printing coordinate data.
Optionally, the content configuration data of the target tag assembly includes at least one of: content item identification information corresponding to the target tag assembly; the data corresponding to the target label assembly shows attribute information; typesetting information corresponding to the target label assembly.
Optionally, the tag management platform server is further configured to: storing the interface description data file and generating a data interface for the interface description data file; the step of synchronizing the interface description data file containing the content configuration data and the target coordinate data to the label printing terminal corresponding to the target entity object includes: and synchronizing the interface description data file to the label printing terminal corresponding to the target entity object through the data interface.
Optionally, when the content configuration data and the target coordinate data are sent to the tag management platform server, the method further includes: the identification information of the target entity object is sent to the label management platform server; the step of synchronizing the content configuration data and the target coordinate data to the label printing terminal corresponding to the target entity object includes: and synchronizing the content configuration data and the target coordinate data to a label printing terminal corresponding to the target entity object based on the identification information of the target entity object.
Optionally, the target entity object is a target merchant, and the target tag component includes at least one of the following: a component for merchandise order information; a component for commodity supply information; a component for commodity processing information; and a component of custom information for the target merchant.
The embodiment of the application also provides a label printing method, which comprises the following steps: receiving content configuration data and target coordinate data sent by a label management platform server, wherein the content configuration data is content configuration data of a target label assembly contained in a custom label template, the target coordinate data is coordinate data of the target label assembly relative to the custom label template, and the custom label template is a custom label template obtained after label assembly setting operation is performed on a label setting interface; according to the content configuration data and the target coordinate data, obtaining printing strategy data of a target printing data object corresponding to the target label assembly, which is matched with the local printing equipment; and converting the printing strategy data into a printing instruction aiming at the local printing equipment, and enabling the local printing equipment to execute label printing operation.
Optionally, the obtaining, according to the content configuration data and the target coordinate data, print policy data of a target print data object corresponding to the target label component, where the print policy data is adapted to a local print device, includes: restoring the self-defined label template in a mode matched with the local printing equipment based on the content configuration data and the target coordinate data to obtain a label printing image file corresponding to the self-defined label template; determining a target printing data object corresponding to the target label assembly according to the content configuration data; and replacing the target printing data object into the label printing image file to obtain printing strategy data which is matched with the local printing equipment and aims at the target printing data object.
Optionally, the restoring the custom label template based on the content configuration data and the target coordinate data in a manner adapted to the local printing device to obtain a label print image file corresponding to the custom label template includes: according to the corresponding relation between the preset printing carrier of the local printing equipment and the custom label template, adjusting the content configuration data of the target label assembly in the custom label template and the target coordinate data of the target label assembly relative to the custom label template to obtain printing content configuration data and printing coordinate data matched with the preset printing carrier; and obtaining a label printing image file corresponding to the custom label template based on the printing content configuration data and the printing coordinate data.
Optionally, the performing the label component setting operation on the label setting interface includes at least one of the following: selecting and dragging an existing label component in a label setting interface; creating a label assembly in a custom manner in a label setup interface.
Optionally, the content configuration data of the target tag assembly includes at least one of: content item identification information corresponding to the target tag assembly; the data corresponding to the target label assembly shows attribute information; typesetting information corresponding to the target label assembly.
The embodiment of the application also provides a data processing method, which comprises the following steps: acquiring a custom tag template corresponding to a target entity object based on a tag component setting operation of an operation main body of the target entity object aiming at a tag setting interface; obtaining content configuration data of a target label assembly contained in the custom label template and obtaining target coordinate data of the target label assembly relative to the custom label template; and sending the content configuration data and the target coordinate data to a label management platform server so that a label printing terminal corresponding to the target entity object can acquire the content configuration data and the target coordinate data from the label management platform server.
Optionally, the operation body of the target entity object performs a label component setting operation on a label setting interface, including at least one of the following: the operation main body of the target entity object selects and drags the existing label assembly in the label setting interface; and creating a label component in a label setting interface by the operation main body of the target entity object according to a self-defined mode.
Optionally, the obtaining content configuration data of the target tag assembly included in the custom tag template and obtaining target coordinate data of the target tag assembly relative to the custom tag template include: obtaining an interface description data file aiming at the self-defined label template, wherein the interface description data file comprises content configuration data of the target label assembly and target coordinate data of the target label assembly relative to the self-defined label template;
the sending the content configuration data and the target coordinate data to a tag management platform server includes: and sending the interface description data file to the label management platform server.
Optionally, the content configuration data of the target tag assembly includes at least one of: content item identification information corresponding to the target tag assembly; the data corresponding to the target label assembly shows attribute information; typesetting information corresponding to the target label assembly.
The embodiment of the application also provides a label printing device, which comprises: the system comprises a data receiving unit, a label management platform server and a label management module, wherein the data receiving unit is used for receiving content configuration data and target coordinate data sent by the label management platform server, the content configuration data is content configuration data of a target label assembly contained in a custom label template, the target coordinate data is coordinate data of the target label assembly relative to the custom label template, and the custom label template is obtained after label assembly setting operation is carried out on a label setting interface; a print policy data obtaining unit, configured to obtain print policy data of a target print data object corresponding to the target tag assembly, adapted to a local printing device, according to the content configuration data and the target coordinate data; and the printing instruction conversion unit is used for converting the printing strategy data into a printing instruction aiming at the local printing equipment so as to enable the local printing equipment to execute label printing operation.
Optionally, the obtaining, according to the content configuration data and the target coordinate data, print policy data of a target print data object corresponding to the target label component, where the print policy data is adapted to a local print device, includes: restoring the self-defined label template in a mode matched with the local printing equipment based on the content configuration data and the target coordinate data to obtain a label printing image file corresponding to the self-defined label template; determining a target printing data object corresponding to the target label assembly according to the content configuration data; and replacing the target printing data object into the label printing image file to obtain printing strategy data which is matched with the local printing equipment and aims at the target printing data object.
Optionally, the restoring the custom label template based on the content configuration data and the target coordinate data in a manner adapted to the local printing device to obtain a label print image file corresponding to the custom label template includes: according to the corresponding relation between the preset printing carrier of the local printing equipment and the custom label template, adjusting the content configuration data of the target label assembly in the custom label template and the target coordinate data of the target label assembly relative to the custom label template to obtain printing content configuration data and printing coordinate data matched with the preset printing carrier; and obtaining a label printing image file corresponding to the custom label template based on the printing content configuration data and the printing coordinate data.
Optionally, the performing the label component setting operation on the label setting interface includes at least one of the following: selecting and dragging an existing label component in a label setting interface; creating a label assembly in a custom manner in a label setup interface.
Optionally, the content configuration data of the target tag assembly includes at least one of: content item identification information corresponding to the target tag assembly; the data corresponding to the target label assembly shows attribute information; typesetting information corresponding to the target label assembly.
The embodiment of the application also provides a data processing device, which comprises: the self-defined label template obtaining unit is used for obtaining a self-defined label template corresponding to a target entity object based on the label component setting operation of the label setting interface by an operation main body of the target entity object; the data obtaining unit is used for obtaining content configuration data of the target label assembly contained in the custom label template and obtaining target coordinate data of the target label assembly relative to the custom label template; and the data sending unit is used for sending the content configuration data and the target coordinate data to a label management platform server so that the label printing terminal corresponding to the target entity object can acquire the content configuration data and the target coordinate data from the label management platform server.
Optionally, the operation body of the target entity object performs a label component setting operation on a label setting interface, including at least one of the following: the operation main body of the target entity object selects and drags the existing label assembly in the label setting interface; and creating a label component in a label setting interface by the operation main body of the target entity object according to a self-defined mode.
Optionally, the obtaining content configuration data of the target tag assembly included in the custom tag template and obtaining target coordinate data of the target tag assembly relative to the custom tag template include: obtaining an interface description data file aiming at the self-defined label template, wherein the interface description data file comprises content configuration data of the target label assembly and target coordinate data of the target label assembly relative to the self-defined label template;
the sending the content configuration data and the target coordinate data to a tag management platform server includes: and sending the interface description data file to the label management platform server.
Optionally, the content configuration data of the target tag assembly includes at least one of: content item identification information corresponding to the target tag assembly; the data corresponding to the target label assembly shows attribute information; typesetting information corresponding to the target label assembly.
Further embodiments of the present application provide an electronic device including a processor and a memory; wherein the memory is for storing one or more computer instructions for execution by the processor to implement the method as described above.
Further embodiments of the application also provide a computer-readable storage medium having stored thereon one or more computer instructions executable by a processor to implement a method as described above.
Compared with the prior art, the embodiment of the application has the following advantages:
in the label printing system provided by the embodiment of the application, the label setting end obtains the content configuration data of the target label assembly contained in the custom label template corresponding to the target entity object and obtains the target coordinate data of the target label assembly relative to the custom label template, the content configuration data and the target coordinate data are synchronously transmitted to the label printing terminal corresponding to the target entity object through the label management platform server, the label printing terminal obtains the printing strategy data of the target printing data object corresponding to the target label assembly, which is matched with the local printing equipment, based on the content configuration data and the target coordinate data, and the printing strategy data is converted into the printing instruction aiming at the local printing equipment, so that the local printing equipment can execute the label printing operation. By using the label printing system, the custom design requirement of the target entity object for the label information display position and the label content can be met, for example, a merchant can customize the label content based on own requirement (such as information popularization requirement) and set the printing position of the label content in a personalized mode.
Drawings
FIG. 1 is a schematic diagram of a label printing system provided in a first embodiment of the present application;
fig. 2 is a flowchart of a label printing method provided by a second embodiment of the present application;
FIG. 3 is a flow chart of a data processing method according to a third embodiment of the present application;
fig. 4 is a block diagram of a unit of a label printing apparatus provided by a fourth embodiment of the present application;
fig. 5 is a schematic logic structure of an electronic device according to a fifth embodiment of the present application;
fig. 6 is a block diagram of a unit of a data processing apparatus provided by a seventh embodiment of the present application;
fig. 7 is a schematic logic structure of an electronic device according to an eighth embodiment of the present application.
Detailed Description
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present application. The present application may be embodied in many other forms than those herein described, and those skilled in the art will readily appreciate that the present application may be similarly embodied without departing from the spirit or essential characteristics thereof, and therefore the present application is not limited to the specific embodiments disclosed below.
Aiming at a label printing scene, in order to realize the user-defined design requirement of a user on a label information display position and label content, the application provides a label printing system, a label printing method, a label printing device corresponding to the method, electronic equipment and a computer readable storage medium. The following provides a detailed description of the above systems, methods, apparatuses, electronic devices, and computer readable storage media.
A first embodiment of the present application provides a label printing system, fig. 1 is a schematic diagram of the label printing system provided in this embodiment, and the label printing system provided in this embodiment is described in detail below with reference to fig. 1. The embodiments referred to in the following description are intended to illustrate the method principles and not to limit the practical use.
The label printing system provided in this embodiment is suitable for a scenario of providing a label printing Service to a user based on SaaS (Software-as-a-Service), and as shown in fig. 1, the system includes: a label setting terminal 101, a label management platform server 102, and a label printing terminal 103; the label setting end 101 and the label management platform server 102 are respectively a front end (browser end) and a back end (server) for providing label setting service for a user, wherein the label setting end 101 can be an intelligent terminal used by the user and outputting a label setting interface, and the user logs in the corresponding label setting interface at any time or any place, so that label setting operation can be realized; the label management platform server 102 can realize unified management and distribution of template data; the label printing terminal 103 may implement a label printing operation based on template data from the label management platform server 102, and in this embodiment, the label printing terminal 103 may be a payment terminal used by a merchant (e.g., a POS terminal having a label printing function used by a merchant).
The tag setting end 101 is configured to obtain content configuration data of a target tag assembly included in a custom tag template corresponding to a target entity object, and obtain target coordinate data of the target tag assembly relative to the custom tag template; and sending the content configuration data and the target coordinate data to a label management platform server.
The label refers to a printed object with preset information, for example, in the industry of instant drinks in the field of fast food, the label can be a piece of posting paper with order information, commodity information and merchant information, after a customer orders, the merchant prints information such as a meal taking number, a drink name, a drink processing mode, a drink required material, a customer taste remark and the like in the order one by one through a label printer, the printed label is posted on the outer surface of a drink container, a drink producer can produce drinks based on the label information, and a drink delivery person can carry out customer identity check according to the label information so as to realize drink delivery. The target entity object may be a target merchant, and the custom label template corresponding to the target entity object refers to a printing template configured by the target merchant for a label to be printed, where the printing template may be used to define printing positions, printing sizes and other attribute information of content items such as order information, commodity information, merchant information and the like selected or added by a user on the label.
The target label component refers to a component corresponding to each content item selected or added by the user in the custom label template, and in this embodiment, the target label component may be one or more of a group of components including a component for commodity order information, a component for commodity supply information, a component for commodity processing information, and a component for custom information of a target merchant. The content configuration data of the target tag assembly may be one or more of content item identification information (e.g., identification information for a commodity name, order number, merchant brand identification, merchant popularization information, meal taking number, and commodity making method description information, etc.) corresponding to the target tag assembly, data display attribute information (e.g., font model, color, thickening, tilting, etc.) corresponding to the target tag assembly, and typesetting information (alignment, interval between assemblies, etc.) corresponding to the target tag assembly. The target coordinate data may be start coordinate data (abscissa, ordinate) of the target tag assembly in a template coordinate system of the custom tag template.
In this embodiment, the tag setting end 101 obtains content configuration data of a target tag assembly included in a custom tag template corresponding to a target entity object, and obtains target coordinate data of the target tag assembly relative to the custom tag template, which may specifically refer to: based on the label component setting operation of the label setting interface by the operation main body of the target entity object, a custom label template corresponding to the target entity object is obtained, and an interface description data file (which can be a Json format data structure file) for the custom label template is correspondingly obtained, wherein the interface description data file contains the content configuration data of the target label component and the target coordinate data of the target label component relative to the custom label template.
In this embodiment, the operation body of the target entity object may refer to a selection and dragging operation of the operation body of the target entity object on an existing tag assembly in the tag setting interface, or may refer to a creation of the tag assembly by the operation body of the target entity object in the tag setting interface according to a custom manner.
The label management platform server 102 is configured to synchronize the content configuration data and the target coordinate data to a label printing terminal corresponding to the target entity object; in this embodiment, the process may specifically refer to: synchronizing the interface description data file containing the content configuration data and the target coordinate data to the label printing terminal corresponding to the target entity object.
In this embodiment, the tag management platform server 102 is further configured to: storing the interface description data file and generating a data interface aiming at the interface description data file; the synchronizing the interface description data file containing the content configuration data and the target coordinate data to the label printing terminal corresponding to the target entity object may refer to: and synchronizing the interface description data file to the label printing terminal corresponding to the target entity object through the data interface.
The label printing terminal 103 is configured to obtain, according to the content configuration data and the target coordinate data synchronized by the label management platform server 102, printing policy data of a target printing data object corresponding to the target label component, which is adapted to the local printing device; and converting the printing strategy data into a printing instruction aiming at the local printing equipment, and enabling the local printing equipment to execute label printing operation.
Corresponding to the tag management platform server 102 synchronizing the interface description data file containing the content configuration data and the target coordinate data to the tag printing terminal corresponding to the target entity object, in this embodiment, before obtaining the printing policy data, the tag printing terminal 103 further needs to parse the interface description data file according to a data parsing protocol pre-agreed with the tag management platform server 102, so as to obtain the content configuration data of the target tag assembly contained in the custom tag template and the target coordinate data of the target tag assembly relative to the custom tag template.
The obtaining, according to the content configuration data and the target coordinate data, the printing policy data of the target printing data object corresponding to the target label assembly adapted to the local printing device may specifically include the following contents:
Firstly, restoring the self-defined label template in a mode matched with the local printing equipment based on the content configuration data and the target coordinate data to obtain a label printing image file corresponding to the self-defined label template. For example, according to the correspondence between a preset print carrier (e.g. print paper) of the local printing device and a custom tag template (the correspondence may be a dimensional proportion relationship between the preset print carrier and the custom tag template), content configuration data of a target tag component in the custom tag template and target coordinate data of the target tag component relative to the custom tag template are adjusted to obtain print content configuration data and print coordinate data adapted to the preset print carrier; based on the print content configuration data and the print coordinate data, a label print image file corresponding to the custom label template is obtained.
And secondly, determining a target printing data object corresponding to the target label component according to the content configuration data, for example, acquiring the target printing data object corresponding to the content item identification information from data or real-time order data stored in advance in a local (POS terminal) according to the content item identification information (such as identification information for a commodity name, an order number, a merchant brand identification, merchant popularization information, a meal taking number, commodity manufacturing method description information and the like) corresponding to the target label component, wherein the target printing data object is the data content to be printed, such as the commodity name, the order number, the merchant brand identification, the merchant popularization information, the meal taking number, the commodity manufacturing method description information and the like.
Finally, the target printing data object is replaced into the label printing image file, and the printing strategy data which is matched with the local printing equipment and aims at the target printing data object is obtained.
In this embodiment, when the tag setting end 101 sends the content configuration data and the target coordinate data to the tag management platform server 102, the identification information of the target entity object needs to be sent to the tag management platform server; correspondingly, the tag management platform server 102 synchronizes the content configuration data and the target coordinate data to the tag printing terminal corresponding to the target entity object, which may be referred to as: and synchronizing the content configuration data and the target coordinate data to the label printing terminal corresponding to the target entity object based on the identification information of the target entity object.
In the label printing system provided by the embodiment, after the operation main body of the target entity object selects and drags the existing label component in the label setting interface or creates the label component according to the custom mode, the label setting end correspondingly obtains the content configuration data of the target label component contained in the custom label template corresponding to the target entity object and obtains the target coordinate data of the target label component corresponding to the custom label template, the content configuration data and the target coordinate data are synchronously sent to the label printing terminal corresponding to the target entity object through the label management platform server, the label printing terminal obtains the printing strategy data of the target printing data object corresponding to the target label component, which is matched with the local printing equipment and is matched with the local printing equipment, based on the content configuration data and the target coordinate data, and the printing strategy data is converted into the printing instruction aiming at the local printing equipment, so that the local printing equipment can execute the label printing operation. By using the label printing system, the custom design requirement of the target entity object for the label information display position and the label content can be met, for example, a merchant can customize the label content based on own requirements (such as information popularization requirements), the printing position of the label content is set in a personalized mode, and the unique requirements of the merchant for the label content and typesetting of the label content can be met.
A second embodiment of the present application provides a label printing method, where an application body of the method may be a label printing terminal in the label printing system provided in the first embodiment, fig. 2 is a flowchart of the label printing method provided in the first embodiment of the present application, and the label printing method provided in the present embodiment is described in detail below with reference to fig. 2. The embodiments referred to in the following description are intended to illustrate the method principles and not to limit the practical use.
As shown in fig. 2, the label printing method provided in this embodiment includes the following steps:
s201, receiving content configuration data and target coordinate data sent by a tag management platform server.
The content configuration data is content configuration data of a target tag assembly contained in the custom tag template, and can be one or more of content item identification information (for example, identification information of commodity names, order numbers, merchant brand identifications, merchant popularization information, meal taking numbers, commodity manufacturing method description information and the like) corresponding to the target tag assembly, data display attribute information (for example, fonts, font types, colors, thickening, inclination and the like) corresponding to the target tag assembly, and typesetting information (alignment mode, interval between assemblies and the like) corresponding to the target tag assembly. The target coordinate data is the coordinate data of the target tag assembly relative to the custom tag template, for example, the starting coordinate data (abscissa, ordinate) of the target tag assembly in the template coordinate system of the custom tag template. The custom label template is obtained after the label assembly setting operation is carried out on the label setting interface. Performing a label component setting operation on the label setting interface may specifically refer to: the operation body of the target entity object (such as a merchant staff) performs selection and dragging operations on the existing tag assembly in the tag setting interface, or the operation body of the target entity object creates the tag assembly in the tag setting interface according to a self-defined mode.
S202, according to the content configuration data and the target coordinate data, obtaining the printing strategy data of the target printing data object corresponding to the target label component, which is matched with the local printing equipment. The process specifically comprises the following steps:
firstly, restoring the self-defined label template in a mode matched with the local printing equipment based on the content configuration data and the target coordinate data to obtain a label printing image file corresponding to the self-defined label template. For example, according to the correspondence between a preset print carrier (e.g. print paper) of the local printing device and a custom tag template (the correspondence may be a dimensional proportion relationship between the preset print carrier and the custom tag template), content configuration data of a target tag component in the custom tag template and target coordinate data of the target tag component relative to the custom tag template are adjusted to obtain print content configuration data and print coordinate data adapted to the preset print carrier; based on the print content configuration data and the print coordinate data, a label print image file corresponding to the custom label template is obtained.
And secondly, determining a target printing data object corresponding to the target label component according to the content configuration data, for example, acquiring the target printing data object corresponding to the content item identification information from data or real-time order data stored in advance in a local (POS terminal) according to the content item identification information (such as identification information for a commodity name, an order number, a merchant brand identification, merchant popularization information, a meal taking number, commodity manufacturing method description information and the like) corresponding to the target label component, wherein the target printing data object is the data content to be printed, such as the commodity name, the order number, the merchant brand identification, the merchant popularization information, the meal taking number, the commodity manufacturing method description information and the like.
Finally, the target printing data object is replaced into the label printing image file, and the printing strategy data which is matched with the local printing equipment and aims at the target printing data object is obtained.
S203 converts the print policy data into a print instruction for the local printing device to execute the label printing operation.
By using the label printing method provided by the embodiment, the custom design requirement of the target entity object for the label information display position and the label content can be met, for example, a merchant can customize the label content based on own requirement (such as information popularization requirement), the printing position of the label content is set according to a personalized mode, and the unique requirement of the merchant for the label content and typesetting of the label content can be met.
A third embodiment of the present application provides a data processing method, where an application body of the method may be a label setting end in the label printing system provided in the first embodiment, fig. 3 is a flowchart of the data processing method provided in the third embodiment of the present application, and the data processing method provided in the present embodiment is described in detail below with reference to fig. 3. The embodiments referred to in the following description are intended to illustrate the method principles and not to limit the practical use.
As shown in fig. 3, the data processing printing method provided in this embodiment includes the following steps:
s301, obtaining a custom tag template corresponding to the target entity object based on the tag component setting operation of the tag setting interface by the operation main body of the target entity object.
The operation main body of the target entity object aims at the label component setting operation of the label setting interface, and the operation main body comprises at least one of the following steps: selecting and dragging an existing label component in a label setting interface by an operation main body of a target entity object; the operation subject of the target entity object creates a label component in a label setting interface in a custom manner.
S302, obtaining content configuration data of a target label component contained in the custom label template and obtaining target coordinate data of the target label component relative to the custom label template.
The content configuration data is content configuration data of a target tag assembly contained in the custom tag template, and can be one or more of content item identification information (for example, identification information of commodity names, order numbers, merchant brand identifications, merchant popularization information, meal taking numbers, commodity manufacturing method description information and the like) corresponding to the target tag assembly, data display attribute information (for example, fonts, font types, colors, thickening, inclination and the like) corresponding to the target tag assembly, and typesetting information (alignment mode, interval between assemblies and the like) corresponding to the target tag assembly. The target coordinate data is the coordinate data of the target tag assembly relative to the custom tag template, for example, the starting coordinate data (abscissa, ordinate) of the target tag assembly in the template coordinate system of the custom tag template. The custom label template is obtained after the label assembly setting operation is carried out on the label setting interface. Performing a label component setting operation on the label setting interface may specifically refer to: the operation body of the target entity object (such as a merchant staff) performs selection and dragging operations on the existing tag assembly in the tag setting interface, or the operation body of the target entity object creates the tag assembly in the tag setting interface according to a self-defined mode.
S303, the content configuration data and the target coordinate data are sent to a label management platform server.
In this embodiment, the content configuration data and the target coordinate data are sent to the tag management platform server, which aims to: the label printing terminal corresponding to the target entity object obtains the content configuration data and the target coordinate data from the label management platform server, and realizes label printing based on the content configuration data and the target coordinate data.
In this embodiment, the obtaining the content configuration data of the target tag assembly included in the custom tag template and the obtaining the target coordinate data of the target tag assembly relative to the custom tag template may refer to: and obtaining an interface description data file aiming at the custom tag template, wherein the interface description data file comprises content configuration data of the target tag assembly and target coordinate data of the target tag assembly relative to the custom tag template. Correspondingly, the sending the content configuration data and the target coordinate data to the tag management platform server includes: and transmitting the interface description data file containing the content configuration data of the target label assembly and the target coordinate data of the target label assembly relative to the custom label template to a label management platform server.
By using the data processing method provided by the embodiment, the custom design requirement of the target entity object for the tag information display position and the tag content can be met, for example, a merchant can customize the tag content based on own requirement (such as information popularization requirement), the printing position of the tag content is set according to a personalized mode, and the unique requirement of the merchant for the tag content and typesetting of the tag content can be met.
The second embodiment provides a label printing method, and the fourth embodiment of the present application provides a label printing apparatus, and since the apparatus embodiments are substantially similar to the method embodiments, the description is relatively simple, and the details of the relevant technical features should be referred to the corresponding descriptions of the method embodiments provided above, and the following descriptions of the apparatus embodiments are merely illustrative.
Referring to fig. 4 for understanding the embodiment, fig. 4 is a block diagram of a unit of an apparatus provided in the embodiment, and as shown in fig. 4, the apparatus provided in the embodiment includes: the data receiving unit 401 is configured to receive content configuration data and target coordinate data sent by the tag management platform server, where the content configuration data is content configuration data of a target tag assembly included in a custom tag template, the target coordinate data is coordinate data of the target tag assembly relative to the custom tag template, and the custom tag template is a custom tag template obtained after performing a tag assembly setting operation on a tag setting interface; a print policy data obtaining unit 402, configured to obtain print policy data for a target print data object corresponding to the target tag assembly, adapted to the local printing apparatus, according to the content configuration data and the target coordinate data; a print instruction conversion unit 403 for converting the print policy data into a print instruction for the local printing apparatus to execute the label printing operation.
The obtaining, according to the content configuration data and the target coordinate data, the printing policy data of the target printing data object corresponding to the target label assembly, adapted to the local printing device, includes: restoring the custom tag template in a mode matched with the local printing equipment based on the content configuration data and the target coordinate data to obtain a tag printing image file corresponding to the custom tag template; determining a target printing data object corresponding to the target label assembly according to the content configuration data; and replacing the target printing data object into the label printing image file to obtain the printing strategy data which is matched with the local printing equipment and aims at the target printing data object.
The above-mentioned, based on the content configuration data and the target coordinate data, restores the custom label template in a manner adapted to the local printing device, and obtains a label print image file corresponding to the custom label template, including: according to the corresponding relation between a preset printing carrier of the local printing equipment and the self-defined label template, adjusting content configuration data of a target label component in the self-defined label template and target coordinate data of the target label component relative to the self-defined label template to obtain printing content configuration data and printing coordinate data which are matched with the preset printing carrier; based on the print content configuration data and the print coordinate data, a label print image file corresponding to the custom label template is obtained.
The operation of setting the label component on the label setting interface comprises at least one of the following steps: selecting and dragging an existing label component in a label setting interface; creating a label assembly in a custom manner in a label setup interface.
The content configuration data of the target tag assembly includes at least one of: content item identification information corresponding to the target tag assembly; the data corresponding to the target label component shows attribute information; typesetting information corresponding to the target label assembly.
By using the label printing device provided by the embodiment, the custom design requirement of the target entity object for the label information display position and the label content can be met, for example, a merchant can custom-define the label content based on own requirement (such as information popularization requirement), the printing position of the label content is set according to a personalized mode, and the unique requirement of the merchant for the label content and typesetting of the label content can be met.
In the foregoing embodiments, a label printing method and a label printing apparatus are provided, and in addition, a fifth embodiment of the present application further provides an electronic device, and since the electronic device embodiment is substantially similar to the method embodiment, the description is relatively simple, and details of relevant technical features should be referred to the corresponding description of the method embodiment provided above, and the following description of the electronic device embodiment is merely illustrative. The electronic device embodiment is as follows:
Fig. 5 is a schematic diagram of an electronic device according to the present embodiment. As shown in fig. 5, the electronic device provided in this embodiment includes: a processor 501 and a memory 502; the memory 502 is used to store computer instructions implementing the label printing method described above, which when read and executed by the processor 501, perform the following operations: receiving content configuration data and target coordinate data sent by a label management platform server, wherein the content configuration data is content configuration data of a target label assembly contained in a custom label template, the target coordinate data is coordinate data of the target label assembly relative to the custom label template, and the custom label template is a custom label template obtained after label assembly setting operation is performed on a label setting interface; obtaining printing strategy data of a target printing data object corresponding to the target label component, which is matched with the local printing equipment, according to the content configuration data and the target coordinate data; and converting the printing strategy data into a printing instruction aiming at the local printing equipment, and enabling the local printing equipment to execute label printing operation.
According to the content configuration data and the target coordinate data, obtaining the printing strategy data of the target printing data object corresponding to the target label component, which is matched with the local printing equipment, wherein the printing strategy data comprises the following steps: restoring the custom tag template in a mode matched with the local printing equipment based on the content configuration data and the target coordinate data to obtain a tag printing image file corresponding to the custom tag template; determining a target printing data object corresponding to the target label assembly according to the content configuration data; and replacing the target printing data object into the label printing image file to obtain the printing strategy data which is matched with the local printing equipment and aims at the target printing data object.
Restoring the custom label template in a mode matched with the local printing equipment based on the content configuration data and the target coordinate data to obtain a label printing image file corresponding to the custom label template, wherein the method comprises the following steps of: according to the corresponding relation between a preset printing carrier of the local printing equipment and the self-defined label template, adjusting content configuration data of a target label component in the self-defined label template and target coordinate data of the target label component relative to the self-defined label template to obtain printing content configuration data and printing coordinate data which are matched with the preset printing carrier; based on the print content configuration data and the print coordinate data, a label print image file corresponding to the custom label template is obtained.
Performing a label assembly setting operation on a label setting interface, including at least one of: selecting and dragging an existing label component in a label setting interface; creating a label assembly in a custom manner in a label setup interface.
The content configuration data of the target tag assembly includes at least one of: content item identification information corresponding to the target tag assembly; the data corresponding to the target label component shows attribute information; typesetting information corresponding to the target label assembly.
By using the electronic device provided by the embodiment, the custom design requirement of the target entity object for the tag information display position and the tag content can be met, for example, a merchant can custom-define the tag content based on own requirement (such as information popularization requirement), the printing position of the tag content is set according to a personalized mode, and the unique requirement of the merchant for the tag content and typesetting of the tag content can be met.
In the above-described embodiments, a label printing method, a label printing apparatus, and an electronic device are provided, and in addition, a sixth embodiment of the present application also provides a computer-readable storage medium for implementing the above-described label printing method. The embodiments of the computer readable storage medium provided by the present application are described more simply, and reference should be made to the corresponding descriptions of the above-described method embodiments, which are merely illustrative.
The computer readable storage medium provided in this embodiment stores computer instructions that, when executed by a processor, implement the steps of: receiving content configuration data and target coordinate data sent by a label management platform server, wherein the content configuration data is content configuration data of a target label assembly contained in a custom label template, the target coordinate data is coordinate data of the target label assembly relative to the custom label template, and the custom label template is a custom label template obtained after label assembly setting operation is performed on a label setting interface; obtaining printing strategy data of a target printing data object corresponding to the target label component, which is matched with the local printing equipment, according to the content configuration data and the target coordinate data; and converting the printing strategy data into a printing instruction aiming at the local printing equipment, and enabling the local printing equipment to execute label printing operation.
According to the content configuration data and the target coordinate data, obtaining the printing strategy data of the target printing data object corresponding to the target label component, which is matched with the local printing equipment, wherein the printing strategy data comprises the following steps: restoring the custom tag template in a mode matched with the local printing equipment based on the content configuration data and the target coordinate data to obtain a tag printing image file corresponding to the custom tag template; determining a target printing data object corresponding to the target label assembly according to the content configuration data; and replacing the target printing data object into the label printing image file to obtain the printing strategy data which is matched with the local printing equipment and aims at the target printing data object.
Restoring the custom label template in a mode matched with the local printing equipment based on the content configuration data and the target coordinate data to obtain a label printing image file corresponding to the custom label template, wherein the method comprises the following steps of: according to the corresponding relation between a preset printing carrier of the local printing equipment and the self-defined label template, adjusting content configuration data of a target label component in the self-defined label template and target coordinate data of the target label component relative to the self-defined label template to obtain printing content configuration data and printing coordinate data which are matched with the preset printing carrier; based on the print content configuration data and the print coordinate data, a label print image file corresponding to the custom label template is obtained.
Performing a label assembly setting operation on a label setting interface, including at least one of: selecting and dragging an existing label component in a label setting interface; creating a label assembly in a custom manner in a label setup interface.
The content configuration data of the target tag assembly includes at least one of: content item identification information corresponding to the target tag assembly; the data corresponding to the target label component shows attribute information; typesetting information corresponding to the target label assembly.
After the computer instructions stored on the computer readable storage medium provided in this embodiment are executed, the custom design requirements of the target entity object for the tag information display position and the tag content can be satisfied, for example, a merchant can customize the tag content based on own requirements (for example, information popularization requirements), and set the printing position of the tag content according to a personalized manner, so that the unique requirements of the merchant for the tag content and typesetting thereof can be satisfied.
The third embodiment provides a data processing method, and the seventh embodiment of the present application also provides a data processing device, and since the device embodiments are substantially similar to the method embodiments, the description of the device embodiments is relatively simple, and the details of the relevant technical features should be referred to the corresponding descriptions of the method embodiments provided above, and the following descriptions of the device embodiments are merely illustrative.
Referring to fig. 6 for an understanding of the embodiment, fig. 6 is a block diagram of a unit of an apparatus provided in the embodiment, and as shown in fig. 6, the apparatus provided in the embodiment includes: the custom tag template obtaining unit 601 is configured to obtain a custom tag template corresponding to a target entity object based on a tag component setting operation of the operation subject of the target entity object with respect to a tag setting interface; a data obtaining unit 602, configured to obtain content configuration data of a target tag assembly included in the custom tag template, and obtain target coordinate data of the target tag assembly relative to the custom tag template; the data sending unit 603 is configured to send the content configuration data and the target coordinate data to the label management platform server, so that the label printing terminal corresponding to the target entity object obtains the content configuration data and the target coordinate data from the label management platform server.
The operation main body of the target entity object aims at the label component setting operation of the label setting interface, and the operation main body comprises at least one of the following steps: selecting and dragging an existing label component in a label setting interface by an operation main body of a target entity object; the operation subject of the target entity object creates a label component in a label setting interface in a custom manner.
Obtaining content configuration data of a target label assembly contained in a custom label template and obtaining target coordinate data of the target label assembly relative to the custom label template, wherein the content configuration data comprises: obtaining an interface description data file aiming at the custom tag template, wherein the interface description data file comprises content configuration data of a target tag assembly and target coordinate data of the target tag assembly relative to the custom tag template;
transmitting the content configuration data and the target coordinate data to a tag management platform server, comprising: and sending the interface description data file to the label management platform server.
The content configuration data of the target tag assembly includes at least one of: content item identification information corresponding to the target tag assembly; the data corresponding to the target label component shows attribute information; typesetting information corresponding to the target label assembly.
By using the data processing device provided by the embodiment, the custom design requirement of the target entity object for the tag information display position and the tag content can be met, for example, a merchant can customize the tag content based on own requirement (such as information popularization requirement), the printing position of the tag content is set according to a personalized mode, and the unique requirement of the merchant for the tag content and typesetting of the tag content can be met.
In the foregoing embodiments, a data processing method and a data processing apparatus are provided, and in addition, an eighth embodiment of the present application further provides an electronic device, and since the electronic device embodiment is substantially similar to the method embodiment, the description is relatively simple, and details of relevant technical features should be referred to the corresponding description of the method embodiment provided above, and the following description of the electronic device embodiment is merely illustrative. The electronic device embodiment is as follows:
fig. 7 is a schematic diagram of an electronic device according to the present embodiment. As shown in fig. 7, the electronic device provided in this embodiment includes: a processor 701 and a memory 702; the memory 702 is used for storing computer instructions implementing the data processing method described above, which when read and executed by the processor 701 perform the following operations: acquiring a custom tag template corresponding to a target entity object based on the tag component setting operation of the tag setting interface by an operation main body of the target entity object; obtaining content configuration data of a target label assembly contained in the custom label template and obtaining target coordinate data of the target label assembly relative to the custom label template; and sending the content configuration data and the target coordinate data to a label management platform server so that the label printing terminal corresponding to the target entity object can acquire the content configuration data and the target coordinate data from the label management platform server.
The operation main body of the target entity object aims at the label component setting operation of the label setting interface, and the operation main body comprises at least one of the following steps: selecting and dragging an existing label component in a label setting interface by an operation main body of a target entity object; the operation subject of the target entity object creates a label component in a label setting interface in a custom manner.
Obtaining content configuration data of a target label assembly contained in a custom label template and obtaining target coordinate data of the target label assembly relative to the custom label template, wherein the content configuration data comprises: obtaining an interface description data file aiming at the custom tag template, wherein the interface description data file comprises content configuration data of a target tag assembly and target coordinate data of the target tag assembly relative to the custom tag template;
transmitting the content configuration data and the target coordinate data to a tag management platform server, comprising: and sending the interface description data file to the label management platform server.
The content configuration data of the target tag assembly includes at least one of: content item identification information corresponding to the target tag assembly; the data corresponding to the target label component shows attribute information; typesetting information corresponding to the target label assembly.
By using the electronic device provided by the embodiment, the custom design requirement of the target entity object for the tag information display position and the tag content can be met, for example, a merchant can custom-define the tag content based on own requirement (such as information popularization requirement), the printing position of the tag content is set according to a personalized mode, and the unique requirement of the merchant for the tag content and typesetting of the tag content can be met.
In the above-described embodiments, a data processing method, a data processing apparatus, and an electronic device are provided, and in addition, a ninth embodiment of the present application also provides a computer-readable storage medium for implementing the above-described label printing method. The embodiments of the computer readable storage medium provided by the present application are described more simply, and reference should be made to the corresponding descriptions of the above-described method embodiments, which are merely illustrative.
The computer readable storage medium provided in this embodiment stores computer instructions that, when executed by a processor, implement the steps of: acquiring a custom tag template corresponding to a target entity object based on the tag component setting operation of the tag setting interface by an operation main body of the target entity object; obtaining content configuration data of a target label assembly contained in the custom label template and obtaining target coordinate data of the target label assembly relative to the custom label template; and sending the content configuration data and the target coordinate data to a label management platform server so that the label printing terminal corresponding to the target entity object can acquire the content configuration data and the target coordinate data from the label management platform server.
The operation main body of the target entity object aims at the label component setting operation of the label setting interface, and the operation main body comprises at least one of the following steps: selecting and dragging an existing label component in a label setting interface by an operation main body of a target entity object; the operation subject of the target entity object creates a label component in a label setting interface in a custom manner.
Obtaining content configuration data of a target label assembly contained in a custom label template and obtaining target coordinate data of the target label assembly relative to the custom label template, wherein the content configuration data comprises: obtaining an interface description data file aiming at the custom tag template, wherein the interface description data file comprises content configuration data of a target tag assembly and target coordinate data of the target tag assembly relative to the custom tag template;
transmitting the content configuration data and the target coordinate data to a tag management platform server, comprising: and sending the interface description data file to the label management platform server.
The content configuration data of the target tag assembly includes at least one of: content item identification information corresponding to the target tag assembly; the data corresponding to the target label component shows attribute information; typesetting information corresponding to the target label assembly.
After the computer instructions stored on the computer readable storage medium provided in this embodiment are executed, the custom design requirements of the target entity object for the tag information display position and the tag content can be satisfied, for example, a merchant can customize the tag content based on own requirements (for example, information popularization requirements), and set the printing position of the tag content according to a personalized manner, so that the unique requirements of the merchant for the tag content and typesetting thereof can be satisfied.
In one typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include volatile memory in a computer-readable medium, random Access Memory (RAM) and/or nonvolatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of computer-readable media.
1. Computer readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. Computer readable media, as defined herein, does not include non-transitory computer readable media (transmission media), such as modulated data signals and carrier waves.
2. It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
While the application has been described in terms of preferred embodiments, it is not intended to be limiting, but rather, it will be apparent to those skilled in the art that various changes and modifications can be made herein without departing from the spirit and scope of the application as defined by the appended claims.

Claims (29)

1. A label printing system, comprising: the label management platform server is used for managing the label printing terminal;
the label setting end is used for obtaining content configuration data of a target label assembly contained in a custom label template corresponding to a target entity object and obtaining target coordinate data of the target label assembly relative to the custom label template; the content configuration data and the target coordinate data are sent to the tag management platform server, wherein a custom tag template corresponding to the target entity object is obtained based on tag component setting operation of an operation main body of the target entity object for a tag setting interface, and the tag component setting operation of the operation main body of the target entity object for the tag setting interface comprises the operation main body of the target entity object creating a tag component in the tag setting interface according to a custom mode;
The label management platform server is used for synchronizing the content configuration data and the target coordinate data to a label printing terminal corresponding to the target entity object;
the label printing terminal is used for obtaining printing strategy data which is matched with the local printing equipment and is specific to a target printing data object corresponding to the target label component according to the content configuration data and the target coordinate data; converting the printing strategy data into a printing instruction aiming at the local printing equipment, wherein the printing strategy data comprises label content and label information display positions which are created according to a self-defining mode and are used for executing label printing operation by the local printing equipment;
the custom label template corresponding to the target entity object is a printing template configured by a target merchant for a label to be printed, the custom label template is used for defining attribute information of added content on the label, and the attribute information comprises printing position information and printing size information of the added content on the label.
2. The label printing system of claim 1, wherein obtaining content configuration data of a target label assembly included in a custom label template corresponding to a target entity object, and obtaining target coordinate data of the target label assembly relative to the custom label template, comprises:
Acquiring a custom tag template corresponding to the target entity object based on the tag component setting operation of the tag setting interface by the operation main body of the target entity object;
obtaining an interface description data file aiming at the self-defined label template, wherein the interface description data file comprises content configuration data of the target label assembly and target coordinate data of the target label assembly relative to the self-defined label template;
the step of synchronizing the content configuration data and the target coordinate data to the label printing terminal corresponding to the target entity object includes: synchronizing the interface description data file containing the content configuration data and the target coordinate data to a label printing terminal corresponding to the target entity object;
the label printing terminal is further configured to: and analyzing the interface description data file to obtain the content configuration data and the target coordinate data.
3. The label printing system of claim 2, wherein the operation subject of the target physical object is for a label component setting operation of a label setting interface, further comprising:
and the operation main body of the target entity object performs selection and dragging operations on the existing label component in the label setting interface.
4. The label printing system of claim 1, wherein said obtaining print policy data for a target print data object corresponding to said target label assembly, adapted to a local printing device, based on said content configuration data and said target coordinate data, comprises:
restoring the self-defined label template in a mode matched with the local printing equipment based on the content configuration data and the target coordinate data to obtain a label printing image file corresponding to the self-defined label template;
determining a target printing data object corresponding to the target label assembly according to the content configuration data;
and replacing the target printing data object into the label printing image file to obtain printing strategy data which is matched with the local printing equipment and aims at the target printing data object.
5. The label printing system of claim 4, wherein the restoring the custom label template based on the content configuration data and the target coordinate data in a manner adapted to the local printing device to obtain a label print image file corresponding to the custom label template comprises:
According to the corresponding relation between the preset printing carrier of the local printing equipment and the custom label template, adjusting the content configuration data of the target label assembly in the custom label template and the target coordinate data of the target label assembly relative to the custom label template to obtain printing content configuration data and printing coordinate data matched with the preset printing carrier;
and obtaining a label printing image file corresponding to the custom label template based on the printing content configuration data and the printing coordinate data.
6. The label printing system of claim 1, wherein the content configuration data of the target label assembly comprises at least one of:
content item identification information corresponding to the target tag assembly;
the data corresponding to the target label assembly shows attribute information;
typesetting information corresponding to the target label assembly.
7. The label printing system of claim 2, wherein the label management platform server is further configured to: storing the interface description data file and generating a data interface for the interface description data file;
The step of synchronizing the interface description data file containing the content configuration data and the target coordinate data to the label printing terminal corresponding to the target entity object includes: and synchronizing the interface description data file to the label printing terminal corresponding to the target entity object through the data interface.
8. The label printing system of claim 1, wherein upon said transmitting said content configuration data and said target coordinate data to said label management platform server, further comprising: the identification information of the target entity object is sent to the label management platform server;
the step of synchronizing the content configuration data and the target coordinate data to the label printing terminal corresponding to the target entity object includes: and synchronizing the content configuration data and the target coordinate data to a label printing terminal corresponding to the target entity object based on the identification information of the target entity object.
9. The label printing system of claim 1, wherein the target physical object is a target merchant, the target label assembly comprising at least one of:
A component for merchandise order information;
a component for commodity supply information;
a component for commodity processing information;
and a component of custom information for the target merchant.
10. A label printing method, comprising:
receiving content configuration data and target coordinate data sent by a tag management platform server, wherein the content configuration data is content configuration data of a target tag assembly contained in a custom tag template, the target coordinate data is coordinate data of the target tag assembly relative to the custom tag template, the custom tag template is a custom tag template obtained after tag assembly setting operation is performed on a tag setting interface, the content configuration data and the target coordinate data are the custom tag template corresponding to a target entity object and sent to the tag management platform server by a tag setting end, and the tag assembly setting operation performed on the tag setting interface comprises that an operation main body of the target entity object creates the tag assembly in the tag setting interface according to a custom mode;
according to the content configuration data and the target coordinate data, obtaining printing strategy data of a target printing data object corresponding to the target label assembly, which is matched with the local printing equipment;
Converting the printing strategy data into a printing instruction aiming at the local printing equipment, wherein the printing strategy data comprises label content and label information display positions which are created according to a self-defining mode and are used for executing label printing operation by the local printing equipment;
the custom label template corresponding to the target entity object is a printing template configured by a target merchant for a label to be printed, the custom label template is used for defining attribute information of added content on the label, and the attribute information comprises printing position information and printing size information of the added content on the label.
11. The method according to claim 10, wherein the obtaining, according to the content configuration data and the target coordinate data, print policy data for a target print data object corresponding to the target tag component adapted to a local printing apparatus includes:
restoring the self-defined label template in a mode matched with the local printing equipment based on the content configuration data and the target coordinate data to obtain a label printing image file corresponding to the self-defined label template;
Determining a target printing data object corresponding to the target label assembly according to the content configuration data;
and replacing the target printing data object into the label printing image file to obtain printing strategy data which is matched with the local printing equipment and aims at the target printing data object.
12. The method according to claim 11, wherein the restoring the custom label template based on the content configuration data and the target coordinate data in a manner adapted to the local printing device to obtain a label print image file corresponding to the custom label template includes:
according to the corresponding relation between the preset printing carrier of the local printing equipment and the custom label template, adjusting the content configuration data of the target label assembly in the custom label template and the target coordinate data of the target label assembly relative to the custom label template to obtain printing content configuration data and printing coordinate data matched with the preset printing carrier;
and obtaining a label printing image file corresponding to the custom label template based on the printing content configuration data and the printing coordinate data.
13. The method of claim 10, wherein performing a label assembly setup operation on a label setup interface further comprises:
and selecting and dragging the existing label component in the label setting interface.
14. The method of claim 10, wherein the content configuration data of the target tag assembly comprises at least one of:
content item identification information corresponding to the target tag assembly;
the data corresponding to the target label assembly shows attribute information;
typesetting information corresponding to the target label assembly.
15. A method of data processing, comprising:
acquiring a custom tag template corresponding to a target entity object based on tag component setting operation of the target entity object aiming at a tag setting interface, wherein the tag component setting operation of the target entity object aiming at the tag setting interface comprises the step that the tag component is created in the tag setting interface by the operation body of the target entity object according to a custom mode;
obtaining content configuration data of a target label assembly contained in the custom label template and obtaining target coordinate data of the target label assembly relative to the custom label template;
The content configuration data and the target coordinate data are sent to a label management platform server, so that a label printing terminal corresponding to the target entity object can acquire the content configuration data and the target coordinate data from the label management platform server, and the printing strategy data comprise label content and label information display positions which are created in a self-defining mode;
the custom label template corresponding to the target entity object is a printing template configured by a target merchant for a label to be printed, the custom label template is used for defining attribute information of added content on the label, and the attribute information comprises printing position information and printing size information of the added content on the label.
16. The method of claim 15, wherein the operation subject of the target entity object is configured for a tab component configuration operation of a tab configuration interface, further comprising:
and the operation main body of the target entity object performs selection and dragging operations on the existing label component in the label setting interface.
17. The method of claim 15, wherein the obtaining content configuration data of the target tag component contained in the custom tag template and obtaining target coordinate data of the target tag component relative to the custom tag template comprises:
Obtaining an interface description data file aiming at the self-defined label template, wherein the interface description data file comprises content configuration data of the target label assembly and target coordinate data of the target label assembly relative to the self-defined label template;
the sending the content configuration data and the target coordinate data to a tag management platform server includes: and sending the interface description data file to the label management platform server.
18. The method of claim 15, wherein the content configuration data of the target tag assembly comprises at least one of:
content item identification information corresponding to the target tag assembly;
the data corresponding to the target label assembly shows attribute information;
typesetting information corresponding to the target label assembly.
19. A label printing apparatus, comprising:
the system comprises a data receiving unit, a label management platform server and a label component setting interface, wherein the data receiving unit is used for receiving content configuration data and target coordinate data sent by the label management platform server, the content configuration data is content configuration data of a target label component contained in a custom label template, the target coordinate data is coordinate data of the target label component relative to the custom label template, the custom label template is a custom label template obtained after label component setting operation is carried out on the label setting interface, the content configuration data and the target coordinate data are the custom label template corresponding to a target entity object and sent to the label management platform server by the label setting end, and the label component setting operation carried out on the label setting interface comprises that an operation subject of the target entity object creates a label component in the label setting interface according to a custom mode;
A print policy data obtaining unit, configured to obtain print policy data of a target print data object corresponding to the target tag assembly, adapted to a local printing device, according to the content configuration data and the target coordinate data;
a print instruction conversion unit, configured to convert the print policy data into a print instruction for the local printing device, where the print policy data includes label content and a label information display position created in a custom manner, and the print instruction is used for the local printing device to execute a label printing operation;
the custom label template corresponding to the target entity object is a printing template configured by a target merchant for a label to be printed, the custom label template is used for defining attribute information of added content on the label, and the attribute information comprises printing position information and printing size information of the added content on the label.
20. The apparatus of claim 19, wherein the obtaining, based on the content configuration data and the target coordinate data, print policy data for a target print data object corresponding to the target label assembly adapted to a local printing device, comprises:
Restoring the self-defined label template in a mode matched with the local printing equipment based on the content configuration data and the target coordinate data to obtain a label printing image file corresponding to the self-defined label template;
determining a target printing data object corresponding to the target label assembly according to the content configuration data;
and replacing the target printing data object into the label printing image file to obtain printing strategy data which is matched with the local printing equipment and aims at the target printing data object.
21. The apparatus of claim 20, wherein the restoring the custom label template based on the content configuration data and the target coordinate data in a manner adapted to the local printing device to obtain a label print image file corresponding to the custom label template comprises:
according to the corresponding relation between the preset printing carrier of the local printing equipment and the custom label template, adjusting the content configuration data of the target label assembly in the custom label template and the target coordinate data of the target label assembly relative to the custom label template to obtain printing content configuration data and printing coordinate data matched with the preset printing carrier;
And obtaining a label printing image file corresponding to the custom label template based on the printing content configuration data and the printing coordinate data.
22. The apparatus of claim 19, wherein the performing a label assembly setup operation on a label setup interface further comprises:
and selecting and dragging the existing label component in the label setting interface.
23. The apparatus of claim 19, wherein the content configuration data of the target tag component comprises at least one of:
content item identification information corresponding to the target tag assembly;
the data corresponding to the target label assembly shows attribute information;
typesetting information corresponding to the target label assembly.
24. A data processing apparatus, comprising:
the system comprises a custom tag template obtaining unit, a custom tag template setting unit and a custom tag template setting unit, wherein the custom tag template obtaining unit is used for obtaining a custom tag template corresponding to a target entity object based on a tag component setting operation of the target entity object aiming at a tag setting interface by an operation main body of the target entity object, and the tag component setting operation of the target entity object aiming at the tag component setting interface comprises that the operation main body of the target entity object creates a tag component in the tag setting interface in a custom mode;
The data obtaining unit is used for obtaining content configuration data of the target label assembly contained in the custom label template and obtaining target coordinate data of the target label assembly relative to the custom label template;
the data sending unit is used for sending the content configuration data and the target coordinate data to a label management platform server so that a label printing terminal corresponding to the target entity object can acquire the content configuration data and the target coordinate data from the label management platform server;
the printing strategy data comprises label content and label information display positions which are created according to a self-defining mode; the custom label template corresponding to the target entity object is a printing template configured by a target merchant for a label to be printed, and is used for defining attribute information of the added content on the label, wherein the attribute information comprises printing position information and printing size information of the added content on the label.
25. The apparatus of claim 24, wherein the operation subject of the target entity object is configured to perform a tag component configuration operation with respect to a tag configuration interface, further comprising:
And the operation main body of the target entity object performs selection and dragging operations on the existing label component in the label setting interface.
26. The apparatus of claim 24, wherein the obtaining content configuration data of the target tag component contained in the custom tag template and obtaining target coordinate data of the target tag component relative to the custom tag template comprises:
obtaining an interface description data file aiming at the self-defined label template, wherein the interface description data file comprises content configuration data of the target label assembly and target coordinate data of the target label assembly relative to the self-defined label template;
the sending the content configuration data and the target coordinate data to a tag management platform server includes: and sending the interface description data file to the label management platform server.
27. The apparatus of claim 24, wherein the content configuration data of the target tag component comprises at least one of:
content item identification information corresponding to the target tag assembly;
the data corresponding to the target label assembly shows attribute information;
Typesetting information corresponding to the target label assembly.
28. An electronic device comprising a processor and a memory; wherein,,
the memory is configured to store one or more computer instructions, wherein the one or more computer instructions are executed by the processor to implement the method of claims 10-18.
29. A computer readable storage medium having stored thereon one or more computer instructions executable by a processor to implement the method of claims 10-18.
CN202010846734.7A 2020-08-21 2020-08-21 Label printing system and method Active CN112068783B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010846734.7A CN112068783B (en) 2020-08-21 2020-08-21 Label printing system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010846734.7A CN112068783B (en) 2020-08-21 2020-08-21 Label printing system and method

Publications (2)

Publication Number Publication Date
CN112068783A CN112068783A (en) 2020-12-11
CN112068783B true CN112068783B (en) 2023-09-19

Family

ID=73662440

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010846734.7A Active CN112068783B (en) 2020-08-21 2020-08-21 Label printing system and method

Country Status (1)

Country Link
CN (1) CN112068783B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004192407A (en) * 2002-12-12 2004-07-08 Matsushita Electric Ind Co Ltd Label printing format setting system
CN104598178A (en) * 2014-12-30 2015-05-06 福建星网视易信息系统有限公司 Port printing method and device
CN106814982A (en) * 2017-01-04 2017-06-09 北京京东尚科信息技术有限公司 Label print processing device, system and method
CN110244921A (en) * 2019-06-24 2019-09-17 武汉精臣智慧标识科技有限公司 Label printing method, device, electronic equipment and system
CN110851092A (en) * 2019-11-15 2020-02-28 厦门商集网络科技有限责任公司 Customized printing method and system based on printing template under B/S framework
CN111144518A (en) * 2019-11-18 2020-05-12 深圳市灵智数字科技有限公司 Label generation method, information judgment method, management system and equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9524376B2 (en) * 2014-02-27 2016-12-20 Xerox Corporation Apparatus, system, and method for personalized medication labels
US10579315B2 (en) * 2015-05-08 2020-03-03 Ecolab Usa Inc. Multi-level system for label creation and printing

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004192407A (en) * 2002-12-12 2004-07-08 Matsushita Electric Ind Co Ltd Label printing format setting system
CN104598178A (en) * 2014-12-30 2015-05-06 福建星网视易信息系统有限公司 Port printing method and device
CN106814982A (en) * 2017-01-04 2017-06-09 北京京东尚科信息技术有限公司 Label print processing device, system and method
CN110244921A (en) * 2019-06-24 2019-09-17 武汉精臣智慧标识科技有限公司 Label printing method, device, electronic equipment and system
CN110851092A (en) * 2019-11-15 2020-02-28 厦门商集网络科技有限责任公司 Customized printing method and system based on printing template under B/S framework
CN111144518A (en) * 2019-11-18 2020-05-12 深圳市灵智数字科技有限公司 Label generation method, information judgment method, management system and equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
B/S模式下条形码票证自定义打印的设计和实现;戚玮玮;宋朝辉;宋大雷;栾新;;计算机应用与软件(12);176-179 *

Also Published As

Publication number Publication date
CN112068783A (en) 2020-12-11

Similar Documents

Publication Publication Date Title
US20140092415A1 (en) Print control device, printer, and control method of a print control device
US9286613B2 (en) Ordering of goods or services using memory for storing digital content
US20140262549A1 (en) System and method of encoding item information from a scale in a self-service scanning solution
US9805354B2 (en) Methods and devices for generating and reporting digital QR receipts
CN108829363A (en) Business voucher Method of printing and device
CN112330532A (en) Image analysis processing method and equipment
CN105243552A (en) One-dimensional code or two-dimensional code scanning identification system applied to commodity after-sales service
CN111240609A (en) Data printing method and device, electronic equipment and storage medium
CN111949229A (en) Method and device for printing bill, computer equipment and storage medium
CN105741163A (en) Convenient WeChat commerce bill printing system
CN113535101B (en) Print file generation method and device, storage medium and electronic equipment
CN111737344B (en) Data synchronization method and device for tag type weighing equipment
CN112068783B (en) Label printing system and method
CN111756799B (en) Method and device for processing printing information
JP2007233448A (en) Entry support method, entry support system and printed matter
CN111240785A (en) Page generation method and device
US20210035170A1 (en) QR Code Based Review System
KR101798990B1 (en) User equipment, control method thereof and computer readable medium having computer program recorded therefor
CN109933378A (en) Information configuration, display methods, equipment, system and storage medium
JP2012141737A (en) Fax-ocr apparatus and fax-ocr program
CN108573415A (en) Generate method, equipment and the system of two-dimensional code data of drawing a bill
US20130275256A1 (en) System and Method for Ordering Promotional Products
KR20140092478A (en) Electronic shelf label system and method for making display data
CN112529132A (en) Bar code generation method and device
CN111242525A (en) Management method, system, device and equipment based on logistics object packaging equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant