CN112068783A - Label printing system and method - Google Patents

Label printing system and method Download PDF

Info

Publication number
CN112068783A
CN112068783A CN202010846734.7A CN202010846734A CN112068783A CN 112068783 A CN112068783 A CN 112068783A CN 202010846734 A CN202010846734 A CN 202010846734A CN 112068783 A CN112068783 A CN 112068783A
Authority
CN
China
Prior art keywords
label
target
data
printing
tag
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010846734.7A
Other languages
Chinese (zh)
Other versions
CN112068783B (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

Images

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 self-defined label template corresponding to a target entity object and obtains target coordinate data of the target label component relative to the self-defined label template, the content configuration data and the target coordinate data are synchronously sent 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 which is matched with local printing equipment and aims at the target printing data object corresponding to the target label component based on the content configuration data and the target coordinate data, and the printing strategy data are converted into a printing instruction aiming at the local printing equipment to be used for the local printing equipment to execute label printing operation. By using the label printing system, the custom design requirements of merchants 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, electronic equipment and a computer readable storage medium. The application also relates to a data processing method, a device, an electronic device and a computer readable storage medium.
Background
The label printing technology is widely applied to the fields of retail, fast food, delivery and the like, for example, in the field of fast food in the field of on-site drink industry, after a customer places an order, a merchant prints information such as a meal number, a drink name, a drink processing mode, required materials of drinks, taste notes of the customer and the like in the order one by one through a label printer, and pastes a printed label on the outer surface of a drink container, so that drink making personnel can make drinks based on the label information, and drink delivery personnel can check the identity of the customer according to the label information to realize drink delivery.
Besides the role of information transmission, the label information can also be used as an important carrier for information popularization because the label information is shown to a terminal customer. For example, in the fast food field, how to satisfy the personalized label printing requirements of different merchants is a problem that needs to be solved urgently at present, where the label information may be order information, commodity information, and user identification information, or may also be merchant identification information, merchant customized document information, and the like.
In the existing process of providing label printing Service for a merchant based on Software as a Service (SaaS), the merchant can configure a label printing template through a front-end label setting interface, the content of the template provides a check box for the merchant to select, the merchant adds a printing content item in the check box into the template in a check mode, the server stores template data and synchronizes the template data to the printing terminal of the merchant, and the printing terminal performs bill printing according to the template configuration of the server. Through the mode, the merchant can select to display or not display the preset order information, commodity information and merchant information.
However, the above method has the following drawbacks:
in the process of configuring the label printing template, the position arrangement of each item of printing content is fixed, the position and the arrangement of the printing content cannot be adjusted at will, only the display and non-display of the label information can be set, the display position of the label information cannot be adjusted, and the user-defined design requirement for the display position of the label information cannot be met;
the printing content items in the check boxes are added to the template in a check mode, the label content cannot be customized based on merchant requirements, and the customized 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, and aims to solve the problem that the user-defined design requirements for label information display positions and label contents cannot be met in the prior art.
An embodiment of the present application provides a label printing system, including: the system comprises a label setting end, a label management platform server and a label printing terminal; the tag setting end is used for obtaining content configuration data of a target tag assembly contained in a custom tag template corresponding to a target entity object and obtaining target coordinate data of the target tag assembly relative to the custom tag template; sending 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 local printing equipment and aims at 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, so that the local printing equipment can execute label printing operation.
Optionally, the obtaining content configuration data of a target tag component included in a custom tag template corresponding to a target entity object and obtaining target coordinate data of the target tag component relative to the custom tag template include: setting operation aiming at a tag component of a tag setting interface based on the operation main body of the target entity object, and obtaining a self-defined tag template corresponding to 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 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 sets an operation for a tag component of a tag setting interface, where the operation includes 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 the operation main body of the target entity object creates a tag component in a tag setting interface in a self-defined mode.
Optionally, the obtaining, according to the content configuration data and the target coordinate data, print policy data adapted to a local printing device and for a target print data object corresponding to the target label component includes: restoring the self-defined label template in a mode of being 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 component 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 local printing equipment and aims at the target printing data object.
Optionally, the restoring the user-defined label template based on the content configuration data and the target coordinate data in a manner of adapting to the local printing device to obtain a label printing image file corresponding to the user-defined 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 the content configuration data of the target label assembly in the self-defined label template and the target coordinate data of the target label assembly relative to the self-defined 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 self-defined label template based on the printing content configuration data and the printing coordinate data.
Optionally, the content configuration data of the target tag component includes at least one of the following: content item identification information corresponding to the target tag component; displaying attribute information of data corresponding to the target tag assembly; and the typesetting information corresponding to the target label component.
Optionally, the tag management platform server 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 includes: and synchronizing the interface description data file to a 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: sending the identification information of the target entity object to the label management platform server; the 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 commodity order information; a component that supplies information for the commodity; a component for commodity processing information; and the component is used for customizing information of the target merchant.
An embodiment of the present application further provides a label printing method, including: 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, and the custom tag template is obtained after tag assembly setting operation is carried out on a tag setting interface; according to the content configuration data and the target coordinate data, obtaining printing strategy data which is matched with local printing equipment and aims at a target printing data object corresponding to the target label component; and converting the printing strategy data into a printing instruction aiming at the local printing equipment, so that the local printing equipment can execute label printing operation.
Optionally, the obtaining, according to the content configuration data and the target coordinate data, print policy data adapted to a local printing device and for a target print data object corresponding to the target label component includes: restoring the self-defined label template in a mode of being 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 component 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 local printing equipment and aims at the target printing data object.
Optionally, the restoring the user-defined label template based on the content configuration data and the target coordinate data in a manner of adapting to the local printing device to obtain a label printing image file corresponding to the user-defined 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 the content configuration data of the target label assembly in the self-defined label template and the target coordinate data of the target label assembly relative to the self-defined 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 self-defined label template based on the printing content configuration data and the printing coordinate data.
Optionally, the operation of setting the label component on the label setting interface includes at least one of the following: selecting and dragging the existing label assembly in a label setting interface; and creating the label component in a label setting interface in a self-defined mode.
Optionally, the content configuration data of the target tag component includes at least one of the following: content item identification information corresponding to the target tag component; displaying attribute information of data corresponding to the target tag assembly; and the typesetting information corresponding to the target label component.
An embodiment of the present application further provides a data processing method, including: setting operation aiming at a tag component of a tag setting interface based on an operation main body of a target entity object, and obtaining a self-defined tag template corresponding to the target entity object; obtaining content configuration data of a target tag assembly contained in the custom tag template and obtaining 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 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 sets an operation for a tag component of a tag setting interface, where the operation includes 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 the operation main body of the target entity object creates a tag component in a tag setting interface in a self-defined mode.
Optionally, the obtaining content configuration data of a target tag component included in the custom tag template and obtaining target coordinate data of the target tag component 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 component includes at least one of the following: content item identification information corresponding to the target tag component; displaying attribute information of data corresponding to the target tag assembly; and the typesetting information corresponding to the target label component.
An embodiment of the present application further provides a label printing apparatus, including: the system comprises a data receiving unit, a tag management platform server and a tag setting interface, wherein the data receiving unit is used for receiving content configuration data and target coordinate data sent by the tag management platform server, the content configuration data is content configuration data of a target tag assembly contained in a self-defined tag template, the target coordinate data is coordinate data of the target tag assembly relative to the self-defined tag template, and the self-defined tag template is obtained after tag assembly setting operation is carried out on a tag setting interface; a printing strategy data obtaining unit, configured to obtain, according to the content configuration data and the target coordinate data, printing strategy data that is adapted to a local printing device and is for a target printing data object corresponding to the target label component; and the printing instruction converting unit is used for converting the printing strategy data into a printing instruction aiming at the local printing equipment, so that the local printing equipment can execute label printing operation.
Optionally, the obtaining, according to the content configuration data and the target coordinate data, print policy data adapted to a local printing device and for a target print data object corresponding to the target label component includes: restoring the self-defined label template in a mode of being 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 component 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 local printing equipment and aims at the target printing data object.
Optionally, the restoring the user-defined label template based on the content configuration data and the target coordinate data in a manner of adapting to the local printing device to obtain a label printing image file corresponding to the user-defined 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 the content configuration data of the target label assembly in the self-defined label template and the target coordinate data of the target label assembly relative to the self-defined 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 self-defined label template based on the printing content configuration data and the printing coordinate data.
Optionally, the operation of setting the label component on the label setting interface includes at least one of the following: selecting and dragging the existing label assembly in a label setting interface; and creating the label component in a label setting interface in a self-defined mode.
Optionally, the content configuration data of the target tag component includes at least one of the following: content item identification information corresponding to the target tag component; displaying attribute information of data corresponding to the target tag assembly; and the typesetting information corresponding to the target label component.
An embodiment of the present application further provides a data processing apparatus, including: the user-defined tag template obtaining unit is used for setting operation aiming at a tag component of a tag setting interface based on an operation main body of a target entity object, and obtaining a user-defined tag template corresponding to the target entity object; the data acquisition unit is used for acquiring content configuration data of a target tag assembly contained in the custom tag template and acquiring target coordinate data of the target tag assembly relative to the custom tag 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 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 sets an operation for a tag component of a tag setting interface, where the operation includes 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 the operation main body of the target entity object creates a tag component in a tag setting interface in a self-defined mode.
Optionally, the obtaining content configuration data of a target tag component included in the custom tag template and obtaining target coordinate data of the target tag component 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 component includes at least one of the following: content item identification information corresponding to the target tag component; displaying attribute information of data corresponding to the target tag assembly; and the typesetting information corresponding to the target label component.
Further embodiments of the present application also provide an electronic device comprising a processor and a memory; wherein the memory is to store one or more computer instructions that are executed by the processor to implement the method as described above.
Further embodiments of the present application also provide a computer-readable storage medium having stored thereon one or more computer instructions which are executed by a processor to implement the 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 content configuration data of a target label component contained in a self-defined label template corresponding to a target entity object and obtains target coordinate data of the target label component relative to the self-defined label template, the content configuration data and the target coordinate data are synchronized 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 which is adapted to local printing equipment and aims at a target printing data object corresponding to the target label component based on the content configuration data and the target coordinate data, and the printing strategy data are converted into a printing instruction aiming at the local printing equipment to be used for the local printing equipment to execute label printing operation. By using the label printing system, the user-defined design requirements of the target entity object for the label information display position and the label content can be met, for example, a merchant can define the label content based on self requirements (for example, information popularization requirements), and the printing position of the label content is set in a personalized mode.
Drawings
FIG. 1 is a schematic view of a label printing system provided in a first embodiment of the present application;
FIG. 2 is a flow chart of a method of printing labels provided in 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 according to a fourth embodiment of the present application;
fig. 5 is a schematic logical structure diagram of an electronic device according to a fifth embodiment of the present application;
fig. 6 is a block diagram of elements of a data processing apparatus according to a seventh embodiment of the present application;
fig. 7 is a schematic logical structure diagram 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. This application is capable of implementation in many different ways than those herein set forth and of similar import by those skilled in the art without departing from the spirit of this application and is therefore not limited to the specific implementations disclosed below.
Aiming at a label printing scene, in order to meet the user-defined design requirements of a user for a label information display position and label content, the application provides a label printing system, a label printing method, a label printing device, electronic equipment and a computer readable storage medium corresponding to the method, and also provides a data processing method, a data processing device, electronic equipment and a computer readable storage medium corresponding to the method. The following provides embodiments to explain the above systems, methods, apparatuses, electronic devices, and computer-readable storage media in detail.
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 following description refers to embodiments for the purpose of illustrating the principles of the methods, and is not intended to be limiting in actual use.
The label printing system provided in this embodiment is suitable for a scenario in which a user is provided with a label printing Service 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 to 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 the label setting operation can be realized; the label management platform server 102 can realize the unified management and distribution of the template data; the label printing terminal 103 may implement a label printing operation based on the 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 used by the merchant and having a label printing function).
The tag setting terminal 101 is configured to obtain content configuration data of a target tag component included in a custom tag template corresponding to the target entity object and obtain target coordinate data of the target tag component 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 is a printed object with preset information, for example, in the field of fast food in-place beverage industry, the label can be a poster paper with order information, commodity information and merchant information, after a customer places an order, the merchant prints information such as a meal taking number, a beverage name, a beverage processing mode, a material required by a beverage, a customer taste remark and the like in the order one by one through a label printer, and the printed label is attached to the outer surface of a beverage container, beverage making personnel can make the beverage based on the label information, and beverage delivery personnel can check the identity of the customer according to the label information to deliver the beverage. The target entity object may be a target merchant, and the custom tag template corresponding to the target entity object is a print template configured by the target merchant for a tag to be printed, and the template may be used to define attribute information such as a print position, a print size, and the like of content items on the tag, such as order information, commodity information, merchant information, and the like selected or added by a user.
The target tag component refers to a component corresponding to each content item selected or added by the user in the customized tag template, and in this embodiment, the target tag component may be one or more of a component for order information of a commodity, a component for supply information of the commodity, a component for processing information of the commodity, and a component for customized information of a target merchant. The content configuration data of the target tag component may be one or more of content item identification information corresponding to the target tag component (for example, identification information for a commodity name, an order number, a merchant brand identification, merchant promotion information, a meal fetching number, commodity production method description information, and the like), data display attribute information corresponding to the target tag component (for example, a font model, a color, a boldness, a slant, and the like), and layout information corresponding to the target tag component (an alignment manner, a space between components, and the like). The target coordinate data may be the starting coordinate data (abscissa, ordinate) of the target tag component in the 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: the method comprises the steps of setting operation aiming at a tag component of a tag setting interface based on an operation main body of a target entity object, obtaining a self-defined tag template corresponding to the target entity object, and correspondingly obtaining an interface description data file (which can be a data structure file in a Json format) aiming at the self-defined tag template, wherein the interface description data file comprises content configuration data of the target tag component and target coordinate data of the target tag component relative to the self-defined tag template.
In this embodiment, the operation of the operation body of the target entity object for the tag component of the tag setting interface may refer to a selection and dragging operation of the operation body of the target entity object on an existing tag component in the tag setting interface, or may refer to a creation of the tag component by the operation body of the target entity object in the tag setting interface in a user-defined 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: and 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 be: and synchronizing the interface description data file to a label printing terminal corresponding to the target entity object through a data interface.
The label printing terminal 103 is configured to obtain print policy data adapted to the local printing device and for a target print data object corresponding to the target label component according to the content configuration data and the target coordinate data synchronized by the label management platform server 102; and converting the printing strategy data into a printing instruction aiming at the local printing equipment, so that the local printing equipment can execute the label printing operation.
In this embodiment, before obtaining the print policy data, the label printing terminal 103 needs to parse the interface description data file according to a data parsing protocol agreed in advance with the label management platform server 102, so as to obtain the content configuration data of the target label component included in the custom label template and the target coordinate data of the target label component relative to the custom label template.
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 label component, which is adapted to the local printing device, may specifically include the following:
firstly, restoring a self-defined label template in a mode of being matched with local printing equipment based on content configuration data and target coordinate data to obtain a label printing image file corresponding to the self-defined label template. For example, according to a corresponding relationship between a preset printing carrier (for example, printing paper) of the local printing device and the custom label template (the corresponding relationship may be a dimensional proportional relationship between the preset printing carrier and the custom label template), adjusting content configuration data of a target label assembly in the custom label template and target coordinate data of the target label assembly relative to the custom label template, and obtaining printing content configuration data and printing coordinate data matched with the preset printing carrier; and obtaining a label printing image file corresponding to the self-defined label template based on the printing content configuration data and the printing coordinate data.
Secondly, a target printing data object corresponding to the target label component is determined according to the content configuration data, for example, according to content item identification information (for example, identification information aiming at a commodity name, an order number, a merchant brand identification, merchant promotion information, a meal fetching number, commodity manufacturing method description information and the like) corresponding to the target label component, the target printing data object corresponding to the content item identification information is obtained from data or real-time order data stored in advance in a local (POS) terminal, and the target printing data object is data content to be printed, for example, the commodity name, the order number, the merchant brand identification, the merchant promotion information, the meal fetching number, the commodity manufacturing method description information and the like.
And finally, 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.
In this embodiment, when the tag setting terminal 101 sends the content configuration data and the target coordinate data to the tag management platform server 102, it is further required to send the identification information of the target entity object 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: 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 in this embodiment, after the operation body of the target entity object selects and drags an existing label component in the label setting interface or creates a label component in a user-defined manner, the label setting end correspondingly obtains content configuration data of the target label component included in a user-defined label template corresponding to the target entity object and obtains target coordinate data of the target label component relative to the user-defined label template, the content configuration data and the target coordinate data are synchronized to a label printing terminal corresponding to the target entity object through a label management platform server, the label printing terminal obtains print policy data, which is adapted to the local printing device and is specific to a target print data object corresponding to the target label component, based on the content configuration data and the target coordinate data, and the print policy data are converted into a print instruction specific to the local printing device, for the local printing device to perform label printing operations. By using the label printing system, the user-defined design requirements of the target entity object for the label information display position and the label content can be met, for example, a merchant can define the label content based on self requirements (for example, information popularization requirements), and the printing position of the label content is set according to a personalized mode, so that the unique requirements of the merchant for the label content and the typesetting thereof can be met.
A second embodiment of the present application provides a label printing method, 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 following describes the label printing method provided in this embodiment in detail with reference to fig. 2. The following description refers to embodiments for the purpose of illustrating the principles of the methods, and is not intended to be limiting in actual use.
As shown in fig. 2, the label printing method provided by the present embodiment includes the following steps:
s201, receiving content configuration data and target coordinate data sent by a label management platform server.
The content configuration data is content configuration data of a target tag assembly contained in the custom tag template, and may be one or more of content item identification information corresponding to the target tag assembly (for example, identification information for a content item, such as a commodity name, an order number, a merchant brand identification, merchant promotion information, a meal fetching number, commodity production method description information, and the like), data display attribute information corresponding to the target tag assembly (for example, a font model, a color, a boldness, a slant, and the like), and composition information corresponding to the target tag assembly (an alignment method, an interval set between assemblies, and the like). The target coordinate data is coordinate data of the target tag component relative to the custom tag template, e.g., the starting coordinate data (abscissa, ordinate) of the target tag component in the template coordinate system of the custom tag template. The user-defined label template is obtained after the label assembly setting operation is carried out on the label setting interface. The label component setting operation is performed on the label setting interface, and specifically, the label component setting operation may refer to: and the operation main body of the target entity object (such as a merchant staff) selects and drags the existing label assembly in the label setting interface, or the operation main body of the target entity object creates the label assembly in the label setting interface in a self-defined mode.
S202, according to the content configuration data and the target coordinate data, obtaining printing strategy data which is matched with the local printing equipment and aims at a target printing data object corresponding to the target label assembly. The process may specifically include the following:
firstly, restoring a self-defined label template in a mode of being matched with local printing equipment based on content configuration data and target coordinate data to obtain a label printing image file corresponding to the self-defined label template. For example, according to a corresponding relationship between a preset printing carrier (for example, printing paper) of the local printing device and the custom label template (the corresponding relationship may be a dimensional proportional relationship between the preset printing carrier and the custom label template), adjusting content configuration data of a target label assembly in the custom label template and target coordinate data of the target label assembly relative to the custom label template, and obtaining printing content configuration data and printing coordinate data matched with the preset printing carrier; and obtaining a label printing image file corresponding to the self-defined label template based on the printing content configuration data and the printing coordinate data.
Secondly, a target printing data object corresponding to the target label component is determined according to the content configuration data, for example, according to content item identification information (for example, identification information aiming at a commodity name, an order number, a merchant brand identification, merchant promotion information, a meal fetching number, commodity manufacturing method description information and the like) corresponding to the target label component, the target printing data object corresponding to the content item identification information is obtained from data or real-time order data stored in advance in a local (POS) terminal, and the target printing data object is data content to be printed, for example, the commodity name, the order number, the merchant brand identification, the merchant promotion information, the meal fetching number, the commodity manufacturing method description information and the like.
And finally, 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.
And S203, converting the printing strategy data into a printing instruction aiming at the local printing equipment, and allowing the local printing equipment to execute label printing operation.
By using the label printing method provided by the embodiment, the user-defined design requirements of the target entity object for the label information display position and the label content can be met, for example, a merchant can self-define the label content based on own requirements (for example, information popularization requirements), and set the printing position of the label content according to a personalized mode, so that the unique requirements of the merchant for the label content and the typesetting thereof can be met.
A third embodiment of the present application provides a data processing method, 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 a data processing method provided in the third embodiment of the present application, and the data processing method provided in this embodiment is described in detail below with reference to fig. 3. The following description refers to embodiments for the purpose of illustrating the principles of the methods, and is not intended to be limiting in actual use.
As shown in fig. 3, the data processing printing method provided in this embodiment includes the following steps:
s301, setting operation aiming at the tag component of the tag setting interface based on the operation main body of the target entity object, and obtaining a custom tag template corresponding to the target entity object.
The operation main body of the target entity object sets operation aiming at the label component of the label setting interface, and the operation main body comprises at least one of the following steps: selecting and dragging the existing label assembly in a label setting interface by an operation main body of the target entity object; and the operation main body of the target entity object creates a tag component in a tag setting interface in a self-defined mode.
S302, obtaining content configuration data of the target tag assembly contained in the custom tag template and obtaining target coordinate data of the target tag assembly relative to the custom tag template.
The content configuration data is content configuration data of a target tag assembly contained in the custom tag template, and may be one or more of content item identification information corresponding to the target tag assembly (for example, identification information for a content item, such as a commodity name, an order number, a merchant brand identification, merchant promotion information, a meal fetching number, commodity production method description information, and the like), data display attribute information corresponding to the target tag assembly (for example, a font model, a color, a boldness, a slant, and the like), and composition information corresponding to the target tag assembly (an alignment method, an interval set between assemblies, and the like). The target coordinate data is coordinate data of the target tag component relative to the custom tag template, e.g., the starting coordinate data (abscissa, ordinate) of the target tag component in the template coordinate system of the custom tag template. The user-defined label template is obtained after the label assembly setting operation is carried out on the label setting interface. The label component setting operation is performed on the label setting interface, and specifically, the label component setting operation may refer to: and the operation main body of the target entity object (such as a merchant staff) selects and drags the existing label assembly in the label setting interface, or the operation main body of the target entity object creates the label assembly in the label setting interface in a self-defined mode.
And S303, sending the content configuration data and the target coordinate data to the label management platform server.
In this embodiment, the sending of the content configuration data and the target coordinate data to the tag management platform server aims to: and the label printing terminal corresponding to the target entity object acquires 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 of the content configuration data of the target tag assembly included in the custom tag template and the obtaining of the target coordinate data of the target tag assembly relative to the custom tag template may refer to: and acquiring 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 sending the interface description data file containing the content configuration data of the target tag assembly and the target coordinate data of the target tag assembly relative to the self-defined tag template to a tag management platform server.
By using the data processing method provided by the embodiment, the user-defined design requirements of the target entity object for the tag information display position and the tag content can be met, for example, a merchant can self-define 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 mode, so that the unique requirements of the merchant for the tag content and the typesetting thereof can be met.
The fourth embodiment of the present application also provides a label printing apparatus, since the apparatus embodiment is basically similar to the method embodiment, so that the description is simple, and the details of the related technical features can be found in the corresponding description of the method embodiment provided above, and the following description of the apparatus embodiment is only illustrative.
Referring to fig. 4, to understand the embodiment, fig. 4 is a block diagram of a unit of the 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 a 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 obtained after a tag assembly setting operation is performed on a tag setting interface; a print policy data obtaining unit 402, configured to obtain, according to the content configuration data and the target coordinate data, print policy data that is adapted to the local printing apparatus and is for a target print data object corresponding to the target label component; a print instruction converting unit 403, configured to convert the print policy data into a print instruction for the local printing device, so that the local printing device can perform a label printing operation.
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 label component, which is adapted to the local printing apparatus, includes: restoring the self-defined label template in a mode of being matched with 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 component 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.
The above-mentioned based on content configuration data and target coordinate data, restore customized label template according to the mode of adapting with local printing equipment, obtain the label print image file corresponding to customized label template, include: according to the corresponding relation between a preset printing carrier of local printing equipment and a self-defined label template, adjusting content configuration data of a target label assembly in the self-defined label template and target coordinate data of the target label assembly 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; and obtaining a label printing image file corresponding to the self-defined label template based on the printing content configuration data and the printing coordinate data.
The operation of setting the label component on the label setting interface includes at least one of the following: selecting and dragging the existing label assembly in a label setting interface; and creating the label component in a label setting interface in a self-defined mode.
The content configuration data of the target tag component includes at least one of: content item identification information corresponding to the target tag component; displaying attribute information of data corresponding to the target label component; and typesetting information corresponding to the target label component.
By using the label printing device provided by the embodiment, the user-defined design requirements of the target entity object for the label information display position and the label content can be met, for example, a merchant can self-define the label content based on own requirements (for example, information popularization requirements), and set the printing position of the label content according to a personalized mode, so that the unique requirements of the merchant for the label content and the typesetting thereof can be met.
In the embodiments described above, a label printing method and a label printing apparatus are provided, and in addition, a fifth embodiment of the present application also provides an electronic device, which is basically similar to the method embodiment, so that the description is relatively simple, and the details of the related technical features can be found in the corresponding description of the method embodiment provided above, and the following description of the electronic device embodiment is only illustrative. The embodiment of the electronic equipment is as follows:
please refer to fig. 5 for understanding the present embodiment, fig. 5 is a schematic view of an electronic device provided in 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 for storing computer instructions for implementing the above label printing method, which when read and executed by the processor 501, performs the following operations: 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 self-defined tag template, the target coordinate data is coordinate data of the target tag assembly relative to the self-defined tag template, and the self-defined tag template is obtained after tag assembly setting operation is carried out on a tag setting interface; according to the content configuration data and the target coordinate data, obtaining printing strategy data which is matched with the local printing equipment and aims at a target printing data object corresponding to the target label component; and converting the printing strategy data into a printing instruction aiming at the local printing equipment, so that the local printing equipment can execute the label printing operation.
Obtaining print policy data for a target print data object corresponding to a target label component adapted to a local printing device according to the content configuration data and the target coordinate data, comprising: restoring the self-defined label template in a mode of being matched with 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 component 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.
Based on the content configuration data and the target coordinate data, restoring the user-defined label template in a mode of being matched with the local printing equipment to obtain a label printing image file corresponding to the user-defined label template, wherein the method comprises the following steps: according to the corresponding relation between a preset printing carrier of local printing equipment and a self-defined label template, adjusting content configuration data of a target label assembly in the self-defined label template and target coordinate data of the target label assembly 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; and obtaining a label printing image file corresponding to the self-defined label template based on the printing content configuration data and the printing coordinate data.
And carrying out label component setting operation on the label setting interface, wherein the label component setting operation comprises at least one of the following steps: selecting and dragging the existing label assembly in a label setting interface; and creating the label component in a label setting interface in a self-defined mode.
The content configuration data of the target tag component includes at least one of: content item identification information corresponding to the target tag component; displaying attribute information of data corresponding to the target label component; and typesetting information corresponding to the target label component.
By using the electronic device provided by the embodiment, the user-defined design requirements of the target entity object for the tag information display position and the tag content can be met, for example, a merchant can define 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 mode, so that the unique requirements of the merchant for the tag content and the typesetting thereof can be met.
In the above embodiments, a label printing method, a label printing apparatus, and an electronic device are provided, and furthermore, a sixth embodiment of the present application also provides a computer-readable storage medium for implementing the label printing method. The embodiments of the computer-readable storage medium provided in the present application are described relatively simply, and for relevant portions, reference may be made to the corresponding descriptions of the above method embodiments, and the embodiments described below are merely illustrative.
The present embodiments provide a computer readable storage medium having stored thereon computer instructions that, when executed by a processor, perform the steps of: 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 self-defined tag template, the target coordinate data is coordinate data of the target tag assembly relative to the self-defined tag template, and the self-defined tag template is obtained after tag assembly setting operation is carried out on a tag setting interface; according to the content configuration data and the target coordinate data, obtaining printing strategy data which is matched with the local printing equipment and aims at a target printing data object corresponding to the target label component; and converting the printing strategy data into a printing instruction aiming at the local printing equipment, so that the local printing equipment can execute the label printing operation.
Obtaining print policy data for a target print data object corresponding to a target label component adapted to a local printing device according to the content configuration data and the target coordinate data, comprising: restoring the self-defined label template in a mode of being matched with 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 component 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.
Based on the content configuration data and the target coordinate data, restoring the user-defined label template in a mode of being matched with the local printing equipment to obtain a label printing image file corresponding to the user-defined label template, wherein the method comprises the following steps: according to the corresponding relation between a preset printing carrier of local printing equipment and a self-defined label template, adjusting content configuration data of a target label assembly in the self-defined label template and target coordinate data of the target label assembly 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; and obtaining a label printing image file corresponding to the self-defined label template based on the printing content configuration data and the printing coordinate data.
And carrying out label component setting operation on the label setting interface, wherein the label component setting operation comprises at least one of the following steps: selecting and dragging the existing label assembly in a label setting interface; and creating the label component in a label setting interface in a self-defined mode.
The content configuration data of the target tag component includes at least one of: content item identification information corresponding to the target tag component; displaying attribute information of data corresponding to the target label component; and typesetting information corresponding to the target label component.
After being executed, the computer instructions stored in the computer-readable storage medium provided in this embodiment may satisfy the customized design requirements of the target entity object for the tag information display position and the tag content, for example, a merchant may customize the tag content based on its own requirements (e.g., information promotion requirements), and set the printing position of the tag content in a personalized manner, so as to satisfy the unique requirements of the merchant for the tag content and its layout.
The seventh embodiment of the present application provides a data processing method, and correspondingly, the seventh embodiment of the present application also provides a data processing apparatus, since the apparatus embodiment is basically similar to the method embodiment, so that the description is relatively simple, and the details of the related technical features can be found in the corresponding description of the method embodiment provided above, and the following description of the apparatus embodiment is only illustrative.
Referring to fig. 6, to understand the embodiment, fig. 6 is a block diagram of a unit of the apparatus provided in the embodiment, and as shown in fig. 6, the apparatus provided in the embodiment includes: a custom tag template obtaining unit 601, configured to obtain a custom tag template corresponding to a target entity object based on a tag component setting operation of a tag setting interface by an operation subject of the target entity object; a data obtaining unit 602, configured to obtain content configuration data of a target tag component included in a custom tag template and obtain target coordinate data of the target tag component relative to the custom tag template; a data sending unit 603, 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 sets operation aiming at the label component of the label setting interface, and the operation main body comprises at least one of the following steps: selecting and dragging the existing label assembly in a label setting interface by an operation main body of the target entity object; and the operation main body of the target entity object creates a tag component in a tag setting interface in a self-defined mode.
The method for obtaining the content configuration data of the target tag assembly contained in the custom tag template and obtaining the target coordinate data of the target tag assembly relative to the custom tag template comprises the following steps: acquiring 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;
sending the content configuration data and the target coordinate data to a tag management platform server, comprising: and sending the interface description data file to a label management platform server.
The content configuration data of the target tag component includes at least one of: content item identification information corresponding to the target tag component; displaying attribute information of data corresponding to the target label component; and typesetting information corresponding to the target label component.
By using the data processing device provided by the embodiment, the user-defined design requirements of the target entity object for the tag information display position and the tag content can be met, for example, a merchant can define 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 mode, so that the unique requirements of the merchant for the tag content and the typesetting thereof can be met.
In the above embodiments, a data processing method and a data processing apparatus are provided, and in addition, an eighth embodiment of the present application also provides an electronic device, which is basically similar to the method embodiment, so that description is relatively simple, and for details of related technical features, reference may be made to corresponding descriptions of the method embodiment provided above, and the following description of the electronic device embodiment is only illustrative. The embodiment of the electronic equipment is as follows:
please refer to fig. 7 for understanding the present embodiment, fig. 7 is a schematic view of an electronic device provided in 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 for implementing the data processing method, and when the computer instructions are read and executed by the processor 701, the computer instructions perform the following operations: setting operation aiming at a tag component of a tag setting interface based on an operation main body of a target entity object to obtain a self-defined tag template corresponding to the target entity object; acquiring content configuration data of a target tag assembly contained in a custom tag template and acquiring 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 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 operation main body of the target entity object sets operation aiming at the label component of the label setting interface, and the operation main body comprises at least one of the following steps: selecting and dragging the existing label assembly in a label setting interface by an operation main body of the target entity object; and the operation main body of the target entity object creates a tag component in a tag setting interface in a self-defined mode.
The method for obtaining the content configuration data of the target tag assembly contained in the custom tag template and obtaining the target coordinate data of the target tag assembly relative to the custom tag template comprises the following steps: acquiring 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;
sending the content configuration data and the target coordinate data to a tag management platform server, comprising: and sending the interface description data file to a label management platform server.
The content configuration data of the target tag component includes at least one of: content item identification information corresponding to the target tag component; displaying attribute information of data corresponding to the target label component; and typesetting information corresponding to the target label component.
By using the electronic device provided by the embodiment, the user-defined design requirements of the target entity object for the tag information display position and the tag content can be met, for example, a merchant can define 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 mode, so that the unique requirements of the merchant for the tag content and the typesetting thereof can be met.
In the above embodiments, a data processing method, a data processing apparatus, and an electronic device are provided, and furthermore, a ninth embodiment of the present application provides a computer-readable storage medium for implementing the above label printing method. The embodiments of the computer-readable storage medium provided in the present application are described relatively simply, and for relevant portions, reference may be made to the corresponding descriptions of the above method embodiments, and the embodiments described below are merely illustrative.
The present embodiments provide a computer readable storage medium having stored thereon computer instructions that, when executed by a processor, perform the steps of: setting operation aiming at a tag component of a tag setting interface based on an operation main body of a target entity object to obtain a self-defined tag template corresponding to the target entity object; acquiring content configuration data of a target tag assembly contained in a custom tag template and acquiring 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 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 operation main body of the target entity object sets operation aiming at the label component of the label setting interface, and the operation main body comprises at least one of the following steps: selecting and dragging the existing label assembly in a label setting interface by an operation main body of the target entity object; and the operation main body of the target entity object creates a tag component in a tag setting interface in a self-defined mode.
The method for obtaining the content configuration data of the target tag assembly contained in the custom tag template and obtaining the target coordinate data of the target tag assembly relative to the custom tag template comprises the following steps: acquiring 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;
sending the content configuration data and the target coordinate data to a tag management platform server, comprising: and sending the interface description data file to a label management platform server.
The content configuration data of the target tag component includes at least one of: content item identification information corresponding to the target tag component; displaying attribute information of data corresponding to the target label component; and typesetting information corresponding to the target label component.
After being executed, the computer instructions stored in the computer-readable storage medium provided in this embodiment may satisfy the customized design requirements of the target entity object for the tag information display position and the tag content, for example, a merchant may customize the tag content based on its own requirements (e.g., information promotion requirements), and set the printing position of the tag content in a personalized manner, so as to satisfy the unique requirements of the merchant for the tag content and its layout.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
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 computer storage media 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 that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include non-transitory computer readable media (transient media), such as modulated data signals and carrier waves.
2. As will be appreciated by one skilled in the art, 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.
Although the present application has been described with reference to the preferred embodiments, it is not intended to limit the present application, and those skilled in the art can make variations and modifications without departing from the spirit and scope of the present application, therefore, the scope of the present application should be determined by the claims that follow.

