CN111638860B - Implementation method for UHF printer and UHF printer - Google Patents

Implementation method for UHF printer and UHF printer Download PDF

Info

Publication number
CN111638860B
CN111638860B CN202010481912.0A CN202010481912A CN111638860B CN 111638860 B CN111638860 B CN 111638860B CN 202010481912 A CN202010481912 A CN 202010481912A CN 111638860 B CN111638860 B CN 111638860B
Authority
CN
China
Prior art keywords
uhf
printer
printing
offline
writer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010481912.0A
Other languages
Chinese (zh)
Other versions
CN111638860A (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.)
Guangzhou Treasury Material Union Technology Co ltd
Original Assignee
Guangzhou Treasury Material Union Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Treasury Material Union Technology Co ltd filed Critical Guangzhou Treasury Material Union Technology Co ltd
Priority to CN202010481912.0A priority Critical patent/CN111638860B/en
Publication of CN111638860A publication Critical patent/CN111638860A/en
Application granted granted Critical
Publication of CN111638860B publication Critical patent/CN111638860B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1202Dedicated interfaces to print systems specifically adapted to achieve a particular effect
    • G06F3/121Facilitating exception or error detection and recovery, e.g. fault, media or consumables depleted
    • 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/1211Improving printing performance
    • 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/126Job scheduling, e.g. queuing, determine appropriate device
    • 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/1268Job submission, e.g. submitting print job order or request not the print data itself
    • 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/1278Dedicated interfaces to print systems specifically adapted to adopt a particular infrastructure
    • G06F3/1279Controller construction, e.g. aspects of the interface hardware
    • 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/1296Printer job scheduling or printer resource handling

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)
  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

The invention discloses an implementation method for a UHF printer and the printer, wherein the method comprises the following steps: storing a print task issued by a service system into an offline print system with an association relation with the service system, wherein the offline print system is configured in a UHF printer and is used for controlling the work of the UHF printer according to the stored print task; when the business system and the offline printing system are in a network connection fault state, the offline printing system controls the UHF printer to work according to the currently stored printing task. Therefore, the function that the UHF printer can still print normally when the service system and the UHF printer have network faults can be realized.

Description

