CN111324312A - Information processing system, device, method, medium and equipment - Google Patents

Information processing system, device, method, medium and equipment Download PDF

Info

Publication number
CN111324312A
CN111324312A CN201811534494.6A CN201811534494A CN111324312A CN 111324312 A CN111324312 A CN 111324312A CN 201811534494 A CN201811534494 A CN 201811534494A CN 111324312 A CN111324312 A CN 111324312A
Authority
CN
China
Prior art keywords
data
information processing
printer
sale
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811534494.6A
Other languages
Chinese (zh)
Inventor
胡全生
高鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Ruixiang Information Technology Co ltd
Original Assignee
Shanghai Ruixiang Information 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 Shanghai Ruixiang Information Technology Co ltd filed Critical Shanghai Ruixiang Information Technology Co ltd
Priority to CN201811534494.6A priority Critical patent/CN111324312A/en
Publication of CN111324312A publication Critical patent/CN111324312A/en
Pending legal-status Critical Current

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/1202Dedicated interfaces to print systems specifically adapted to achieve a particular effect
    • G06F3/1203Improving or facilitating administration, e.g. print management
    • 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/1244Job translation or job parsing, e.g. page banding
    • 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/1285Remote printer device, e.g. being remote from client or server

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)
  • Cash Registers Or Receiving Machines (AREA)

Abstract

The present invention relates to the field of communications technologies, and in particular, to an information processing system, an information processing apparatus, an information processing method, an information processing medium, and an information processing device. According to the scheme provided by the embodiment of the invention, the electric signal on the printing cable can be collected through the information processing device, the printing data can be determined according to the collected electric signal, the printing data can be segmented into the printing data corresponding to each printing task and uploaded to the server, and the server can extract the specified sales information after decoding the printing data into the data file with the uniform format. By the scheme, the sales information can be automatically acquired without modifying a special sales point equipment system, the cost is low, the feasibility is high, and the integrity and the accuracy of the sales information can be effectively ensured.

Description