Claims (10)

1. A label printing system, comprising: the system comprises a label setting end, a label management platform server and a label printing terminal;
the tag setting end is used for obtaining content configuration data of a target tag assembly contained in a custom tag template corresponding to a target entity object and obtaining target coordinate data of the target tag assembly relative to the custom tag template; sending 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 local printing equipment and aims at 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, so that the local printing equipment can execute label printing operation.
2. The label printing system according to claim 1, wherein the obtaining of the content configuration data of the target label component included in the custom label template corresponding to the target entity object and the obtaining of the target coordinate data of the target label component with respect to the custom label template comprises:
setting operation aiming at a tag component of a tag setting interface based on the operation main body of the target entity object, and obtaining a self-defined tag template corresponding to 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 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 according to claim 2, wherein the operation body of the target entity object sets an operation for a label component of a label setting interface, including at least one of:
the operation main body of the target entity object selects and drags the existing label assembly in the label setting interface;
and the operation main body of the target entity object creates a tag component in a tag setting interface in a self-defined mode.
4. 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, and the custom tag template is obtained after tag assembly setting operation is carried out on a tag setting interface;
according to the content configuration data and the target coordinate data, obtaining printing strategy data which is matched with local printing equipment and aims at a target printing data object corresponding to the target label component;
and converting the printing strategy data into a printing instruction aiming at the local printing equipment, so that the local printing equipment can execute label printing operation.
5. The method of claim 4, wherein obtaining print policy data for a target print data object corresponding to the target label component that is adapted to a local printing device based on the content configuration data and the target coordinate data comprises:
restoring the self-defined label template in a mode of being 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 component 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 local printing equipment and aims at the target printing data object.
6. A data processing method, comprising:
setting operation aiming at a tag component of a tag setting interface based on an operation main body of a target entity object, and obtaining a self-defined tag template corresponding to the target entity object;
obtaining content configuration data of a target tag assembly contained in the custom tag template and obtaining 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 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.
7. A label printing apparatus, comprising:
the system comprises a data receiving unit, a tag management platform server and a tag setting interface, wherein the data receiving unit is used for receiving content configuration data and target coordinate data sent by the tag management platform server, the content configuration data is content configuration data of a target tag assembly contained in a self-defined tag template, the target coordinate data is coordinate data of the target tag assembly relative to the self-defined tag template, and the self-defined tag template is obtained after tag assembly setting operation is carried out on a tag setting interface;
a printing strategy data obtaining unit, configured to obtain, according to the content configuration data and the target coordinate data, printing strategy data that is adapted to a local printing device and is for a target printing data object corresponding to the target label component;
and the printing instruction converting unit is used for converting the printing strategy data into a printing instruction aiming at the local printing equipment, so that the local printing equipment can execute label printing operation.
8. A data processing apparatus, comprising:
the user-defined tag template obtaining unit is used for setting operation aiming at a tag component of a tag setting interface based on an operation main body of a target entity object, and obtaining a user-defined tag template corresponding to the target entity object;
the data acquisition unit is used for acquiring content configuration data of a target tag assembly contained in the custom tag template and acquiring target coordinate data of the target tag assembly relative to the custom tag 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 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.
9. An electronic device comprising a processor and a memory; wherein the content of the first and second substances,
the memory is to store one or more computer instructions, wherein the one or more computer instructions are to be executed by the processor to implement the method of claims 4-6.
10. A computer-readable storage medium having stored thereon one or more computer instructions for execution by a processor to perform the method of claims 4-6.
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 true CN112068783A (en) 2020-12-11
CN112068783B 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 (8)