Implementation method for UHF printer and UHF printer
Technical Field
The invention relates to the technical field of engine control, in particular to an implementation method for a UHF printer and the UHF printer.
Background
With the popularization of UHF (Ultra High Frequency ) technology, UHF is applied to printers at present, but most of UHF-based printers are connected to a service system through a network cable, and then print through service system control. However, when the network fails, the service system is required to process the network connection state and the service state at this time, and the UHF printer itself does not have an offline printing function, so that service interruption is caused, and the service efficiency of the printer is affected.
Disclosure of Invention
The invention aims to solve the technical problem of providing an implementation method for a UHF printer and the printer.
In order to solve the technical problem, a first aspect of the present invention discloses a method for implementing a UHF printer, which includes: storing a print task issued by a service system into an offline print system with an association relation with the service system, wherein the offline print system is configured in a UHF printer and is used for controlling the work of the UHF printer according to the stored print task; when the business system and the offline printing system are in a network connection fault state, the offline printing system controls the UHF printer to work according to the currently stored printing task. In some embodiments, the method further comprises: when the UHF printer is restarted, the work of the UHF printer is controlled according to the print task stored by the offline printing system when the UHF printer is closed last time.
In some embodiments, the business system includes one or more, controlling the UHF printer to operate includes generating a print sequence according to an order of print jobs issued by the one or more business systems while the print jobs are stored by the offline printing system; and calling a printing function interface of the UHF printer, and controlling the UHF printer to execute a printing task according to the printing sequence.
According to a second aspect of the present invention, there is disclosed an offline printing system for a UHF printer, comprising: the storage module is used for acquiring and storing the print task issued by the service system; the calling module is used for calling a printing function interface of the UHF printer according to the stored printing task and controlling the UHF printer to work; and the offline working module is used for controlling the UHF printer to work through the calling module according to the currently stored printing task when the network connection fault state of the service system exists.
In some embodiments, the system further comprises: and the power-off recovery module is used for controlling the UHF printer to work through the calling module according to the print task stored when the UHF printer is closed last time when the UHF printer is recovered to be started.
In some embodiments, the offline printing system establishes an association with one or more business systems, and the calling module is implemented as: generating a printing sequence according to the order of the printing tasks issued by the one or more stored business systems; and calling a printing function interface of the UHF printer, and controlling the UHF printer to execute a printing task according to the printing sequence.
According to a third aspect of the present invention there is provided a printer for UHF, the printer comprising: a UHF printer; and the offline printing system is configured in the UHF printer, wherein the offline printing system has an association relationship with one or more service systems.
The fourth aspect of the present invention discloses a printer for implementing a UHF printer, the printer comprising:
a memory storing executable program code;
a processor coupled to the memory;
the processor invokes the executable program code stored in the memory to perform any of the implementation methods for a UHF printer described in the first aspect of the invention.
A fifth aspect of the invention discloses a computer storage medium storing computer instructions which, when invoked, are adapted to carry out the method of any of the first aspects of the invention for a UHF printer.
Compared with the prior art, the invention has the beneficial effects that:
the invention can realize the offline printing function through the offline printing system, and solves the problem that the UHF printer can not print normally when the service system and the UHF printer have network faults in the prior art. Moreover, by configuring the offline printing system and one or more business systems in a management relationship, the UHF printing service can be invoked at the same time, the offline printing system can realize a printing queue, and the printing tasks of different business systems can print sequentially according to the sequence of the printing sequences of first-in first-out, so that the printing tasks are not mutually interfered. Through the storage function of the offline printing system, when the service system terminal or the UHF printer is suddenly powered off, data cannot be lost due to power failure because all the printing tasks are stored through the offline printing system. After the power-on is restored, the off-line printing system automatically restores the state before power-off and continues to execute the printing task.
Drawings
Fig. 1 is a schematic flow chart of an implementation method for a UHF printer according to an embodiment of the present invention;
FIG. 2 is a block diagram of an offline printing system for a UHF printer in accordance with an embodiment of the present invention;
FIG. 3 is a schematic diagram of a UHF printer according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of another implementation device for a UHF printer according to an embodiment of the present invention.
Detailed Description
For a better understanding and implementation, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is apparent that the described embodiments are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or modules is not necessarily limited to those steps or modules that are expressly listed or inherent to such process, method, article, or apparatus.
The embodiment of the invention discloses an implementation method for a UHF printer and the printer, which can realize an offline printing function through an offline printing system and solve the problem that the UHF printer cannot print normally when a service system and the UHF printer have network faults in the prior art. Moreover, by configuring the offline printing system and one or more business systems in a management relationship, the UHF printing service can be invoked at the same time, the offline printing system can realize a printing queue, and the printing tasks of different business systems can print sequentially according to the sequence of the printing sequences of first-in first-out, so that the printing tasks are not mutually interfered. Through the storage function of the offline printing system, when the service system terminal or the UHF printer is suddenly powered off, data cannot be lost due to power failure because all the printing tasks are stored through the offline printing system. After the power-on is restored, the off-line printing system automatically restores the state before power-off and continues to execute the printing task.
Example 1
Referring to fig. 1, fig. 1 is a flow chart of an implementation method for a UHF printer according to an embodiment of the invention. The method described in fig. 1 may be, but is not limited to, an embodiment of the present invention. As shown in fig. 1, the implementation method for a UHF printer may include the following operations:
101. storing the print task issued by the service system to an offline print system with an association relation with the service system, wherein the offline print system is configured in the UHF printer and is used for controlling the work of the UHF printer according to the stored print task.
The mode that the offline printing system is configured in the UHF printer is specifically implemented as follows: the off-line printing system comprises a plurality of UHF readers/writers. First, a database having a plurality of types of UHF reader/writer SDK information is configured in the offline printing system. SDK information in the database is generally provided by a manufacturer of the UHF reader/writer, and includes device information (hardware identifier, model, IP address/bluetooth name, baud rate, etc.), tag information (TID, EPC, read/write time, password, etc.), GPIO information (IO identifier, high level/low level, etc.) and the like of the UHF reader/writer of the corresponding model, and program interfaces for behavior control of the respective UHF readers/writers, which illustratively include: connecting a reader/writer, turning on/off the reader/writer, reading an RFID tag/tags, writing data to a specific RFID tag, and the like. If the SDK information of the subsequently accessed UHF reader is not in the database, the database can be subjected to custom expansion and update, so that the application range is wider, and the SDK information provided by the embodiment is not limited to be stored in a common database, but can be stored in a mode of forming a file and the like. Thereafter, an abstract data interface is constructed. Because the functions and the docking modes of the SDK information provided by the manufacturers of the UHF readers are different, an abstract interface is defined to unify the functions and the docking modes of the SDK information of all the UHF readers, so that an upper computer/service system can conveniently communicate and call by using a cross-platform/cross-language communication interface (RPC/Http/shared file/Bluetooth and the like), and the abstract data interface is specifically realized to unify calling modes by unifying the substantially same characteristics of the readers. Illustratively, the reader-writer A has a function set { open reader-writer, close reader-writer }, its disclosure method corresponding to SDK is { OpenReader () }; the reader-writer B has a function set { open reader-writer, close reader-writer }, and the method for disclosing the corresponding SDK is { EnableReader () }; obviously, the function sets of the A, B two readers are identical, but names/methods are different because of different naming manners of SDKs of different manufacturers. When the same functions of the A, B two types of readers are abstracted through the abstracted data interface, the function sets are collectively named as { OpenReader () }, closeReader () }, so that the calling mode is unified. Illustratively, the SDK information of the UHF reader A is provided in a programming language C++, and is communicated with an upper computer/service system in a serial/USB mode; the SDK information of the UHF reader-writer B is provided in a programming language C# and is communicated with an upper computer/service system in a wired network port mode, and after the two UHF readers of A, B are respectively connected, the upper computer/service system can respectively communicate and control with A, B through a designated programming language (such as Java) and a designated data interface (such as Bluetooth) by the control system. Before the UHF reader-writer is connected, the UHF reader-writer to be accessed is registered through an abstract data interface, and registration information is generated through a manual input mode or an automatic identification mode. The connected UHF reader-writer needs to find the SDK information corresponding to the UHF reader-writer to perform related control operation. Therefore, the type of the accessed reader/writer needs to be identified to find the corresponding SDK in the SDK library. The registration information and the SDK information of the corresponding UHF reader-writer have an association relation and have a unique identification function. The registration information contains basic device information such as device ID of the UHF reader, for example, UID (unique identity) is obtained by means of automatic identification or manual marking for the accessed reader a and reader B to realize registration, and the device is explicitly represented as different devices in the system. Therefore, when in use, the calling party can call the corresponding SDK by the invention only by providing the UID corresponding to the A, B reader-writer. Thus, different UHF readers/writers can be distinguished. When the UHF reader-writer is connected, acquiring registration information of the connected UHF reader-writer, and acquiring SDK information adapted to the connected UHF reader-writer according to the association relation between the acquired registration information and the SDK information. The SDK information comprises a device ID and an SDK storage path, and is specifically realized as follows: firstly, reading the equipment ID of an accessed UHF reader-writer, acquiring an SDK storage path of an associated SDK according to the equipment ID, and connecting to a corresponding SDK in a database according to the acquired SDK storage path, wherein the SDK information also comprises default configuration items matched with each SDK. After the device ID of the accessed UHF reader is read, the default configuration item of the SDK associated with the device ID is obtained according to the device ID, the device is connected to the corresponding SDK according to the obtained SDK storage path, and the accessed UHF reader is driven to work by the default configuration item. The default item can be configured in a self-defined manner according to different service scenes and requirements, so that the mode of connecting the reader-writer, starting the reader-writer and starting to read the RFID tag can be realized, the mode can be realized to at least comprise configuration information for connecting the reader-writer, starting the reader-writer and starting to read the RFID tag, in other embodiments, the mode can also comprise configuration information such as antenna power setting, baud rate setting, IP address setting and the like, the UHF reader-writer can work after being accessed, the SDK can be directly called regardless of any type of UHF reader-writer, only the SDK information is stored in a database, the operation is performed according to the corresponding default configuration item, the function of accessing the diversified UHF reader-writer is realized, and the UHF reader-writer is compatible. Therefore, a database with SDK information of the UHF reader-writer can be built, a referenceable object can be provided before different UHF reader-writers are accessed, and the corresponding UHF reader-writer does not need to be known and learned according to the specification. Thus, the off-line printing system can directly establish connection with the UHF printer through the UHF reader-writer. Further, the off-line printing system may be implemented as a micro-host installed on a UHF printer, and illustratively includes raspberry pie, UP, etc., with a built-in Linux or Windows system having a plurality of different types of data interfaces (e.g., USB, wired network, bluetooth, WIFI, GPIO, etc.). The micro-host provided with the off-line printing system is directly connected with the UHF printer network cable, so that control signals and printing task data can be transmitted.
In order to solve the problem that the UHF printer cannot function normally due to network failure between a service system connected with the UHF printer and the UHF printer in the prior art. An offline printing system with an association relation with the service system is set, and the offline printing system is directly connected with a printer through a UHF reader-writer of the offline printing system. The business system comprises a computer, a mobile phone and other network interruption connected with the UHF printer, and when the network connection is normal, the printing task is issued to the offline printing system for storage, and the establishment of the association relationship is realized by the network connection mode. The mode of issuing the print job can transmit the print job to the offline printing system through a network transmission mode.
102. When the business system and the offline printing system are in a network connection fault state, the offline printing system controls the UHF printer to work according to the currently stored printing task.
When the UHF printer works, network connection with a service system suddenly fails, and the printer stops working in the prior art, so that the working efficiency is greatly influenced. At this time, the offline printing system and the UHF printer are still in a connection state, and data transmission can be performed, so that the print tasks stored in the offline printing system in a lasting mode can be transmitted to the UHF printer, and the UHF printer can still work normally, thereby realizing offline printing.
As an embodiment, the method further comprises: when the UHF printer is restarted, the work of the UHF printer is controlled according to the print task stored by the offline printing system when the UHF printer is closed last time. When the UHF printer is suddenly powered off in use or a service system terminal connected with the UHF printer is suddenly powered off, since the print tasks of all the UHF printers are stored on the micro host computer in a lasting way through the offline printing system, the print task data cannot be lost due to power off. After the UHF printer is powered on again and is started up, the off-line printing system automatically resumes the printing task before power off and continuously controls the UHF printer to continuously execute the printing task. The problem of low working efficiency caused by UHF printers which also need to be artificially transmitted through a service system is avoided.
As an implementation manner, there may be multiple service systems having association with the offline printing system, and different network terminals (such as computer programs and mobile phone APP) of the multiple service systems are connected with the offline printing system at the same time, and when the offline printing system stores a print job, the offline printing system generates a print sequence according to the receiving order of the print job issued by the multiple service systems; and then calling a printing function interface of the UHF printer, and controlling the UHF printer to sequentially execute the printing tasks according to the printing task sequence of the printing sequence. Therefore, UHF printing service can be called at the same time, printing tasks of different network terminals can be sequentially printed according to the first-in first-out order, and the printing tasks are not mutually interfered.
According to the method disclosed by the embodiment, the offline printing function can be realized through the offline printing system, and the problem that the UHF printer cannot print normally when the service system and the UHF printer have network faults in the prior art is solved. Moreover, by configuring the offline printing system and one or more business systems in a management relationship, the UHF printing service can be invoked at the same time, the offline printing system can realize a printing queue, and the printing tasks of different business systems can print sequentially according to the sequence of the printing sequences of first-in first-out, so that the printing tasks are not mutually interfered. Through the storage function of the offline printing system, when the service system terminal or the UHF printer is suddenly powered off, data cannot be lost due to power failure because all the printing tasks are stored through the offline printing system. After the power-on is restored, the off-line printing system automatically restores the state before power-off and continues to execute the printing task.
Referring to fig. 2, depicted in fig. 2 is an offline printing system for a UHF printer, the system comprising:
and the storage module 1 is used for acquiring and storing the printing task issued by the service system.
And the calling module 2 is used for calling a printing function interface of the UHF printer according to the stored printing task and controlling the work of the UHF printer.
And the offline working module 3 is used for controlling the UHF printer to work through the calling module according to the currently stored printing task when the network connection with the service system fails.
And the power-off recovery module 4 is used for controlling the work of the UHF printer through the calling module according to the print task stored when the UHF printer is closed last time when the UHF printer is recovered to be started.
The offline printing system establishes an association relationship with one or more service systems, and the calling module 2 is implemented as follows:
generating a printing sequence according to the order of the printing tasks issued by the one or more stored business systems;
and calling a printing function interface of the UHF printer, and controlling the UHF printer to execute a printing task according to the printing sequence.
When the UHF printer works, network connection with a service system suddenly fails, and the printer stops working in the prior art, so that the working efficiency is greatly influenced. At this time, the offline printing system and the UHF printer are still in a connection state, and data transmission can be performed through the offline working module 3, so that the print tasks stored in the offline printing system in a lasting manner can be transmitted to the UHF printer, and the UHF printer can still work normally, thereby realizing offline printing.
When the UHF printer is suddenly powered off in use or a service system terminal connected with the UHF printer is suddenly powered off, since the print tasks of all the UHF printers are stored on the micro host computer in a lasting way through the offline printing system, the print task data cannot be lost due to power off. After the UHF printer is powered on again and is started up, the power-off restoration module 4 automatically restores the print job before power off and continuously controls the UHF printer to continuously execute the print job. The problem of low working efficiency caused by UHF printers which also need to be artificially transmitted through a service system is avoided.
As a preferred embodiment, there may be multiple service systems having an association relationship with the offline printing system, and different network terminals (such as computer programs and mobile phone APP) of the multiple service systems are connected with the offline printing system at the same time, where the offline printing system generates a print sequence according to a receiving order of the print tasks issued by the multiple service systems when storing the print tasks; and then calling a printing function interface of the UHF printer, and controlling the UHF printer to sequentially execute the printing tasks according to the printing task sequence of the printing sequence. Therefore, UHF printing service can be called at the same time, printing tasks of different network terminals can be sequentially printed according to the first-in first-out order, and the printing tasks are not mutually interfered.
According to the system disclosed by the embodiment, an offline printing function can be realized through an offline printing system, and the problem that the UHF printer cannot print normally when a network fault occurs between a service system and the UHF printer in the prior art is solved. Moreover, by configuring the offline printing system and one or more business systems in a management relationship, the UHF printing service can be invoked at the same time, the offline printing system can realize a printing queue, and the printing tasks of different business systems can print sequentially according to the sequence of the printing sequences of first-in first-out, so that the printing tasks are not mutually interfered. Through the storage function of the offline printing system, when the service system terminal or the UHF printer is suddenly powered off, data cannot be lost due to power failure because all the printing tasks are stored through the offline printing system. After the power-on is restored, the off-line printing system automatically restores the state before power-off and continues to execute the printing task.
Example III
Referring to fig. 3, fig. 3 illustrates a UHF printer, comprising:
the manner of configuring the off-line printing system on the UHF printer can be realized as a micro-host mounted on the UHF printer, and the off-line printing system comprises raspberry pie, developed UP and the like, wherein a Linux or Windows system is built in the off-line printing system, and a plurality of different types of data interfaces (such as USB, wired network ports, bluetooth, WIFI, GPIO and the like) are arranged. The micro-host provided with the off-line printing system is directly connected with the UHF printer network cable, so that control signals and printing task data can be transmitted. For the specific implementation of the offline printing system, reference may be made to the foregoing, and details are not repeated herein.
Wherein the offline printing system has an association with one or more business systems. For different network terminals (such as computer programs, mobile phones APP and the like) of a plurality of service systems, connection is established with an offline printing system at the same time, and when the offline printing system stores printing tasks, a printing sequence is generated according to the receiving sequence of the printing tasks issued by the service systems; and then calling a printing function interface of the UHF printer, and controlling the UHF printer to sequentially execute the printing tasks according to the printing task sequence of the printing sequence. Therefore, UHF printing service can be called at the same time, printing tasks of different network terminals can be sequentially printed according to the first-in first-out order, and the printing tasks are not mutually interfered.
Example IV
Referring to fig. 4, fig. 4 is a schematic structural diagram of another implementation device for a UHF printer according to an embodiment of the present invention. The printer described in fig. 4 may be, but the embodiment of the invention is not limited to, the printer.
As shown in fig. 4, the printer may include:
a memory 401 storing executable program codes;
a processor 402 coupled with the memory 401;
the processor 402 invokes executable program codes stored in the memory 401 for performing the implementation method for the UHF printer described in the first embodiment.
Example five
The embodiment of the invention discloses a computer-readable storage medium storing a computer program for electronic data exchange, wherein the computer program causes a computer to execute the implementation method for a UHF printer described in the embodiment one.
Example six
An embodiment of the present invention discloses a computer program product including a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to perform the implementation method for a UHF printer described in the first or second embodiment.
The embodiments described above are merely illustrative, wherein the modules illustrated as separate components may or may not be physically separate, and the components shown as modules may or may not be physical, i.e., may be located in one place, or may be distributed over a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above detailed description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course by means of hardware. Based on such understanding, the foregoing technical solutions may be embodied essentially or in part in the form of a software product that may be stored in a computer-readable storage medium including Read-Only Memory (ROM), random-access Memory (Random Access Memory, RAM), programmable Read-Only Memory (Programmable Read-Only Memory, PROM), erasable programmable Read-Only Memory (Erasable Programmable Read Only Memory, EPROM), one-time programmable Read-Only Memory (OTPROM), electrically erasable programmable Read-Only Memory (EEPROM), compact disc Read-Only Memory (Compact Disc Read-Only Memory, CD-ROM) or other optical disc Memory, magnetic disc Memory, tape Memory, or any other medium that can be used for computer-readable carrying or storing data.
Finally, it should be noted that: the embodiment of the invention discloses a realization method for a UHF printer and the printer, which are only disclosed as the preferred embodiment of the invention, and are only used for illustrating the technical scheme of the invention, but not limiting the technical scheme; although the invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art will understand that; the technical scheme recorded in the various embodiments can be modified or part of technical features in the technical scheme can be replaced equivalently; such modifications and substitutions do not depart from the spirit and scope of the corresponding technical solutions.