Information processing system, device, method, medium and equipment
Technical Field
The present invention relates to the field of communications technologies, and in particular, to an information processing system, an information processing apparatus, an information processing method, an information processing medium, and an information processing device.
Background
After a customer purchases goods or services, a merchant calculates and displays sales information through a point-of-sale dedicated device (e.g., a point-of-sale (POS) machine), and prints out a transaction certificate (e.g., a receipt) including the sales information to provide to the customer after receiving payment paid by the customer, and the basic configuration diagram of the point-of-sale may be as shown in fig. 1. Sales information may be understood, but is not limited to, to include at least one of the following: merchant information, transaction time, receipt number, tax number, equipment number, operator, membership information, name, quantity, unit price, total, applicable tax item and tax rate, total, payment method, discount, credit, amount due, actual amount due, rounding adjustment, change, etc.
When a third party other than a customer and a merchant desires to obtain sales information for tax monitoring, financial accounting, or other purposes, it is common to use a method of reporting and modifying sales information reported by a special point-of-sale equipment system by the merchant to obtain sales information in a unified format.
However, the integrity and accuracy of the sales information cannot be guaranteed due to benefit conflict and manual error by adopting a merchant reporting mode;
and the method for modifying the reporting of the special point-of-sale equipment system is adopted, because the quantity of suppliers of the special point-of-sale equipment system is large and the complexity of the system is uneven, the cost (including time cost) for modifying the special point-of-sale equipment system is very high, and the right and responsibility conflicts exist when the system is modified, the feasibility of the method is low.
Disclosure of Invention
The embodiment of the invention provides an information processing system, an information processing device, an information processing method, an information processing medium and information processing equipment, which are used for solving the problem that sales information is difficult to accurately and completely acquire.
The present invention provides an information processing system, the system comprising an information processing apparatus and a server, wherein:
the information processing device is used for acquiring an electric signal on a printing cable between the special point-of-sale device and the printer, determining data sent to the printer by the special point-of-sale device according to the electric signal, dividing the data into data corresponding to each printing task sent to the printer by the special point-of-sale device, and uploading the data to the server;
and the server is used for decoding the data uploaded by the information processing device into a data file with a uniform format and extracting specified sales information from the data file with the uniform format.
In one possible implementation, the server is a cloud server.
The invention also provides an information processing apparatus, the apparatus comprising a bypass module and a processor, wherein:
the bypass module is used for acquiring an electric signal on a printing cable between the special point-of-sale device and the printer, determining data sent to the printer by the special point-of-sale device according to the electric signal, and sending the data to the processor;
the processor is used for dividing the data into data corresponding to each printing task sent to the printer by the special point-of-sale equipment, uploading the data to a designated server, so that the server can decode the data uploaded by the information processing device into a data file with a uniform format, and extracting designated sales information from the data file with the uniform format.
In one possible implementation, the apparatus further comprises a first-in-first-out FIFO memory, wherein:
the FIFO memory is used for caching the data determined by the bypass module;
the bypass module, which sends the data to the processor, includes:
and sending the data buffered in the FIFO memory to the processor.
In one possible implementation, the bypass module collects electrical signals on a print cable between the point-of-sale dedicated device and the printer by any one of the following:
the serial interface receiving signal line is connected with a serial interface transmitting signal line of the special point-of-sale equipment and is connected with the special point-of-sale equipment in a common ground way; alternatively, the first and second electrodes may be,
receiving parallel interface data signals and control signals between the point of sale dedicated device and the printer; alternatively, the first and second electrodes may be,
and connecting a Universal Serial Bus (USB) to the USB between the point-of-sale special equipment and the printer, and enabling the bypass module to work in a monitor state.
In one possible implementation, the processor divides the data into data corresponding to each print job sent by the point-of-sale dedicated device to the printer by any one of:
and performing segmentation according to an explicit paper cutting instruction, or performing segmentation according to idle time without data transmission, or performing segmentation according to specified data content.
The invention also provides an information processing method, which comprises the following steps:
collecting an electric signal on a printing cable between the special point-of-sale equipment and the printer;
determining data sent by the point-of-sale dedicated device to the printer based on the electrical signal;
and after the determined data is divided into data corresponding to each printing task sent to the printer by the special point-of-sale equipment, uploading the data to a specified server, so that the server can decode the data uploaded by the information processing device into a data file with a uniform format, and extracting specified sales information from the data file with the uniform format.
The invention also provides a server, which comprises a decoding module and an analysis module, wherein:
the decoding module is used for decoding the data uploaded by the information processing device into a data file with a uniform format, wherein the data uploaded by the information processing device is uploaded after the information processing device collects electric signals on a printing cable between the special point-of-sale equipment and the printer, and the data determined according to the electric signals are divided into data corresponding to each printing task sent to the printer by the special point-of-sale equipment;
and the analysis module is used for extracting specified sales information from the data file with the uniform format.
In a possible implementation manner, the decoding module is specifically configured to pre-process data sent by an information processing apparatus, and decode the pre-processed data into a data file with a uniform format;
the preprocessing is used for determining the page description language type of the data sent by the information processing device, decoding the data sent by the information processing device into a data file with a unified format according to the determined page description language type, and/or verifying the integrity of the data sent by the information processing device, so as to decode the complete data into the data file with the unified format.
In a possible implementation manner, the parsing module is specifically configured to extract variable characters at a set position by using a selected character template set, where the selected character template set is determined according to data sent by the information processing apparatus.
In a possible implementation manner, the parsing module is further configured to, during the process of extracting the variable character at the set position by using the selected character template set, recognize, by using a general optical character recognition OCR, a character that cannot be recognized by the selected character template set, and add an OCR character that successfully recognizes the character to the selected character template set.
In a possible implementation manner, the parsing module is further configured to check the extracted variable character by using a regular expression, and/or check the extracted variable character according to a constant character corresponding to the variable character.
The invention also provides an information processing method, which comprises the following steps:
decoding data sent by an information processing device into a data file with a uniform format, wherein the data uploaded by the information processing device is uploaded after the information processing device acquires an electric signal on a printing cable between a special point-of-sale device and a printer, and divides the data determined according to the electric signal into data corresponding to each printing task sent to the printer by the special point-of-sale device;
and extracting specified sales information from the uniformly formatted data file.
The present invention also provides a non-transitory computer storage medium storing an executable program for execution by a processor to implement the steps of any of the methods described above.
The invention also provides an information processing apparatus comprising a memory, a processor and a computer program stored on the memory, the processor implementing the steps of any of the methods described above when executing the program.
According to the scheme provided by the embodiment of the invention, the electric signal on the printing cable can be collected through the information processing device, the printing data can be determined according to the collected electric signal, the printing data can be segmented into the printing data corresponding to each printing task and uploaded to the server, and the server can extract the specified sales information after decoding the printing data into the data file with the uniform format. By the scheme, the sales information can be automatically acquired without modifying a special sales point equipment system, the cost is low, the feasibility is high, and the integrity and the accuracy of the sales information can be effectively ensured.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a schematic diagram of the basic structure of a prior art point of sale;
fig. 2(a) and fig. 2(b) are schematic structural diagrams of the information processing system provided in the first embodiment of the present invention and the basic structure of the existing point of sale;
fig. 3 is a schematic structural diagram of an information processing apparatus according to a second embodiment of the present invention;
FIG. 4 is a flowchart illustrating steps of an information processing method according to a third embodiment of the present invention;
fig. 5 is a schematic structural diagram of an information processing apparatus according to a fourth embodiment of the present invention;
FIG. 6 is a flowchart illustrating steps of an information processing method according to a fifth embodiment of the present invention;
fig. 7 is a schematic structural diagram of a server according to a sixth embodiment of the present invention;
fig. 8 is a flowchart illustrating steps of an information processing method according to a seventh embodiment of the present invention;
fig. 9 is a schematic structural diagram of an information processing apparatus according to an eighth embodiment of the present invention.
Detailed Description
In the scheme provided by the embodiment of the invention, the acquisition of the sales information can be realized based on the electric signal of the printed cable. The method for connecting the information processing device with the printing cable can be used for collecting electric signals on the printing cable uninterruptedly in real time through the information processing device, converting the electric signals into digital information, segmenting the digital information obtained through conversion into data corresponding to each printing task, and uploading the data to a specified server. And then extracts the specified sales information from the received data through the server.
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that, the "plurality" or "a plurality" mentioned herein means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
The terms "first," "second," and the like in the description and in the claims, and in the drawings described above, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein.
Furthermore, 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 elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example one
An embodiment of the present invention provides an information processing system, including an information processing apparatus 11 and a server 12, where:
the information processing device 11 is configured to collect an electrical signal on a printing cable between the point-of-sale dedicated device and the printer, determine data sent to the printer by the point-of-sale dedicated device according to the electrical signal, divide the data into data corresponding to each print task sent to the printer by the point-of-sale dedicated device, and upload the data to the server; or, the information processing apparatus 11 is configured to collect an electrical signal on a printing cable between the dedicated point-of-sale device and the printer, determine, according to the electrical signal, data sent by the dedicated point-of-sale device to the printer, send the data to the printer for printing, divide the data into data corresponding to each print task sent by the dedicated point-of-sale device to the printer, and upload the data to the server;
the server 12 is configured to decode the data uploaded by the information processing apparatus into a data file of a uniform format, and extract specified sales information from the data file of the uniform format.
When the information processing apparatus 11 is not used to send data to a printer for printing, the schematic diagram of the structure between the information processing system and the existing basic configuration of the point of sale (point of sale dedicated device and printer) may be, but is not limited to, as shown in fig. 2 (a).
When the information processing apparatus 11 is further configured to send data to a printer for printing, the schematic configuration between the information processing system and the existing basic configuration of the point of sale may be, but is not limited to, as shown in fig. 2 (b).
In one possible implementation, the server 12 may be, but is not limited to being, a cloud server.
The following apparatuses, methods, media and devices are provided based on the same inventive concept as the first embodiment.
Example two
A second embodiment of the present invention provides an information processing apparatus, which can be applied as the information processing apparatus in the first embodiment, and the structure of the apparatus can be as shown in fig. 3, including a bypass module 21 and a processor 22, where:
the bypass module 21 is configured to collect an electrical signal on a printing cable between the point-of-sale dedicated device and the printer, determine data sent by the point-of-sale dedicated device to the printer according to the electrical signal, and send the data to the processor;
the processor 22 is configured to divide the data into data corresponding to each print job sent by the point-of-sale dedicated device to the printer, and upload the data to a designated server, so that the server decodes the data uploaded by the information processing apparatus into a data file in a unified format, and extracts designated sales information from the data file in the unified format.
The data determined by the bypass module 21 from the electrical signals on the print cable may be data described in a Page Description Language (PDL).
The bypass module 21 and the processor 22 may be connected via a high-speed Universal Serial Bus (USB)2.0 interface, and may send data to the processor via a USB (e.g., may be enumerated as a CDC class) according to a set communication protocol format.
The processor 22 may be a processor employing a linux operating system.
The processor 22 may name each segment of data obtained by segmentation according to a set naming rule, store the named segment of data in a file form, and upload the named segment of data to a server through a network according to configuration. The server can decode the data file corresponding to each print task to obtain the data file with the uniform format.
The processor 22 may implement data slicing in any one of, but is not limited to:
the first method is to cut according to an explicit paper cutting instruction.
The partial printer provides a paper cutting function, and cuts paper according to a paper cutting instruction after each print job is completed. Therefore, the paper cutting instruction can be searched from the received data, and the data can be cut according to the paper cutting instruction.
And secondly, segmenting according to the idle time without data transmission.
For a printer that does not provide a sheet cutting function or does not use a sheet cutting function, data splitting can be performed according to the idle time length without data transfer according to the business logic. That is, the idle time without data transmission may be calculated, and then data segmentation may be performed according to the idle time without data transmission reaching a set value.
And thirdly, segmenting according to the specified data content.
Generally, the end of each print job sent to the printer by the point-of-sale dedicated device has a fixed content, so that the designated data content can be searched and the data segmentation is performed according to the designated data content.
Further, the apparatus may further include a first-in-first-out (FIFO) memory 23, wherein:
the FIFO memory 23 is used for buffering the data determined by the bypass module;
the bypass module 21 sends the data to the processor 22, including: the data buffered in the FIFO memory 23 is sent to the processor 22.
When the device further comprises a FIFO memory 23, it can be ensured that data loss will not occur when the communication between the bypass module 21 and the processor 22 fails.
The bypass module 21 collects electrical signals on the printed cable between the point-of-sale dedicated device and the printer, and may be implemented in any one of, but is not limited to:
the serial interface receiving signal line is connected with a serial interface transmitting signal line of the special point-of-sale equipment and is connected with the special point-of-sale equipment in a common ground way; alternatively, the first and second electrodes may be,
receiving parallel interface data signals and control signals between the point of sale dedicated device and the printer; alternatively, the first and second electrodes may be,
and connecting a Universal Serial Bus (USB) to the USB between the point-of-sale special equipment and the printer, and enabling the bypass module to work in a monitor state.
That is, the bypass module 21 may select a corresponding interface type, such as a serial interface, a parallel interface, or a USB interface, according to the type of the print interface, to connect with the print cable, so as to achieve electrical signal acquisition.
When the bypass module 21 adopts a serial interface, the bypass module 21 may be connected to a serial interface transmission signal line (TXD) of the dedicated pos equipment through a serial interface reception signal line (RXD) and connected to the dedicated pos equipment in common, so that data transmitted from the dedicated pos equipment to the printer may be received by the bypass module 21.
When the bypass module 21 adopts a parallel interface, a parallel interface data signal and a control signal between the special point-of-sale device and the printer can be accessed into the bypass module 21, and when the special point-of-sale device sends data to the printer, the data can be received by the bypass module 21. And preferably, a special filter circuit can be designed for the parallel interface data signal and the control signal so as to achieve better compatibility.
When the bypass module 21 adopts a USB interface, the bypass module 21 can interface the USB to the USB between the pos-specific device and the printer, and operate in a monitor state, so that data sent by the pos-specific device to the printer can be received by the bypass module 21.
EXAMPLE III
An embodiment of the present invention provides an information processing method, where a flow of steps of the method may be as shown in fig. 4, and the method includes:
step 101, collecting an electric signal.
In this step, an electrical signal on a printed cable between the point-of-sale dedicated device and the printer may be collected.
Step 102, converting into digital information.
In this step, the data sent by the point-of-sale dedicated device to the printer may be determined from the electrical signal, i.e. the collected electrical signal is converted into digital information.
And 103, segmenting and uploading.
In this step, the determined data may be divided into data corresponding to each print job sent by the point-of-sale dedicated device to the printer, and then uploaded to a designated server.
So that the server decodes the data uploaded by the information processing device into a data file with a unified format and extracts specified sales information from the data file with the unified format.
Example four
A fourth embodiment of the present invention provides an information processing apparatus, which can be applied as the information processing apparatus in the first embodiment, and the structure of the apparatus can be as shown in fig. 5, where the apparatus includes a relay module 31 and a processor 32, where:
the relay module 31 is configured to collect an electrical signal on a printing cable between the point-of-sale dedicated device and the printer, determine data sent to the printer by the point-of-sale dedicated device according to the electrical signal, send the data to the printer for printing, and send the data to the processor;
the processor 32 is configured to divide the data into data corresponding to each print job sent by the point-of-sale dedicated device to the printer, and upload the data to a designated server, so that the server decodes the data uploaded by the information processing apparatus into a data file in a unified format, and extracts designated sales information from the data file in the unified format.
The data determined by the relay module 31 from the electrical signal on the print cable may be data described in a Page Description Language (PDL).
The relay module 31 and the processor 32 may be connected via a high-speed Universal Serial Bus (USB)2.0 interface, and may transmit data to the processor via a USB (e.g., may be enumerated as a CDC class) according to a set communication protocol format.
The processor 32 may be a processor employing a linux operating system.
The processor 32 may name each piece of data obtained by segmentation according to a set naming rule, store the data in a file form, and upload the data to a server through a network according to configuration. The server can decode the data file corresponding to each print task to obtain the data file with the uniform format.
The processor 32 may implement data slicing in any of, but not limited to:
the first method is to cut according to an explicit paper cutting instruction.
The partial printer provides a paper cutting function, and cuts paper according to a paper cutting instruction after each print job is completed. Therefore, the paper cutting instruction can be searched from the received data, and the data can be cut according to the paper cutting instruction.
And secondly, segmenting according to the idle time without data transmission.
For a printer that does not provide a sheet cutting function or does not use a sheet cutting function, data splitting can be performed according to the idle time length without data transfer according to the business logic. That is, the idle time without data transmission may be calculated, and then data segmentation may be performed according to the idle time without data transmission reaching a set value.
And thirdly, segmenting according to the specified data content.
Generally, the end of each print job sent to the printer by the point-of-sale dedicated device has a fixed content, so that the designated data content can be searched and the data segmentation is performed according to the designated data content.
The apparatus may further comprise a FIFO memory 33, wherein:
the FIFO memory 33 is used for buffering the data determined by the relay module 31;
the relay module 31 sends the data to the printer for printing, and sends the data to the processor 32, and includes:
and sending the data buffered in the FIFO memory 33 to the printer for printing, and sending the data buffered in the FIFO memory 33 to the processor 32.
When the device further comprises a FIFO memory 33, the device can ensure that data loss can not be caused when the communication between the relay module 31 and the printer and the communication between the relay module and the processor 22 are failed.
The relay module 31 collects the electrical signal on the printing cable between the special-purpose device at the point of sale and the printer, and sends the data to the printer for printing, which can be realized by any one of the following ways:
connecting the point-of-sale dedicated device and the printer through two serial interfaces respectively; or, the serial interface and the Ethernet interface are sequentially connected with the special point-of-sale equipment to convert network data into serial interface data for transmission, and the serial interface and the Ethernet interface are sequentially connected with the printer to convert the serial interface data sent to the printer into network data; alternatively, the first and second electrodes may be,
receiving parallel interface data signals and control signals between the point of sale dedicated device and the printer via an input parallel interface and connecting an output parallel interface to the printer; alternatively, the first and second electrodes may be,
the USB port of the point-of-sale dedicated device is connected through a USB port operating in a device (device) mode, and the USB port of the printer is connected through a USB port operating in a host (host) mode.
That is, the relay module 31 may select a corresponding interface type according to the type of the printing interface, such as a serial interface, or a serial interface and an ethernet interface, or a parallel interface, or a USB interface connected to the printing cable, to achieve electrical signal acquisition and data transmission to the printer.
When the relay module 31 employs a serial interface, it may include two serial interfaces, which are respectively connected to the pos-specific device and the printer, receive data transmitted from the pos-specific device to the printer via the serial interface connected to the pos-specific device, buffer the data in the FIFO memory 33, read the data from the FIFO memory 33, transmit the data to the printer via the serial interface connected to the printer, and transmit the data read from the FIFO memory 33 to the processor 32 via USB (e.g., may be enumerated as CDC class) according to a set communication protocol format.
It should be noted that, when the relay module 31 adopts a serial interface, two network interfaces may be added on the basis of the two serial interfaces, so that network data may be converted into serial data, and options of network configuration may also be added to collect a print job sent by a point-of-sale dedicated device to a printer.
When the relay module 31 adopts a parallel interface, two parallel interfaces, namely an input parallel interface and an output parallel interface, may be built in. Parallel interface data and control signals between the point-of-sale dedicated device and the printer are coupled to the input parallel interface and the output parallel interface is coupled to the printer.
The relay module 31 may receive data transmitted from the pos-specific device to the printer via the input parallel interface, buffer the data in the FIFO memory 33, read the data from the FIFO memory 33, transmit the data to the printer via the output parallel interface, and transmit the data read from the FIFO memory 33 to the processor 32 via USB (which may be enumerated as CDC class, for example) according to a set communication protocol format.
When the relay module 31 adopts a USB port, two USB ports may be built in, which are respectively in a device mode and a host mode, and the USB port of the pos specific device is connected to the USB port in the device mode, and the USB port in the device mode is connected to the printer.
The relay module 31 receives data sent by the pos specific device to the printer through the USB port operating in the device mode, buffers the data in the FIFO memory 33, reads the data from the FIFO memory 33, sends the data to the printer through the USB port operating in the host mode, and sends the data read from the FIFO memory 33 to the processor 32 through USB (e.g., enumerated as CDC class) according to a set communication protocol format.
It should be noted that the USB port operating in the device mode is simulated as the USB port of the printer being enumerated by the USB port of the special point-of-sale device, and the USB port operating in the host mode is used to enumerate the USB port of the printer. The enumeration process may be as follows:
firstly, initializing a USB port working in a host mode, enumerating the USB port of the printer, and recording enumeration information.
And then initializing a USB port working in a device mode, reporting the stored enumeration information to the special point-of-sale equipment, and finishing the enumeration of the printer by the special point-of-sale equipment.
Considering that the enumeration process may be different for different printer types, for compatibility, after the USB port operating in the host mode completes the standardized enumeration process, the USB port operating in the device mode is initialized. When the USB port working in the device mode is enumerated, other manufacturer customized class enumeration information is directly inquired to the printer through the USB port working in the host mode. Namely, the USB port working in the host mode forwards the enumeration command of the special device for sale point received by the USB port working in the device mode, and returns the enumeration result to the special device for sale point.
It should be further noted that, in the present embodiment, the information processing apparatus may also implement an additional printing function, which may be implemented by, but is not limited to:
the process that the relay module 31 sends the data buffered in the FIFO memory to the printer for printing may further include: detecting a paper cutting instruction, and if the paper cutting instruction is detected, pausing to send data to the printer;
the relay module 31 sends the data buffered in the FIFO memory to the processor, and may be understood as including:
sending data which is sent to the printer before the paper cutting instruction is detected and is not sent to the processor and the paper cutting instruction in the data cached in the FIFO memory to the processor;
the processor 32 is further configured to determine corresponding additional print data according to the received data, and send the determined additional print data to the relay module;
the relay module 31 is further configured to send the additional print data received within a set time period and the paper cutting instruction cached in the FIFO memory to the printer for printing, and detect a paper cutting instruction in a process of sending data after the paper cutting instruction cached in the FIFO memory to the printer for printing.
Through the mode, in the process of sending data to the printer for printing, the cutting of each printing task can be realized through the paper cutting instruction. And the printing of the corresponding additional printing data can be realized for each divided printing task.
Further, if additional print data returned by the processor is not received within a set time length, the other data cached in the FIFO memory may be continuously sent to the printer for printing, and the detection of the paper cutting instruction may be continuously performed:
the relay module 31 may be further configured to send the paper cutting instruction cached in the FIFO memory to the printer for printing when additional print data is not received within a set time period, and detect a paper cutting instruction in a process of sending data after the paper cutting instruction cached in the FIFO memory to the printer for printing.
Of course, if no paper cutting instruction is detected during the process of sending the data cached in the FIFO memory to the printer for printing, the data cached in the FIFO memory may also be sent to the processor after being sent to the printer to determine additional print data, so as to implement printing of the additional print data:
the relay module 31 is further configured to send the data cached in the FIFO memory to the processor after sending the data cached in the FIFO memory to the printer if no paper cutting instruction is detected;
the processor 32 is further configured to determine corresponding additional print data according to the received data, and send the determined additional print data to the relay module;
the relay module 31 is further configured to send the additional print data received within the set time period to the printer for printing.
Of course, if the additional print data returned by the processor is not received within the set time period, it may be considered that the printing of the additional print data is not required, and the printing process may be exited.
EXAMPLE five
An embodiment of the present invention provides an information processing method, where a flow of the steps of the method may be as shown in fig. 6, and the method includes:
step 201, collecting an electric signal.
In this step, an electrical signal on a printed cable between the point-of-sale dedicated device and the printer may be collected.
Step 202, determining digital information.
In this step, the data sent by the point-of-sale dedicated device to the printer may be determined from the electrical signal, i.e. the collected electrical signal is converted into digital information.
Step 203, sending data to the printer and uploading data to the server.
In this step, the determined data may be sent to the printer for printing, and the determined data may be divided into data corresponding to each print job sent by the point-of-sale dedicated device to the printer, and then uploaded to a designated server.
So that the server decodes the data uploaded by the information processing device into a data file with a unified format and extracts specified sales information from the data file with the unified format.
EXAMPLE six
Sixth embodiment of the present invention provides a server, which may be applied as the server in the first embodiment, and the structure of the server may be as shown in fig. 7, where the server includes a decoding module 41 and an analyzing module 42, where:
the decoding module 41 is configured to decode data uploaded by an information processing apparatus into a data file with a uniform format, where the data uploaded by the information processing apparatus is obtained by the information processing apparatus by acquiring an electrical signal on a printing cable between a point-of-sale dedicated device and a printer, and the data determined according to the electrical signal is divided into data corresponding to each print task sent by the point-of-sale dedicated device to the printer and then uploaded;
the parsing module 42 is used for extracting the specified sales information from the uniformly formatted data file.
The decoding module 41 is specifically configured to pre-process data sent by the information processing apparatus, and decode the pre-processed data into a data file with a uniform format;
the preprocessing is used for determining the page description language type of the data sent by the information processing device, decoding the data sent by the information processing device into a data file with a unified format according to the determined page description language type, and/or verifying the integrity of the data sent by the information processing device, so as to decode the complete data into the data file with the unified format.
It can be understood that the data received by the server from the information processing apparatus needs to undergo two processes of decoding and parsing. In the decoding process, the decoding module 41 can be regarded as a virtual printer control board, and decodes the data corresponding to each print job into a data file with a uniform format, such as an XML format data file.
The data for each print job may be in any page description language, and therefore, prior to decoding, the data may be preprocessed to determine the type of page description language in which it is in use. In this case, the preprocessing may be understood as parsing the received data using each of the existing page description languages, and determining the page description language (which may be understood as each page description language branch) used by the received data according to the parsing success rate. Furthermore, the parsing result, the determined page description language (branch), and the pre-collected printer parameters may be stored in an intermediate file for decoding.
In addition, the data sent by the information processing device has a certain error probability, and the preprocessing can also comprise verifying the integrity of the data sent by the information processing device. If the preprocessing result shows that the data is incomplete, an alarm can be given, and if the preprocessing result shows that the data is complete, the complete data can be decoded into a data file with a uniform format. The pre-processing process can now be understood as a pre-compiler of the description language (which may include syntax checking) in the computer language.
If the preprocessing process is performed first and then the decoding is performed, the preprocessed data can be submitted to the decoding module 41 in the form of an intermediate file for decoding. The decoding module 41 can interpret the original data that has been disassembled into a plurality of single instructions (explicit functions) and a plurality of character strings (implicit functions) according to the printer parameters in the intermediate file using the page description language (branch) determined in the intermediate file, and generate a file in a unified format, such as an extensible markup language (XML) format. The decoding process can be seen as an interpreter of the description language in the computer language.
The parsing module 42 is specifically configured to extract the variable characters at the set positions by using a selected character template set, where the selected character template set is determined according to the data sent by the information processing apparatus.
The parsing module 42 is further configured to, during the process of extracting the variable character at the set position by using the selected character template set, recognize a character that cannot be recognized by the selected character template set by using a general Optical Character Recognition (OCR), and add an OCR character of a successfully recognized character to the selected character template set.
Therefore, the selected character template set can be updated in a dynamic updating mode, so that the variable characters at the set positions can be extracted by using the updated selected character template set subsequently.
The parsing module 42 is further configured to check the extracted variable characters by using a regular expression, and/or check the extracted variable characters according to constant characters corresponding to the variable characters. Therefore, the accuracy of the extracted variable characters can be further improved.
The server may further extract structured information from the unified format data file generated in the decoding process, such as an XML format data file (which may include a set of text, picture fragments (mostly text information, but may appear in a graphic form to achieve a specified font and size display), and position information).
In the prior art, general OCR is generally adopted to extract structured information, but the general OCR has low efficiency, and the efficiency and the input-output ratio are unacceptable when large-scale data is processed. The credibility of the universal ORC method is also difficult to guarantee in view of the specificity of the sales information and the strict requirements of the key data on accuracy.
Considering that the present invention is mainly directed to the data file corresponding to the sales information, all information in the data file may be divided into constants and variables. The constant is fixed and unchangeable, and only needs to be collected once, and the key is to collect the variable, and how to efficiently obtain the variable is the key of analysis.
For data files of the same type (for example, data files corresponding to print jobs that are all sent to the same printer by the same point-of-sale dedicated device), manually marking may be performed first, a "key" (i.e., a constant that modifies a variable) is marked, and a positional correspondence between a "value" (corresponding variable) and a "key" is selected, such as: left, down, up, right, etc., and may give a data definition of "value", such as: time, amount, etc., may be generally described in regular expressions.
Because the variables in the data file corresponding to the sales information are time, money amount and the like generally, the data file can be collected by using a limited character set. For example, for a variable of the amount of money, collection can be achieved by using a limited character set such as 0-9, decimal points and/or thousandths.
Aiming at the sales information needing to be collected by a certain type of data files, the character template collection can be carried out by using the general OCR according to the marked 'key' and the position corresponding relation between the 'key' and the 'value', so as to obtain a character template set for extracting the sales information corresponding to the type of data files subsequently.
It should be noted that, particularly, if the character template set is targeted to some critical data files, such as critical financial reports, the character template set can be further reviewed manually. In addition, when the character templates are collected, the character templates with low confidence values given by the common OCR can also be referred to as manual examination.
In the subsequent extraction process of the specified sales information corresponding to the data file, the corresponding character template set can be selected for the data file of the type, and the variable extraction is performed. Of course, the extraction of the constant may also be implemented by the corresponding character template set, and this embodiment is not described again.
For character texts such as Chinese characters, a dynamic accumulation mode of character templates can be adopted for character templates which are not related in the keys and the values. In the process of extracting the variables, the variables can be extracted according to the selected character template set, the variables which cannot be extracted are extracted by using the general OCR, and the OCR characters which are successfully recognized can be added into the selected character template set. It can be seen that this is a convergent process.
Furthermore, the corresponding values can be subjected to pattern recognition comparison according to the keys, and the values can be verified according to the regular expression.
More specifically, if the relationship between the "keys" is declared, for example, the relationship between the "keys" such as subtotal, tax, service fee, total, amount paid, change, wiping, etc., further verification may be performed based on the relationship between the "keys" to better ensure the accuracy of the "value".
The difference between the parsing process in this embodiment and parsing with a generic ORC is the limited set of proprietary character templates, which can be understood as binding to a specific point-of-sale specific device, and the dynamic generation of the set of proprietary character templates.
In the parsing process provided by this embodiment, the related data file is directly acquired from the print signal, and the data file directly generated from the print signal is decoded, rather than being obtained by scanning or photographing (there may be influences of light, noise, boundaries, tilt, distortion, and the like), so that in the process of using the general OCR, the optical processing part may be discarded.
Due to the specific analysis method in the analysis process, when the specified sales information is extracted, compared with the prior art, the accuracy of the extracted sales information can be greatly improved, and the extraction speed can be greatly increased, for example, by about 40 times.
EXAMPLE seven
The seventh embodiment of the present invention provides an information processing method, where the flow of the steps of the method may be as shown in fig. 8, and the method includes:
step 301, decode the data.
In this step, the data sent by the information processing apparatus may be decoded into a data file with a uniform format, where the data uploaded by the information processing apparatus is obtained by the information processing apparatus by collecting an electrical signal on a printing cable between the point-of-sale dedicated device and the printer, and the data determined according to the electrical signal is divided into data corresponding to each print task sent by the point-of-sale dedicated device to the printer and then uploaded.
And step 302, analyzing the data.
In this step, the specified sales information may be extracted from the unified format data file.
Based on the same inventive concept, embodiments of the present invention provide the following apparatus and medium.
Example eight
An eighth embodiment of the present invention provides an information processing apparatus, which may have a structure as shown in fig. 9, and includes a memory 51, a processor 52, and a computer program stored in the memory, where when the processor 52 executes the computer program, the processor implements the steps of the method according to the third embodiment, the fifth embodiment, or the seventh embodiment.
Optionally, the processor 52 may specifically include a Central Processing Unit (CPU), an Application Specific Integrated Circuit (ASIC), one or more integrated circuits for controlling program execution, a hardware circuit developed by using a Field Programmable Gate Array (FPGA), or a baseband processor.
Optionally, the processor 52 may include at least one processing core.
Alternatively, the memory 51 may include a Read Only Memory (ROM), a Random Access Memory (RAM), and a disk memory. The memory 51 is used for storing data required by the at least one processor 52 during operation. The number of the memory 51 may be one or more.
The ninth embodiment of the present invention provides a nonvolatile computer storage medium, where the computer storage medium stores an executable program, and when the executable program is executed by a processor, the method provided in the third embodiment or the fifth embodiment or the seventh embodiment of the present invention is implemented.
In particular implementations, computer storage media may include: various storage media capable of storing program codes, such as a Universal Serial Bus flash drive (USB), a mobile hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
In the embodiments of the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the described unit or division of units is only one division of logical functions, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical or other form.
The functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be an independent physical module.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, all or part of the technical solutions of the embodiments of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device, such as a personal computer, a server, or a network device, or a processor (processor) to execute all or part of the steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: various media that can store program codes, such as a universal serial bus flash drive (usb flash drive), a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention 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.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (15)

