CN106548573A - The Method of printing and device of consumption information - Google Patents
The Method of printing and device of consumption information Download PDFInfo
- Publication number
- CN106548573A CN106548573A CN201610932578.XA CN201610932578A CN106548573A CN 106548573 A CN106548573 A CN 106548573A CN 201610932578 A CN201610932578 A CN 201610932578A CN 106548573 A CN106548573 A CN 106548573A
- Authority
- CN
- China
- Prior art keywords
- consumption information
- applications client
- pos
- information
- reading
- 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
Links
Classifications
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07G—REGISTERING THE RECEIPT OF CASH, VALUABLES, OR TOKENS
- G07G1/00—Cash registers
- G07G1/0018—Constructional details, e.g. of drawer, printing means, input means
- G07G1/0027—Details of drawer or money-box
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/30—Payment architectures, schemes or protocols characterised by the use of specific devices or networks
- G06Q20/32—Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices
- G06Q20/327—Short range or proximity payments by means of M-devices
- G06Q20/3278—RFID or NFC payments by means of M-devices
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07G—REGISTERING THE RECEIPT OF CASH, VALUABLES, OR TOKENS
- G07G1/00—Cash registers
- G07G1/01—Details for indicating
- G07G1/06—Details for indicating with provision for the noting of the money to be paid
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07G—REGISTERING THE RECEIPT OF CASH, VALUABLES, OR TOKENS
- G07G1/00—Cash registers
- G07G1/12—Cash registers electronically operated
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Computer Networks & Wireless Communication (AREA)
- Accounting & Taxation (AREA)
- Strategic Management (AREA)
- General Business, Economics & Management (AREA)
- Theoretical Computer Science (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention provides the Method of printing and device of a kind of consumption information.Wherein, the method includes:The consumption information of NFC device is read by the NFC module of POS, wherein, the first applications client based on Android operation system is installed in POS;The consumption information for reading is transmitted to the first applications client;By the first applications client, pretreatment is carried out to reading the consumption information for taking according to predefined processing mode;Consumption information after first applications client is processed is printed by the print module of POS.The present invention is solved in correlation technique, the poor technical problem of the service quality of POS.
Description
Technical field
The present invention relates to data processing field, in particular to the Method of printing and device of a kind of consumption information.
Background technology
POS, English full name are Point Of Sale, are a kind of multi-functional terminal ends, and it is arranged on the contributing of the credit card
Trade company and accepting in site, network being unified into computer, can be achieved with electronic funds and transfer accounts automatically, it has supports consumption, pre-
Authorize, inquiry into balance and the function such as transfer accounts, use safely, quickly, it is reliable.
At present, what the POS on market was used is quite varied, either the industry such as finance, oiling, telecommunications, uniform to use.
Especially after the use crowd of IC-card increases, the use of holder is greatly facilitated, various contactless electronic cards also exist
Popularize on market, but current POS can not provide preferably service for this kind of consumption, such as, it is impossible in this consumption
Consumption information is printed for user.
For in correlation technique, the poor technical problem of the service quality of POS not yet proposes effective solution party at present
Case.
The content of the invention
The Method of printing and device of a kind of consumption information are embodiments provided, at least to solve in correlation technique,
The poor technical problem of the service quality of POS.
One side according to embodiments of the present invention, there is provided a kind of Method of printing of consumption information, the method include:It is logical
The NFC module for crossing POS reads the consumption information of NFC device, wherein, the based on Android operation system is installed in POS
One applications client;The consumption information for reading is transmitted to the first applications client;By the first applications client, according to pre-
The processing mode of definition carries out pretreatment to reading the consumption information for taking;First application visitor is printed by the print module of POS
Consumption information after the process of family end.
Further, the consumption information for reading is transmitted to the first applications client includes:Entered by the system of POS
Journey obtains the consumption information for reading;The consumption information that system process gets is transmitted to entering that the first applications client is located
Journey.
Further, the consumption information that system process gets is transmitted to the first applications client the process bag being located
Include:By the interprocess communication between the process that system process and the first applications client are located, the consumption information for getting is passed
Transport to the first applications client.
Further, by the first applications client, enter to reading the consumption information for taking according to predefined processing mode
Row pretreatment includes:The consumption information for reading is filled to printing template, file to be printed is obtained, wherein, file to be printed
In every a line shared by number of characters be preset value.
Further, the consumption information for reading is filled to printing template includes:Read each word in consumption information
Section;In field in the case of integral multiple of the number of characters of information for preset value, directly the information in field is filled to printing
Corresponding row in template;In the case that in field, the number of characters of information is not the integral multiple of preset value, it is that field supplements space
Character, and fill supplement the information in the field after space character with the corresponding row into printing template, wherein, supplement space word
Integral multiple of the number of characters of information for preset value in field after symbol.
Other side according to embodiments of the present invention, there is provided a kind of printing equipment of consumption information, the device include:
Reading unit, for the consumption information of NFC device is read by the NFC module of POS, wherein, it is provided with based on peace in POS
First applications client of tall and erect operating system;Transmission unit, for the consumption information for reading is transmitted to the first application client
End;Pretreatment unit, for by the first applications client, entering to reading the consumption information for taking according to predefined processing mode
Row pretreatment;Print unit, for printing the consumption information after the first applications client is processed by the print module of POS.
Further, transmission unit includes:Acquisition module, for disappearing that the system process acquisition by POS reads
Charge information;Transport module, the consumption information for system process is got transmit to the first applications client the process being located.
Further, transport module is additionally operable to the process between the process being located by system process and the first applications client
Between communicate, the consumption information for getting is transmitted to the first applications client.
Further, the consumption information that pretreatment unit is additionally operable to read is filled to printing template, obtains to be printed
File, wherein, the number of characters shared by every a line in file to be printed is preset value.
Further, pretreatment unit includes:Read module, for reading each field in consumption information;First fills out
Mold filling block, for the information in field number of characters for preset value integral multiple in the case of, directly the information in field is filled out
The corresponding row being charged in printing template;Second filling module, for the information in field number of characters for preset value integer
In the case of times, it is that field supplements space character, and fills the information in the field after space character is supplemented to printing template
In corresponding row, wherein, supplement space character after field in information number of characters for preset value integral multiple.
According to another embodiment of the invention, there is provided a kind of storage medium, storage medium can be configured so that storage
For performing the program code of following steps:The consumption information of NFC device is read by the NFC module of POS, wherein, POS
On the first applications client based on Android operation system is installed;The consumption information for reading is transmitted to the first application client
End;By the first applications client, pretreatment is carried out to reading the consumption information for taking according to predefined processing mode;Pass through
The print module of POS prints the consumption information after the first applications client is processed.
In embodiments of the present invention, the consumption information of NFC device is read by the NFC module of POS, wherein, in POS
The first applications client based on Android operation system is installed;The consumption information for reading is transmitted to the first application client
End;By the first applications client, pretreatment is carried out to reading the consumption information for taking according to predefined processing mode;Pass through
The print module of POS prints the consumption information after the first applications client is processed, so as to solve in correlation technique, POS
The poor technical problem of service quality, realize the technique effect of the service quality for improving POS.
Description of the drawings
Accompanying drawing described herein is used for providing a further understanding of the present invention, constitutes the part of the application, this
Bright schematic description and description does not constitute inappropriate limitation of the present invention for explaining the present invention.In the accompanying drawings:
Fig. 1 is the schematic diagram of mobile terminal according to embodiments of the present invention;
Fig. 2 is the flow chart of the Method of printing of consumption information according to embodiments of the present invention;
Fig. 3 is the schematic diagram of the printing equipment of consumption information according to embodiments of the present invention.
Specific embodiment
Below with reference to accompanying drawing and in conjunction with the embodiments describing the present invention in detail.It should be noted that not conflicting
In the case of, the feature in embodiment and embodiment in the application can be mutually combined.
It should be noted that description and claims of this specification and the term " first " in above-mentioned accompanying drawing, "
Two " it is etc. for distinguishing similar object, without for describing specific order or precedence.
Embodiment 1
The embodiment of the method provided by the embodiment of the present application one can be at mobile terminal (such as wearable device), computer end
Perform in end or similar arithmetic unit.As a example by running on mobile terminals, as shown in figure 1, mobile terminal can include
(processor 101 can include but is not limited to Micro-processor MCV or can for one or more (one is only illustrated in figure) processors 101
The processing meanss of programmed logic device FPGA etc.), the memorizer 103 for data storage, and for the transmission of communication function
Device 105.It will appreciated by the skilled person that the structure shown in Fig. 1 is only illustrated, which is not to above-mentioned electronic installation
Structure cause limit.
Memorizer 103 can be used for the software program and module for storing application software, the such as equipment in the embodiment of the present invention
The corresponding programmed instruction/module of control method, processor 101 by operation be stored in software program in memorizer 103 with
And module, so as to perform various function application and data processing, that is, realize above-mentioned method.Memorizer may include random at a high speed
Memorizer, may also include nonvolatile memory, such as one or more magnetic storage device, flash memory or other are non-volatile
Property solid-state memory.In some instances, memorizer can be further included relative to the remotely located memorizer of processor, these
Remote memory can be by network connection to terminal.The example of above-mentioned network includes but is not limited to the Internet, enterprise
In-house network, LAN, mobile radio communication and combinations thereof.
Transmitting device is for via a network reception or transmission data.Above-mentioned network instantiation may include to calculate
The wireless network that the communication providerses of machine terminal are provided.In an example, transmitting device includes a network adapter
(Network Interface Controller, NIC), which can be connected with other network equipments so as to can be with interconnection by base station
Net is communicated.In an example, transmitting device can be radio frequency (Radio Frequency, RF) module, and which is used to pass through
Wireless mode is communicated with the Internet.
According to embodiments of the present invention, there is provided a kind of embodiment of the method for the Method of printing of consumption information, need explanation
It is can to perform in the such as computer system of one group of computer executable instructions the step of the flow process of accompanying drawing is illustrated,
And, although logical order is shown in flow charts, but in some cases, can be performed with the order being different from herein
Shown or described step.
Fig. 2 is the flow chart of the Method of printing of consumption information according to embodiments of the present invention, as shown in Fig. 2 the method bag
Include following steps:
Step S201, by the NFC module (Near Field Communication, close range wireless communication) of POS
The consumption information of NFC device is read, the first applications client based on Android operation system is installed, based on ARIXTRA in POS
The client of system compatible, can POS carry, it is also possible to the form of third party's client be arranged on POS on.
Step S202, the consumption information for reading is transmitted to the first applications client.
Step S203, by the first applications client, enters to reading the consumption information for taking according to predefined processing mode
Row pretreatment.
Step S204, prints the consumption information after the first applications client is processed by the print module of POS.
By above-described embodiment, the consumption information of NFC device is read by the NFC module of POS, wherein, pacify in POS
Equipped with the first applications client based on Android operation system;The consumption information for reading is transmitted to the first applications client;
By the first applications client, pretreatment is carried out to reading the consumption information for taking according to predefined processing mode;By POS
Print module print the first applications client process after consumption information, so as to solve in correlation technique, the service of POS
Second-rate technical problem, realizes the technique effect of the service quality for improving POS.
Alternatively, the executive agent of above-mentioned steps can be processor etc. of POS, but not limited to this.
In embodiments herein, above-mentioned POS is a the Internet POS developed based on android system
(namely super POS), the POS are aimed at the solution that shops moves cash register.Mobile payment in the market relies on
Convenient, fast the characteristics of, is increasingly becoming the first-selection of customer payment, but tradition POS cannot support to move cash register, and super POS is just
This problem can be solved well, allow cashier from counterfeit money, the small change of traditional cash cash register the problems such as in free, enjoy
It is convenient that mobile cash register is brought.
Traditional POS does not support that barcode scanning is collected money, and simultaneity factor customizability is poor, and button operation is loaded down with trivial details.And it is currently a popular
The cash register software support movement barcode scanning cash register of smart mobile phone, interface hommization is swift to operate, but lacks hardware supported, it is impossible to real
The basic function such as now swipe the card, print.The super POS of the application is successfully by the android system of smart mobile phone with tradition POS's
Combination of hardware is got up, its friendly interface, is a internet intelligent POS terminal supported and swipe the card, print.
Super POS is a the Internet POS products, preferably can be worked in the case where there is network, in order to overcome
Constraint of the network to super POS, POS can adopt near field communication technology, and to overcome under off-grid, super POS is unavailable
Problem.During using near-field communication technology, the NFC function module based on android system can be used, brush nfc card can be supported.It is existing
The special a part of member card of some bank cards and company can all use this kind of mode.
In order to further improve the scope of application of the POS, the solution of current mobile payment can be integrated, will be existing
The payable product integration such as Alipay, wechat and Unionpay is in this POS.Shops is made to realize client in the case where the volume of the flow of passengers is big
Convenient payment, the quick cash register of businessman.
In the embodiment of step S202, the consumption information for reading is transmitted to the first applications client to be included:Pass through
The system process of POS obtains the consumption information for reading;The consumption information that system process gets is transmitted to the first application
The process that client is located.
Alternatively, the consumption information that system process gets is transmitted to the first applications client the process being located to be included:
By the interprocess communication between the process that system process and the first applications client are located, by the consumption information for getting transmit to
First applications client.Above-mentioned interprocess communication can pass through the Transact methods and onTransact method realities of ARIXTRA
It is existing.
The mode of AIDL can be used, is started a service Service in APP layers (i.e. application layer) and (is serviced equivalent to one
Process), also there is a Service (carrying out equivalent to system) in of terminal itself.The Service of terminal is used to read hardware
Information is communicated with Android secure connection layers, the information that can be obtained hardware, is delivered to APP by Service.
It should be noted that AIDL full name are Android Interface Definition Language, i.e.,
Android IDLs, are unable to shared drive between the process in android system, accordingly, it is desirable to provide some mechanism
Enter row data communication between different processes.
Specifically, a card information, not capable of circulation to swipe the card, institute are only obtained after calling the Service that swipes the card (system process)
Instruction is cycled through with the Hanlder mechanism using Android system, but so has the problem that Service is run always, it
Can just stop after all of instruction can be finished.When retransmiting other instructions in the process, will be new
Instruction is added to inside queue, the problem for occurring queuing up, it is impossible to perform new instruction in time.In order to perform new instruction in time,
Service can be started in the onResume methods for using the activity for swiping the card, and add mark.Then in onPause
Service is cut off in method, and mark is changed to into false, after instruction is sent every time, first judged mark, then determine
The operation that next step is carried out, such that it is able to perform new instruction in time.
It should be noted that Hanlder is mainly used in the process of asynchronous message:After a message is sent, enter first
Enter a message queue, the function for sending message is returned at once, and message is taken in message queue by another part one by one
Go out, then message is processed, that is, transmission message and reception message are not synchronous process.This mechanism is commonly used to
Process relatively time-consuming long operation.Activity be it is most basic in Android components be also big group of most commonly seen four
(Activity, Service are serviced part, Content Provider content providers, BroadcastReceiver broadcast receptions
One of device), Activity is an application component, there is provided a screen, and it is a certain in order to complete that user can be used to interaction
Task.
In the embodiment of step S203, by the first applications client, take to reading according to predefined processing mode
Consumption information carry out pretreatment and include:The consumption information for reading is filled to printing template, file to be printed is obtained, its
In, the number of characters shared by every a line in file to be printed is preset value.
Alternatively, the consumption information for reading is filled to printing template includes:Read each field in consumption information;
In field in the case of integral multiple of the number of characters of information for preset value, directly the information in field is filled to printing template
In corresponding row;In the case that in field, the number of characters of information is not the integral multiple of preset value, it is that field supplements space character,
And fill supplement the information in the field after space character with the corresponding row into printing template, wherein, after supplementing space character
Field in information number of characters for preset value integral multiple.
What APP was printed realizes mode of the principle similar to the AIDL Service for swiping the card.Inter-Process Communication can be adopted
Mode is passed back the process that system process or printing function are located by the consumption data after process, in order to print module to data
Printed.
After type information is obtained, calculated by way of 32 characters of every row (i.e. preset value), then less than 32
Space polishing is used where character, it is ensured that often capable character all can standard alignment.
By above-described embodiment, solution of the POS with mobile payment is fused together, it will member management, and receive
Silver-colored system is perfectly combined, and realizes mobile gathering and member management.
Through the above description of the embodiments, those skilled in the art is can be understood that according to above-mentioned enforcement
The method of example can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but a lot
In the case of the former be more preferably embodiment.Based on such understanding, technical scheme is substantially in other words to existing
The part that technology contributes can be embodied in the form of software product, and the computer software product is stored in a storage
In medium (such as ROM/RAM, magnetic disc, CD), use including some instructions so that a station terminal equipment (can be mobile phone, calculate
Machine, server, or network equipment etc.) perform method described in each embodiment of the invention.
Embodiment 2
A kind of printing equipment of consumption information is additionally provided in the embodiment of the present invention.The device is used to realize above-described embodiment
And preferred implementation, carried out repeating no more for explanation.As used below, term " module " can be realized making a reservation for
The combination of the software and/or hardware of function.Although the device described by following examples is preferably with software realizing, firmly
Part, or the realization of the combination of software and hardware is also may and to be contemplated.
Fig. 3 is the schematic diagram of the printing equipment of consumption information according to embodiments of the present invention.As shown in figure 3, the device can
To include:Reading unit 31, transmission unit 32, pretreatment unit 33 and print unit 34.
Reading unit 31 is used for the consumption information that NFC device is read by the NFC module of POS, wherein, pacify in POS
Equipped with the first applications client based on Android operation system;
Transmission unit 32 is for the consumption information for reading is transmitted to the first applications client;
Pretreatment unit 33 is used for by the first applications client, according to predefined processing mode to reading the consumption for taking
Information carries out pretreatment;
Print unit 34 is used to print the consumption information after the first applications client is processed by the print module of POS.
By above-described embodiment, reading unit reads the consumption information of NFC device, POS by the NFC module of POS
On the first applications client based on Android operation system is installed;Transmission unit transmits the consumption information for reading to first
Applications client;Pretreatment unit is believed to reading the consumption for taking according to predefined processing mode by the first applications client
Breath carries out pretreatment;Print unit, for the consumption letter after the first applications client is processed is printed by the print module of POS
Breath, so as to solve in correlation technique, the poor technical problem of the service quality of POS realizes the Service Quality for improving POS
The technique effect of amount.
In embodiments herein, above-mentioned POS is a the Internet POS developed based on android system
(namely super POS), the POS are aimed at the solution that shops moves cash register.Mobile payment in the market relies on
Convenient, fast the characteristics of, is increasingly becoming the first-selection of customer payment, but tradition POS cannot support to move cash register, and super POS is just
This problem can be solved well, allow cashier from counterfeit money, the small change of traditional cash cash register the problems such as in free, enjoy
It is convenient that mobile cash register is brought.
Traditional POS does not support that barcode scanning is collected money, and simultaneity factor customizability is poor, and button operation is loaded down with trivial details.And it is currently a popular
The cash register software support movement barcode scanning cash register of smart mobile phone, interface hommization is swift to operate, but lacks hardware supported, it is impossible to real
The basic function such as now swipe the card, print.The super POS of the application is successfully by the android system of smart mobile phone with tradition POS's
Combination of hardware is got up, its friendly interface, is a internet intelligent POS terminal supported and swipe the card, print.
Super POS is a the Internet POS products, preferably can be worked in the case where there is network, in order to overcome
Constraint of the network to super POS, POS can adopt near field communication technology, and to overcome under off-grid, super POS is unavailable
Problem.During using near-field communication technology, the NFC function module based on android system can be used, brush nfc card can be supported.It is existing
The special a part of member card of some bank cards and company can all use this kind of mode.
In order to further improve the scope of application of the POS, the solution of current mobile payment can be integrated, will be existing
The payable product integration such as Alipay, wechat and Unionpay is in this POS.Shops is made to realize client in the case where the volume of the flow of passengers is big
Convenient payment, the quick cash register of businessman.
In the above-described embodiments, transmission unit includes:Acquisition module, is read for being obtained by the system process of POS
The consumption information for arriving;Transport module, the consumption information for system process is got are transmitted to the first applications client and are located
Process.
Alternatively, transport module is additionally operable between the process between the process being located by system process and the first applications client
Communication, the consumption information for getting is transmitted to the first applications client.
The logical mode that can use AIDL, starts service Service (equivalent to a service processes) in APP layers,
Of terminal itself also has a Service (carrying out equivalent to system).The Service of terminal be used to reading the information of hardware with
Android secure connections layer communicates, and the information that can be obtained hardware is delivered to APP by Service.
It should be noted that AIDL full name are Android Interface Definition Language, i.e.,
Android IDLs, are unable to shared drive between the process in android system, accordingly, it is desirable to provide some mechanism
Enter row data communication between different processes.
Specifically, a card information, not capable of circulation to swipe the card, institute are only obtained after calling the Service that swipes the card (system process)
Instruction is cycled through using Hanlder mechanism, but so have the problem that Service is run always, it can be all of
Instruction can just stop after being finished.When retransmiting other instructions in the process, new instruction will be added to
Inside queue, the problem for occurring queuing up, it is impossible to perform new instruction in time.In order to perform new instruction in time, brush can used
Service is started in the onResume methods of the activity of card, and add mark.Then will in onPause methods
Service cuts off, and mark is changed to false, after instruction is sent every time, first judges mark, then determines next stepping
Capable operation, such that it is able to perform new instruction in time.
It should be noted that Hanlder is mainly used in the process of asynchronous message:After a message is sent, enter first
Enter a message queue, the function for sending message is returned at once, and message is taken in message queue by another part one by one
Go out, then message is processed, that is, transmission message and reception message are not synchronous process.This mechanism is commonly used to
Process relatively time-consuming long operation.Activity be it is most basic in Android components be also big group of most commonly seen four
(Activity, Service are serviced part, Content Provider content providers, BroadcastReceiver broadcast receptions
One of device), Activity is an application component, there is provided a screen, and it is a certain in order to complete that user can be used to interaction
Task.
In an optional embodiment, the consumption information that pretreatment unit is additionally operable to read is filled to impression block
Plate, obtains file to be printed, wherein, the number of characters shared by every a line in file to be printed is preset value.
Specifically, pretreatment unit includes:Read module, for reading each field in consumption information;First filling
Module, for the information in field number of characters for preset value integral multiple in the case of, directly by field information fill
Corresponding row into printing template;Second filling module, for the information in field number of characters for preset value integral multiple
In the case of, it is that field supplements space character, and fills the information in the field after space character is supplemented into printing template
Corresponding row, wherein, supplement space character after field in information number of characters for preset value integral multiple.
What APP was printed realizes mode of the principle similar to the AIDL Service for swiping the card.Inter-Process Communication can be adopted
Mode is passed back the process that system process or printing function are located by the consumption data after process, in order to print module to data
Printed.
After type information is obtained, calculated by way of 32 characters of every row (i.e. preset value), then less than 32
Space polishing is used where character, it is ensured that often capable character all can standard alignment.
By above-described embodiment, solution of the POS with mobile payment is fused together, it will member management, and receive
Silver-colored system is perfectly combined, and realizes mobile gathering and member management.
It should be noted that above-mentioned modules can be by software or hardware to realize, for the latter, Ke Yitong
Cross in the following manner realization, but not limited to this:Above-mentioned module is respectively positioned in same processor;Or, above-mentioned modules are with any
The form of combination is located in different processors respectively.
Alternatively, the specific example in the present embodiment is may be referred to described in above-described embodiment and optional embodiment
Example, the present embodiment will not be described here.
Obviously, those skilled in the art should be understood that each module or each step of the above-mentioned present invention can be with general
Computing device realizing, they can be concentrated on single computing device, or are distributed in multiple computing devices and are constituted
Network on, alternatively, they can be realized with the executable program code of computing device, it is thus possible to they are stored
In the storage device by computing device performing, and in some cases, can be with shown in performing different from order herein
The step of going out or describe, or they are fabricated to each integrated circuit modules respectively, or by the multiple modules in them or
Step is fabricated to single integrated circuit module to realize.So, the present invention is not restricted to any specific hardware and software combination.
The preferred embodiments of the present invention are the foregoing is only, the present invention is not limited to, for the skill of this area
For art personnel, the present invention can have various modifications and variations.It is all within the spirit and principles in the present invention, made any repair
Change, equivalent, improvement etc., should be included within the scope of the present invention.
Claims (10)
1. a kind of Method of printing of consumption information, it is characterised in that include:
The consumption information of NFC device is read by the NFC module of POS, wherein, it is provided with the POS and is grasped based on ARIXTRA
Make the first applications client of system;
The consumption information for reading is transmitted to first applications client;
By first applications client, pre- place is carried out to reading the consumption information for taking according to predefined processing mode
Reason;
The consumption information after first applications client is processed is printed by the print module of the POS.
2. method according to claim 1, it is characterised in that the consumption information for reading is transmitted to described first
Applications client includes:
The consumption information for reading is obtained by the system process of the POS;
The consumption information that the system process gets is transmitted to first applications client process being located.
3. method according to claim 2, it is characterised in that the consumption information that the system process gets is passed
The process for transporting to the first applications client place includes:
By the interprocess communication between the process that the system process and first applications client are located, by the institute for getting
State consumption information to transmit to first applications client.
4. method as claimed in any of claims 1 to 3, it is characterised in that by first applications client,
Include to reading the consumption information for taking and carrying out pretreatment according to predefined processing mode:
The consumption information for reading is filled to printing template, file to be printed is obtained, wherein, in the file to be printed
Every a line shared by number of characters be preset value.
5. method according to claim 4, it is characterised in that the consumption information for reading is filled to printing template
Including:
Read each field in the consumption information;
In the case that in the field, the number of characters of information is the integral multiple of the preset value, directly by the letter in the field
Breath filling is to the corresponding row in the printing template;
In the case that in the field, the number of characters of information is not the integral multiple of the preset value, it is that the field supplements space
Character, and fill supplement the information in the field after space character with the corresponding row into the printing template, wherein, mend
In the field filled after space character, the number of characters of information is the integral multiple of the preset value.
6. a kind of printing equipment of consumption information, it is characterised in that include:
Reading unit, for the consumption information of NFC device is read by the NFC module of POS, wherein, install in the POS
There is the first applications client based on Android operation system;
Transmission unit, for the consumption information for reading is transmitted to first applications client;
Pretreatment unit, for by first applications client, according to predefined processing mode to described in reading and taking
Consumption information carries out pretreatment;
Print unit, for disappearing described in being printed after first applications client is processed by the print module of the POS
Charge information.
7. device according to claim 6, it is characterised in that the transmission unit includes:
Acquisition module, obtains the consumption information for reading for the system process by the POS;
Transport module, the consumption information for the system process is got are transmitted to the first applications client institute
Process.
8. device according to claim 7, it is characterised in that the transport module be additionally operable to by the system process with
Interprocess communication between the process that first applications client is located, the consumption information for getting is transmitted to described the
One applications client.
9. the device according to any one in claim 6 to 8, it is characterised in that the pretreatment unit be additionally operable to by
The consumption information for reading is filled to printing template, obtains file to be printed, wherein, it is each in the file to be printed
The shared number of characters of row is preset value.
10. device according to claim 9, it is characterised in that the pretreatment unit includes:
Read module, for reading each field in the consumption information;
First filling module, for the information in the field number of characters be the integral multiple of the preset value in the case of, directly
Connect and fill by the information in the field with the corresponding row into the printing template;
Second filling module, for the information in the field number of characters for the preset value integral multiple in the case of,
Space character is supplemented for the field, and is filled the information in the field after space character is supplemented to the printing template
In corresponding row, wherein, supplement space character after the field in information number of characters be the preset value integral multiple.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610932578.XA CN106548573A (en) | 2016-10-31 | 2016-10-31 | The Method of printing and device of consumption information |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610932578.XA CN106548573A (en) | 2016-10-31 | 2016-10-31 | The Method of printing and device of consumption information |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106548573A true CN106548573A (en) | 2017-03-29 |
Family
ID=58392606
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610932578.XA Pending CN106548573A (en) | 2016-10-31 | 2016-10-31 | The Method of printing and device of consumption information |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106548573A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107423004A (en) * | 2017-06-20 | 2017-12-01 | 上海慧银信息科技有限公司 | The method and POS terminal of POS terminal printed tickets |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101145263A (en) * | 2007-10-26 | 2008-03-19 | 南京银络软件有限公司 | Financial POS supervisor and its management method |
CN102609838A (en) * | 2011-12-15 | 2012-07-25 | 北京互帮国际技术有限公司 | Paperless transaction receipt equipment and system |
CN104361693A (en) * | 2014-11-19 | 2015-02-18 | 肖丹 | Intelligent market automatic clearing system and implementation method thereof |
CN104574074A (en) * | 2013-10-22 | 2015-04-29 | 李宏 | Method and system for real-time payment and collection of payer and beneficiary |
CN105261130A (en) * | 2015-11-18 | 2016-01-20 | 北京微智全景信息技术有限公司 | Intelligent POS terminal |
CN205541169U (en) * | 2016-01-26 | 2016-08-31 | 深圳市粤创高科技术有限公司 | Multi -functional POS terminating machine |
-
2016
- 2016-10-31 CN CN201610932578.XA patent/CN106548573A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101145263A (en) * | 2007-10-26 | 2008-03-19 | 南京银络软件有限公司 | Financial POS supervisor and its management method |
CN102609838A (en) * | 2011-12-15 | 2012-07-25 | 北京互帮国际技术有限公司 | Paperless transaction receipt equipment and system |
CN104574074A (en) * | 2013-10-22 | 2015-04-29 | 李宏 | Method and system for real-time payment and collection of payer and beneficiary |
CN104361693A (en) * | 2014-11-19 | 2015-02-18 | 肖丹 | Intelligent market automatic clearing system and implementation method thereof |
CN105261130A (en) * | 2015-11-18 | 2016-01-20 | 北京微智全景信息技术有限公司 | Intelligent POS terminal |
CN205541169U (en) * | 2016-01-26 | 2016-08-31 | 深圳市粤创高科技术有限公司 | Multi -functional POS terminating machine |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107423004A (en) * | 2017-06-20 | 2017-12-01 | 上海慧银信息科技有限公司 | The method and POS terminal of POS terminal printed tickets |
CN107423004B (en) * | 2017-06-20 | 2021-03-30 | 上海慧银信息科技有限公司 | Method for printing bill by POS terminal and POS terminal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109246188B (en) | System supporting multi-channel transaction and multi-channel transaction processing method | |
CN104639756B (en) | A kind of method and device for showing short message | |
CN1811834B (en) | Method for recharging a subscription card using wireless equipment | |
CN108492147A (en) | Discount coupon management method, system and server, storage medium | |
CN106557929A (en) | Logistics information processing method and processing device | |
CN105230116A (en) | For the remote subscriber interface of self-service computing equipment | |
US20130003104A1 (en) | User interface for a customized personalization document printer of an instant issuance system | |
WO2008094885A1 (en) | Merchant service portal applications interface systems and methods | |
CN101515387A (en) | System and method for realizing non-contact payment based on payment bridge | |
HRP20030164A2 (en) | Multifunctional mobile banking system | |
CN104182849A (en) | Business preprocessing system and method | |
CN110235380A (en) | A kind of payment processing method and device | |
EP3543929A1 (en) | Currency type switching method and device | |
CN104281951A (en) | Information processing apparatus | |
CN110489195A (en) | Method for processing business, device, electronic equipment and computer readable storage medium | |
CN104102950A (en) | Travel ticket ordering method based on two-dimension code | |
CN106682899A (en) | Method for confirming online transaction safety through mobile phone and system thereof | |
CN106548573A (en) | The Method of printing and device of consumption information | |
CN103325192A (en) | RFID (radio frequency identification device)-based ticket, shopping and accommodation one-card tourism system | |
CN101582141A (en) | Online recharging method based on RFID card terminal of mobile sticker and system | |
WO2014049599A1 (en) | Using device identification information for payment via a printer | |
CN106600256A (en) | Mobile phone subway ticket buying payment method | |
CA2799242A1 (en) | External device interface abstraction | |
CN104021471A (en) | Check-in system and method based mobile payment | |
US11651344B2 (en) | System and method for transaction handoff and completion employing indirect token |
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 | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: Wuxi District of Jiangsu city in Wuxi Province, Zhenze Road No. 18, Wuxi (National) Software Park Dolphin C seat 2, 3 floor Applicant after: Wuxi private online Polytron Technologies Inc Address before: Wuxi District of Jiangsu city in Wuxi Province, Zhenze Road No. 18, Wuxi (National) Software Park Dolphin C seat 2, 3 floor Applicant before: Wuxi Yazuo Online Technology Development Co., Ltd. |
|
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170329 |