Claims (9)

1. A method for implementing a UHF printer, the method comprising:
storing the print task issued by the service system to an offline print system with an association relationship with the service system, wherein the offline print system is configured in a UHF printer and is used for controlling the work of the UHF printer according to the stored print task, and the method comprises the following steps:
configuring a database with SDK information of UHF readers/writers of various types;
constructing an abstract data interface;
before the UHF reader-writer is connected, registering the UHF reader-writer to be accessed through the abstracted data interface to generate registration information, wherein the registration information has an association relation with SDK information of the corresponding UHF reader-writer;
when a UHF reader-writer is connected, acquiring registration information of the connected UHF reader-writer, acquiring SDK information adapted to the connected UHF reader-writer according to the association relation between the acquired registration information and the SDK information, and controlling the connected UHF reader-writer according to the SDK information;
when the service system and the offline printing system are in a network connection fault state, the offline printing system controls the UHF printer to work according to the currently stored printing task.
2. The method of claim 1, further comprising:
when the UHF printer is restarted, the work of the UHF printer is controlled according to the print task stored by the offline printing system when the UHF printer is closed last time.
3. The implementation method for a UHF printer according to claim 1 or 2, wherein the service system comprises one or more of:
when the offline printing system stores the printing tasks, a printing sequence is generated according to the order of the printing tasks issued by one or more business systems;
and calling a printing function interface of the UHF printer, and controlling the UHF printer to execute a printing task according to the printing sequence.
4. An offline printing system for a UHF printer, comprising:
the storage module is used for acquiring and storing the print task issued by the service system;
the calling module is used for calling the printing function interface of the UHF printer according to the stored printing task and controlling the work of the UHF printer, and comprises the following steps:
configuring a database with SDK information of UHF readers/writers of various types;
constructing an abstract data interface;
before the UHF reader-writer is connected, registering the UHF reader-writer to be accessed through the abstracted data interface to generate registration information, wherein the registration information has an association relation with SDK information of the corresponding UHF reader-writer;
when a UHF reader-writer is connected, acquiring registration information of the connected UHF reader-writer, acquiring SDK information adapted to the connected UHF reader-writer according to the association relation between the acquired registration information and the SDK information, and controlling the connected UHF reader-writer according to the SDK information;
and the offline working module is used for controlling the UHF printer to work through the calling module according to the currently stored printing task when the network connection fault state of the service system is reached.
5. The offline printing system for a UHF printer of claim 4, further comprising:
and the power-off recovery module is used for controlling the UHF printer to work through the calling module according to the print task stored when the UHF printer is closed last time when the UHF printer is recovered to be started.
6. The offline printing system for a UHF printer of claim 4 or 5, wherein the offline printing system establishes an association with one or more business systems, the invoking module is implemented to:
generating a printing sequence according to the order of the printing tasks issued by the one or more stored business systems;
and calling a printing function interface of the UHF printer, and controlling the UHF printer to execute a printing task according to the printing sequence.
7. A UHF printer, the UHF printer comprising:
a UHF printer; and
the offline printing system of any of claims 4-6 configured in the UHF printer, wherein the offline printing system has an association with one or more business systems.
8. An apparatus for a UHF printer, the apparatus comprising:
a memory storing executable program code;
a processor coupled to the memory;
the processor invokes the executable program code stored in the memory to perform the implementation method for a UHF printer according to any one of claims 1-3.
9. A computer storage medium storing computer instructions which, when invoked, are adapted to perform the method of implementing the UHF printer of any one of claims 1-3.
CN202010481912.0A 2020-05-28 2020-05-28 Implementation method for UHF printer and UHF printer Active CN111638860B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010481912.0A CN111638860B (en) 2020-05-28 2020-05-28 Implementation method for UHF printer and UHF printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010481912.0A CN111638860B (en) 2020-05-28 2020-05-28 Implementation method for UHF printer and UHF printer