1. An information processing system characterized by comprising an information processing apparatus and a server, wherein:
the information processing device is used for acquiring an electric signal on a printing cable between the special point-of-sale device and the printer, determining data sent to the printer by the special point-of-sale device according to the electric signal, dividing the data into data corresponding to each printing task sent to the printer by the special point-of-sale device, and uploading the data to the server;
and the server is used for decoding the data uploaded by the information processing device into a data file with a uniform format and extracting specified sales information from the data file with the uniform format.
2. The system of claim 1, wherein the server is a cloud server.
3. An information processing apparatus, characterized in that the apparatus comprises a bypass module and a processor, wherein:
the bypass module is used for acquiring an electric signal on a printing cable between the special point-of-sale device and the printer, determining data sent to the printer by the special point-of-sale device according to the electric signal, and sending the data to the processor;
the processor is used for dividing the data into data corresponding to each printing task sent to the printer by the special point-of-sale equipment, uploading the data to a designated server, so that the server can decode the data uploaded by the information processing device into a data file with a uniform format, and extracting designated sales information from the data file with the uniform format.
4. The apparatus of claim 3, further comprising a first-in-first-out (FIFO) memory, wherein:
the FIFO memory is used for caching the data determined by the bypass module;
the bypass module, which sends the data to the processor, includes:
and sending the data buffered in the FIFO memory to the processor.
5. The apparatus of claim 3, wherein the bypass module collects electrical signals on a printed cable between the point-of-sale dedicated device and the printer by any one of:
the serial interface receiving signal line is connected with a serial interface transmitting signal line of the special point-of-sale equipment and is connected with the special point-of-sale equipment in a common ground way; alternatively, the first and second electrodes may be,
receiving parallel interface data signals and control signals between the point of sale dedicated device and the printer; alternatively, the first and second electrodes may be,
and connecting a Universal Serial Bus (USB) to the USB between the point-of-sale special equipment and the printer, and enabling the bypass module to work in a monitor state.
6. The apparatus of any of claims 3 to 5, wherein the processor is configured to segment the data into data for each print job sent by the point-of-sale dedicated device to the printer by any one of:
and performing segmentation according to an explicit paper cutting instruction, or performing segmentation according to idle time without data transmission, or performing segmentation according to specified data content.
7. An information processing method, characterized in that the method comprises:
collecting an electric signal on a printing cable between the special point-of-sale equipment and the printer;
determining data sent by the point-of-sale dedicated device to the printer based on the electrical signal;
and after the determined data is divided into data corresponding to each printing task sent to the printer by the special point-of-sale equipment, uploading the data to a specified server, so that the server can decode the data uploaded by the information processing device into a data file with a uniform format, and extracting specified sales information from the data file with the uniform format.
8. A server, comprising a decoding module and a parsing module, wherein:
the decoding module is used for decoding the data uploaded by the information processing device into a data file with a uniform format, wherein the data uploaded by the information processing device is uploaded after the information processing device collects electric signals on a printing cable between the special point-of-sale equipment and the printer, and the data determined according to the electric signals are divided into data corresponding to each printing task sent to the printer by the special point-of-sale equipment;
and the analysis module is used for extracting specified sales information from the data file with the uniform format.
9. The server according to claim 8, wherein the decoding module is specifically configured to pre-process data sent by the information processing apparatus, and decode the pre-processed data into a data file with a uniform format;
the preprocessing is used for determining the page description language type of the data sent by the information processing device, decoding the data sent by the information processing device into a data file with a unified format according to the determined page description language type, and/or verifying the integrity of the data sent by the information processing device, so as to decode the complete data into the data file with the unified format.
10. The server according to claim 8 or 9, wherein the parsing module is specifically configured to extract the variable character at the set position by using a selected set of character templates, the selected set of character templates being determined according to data sent by the information processing apparatus.
11. The server according to claim 10, wherein the parsing module is further configured to, during the process of extracting the variable character at the set position by using the selected character template set, recognize characters that cannot be recognized by the selected character template set by using a general optical character recognition OCR, and add OCR characters that successfully recognize the characters to the selected character template set.
12. The server according to claim 10, wherein the parsing module is further configured to check the extracted variable character by using a regular expression, and/or check the extracted variable character according to a constant character corresponding to the variable character.
13. An information processing method, characterized in that the method comprises:
decoding data sent by an information processing device into a data file with a uniform format, wherein the data uploaded by the information processing device is uploaded after the information processing device acquires an electric signal on a printing cable between a special point-of-sale device and a printer, and divides the data determined according to the electric signal into data corresponding to each printing task sent to the printer by the special point-of-sale device;
and extracting specified sales information from the uniformly formatted data file.
14. A non-transitory computer storage medium storing an executable program for execution by a processor to perform the steps of the method of claim 7 or 13.
15. An information processing apparatus comprising a memory, a processor and a computer program stored on the memory, the processor implementing the steps of the method of claim 7 or 13 when executing the program.
CN201811534494.6A 2018-12-14 2018-12-14 Information processing system, device, method, medium and equipment Pending CN111324312A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811534494.6A CN111324312A (en) 2018-12-14 2018-12-14 Information processing system, device, method, medium and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811534494.6A CN111324312A (en) 2018-12-14 2018-12-14 Information processing system, device, method, medium and equipment

