Invention content
In view of this, this specification provides a kind of implementation method of self-service text print service, apply on self-service literary printing apparatus,
The method includes:
After receiving the text print instruction of user, order creation request, the order creation request are sent to payment services end
It include the charge information that this service is generated according to the text print instruction of user;
The order creation response that payment services end returns is received, including the item for this service that payment services end generates
Code information;
The corresponding bar code image of the bar code information is shown, for being taken to payment services end to this after the terminal scanning of user
Business payment;
After receiving this prepaid message of service of payment services end, indicate to take into style of writing print according to the text print of user
Business.
A kind of implementation method for self-service text print service that this specification provides, is applied in payment services end, the method packet
It includes:
The order creation request that self-service literary printing apparatus is sent is received, including self-service literary printing apparatus according to the Wen Yin of user
Indicate the charge information of this service generated;
The bar code information of this service is generated, and returns to the self-service literary printing apparatus, for self-service literary printing apparatus displaying pair
The bar code image answered is scanned to the terminal of user, to be paid to this service;
After user successfully pays this service, sends this to the self-service literary printing apparatus and service prepaid message.
This specification additionally provides a kind of realization device of self-service text print service, applies on self-service literary printing apparatus, described
Device includes:
Order creation request transmitting unit, for after receiving the text print instruction of user, order to be sent to payment services end
Request to create, the order creation request include that the charge information of this service is generated according to the text print instruction of user;
Order creation responds receiving unit, the order creation response for receiving the return of payment services end, including branch
Pay the bar code information for this service that server-side generates;
Bar code image display unit is scanned for showing the corresponding bar code image of the bar code information for the terminal of user
Backward payment services end is to this services pay;
Wen Yin indicates execution unit, for receive payment services end this service prepaid message after, according to user
Text print indicate into style of writing print service.
A kind of realization device for self-service text print service that this specification provides, is applied in payment services end, described device packet
It includes:
Order creation request reception unit, the order creation request sent for receiving self-service literary printing apparatus, including
The charge information for this service that self-service text printing apparatus is generated according to the text print instruction of user;
Bar code information generation unit, the bar code information for generating this service, and the self-service literary printing apparatus is returned to,
Show that corresponding bar code image is scanned to the terminal of user for self-service literary printing apparatus, to be paid to this service;
Success notification unit is paid, for after user successfully pays this service, being sent to the self-service literary printing apparatus
This services prepaid message.
The self-service literary printing apparatus of one kind that this specification provides, including:Memory and processor;It is stored on the memory
The computer program that can be run by processor;When the processor runs the computer program, above application is executed self-service
Step described in the implementation method of self-service text print service on literary printing apparatus.
A kind of computer equipment that this specification provides, including:Memory and processor;Being stored on the memory can
The computer program run by processor;When the processor runs the computer program, executes above application and taken in payment
The step being engaged in described in the self-service literary implementation method for printing service at end.
A kind of computer readable storage medium that this specification provides, is stored thereon with computer program, the computer
When program is run by processor, execute described in the implementation method that self-service text print of the above application on self-service literary printing apparatus services
Step.
This specification additionally provides a kind of computer readable storage medium, is stored thereon with computer program, the calculating
When machine program is run by processor, step of the above application described in the implementation method of the self-service text print service at payment services end is executed
Suddenly.
By above technical scheme as it can be seen that in the embodiment of this specification, referred to according to the text print of user by self-service literary printing apparatus
Show the charge information for generating this service, payment services end is sent in order creation request, receives the generation of payment services end
This service bar code information after, show user terminal scan and to payment services end pay the bill, payment services end with
Family notifies self-service literary printing apparatus to carry out the text print service of user's instruction after paying successfully so that user is in self-service text print service process
In without being manually entered Fee Amount, reduce the operation of user, improve the efficiency of Self-Service.
Specific implementation mode
The embodiment of this specification proposes a kind of implementation method of new self-service text print service, refers to according to the text print of user
Show, self-service text sound equipment generates the charge information of this service and is sent to payment services end, and payment services end generates this clothes
The bar code information of business returns to self-service literary printing apparatus, for user terminal scan self-service literary printing apparatus displaying bar code image it is laggard
Row payment, after receiving payment services end and paying successful message, self-service text printing apparatus is indicated according to the text print of user into style of writing
Print service, user are not required to be manually entered Fee Amount during Self-Service, and operation is more easy, improves self-service Wen Yin
The efficiency of service, improves user experience.
In the embodiment of this specification, it is self-service text printing apparatus include can be printed, be duplicated by user self-help, being scanned,
And/or the self-service device of the items such as fax, such as self-service printer, self-help copier, self-service photo printer, self-help print/multiple
All-in-one multifunctional machine etc. is printed, is not limited.
In the embodiment of this specification, self-service text printing apparatus and payment services end, the terminal of user and payment services end it
Between by network mutually may have access to.Wherein, the terminal of user can be mobile phone, tablet computer, PC (Personal Computer,
PC), the equipment such as notebook;Payment services end may operate in one physically or logically on server, can also be by
Two or more share the physically or logically server of different responsibilities, mutually collaboration takes to realize in this specification embodiment
The various functions of business device.This specification embodiment is to the terminal of user, the type at payment services end and the terminal of user and branch
It pays between server-side, type, the agreement etc. of communication network do not limit between self-service literary printing apparatus and payment services end.
In the embodiment of this specification, the implementation method of self-service text print service operates in the flow on self-service literary printing apparatus such as
Shown in Fig. 1, the flow for operating in payment services end is as shown in Figure 2.
On self-service literary printing apparatus, step 110, after receiving the text print instruction of user, order is sent to payment services end
Request to create, order creation request include that the charge information of this service is generated according to the text print instruction of user.
At payment services end, step 210, the order creation request that self-service literary printing apparatus is sent is received, including self-service
The charge information for this service that literary printing apparatus is generated according to the text print instruction of user.
Self-service text printing apparatus usually carries display function module and input functional module, and user can pass through the two functions
Module specifies service item to be used and to use the various parameters of service item, and the text print for being used as this service refers to
Show.Selectable service item and its parameter can be true according to the demand of practical application scene and used self-service literary printing apparatus
Fixed, for example, to self-help print/duplicator, it is to beat that the text print instruction of this service of user, which may include service item to be used,
Print, the document number of pages to be printed, the printing of two-sided or single side, printing number, colour print or black and white printing etc..
After user inputs text print instruction, self-service text printing apparatus generates the charging of this service according to the text print instruction of user
Information, and charge information is encapsulated in order creation request and is sent to payment services end.Self-service text printing apparatus can be by user
Text print instruction in the relevant content of charging as charge information, payment services end is sent to, by payment services end according to this
The total cost of this text print service is calculated with the relevant content of charging a bit.Self-service text printing apparatus can also be according to user's
The total cost of this service is calculated in Wen Yin instructions, is sent in order creation request using total cost as charge information
Give payment services end.
Self-service text printing apparatus can also carry other and this relevant business information of service in order creation request, such as
The mark (can be used for uniquely representing the information of a self-service literary sound equipment at payment services end) of this equipment, the ground of this equipment
Location, shroff account number etc., do not limit.
At payment services end, step 220, the bar code information of this service is generated, and return to the self-service literary printing apparatus, supplied
Self-service text printing apparatus shows that corresponding bar code image is scanned to the terminal of user, to be paid to this service.
On self-service literary printing apparatus, step 120, the order creation response that payment services end returns is received, including branch
Pay the bar code information for this service that server-side generates.
Payment services end creates pay invoice after receiving order creation request, for the payment of this service, generates this
The bar code information of service carries the mark of this service in bar code information.The mark of this service can paid
Server-side uniquely represents the combination of the certain field or certain fields of this service, and the combinations of the field or those fields can be with
It is used for showing the object of user-pay in subsequent user's payment flow.For example, payment services end can be this service wound
An order is built, generates the order note identification for uniquely representing the order, and bar code information is generated after order note identification is encoded.
The business datum that payment services end can also extract, and/or be safeguarded from payment services end from order creation request
Middle acquisition and this other relevant business information of service, for generating bar code information, the embodiment of this specification does not limit.
For example, beneficiary account, total cost etc. can also be carried in bar code information.
Payment services end can encode the mark of the mark of this service or this service and other business information
Barcode data (being typically a character string) is generated afterwards, and using barcode data as bar code information, is encapsulated in order creation response
In return to self-service literary printing apparatus;After can also the barcode data that coding obtains being plotted as bar code image, bar code image is made
For bar code information, it is encapsulated in order creation response and returns to self-service literary printing apparatus.
Wherein, bar code can be bar code (also referred to as bar code), can also be two-dimensional bar code (also referred to as Quick Response Code).It is corresponding
, bar code information can be the barcode data or bar code image of bar code, can also be the barcode data or bar code figure of Quick Response Code
Picture.
On self-service literary printing apparatus, step 130, the corresponding bar code image of bar code information of this service is shown, for user
Terminal scanning after to payment services end to this services pay.
Self-service text printing apparatus therefrom extracts bar code information after receiving the order creation response of payment services end return,
If bar code information is barcode data, corresponding bar code image is drawn out using barcode data, it is aobvious by display function module
Show to user;If bar code information is bar code image, which is shown to by user by display function module.
User scans the bar code image of self-service literary printing apparatus displaying using the terminal of oneself, and shaping is parsed from bar code image
Code data, the payment for initiating to service this to payment services end according to the mark of this service obtained after decoding.Specifically
Payment process is referred to the flow of barcode scanning payment in the prior art to realize, repeats no more.
At payment services end, step 230, after user successfully pays this service, this is sent to the self-service literary printing apparatus
The secondary prepaid message of service.
On self-service literary printing apparatus, step 140, after receiving this prepaid message of service of payment services end, according to
The text print of user is indicated into style of writing print service.
User terminal by with payment services end before interaction, complete to this service payment after, payment clothes
Business end sends this to the self-service literary printing apparatus for initiating the order creation request that this is serviced and services prepaid message.
Self-service text printing apparatus indicates the text print that this is serviced after receiving this and servicing prepaid message, according to user
Parameter, execute the specified service item of text print instruction.If service item is finished, this service successfully completes.
The completion if this service fails, self-service text printing apparatus can send a warning message to maintenance personnel.It can be with
The contact method that maintenance personnel is preset in self-service literary printing apparatus, after the service item of certain service fails to be finished, from
It helps literary printing apparatus that can read the error message of this equipment, maintenance concerns classification is determined according to error message, by the mark of this equipment
Know (maintenance personnel can uniquely determine the information of a self-service literary printing apparatus, such as the installation addresses of equipment Serial Number or equipment)
It is encapsulated in warning information with maintenance concerns classification, is sent to maintenance personnel.For example, maintenance concerns classification may include replacing ink
Box, addition paper, equipment fault etc..Self-service text printing apparatus may be used various communication modes and send alarm letter to maintenance personnel
Breath, such as short message, instant message, do not limit.
As it can be seen that in the embodiment of this specification, according to the text print instruction of user, self-service text printing apparatus generates this service
Charge information, is sent to payment services end in order creation request, and the bar code information that payment services end generates this service is returned
Back to self-service literary printing apparatus, corresponding bar code image is showed the terminal of user to scan and to payment services by self-service text printing apparatus
End payment, self-service text printing apparatus carries out the text print service of user's instruction after receiving payment services end and paying successful message, makes
User is obtained in self-service text print service process without being manually entered Fee Amount, operation is more easy, improves self-service literary print clothes
The efficiency of business, improves user experience.
It is above-mentioned that this specification specific embodiment is described.Other embodiments are in the scope of the appended claims
It is interior.In some cases, the action recorded in detail in the claims or step can be come according to different from the sequence in embodiment
It executes and desired result still may be implemented.In addition, the process described in the accompanying drawings not necessarily require show it is specific suitable
Sequence or consecutive order could realize desired result.In some embodiments, multitasking and parallel processing be also can
With or it may be advantageous.
In an application example of this specification, it is deployed in several unmanned printers of the regions such as campus, office building
(a kind of self-service literary printing apparatus) supported Third-party payment platform to pay the bill to print service.When user uses certain unmanned printing
When machine, user, the terminal of user for being equipped with Third-party payment platform client payment App (application program), unmanned printer,
Interaction flow between a kind of payment server (payment services end) of Third-party payment platform is as shown in Figure 3.
User inputs print instruction (a kind of text print instruction) on unmanned printer, including the printing of number of prints, black and white is also
It is colour print, single side printing or duplex printing etc..
The total cost of this print service is calculated according to the print instruction of user in unmanned printer, and expense is total
Volume, service item (printing), beneficiary account are encapsulated in order creation request, are sent to payment server.
Payment server receives order creation request, is this service-creation pay invoice, and generation uniquely represents this clothes
The order number of business generates Quick Response Code barcode data after encoding order number, be encapsulated in order creation response and return to nobody and beat
Print machine.
Quick Response Code barcode data is plotted as image in 2 D code by unmanned printer, is shown to user.
User scans the image in 2 D code that unmanned printer is shown using the payment App in oneself terminal, and payment App is used
Obtained O/No. is decoded, order payment request is initiated to payment server.
Payment server receives order payment request, inquires to obtain total cost, service entry according to O/No. therein
The order details such as mesh, beneficiary account return to payment App in order payment response.
It pays App and shows order detail, ask user to confirm and pay.After user confirms, sent to payment server
Confirm payment request.According to the setting of payment flow, user is confirming that the when of paying may need to input the verifications such as password or fingerprint
Process.
Payment server receives confirmation payment request, and the fund of total cost is transferred accounts from the account of user and gives beneficiary account
Family.After transferring accounts successfully, sends this to unmanned printer and service prepaid message.
Unmanned printer executes printing behaviour after receiving this and servicing prepaid message, according to the print instruction of user
Make.
If printing successfully completes, user takes the file of printing, this print service terminates.Fail in printing
When, unmanned printer reads the fault message of the machine, judges failure cause:If failure cause is paper deficiency, to preset
The phone number of maintenance personnel sends the alarm message of " needing to add paper ";If failure cause, which is print cartridge, can not continue to make
With to the alarm message of the phone number of maintenance personnel transmission " needing replacing print cartridge ";If failure cause is other, to dimension
The phone number of shield personnel sends the alarm message of " equipment fault ".Operation personnel receives alarm message, executes corresponding equipment
Attended operation.
Corresponding with the realization of above-mentioned flow, the embodiment of this specification additionally provides a kind of apply on self-service literary printing apparatus
The realization device of self-service text print service and a kind of realization device applied in the self-service text print service at payment services end.Both
Device can also be realized by software realization by way of hardware or software and hardware combining.For implemented in software,
It is CPU (the Central Process by self-service literary printing apparatus or place computer equipment as the device on logical meaning
Unit, central processing unit) corresponding computer program instructions are read in memory what operation was formed.For hardware view,
Other than CPU shown in Fig. 4, memory and memory, the self-service literary printing apparatus where the realization device of self-service text print service
Or computer equipment also typically includes other hardware such as the chip for carrying out wireless signal transmitting-receiving, and/or for realizing network
Other hardware such as board of communication function.
Fig. 5 show a kind of realization device of self-service text print service of this specification embodiment offer, applies in self-service text
On printing apparatus, described device includes order creation request transmitting unit, order creation response receiving unit, bar code image displaying list
Member and text print indicate execution unit, wherein:Order creation request transmitting unit is used for after receiving the text print instruction of user, to branch
It pays server-side and sends order creation request, the order creation request includes generating this service according to the text print instruction of user
Charge information;Order creation response receiving unit is used to receive the order creation response of payment services end return, including
The bar code information for this service that payment services end generates;Bar code image display unit is for showing that the bar code information is corresponding
Bar code image, for user terminal scanning after to payment services end to this services pay;Wen Yin indicates that execution unit is used for
After receiving this prepaid message of service of payment services end, indicate to service into style of writing print according to the text print of user.
In a kind of realization method, described device further includes:Warning information transmission unit, for failing when text print service
When completion, send a warning message to maintenance personnel.
In above-mentioned realization method, the warning information includes:The mark and maintenance concerns class of the self-service literary printing apparatus
Not;The maintenance concerns classification includes one below to multinomial:Replace print cartridge, addition paper, equipment fault.
Optionally, the charge information includes:This service fee total value being calculated according to the text print instruction of user.
Optionally, the bar code information includes:The barcode data or bar code image of Quick Response Code.
Fig. 6 show a kind of realization device of self-service text print service of this specification embodiment offer, applies and is taken in payment
Be engaged in end, described device include order creation request reception unit, bar code information generation unit and payment success notification unit,
In:Order creation request reception unit is used to receive the order creation request that self-service literary printing apparatus is sent, including self-service text
The charge information for this service that printing apparatus is generated according to the text print instruction of user;Bar code information generation unit is for generating this
The bar code information of service, and the self-service literary printing apparatus is returned to, it is given for the corresponding bar code image of self-service text printing apparatus displaying
The terminal at family scans, to be paid to this service;Payment success notification unit is used to successfully pay this service in user
Afterwards, it sends this to the self-service literary printing apparatus and services prepaid message.
Optionally, the charge information includes:The expense being calculated according to the text print instruction of user by self-service literary printing apparatus
Use total value.
Optionally, the bar code information includes:The barcode data or bar code image of Quick Response Code.
The embodiment of this specification provides a kind of self-service literary printing apparatus, which includes memory and processing
Device.Wherein, the computer program that can be run by processor is stored on memory;Computer journey of the processor in operation storage
When sequence, each step for the implementation method that the self-service text print service on self-service literary printing apparatus is applied in this specification embodiment is executed
Suddenly.The corresponding detailed description with each step of the implementation method of the self-service text print service on self-service literary printing apparatus refers to it
Preceding content, is not repeated.
The embodiment of this specification provides a kind of computer equipment, which includes memory and processor.
Wherein, the computer program that can be run by processor is stored on memory;Computer program of the processor in operation storage
When, execute each step applied in this specification embodiment in the implementation method of the self-service text print service at payment services end.It is right
Content before applying the detailed description in each step of the implementation method of the self-service text print service at payment services end to refer to,
It is not repeated.
The embodiment of this specification provides a kind of computer readable storage medium, and computer is stored on the storage medium
Program, these computer programs are executed and are applied in this specification embodiment on self-service literary printing apparatus when being run by processor
It is self-service text print service implementation method each step.The corresponding realization with the self-service text print service on self-service literary printing apparatus
The detailed description of each step of method refer to before content, be not repeated.
The embodiment of this specification provides a kind of computer readable storage medium, and computer is stored on the storage medium
Program, these computer programs when being run by processor, execute applied in this specification embodiment payment services ends from
Help each step of the implementation method of text print service.The corresponding self-service text used in payment services end prints each of the implementation method of service
The detailed description of a step refer to before content, be not repeated.
The foregoing is merely the preferred embodiments of this specification, all the application's not to limit the application
Within spirit and principle, any modification, equivalent substitution, improvement and etc. done should be included within the scope of the application protection.
In a typical configuration, computing device includes one or more processors (CPU), input/output interface, net
Network interface and memory.
Memory may include computer-readable medium in volatile memory, random access memory (RAM) and/or
The forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable medium
Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method
Or technology realizes information storage.Information can be computer-readable instruction, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase transition internal memory (PRAM), static RAM (SRAM), moves
State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable
Programmable read only memory (EEPROM), fast flash memory bank or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM),
Digital versatile disc (DVD) or other optical storages, magnetic tape cassette, tape magnetic disk storage or other magnetic storage apparatus
Or any other non-transmission medium, it can be used for storage and can be accessed by a computing device information.As defined in this article, it calculates
Machine readable medium does not include temporary computer readable media (transitory media), such as data-signal and carrier wave of modulation.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability
Including so that process, method, commodity or equipment including a series of elements include not only those elements, but also wrap
Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that wanted including described
There is also other identical elements in the process of element, method, commodity or equipment.
It will be understood by those skilled in the art that the embodiment of this specification can be provided as method, system or computer program production
Product.Therefore, the embodiment of this specification can be used complete hardware embodiment, complete software embodiment or combine software and hardware side
The form of the embodiment in face.Moreover, it wherein includes that computer is available that the embodiment of this specification, which can be used in one or more,
It is real in the computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of program code
The form for the computer program product applied.