Publications (2)

Publication Number Publication Date
CN111638860A CN111638860A (en) 2020-09-08
CN111638860B true CN111638860B (en) 2024-01-02

Family

ID=72329905

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010481912.0A Active CN111638860B (en) 2020-05-28 2020-05-28 Implementation method for UHF printer and UHF printer

Country Status (1)

Country Link
CN (1) CN111638860B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113900603B (en) * 2021-12-10 2022-04-01 统信软件技术有限公司 Analog printing method, computing device and storage medium
CN115629725B (en) * 2022-10-27 2023-10-10 北京鑫创数字科技股份有限公司 Off-line printing method and device of ink jet printer, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005056195A (en) * 2003-08-05 2005-03-03 Dainippon Printing Co Ltd Off-line printer
CN1892576A (en) * 2005-06-29 2007-01-10 三星电子株式会社 Method and apparatus for controlling printing jobs of image forming device when off-line
KR20100003401A (en) * 2008-07-01 2010-01-11 이성환 Univesally popular print system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100471680C (en) * 2005-07-28 2009-03-25 深圳市博思得通信发展有限公司 RFID tag printing system and method
US20080104010A1 (en) * 2006-10-31 2008-05-01 Symbol Technologies, Inc. Configuring initialized RFID readers using RFID tags
US7931205B2 (en) * 2008-02-04 2011-04-26 Avery Dennison Corporation Printer with integrated RFID data collector

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005056195A (en) * 2003-08-05 2005-03-03 Dainippon Printing Co Ltd Off-line printer
CN1892576A (en) * 2005-06-29 2007-01-10 三星电子株式会社 Method and apparatus for controlling printing jobs of image forming device when off-line
KR20100003401A (en) * 2008-07-01 2010-01-11 이성환 Univesally popular print system