Publications (1)

Publication Number Publication Date
CN111324312A true CN111324312A (en) 2020-06-23

Family

ID=71166740

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811534494.6A Pending CN111324312A (en) 2018-12-14 2018-12-14 Information processing system, device, method, medium and equipment

Country Status (1)

Country Link
CN (1) CN111324312A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112099738A (en) * 2020-09-24 2020-12-18 成都平凡谷科技有限公司 Hardware-based print data acquisition method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140040014A1 (en) * 2012-08-02 2014-02-06 Facebook, Inc. Transaction data capture system for a point of sale system
CN105321272A (en) * 2015-11-04 2016-02-10 北京果皮移动科技有限公司 Method and device of printing dynamic two-dimensional codes according to cashier's machine transaction data
CN106815733A (en) * 2015-11-27 2017-06-09 K11集团有限公司 Data processing method, device and system and printer

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140040014A1 (en) * 2012-08-02 2014-02-06 Facebook, Inc. Transaction data capture system for a point of sale system
CN105321272A (en) * 2015-11-04 2016-02-10 北京果皮移动科技有限公司 Method and device of printing dynamic two-dimensional codes according to cashier's machine transaction data
CN106815733A (en) * 2015-11-27 2017-06-09 K11集团有限公司 Data processing method, device and system and printer

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112099738A (en) * 2020-09-24 2020-12-18 成都平凡谷科技有限公司 Hardware-based print data acquisition method and device
CN112099738B (en) * 2020-09-24 2022-11-22 成都平凡谷科技有限公司 Hardware-based print data acquisition method and device