* 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
US20150242713A1 (en) * 2014-02-27 2015-08-27 Xerox Corporation Apparatus, system, and method for personalized medication labels
US20160328190A1 (en) * 2015-05-08 2016-11-10 Ecolab Usa Inc. Multi-level system for label creation and printing
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

Patent Citations (8)

* 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
US20150242713A1 (en) * 2014-02-27 2015-08-27 Xerox Corporation Apparatus, system, and method for personalized medication labels
CN104598178A (en) * 2014-12-30 2015-05-06 福建星网视易信息系统有限公司 Port printing method and device
US20160328190A1 (en) * 2015-05-08 2016-11-10 Ecolab Usa Inc. Multi-level system for label creation and printing
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模式下条形码票证自定义打印的设计和实现", 计算机应用与软件, no. 12, pages 176 - 179 *

Also Published As

Publication number Publication date
CN112068783B (en) 2023-09-19

Similar Documents

Publication Publication Date Title
CN105528408B (en) Page display method and device
US20140122298A1 (en) Mobile Information Tool System and Method
US8134553B2 (en) Rendering three-dimensional objects on a server computer
US8928932B2 (en) System and method for creating multi-formatted documents via an online portal
US20150285671A1 (en) System and method of encoding item information from a scale in a self-service scanning solution
US9881407B1 (en) Systems, methods, and devices for integrated product and electronic image fulfillment
CN112265384B (en) Data printing method and device
US20140188645A1 (en) Methods and devices for generating and reporting digital qr receipts
CN112330532A (en) Image analysis processing method and equipment
CN108829363A (en) Business voucher Method of printing and device
CN110298625A (en) Logistics data processing method, device, equipment and storage medium
CN112486436A (en) HTML dynamic filling data printing instruction generation method, system and printer
CN111949229A (en) Method and device for printing bill, computer equipment and storage medium
CN108492131A (en) Advertisement placement method and system, equipment and storage medium
CN111240609A (en) Data printing method and device, electronic equipment and storage medium
CN112068783B (en) Label printing system and method
CN111756799A (en) Method and device for processing printing information
US9116643B2 (en) Retrieval of electronic document using hardcopy document
US20130275256A1 (en) System and Method for Ordering Promotional Products
US11113461B2 (en) Generating edit suggestions for transforming digital documents
CN112988090A (en) Method and device for data printing management
US20120170078A1 (en) Image processing system and method
KR20160144136A (en) Method and program of generating a smart catalog
CN113034077A (en) Information processing method, system, electronic device, storage medium, and program product
CN113703699B (en) Real-time output method and device for electronic file

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