Also Published As

Publication number Publication date
CN111638860A (en) 2020-09-08

Similar Documents

Publication Publication Date Title
CN111638860B (en) Implementation method for UHF printer and UHF printer
US20050204167A1 (en) Systems and methods for access control
EP2377291B1 (en) Portable mobile communication device and method of controlling near field communication
EP3506086B1 (en) Method for updating or upgrading firmware of a radio frequency identification reader
US11409975B2 (en) Passive near field communication (NFC) device, method and system
CN104732329A (en) Device tracking method and system
CN111901793B (en) UICC application setting information management method and system, UICC smart card and terminal
CN114727275B (en) Method and related device for processing active command
CN113518341B (en) eSIM code number management method and device
CN104158709A (en) Optical module identification method and port extender
CN111541629A (en) Mode self-adaption method, device, equipment and computer readable storage medium
CN112130883A (en) Software upgrading method and device, electronic equipment and storage medium
CN109885312B (en) Method and system for single firmware to be compatible with multiple hardware models
Floerkemeier et al. RFID applications: interfacing with readers
CN110401934B (en) Method for managing equipment, management equipment and computer readable storage medium
CN114417900A (en) System and method for realizing unified read-write card and peripheral access
CN114339721A (en) eSIM card number management method, storage medium, electronic device and apparatus
CN107038038B (en) Method for operating large-capacity USIM applet
CN210005883U (en) Intelligent micro-grid communication module and intelligent micro-grid system
CN113434281A (en) Equipment scheduling method and cloud platform
US20100156601A1 (en) LLRP-Based Flexible Reader System And Method
CN112887958A (en) Data storage method, storage medium and terminal equipment
CN111611018A (en) Method, terminal system and equipment for being compatible with multi-model UHF reader-writers
CN116842970B (en) Information processing method, device, equipment and storage medium
CN111541568B (en) Switch configuration method, device, equipment and computer readable storage medium

Legal Events

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