Similar Documents

Publication Publication Date Title
US10402163B2 (en) Intelligent data extraction
US10296799B2 (en) Extracting card identification data
WO2018040161A1 (en) Printer driver-based text data acquisition and printing control method and system
CN110580308B (en) Information auditing method and device, electronic equipment and storage medium
US20190294912A1 (en) Image processing device, image processing method, and image processing program
CN110705952A (en) Contract auditing method and device
US9058139B2 (en) Function expansion method using print data, and function expansion device
CN111324312A (en) Information processing system, device, method, medium and equipment
JP2019191665A (en) Financial statements reading device, financial statements reading method and program
CN111324313A (en) Information processing system, device, method, medium and equipment
CN100520840C (en) Method for network tax controller processing bill data
CN110880224A (en) Equipment, system and method for collecting and processing information by monitoring POS machine printing pool
CN109544134B (en) Convenient payment service method and system
CN112989364A (en) Method, apparatus and computer program product for data simulation
CN113791860B (en) Information conversion method, device and storage medium
CN112348022B (en) Free-form document identification method based on deep learning
CN114743012A (en) Text recognition method and device
CN114863459A (en) Out-of-order document sorting method and device and electronic equipment
CN114238347A (en) Data synchronization system, device and method based on sales terminal data acquisition and receipt equipment
CN114764314A (en) Print data acquisition system and method of POS machine adaptable to various system environments
CN111191130A (en) Information extraction method, device, equipment and computer readable storage medium
CN113033832B (en) Method and device for inputting automobile repair data, terminal equipment and readable storage medium
CN114743198A (en) Method and device for identifying bill with form
US20220210280A1 (en) Generation of an electronic document capable of receiving user input
KR20230060986A (en) Method and apparatus for predicting processing time optical charater recognition

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
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20200623

WD01 Invention patent application deemed withdrawn after publication