CN110473033A - A kind of barcode scanning billing method and associated component based on 6 codes and main extension number - Google Patents

A kind of barcode scanning billing method and associated component based on 6 codes and main extension number Download PDF

Info

Publication number
CN110473033A
CN110473033A CN201910774020.7A CN201910774020A CN110473033A CN 110473033 A CN110473033 A CN 110473033A CN 201910774020 A CN201910774020 A CN 201910774020A CN 110473033 A CN110473033 A CN 110473033A
Authority
CN
China
Prior art keywords
invoice
making out
making
code
codes
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910774020.7A
Other languages
Chinese (zh)
Other versions
CN110473033B (en
Inventor
胡伟中
王军
叶丰
刘纯纲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Novo Network Technology Co Ltd
Original Assignee
Zhejiang Novo Network 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 Zhejiang Novo Network Technology Co Ltd filed Critical Zhejiang Novo Network Technology Co Ltd
Priority to CN201910774020.7A priority Critical patent/CN110473033B/en
Publication of CN110473033A publication Critical patent/CN110473033A/en
Application granted granted Critical
Publication of CN110473033B publication Critical patent/CN110473033B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • G06K7/1404Methods for optical code recognition
    • G06K7/1408Methods for optical code recognition the method being specifically adapted for the type of code
    • G06K7/14172D bar codes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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
    • G06Q30/00Commerce
    • G06Q30/04Billing or invoicing

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Development Economics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Marketing (AREA)
  • Electromagnetism (AREA)
  • General Business, Economics & Management (AREA)
  • Finance (AREA)
  • Economics (AREA)
  • Accounting & Taxation (AREA)
  • Health & Medical Sciences (AREA)
  • Strategic Management (AREA)
  • General Health & Medical Sciences (AREA)
  • Toxicology (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

This application discloses a kind of barcode scanning billing method based on 6 codes and main extension number, the method includes when the barcode scanning for receiving the transmission of the request end app make out an invoice request when, determine that pin side 6 makes out an invoice code and main extension number according to barcode scanning request URL parameter;Determine that 6 codes of making out an invoice of purchaser are corresponding wait information of making out an invoice according to 6 codes of making out an invoice of purchaser;Record purchaser's makes out an invoice the binding relationship of code and main extension number wait information of making out an invoice, pin side 6;Determine that pin side 6 makes out an invoice code and the corresponding communication ID of main extension number by inquiry database;It sends request to the corresponding target of communication ID client plug-in of making out an invoice and makes out an invoice message;The target client plug-in Auto-writing purchaser that makes out an invoice makes out an invoice and information and carries out invoice issuing.The application can be realized information of making out an invoice and be pin-pointed to the multiple terminals of making out an invoice of same enterprise, while the client that makes to make out an invoice is with the very fast ability made out an invoice.Server-side is made out an invoice disclosed herein as well is one kind and one kind is made out an invoice client plug-in, and there is the above beneficial effect.

Description

A kind of barcode scanning billing method and associated component based on 6 codes and main extension number
Technical field
This application involves computer technology application field, in particular to a kind of barcode scanning based on 6 codes and main extension number is opened Client plug-in that ticket method, one kind make out an invoice server-side and one kind is made out an invoice.
Background technique
Terminal of making out an invoice is a kind of integrated invoice issuing and printing function in the printing invoice equipment of one, and terminal of making out an invoice can be with Have pattern manipulation interface and touch screen operation, operation is easy-to-use quick, has interface function is abundant, small in size, safety is high etc. Feature.
Many service enterprisees (such as hotel) make out an invoice at present for convenience of client, generally can install multiple make out an invoice end in different location End.Since there are multiple terminals of making out an invoice for same enterprise, can exist to make out an invoice when client is made out an invoice by barcode scanning and request routing issue, The information of making out an invoice that i.e. barcode scanning is made out an invoice need to send which make out an invoice terminal the problem of.
Therefore, how to realize the accurate positionin for information of making out an invoice and be sent to, the client that makes to make out an invoice is with the ability quickly made out an invoice It is a technical problem that technical personnel in the field need to solve at present.
Summary of the invention
The purpose of the application is to provide a kind of based on 6 codes and the service of making out an invoice of the barcode scanning billing method of main extension number, one kind End and one kind are made out an invoice client plug-in, and the accurate positionin that can be realized information of making out an invoice is sent to.
In order to solve the above technical problems, the application provides a kind of barcode scanning billing method based on 6 codes and main extension number, answer For server-side of making out an invoice, the barcode scanning billing method based on 6 codes and main extension number includes:
When the barcode scanning for receiving the transmission of the request end app, which is made out an invoice, requests, is made out an invoice according to the barcode scanning and request to determine pin side 6 It makes out an invoice code and main extension number;Wherein, barcode scanning request of making out an invoice is corresponding by the request end app scanning client plug-in of making out an invoice Two-dimensional barcode information obtains, and the two-dimensional barcode information includes that the pin side 6 makes out an invoice code and the main extension number;
Determine that 6 codes of making out an invoice of the purchaser are corresponding wait information of making out an invoice according to 6 codes of making out an invoice of purchaser, record is described wait open Make out an invoice information, the pin side 6 makes out an invoice the binding relationship of code and the main extension number;
Determine that the pin side 6 makes out an invoice code and the corresponding communication ID of the main extension number by inquiring database;Wherein, institute State the code of making out an invoice of pin side 6, main extension number and the correspondence for communicating ID that all client plug-ins of making out an invoice are stored in database Relationship;
It sends request to the corresponding target of communication ID client plug-in of making out an invoice and makes out an invoice message, so that the target is made out an invoice Client plug-in according to the pin side 6 makes out an invoice code and the main extension number obtains and described information and utilizes client wait make out an invoice Carry out invoice issuing.
Optionally, it sends request message of making out an invoice to the corresponding target of communication ID client plug-in of making out an invoice and includes:
To message center send the communication ID and it is described request message of making out an invoice, so that the message center is by the request Message of making out an invoice is sent to the corresponding target of the communication ID and makes out an invoice client plug-in.
Optionally, described made out an invoice according to purchaser 6 and determines that described 6 codes of making out an invoice of purchaser are corresponding wait information of making out an invoice at code Include:
It makes out an invoice the page to the request end app redirection request, inputs institute on the page so that user makes out an invoice in the request State 6 codes of making out an invoice of purchaser;
6 codes of making out an invoice of the purchaser that the request end app is sent are received, are inquired corresponding with 6 codes of making out an invoice of the purchaser Wait information of making out an invoice.
Optionally, further includes:
Before client plug-in transmission of making out an invoice to the target is described wait information of making out an invoice, to described wait information of making out an invoice Perform encryption processing, so as to the target make out an invoice client plug-in obtain it is encrypted wait information of making out an invoice.
Optionally, the purchaser 6 make out an invoice code and the code of making out an invoice of the pin side 6 be made of numeral and letter it is unique It makes out an invoice code, the purchaser 6 makes out an invoice code and the pin side 6 makes out an invoice, and code is bound with enterprise card;Wherein, enterprise's name Piece includes enterprise's duty paragraph.
The application also provides a kind of barcode scanning billing method based on 6 codes and main extension number, makes out an invoice client applied to target Plug-in unit is held, the barcode scanning billing method based on 6 codes and main extension number includes:
When receive make out an invoice server-side transmission request make out an invoice message when, the target make out an invoice client plug-in acquisition make out an invoice The corresponding pin side of client 6 make out an invoice code and main extension number;Wherein, make out an invoice code and the pin side's duty paragraph of the pin side 6 is bound;
Make out an invoice in server-side of making out an invoice described in acquisition with the pin side 6 code and the main extension number binding wait letter of making out an invoice Breath;
Using described filled out wait information of making out an invoice in the invoice of the client of making out an invoice purchaser filled in interface make out an invoice information, So as to the client executing invoice issuing operation of making out an invoice.
Optionally, further includes:
When the target make out an invoice client plug-in start for the first time when, it is uniquely right with target client plug-in of making out an invoice to generate The communication ID answered;
Message channel is established using the communication ID and message center, and binds the communication ID and the message channel;
The corresponding pin side of client of making out an invoice described in acquisition 6 make out an invoice code and main extension number, and passing through the message channel will The corresponding relationship of the code of making out an invoice of the pin side 6, the main extension number and the communication ID is transmitted to the server-side of making out an invoice, so as to The server-side of making out an invoice stores the corresponding relationship.
Optionally, further includes:
When receive the request for making out an invoice server-side redirection make out an invoice the page when, by the request make out an invoice the page show to User interface, so that the user inputs 6 codes of making out an invoice of purchaser;
6 codes of making out an invoice of the purchaser are sent to the server-side of making out an invoice, so that the server-side of making out an invoice is according to the purchase The codes of making out an invoice of side 6 are determined and described described are made out an invoice code and described wait information of making out an invoice, the pin side 6 wait the information and recording of making out an invoice The binding relationship of main extension number.
It makes out an invoice server-side, including memory and processor present invention also provides one kind, is stored with meter in the memory Calculation machine program, the processor realize above-mentioned be applied to and multiple clients that make out an invoice when calling the computer program in the memory Hold the step of execution based on the barcode scanning billing method of 6 codes and main extension number of the server-side of making out an invoice of connection.
It makes out an invoice client plug-in, including memory and processor present invention also provides one kind, is stored in the memory There is a computer program, the processor realizes that the above-mentioned target that is applied to is made out an invoice visitor when calling the computer program in the memory The step of execution based on the barcode scanning billing method of 6 codes and main extension number of family end plug-in unit.
It is more to be applied to same enterprise for this application provides a kind of barcode scanning billing method based on 6 codes and main extension number The barcode scanning of a terminal of making out an invoice is made out an invoice, and being somebody's turn to do the barcode scanning billing method based on 6 codes and main extension number includes being made out an invoice using app barcode scanning When, determine that pin side 6 makes out an invoice code and main extension number according to request URL parameter;The purchaser 6 is determined according to 6 codes of making out an invoice of purchaser Position code of making out an invoice is corresponding wait information of making out an invoice;Record is described to make out an invoice code and the main extension wait information of making out an invoice, the pin side 6 Number binding relationship;Determine that the pin side 6 makes out an invoice code and the corresponding communication ID of the main extension number by inquiring database;Its Described in be stored with the codes of making out an invoice of pin side 6 of all client plug-ins of making out an invoice, main extension number in database and communicate ID's Corresponding relationship;It sends request to the corresponding target of communication ID client plug-in of making out an invoice and makes out an invoice message, so that the target is opened Ticket client plug-in according to the pin side 6 makes out an invoice code and the main extension number obtains described information and can fill out automatically wait make out an invoice Write invoice information.
The application has determined the client that makes out an invoice according to request URL parameter after the barcode scanning for receiving request end transmission makes out an invoice request The pin side 6 of end plug-in unit makes out an invoice code and main extension number;Obtain 6 codes of making out an invoice of purchaser for needing the user for carrying out invoice issuing. Server-side of making out an invoice is determined further combined with purchaser 6 codes of making out an invoice wait information of making out an invoice, according to pin side 6 make out an invoice code and main extension number It determines that target is made out an invoice client plug-in, and sends request to target client plug-in of making out an invoice and make out an invoice message, so that target is made out an invoice visitor Family end plug-in unit obtain server-side generation of making out an invoice wait information of making out an invoice, and then in invoice issuing operation, Auto-writing is made out an invoice letter Breath.The above process according to pin side 6 makes out an invoice code and main extension number realizes the accurate positionin of client plug-in of making out an invoice, can will be to Information of making out an invoice accurately is sent to target and makes out an invoice client plug-in, thus realize the accurate positionin for information of making out an invoice and be sent to, Impart the ability that client of making out an invoice quickly is made out an invoice.The application additionally provides that one kind makes out an invoice server-side and one kind is made out an invoice client simultaneously Plug-in unit is held, there is above-mentioned beneficial effect, details are not described herein.
Detailed description of the invention
In ord to more clearly illustrate embodiments of the present application, attached drawing needed in the embodiment will be done simply below It introduces, it should be apparent that, the drawings in the following description are only some examples of the present application, for ordinary skill people For member, without creative efforts, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of process of the barcode scanning billing method based on 6 codes and main extension number provided by the embodiment of the present application Figure;
Fig. 2 is the stream of barcode scanning billing method of the another kind based on 6 codes and main extension number provided by the embodiment of the present application Cheng Tu;
Fig. 3 is the stream of another barcode scanning billing method based on 6 codes and main extension number provided by the embodiment of the present application Cheng Tu;
Fig. 4 is a kind of barcode scanning billing system knot based on 6 make out an invoice code and main extensions number provided by the embodiment of the present application Structure schematic diagram;
Fig. 5 be the embodiment of the present application provided by one kind make out an invoice server-side binding relationship upload flow chart;
Fig. 6 is the invoice issuing flow diagram in a kind of practical application provided by the embodiment of the present application;
Fig. 7 is barcode scanning billing system of the another kind based on 6 make out an invoice code and main extensions number provided by the embodiment of the present application Structural schematic diagram.
Specific embodiment
To keep the purposes, technical schemes and advantages of the embodiment of the present application clearer, below in conjunction with the embodiment of the present application In attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is Some embodiments of the present application, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art Every other embodiment obtained without making creative work, shall fall in the protection scope of this application.
Below referring to Figure 1, Fig. 1 is a kind of barcode scanning based on 6 codes and main extension number provided by the embodiment of the present application The flow chart of billing method, specific steps may include:
S101: when receiving the barcode scanning request of the request end app transmission, determine that pin side 6 makes out an invoice according to request URL parameter Code and main extension number;
Wherein, the executing subject of the present embodiment can be the message center connecting with multiple client plug-ins of making out an invoice, above-mentioned The client plug-in of making out an invoice of same enterprise may be mounted at multiple positions, to use the user of app can be in same enterprise Multiple terminals of making out an invoice of industry carry out barcode scannings and make out an invoice operation.
It is understood that each make out an invoice can place table board beside terminal and make out an invoice two dimensional code, two can be scanned using app Dimension code information realization barcode scanning is made out an invoice.The two dimensional code of making out an invoice includes to make out an invoice request URL and the pin side 6 makes out an invoice code and the master Extension number.
Client plug-in of making out an invoice can obtain the relevant client-side information of client of making out an invoice, and client-side information may include out It makes out an invoice with 6 belonging to ticket client enterprise's duty paragraph of codes binding, also may include the main extension number of client of making out an invoice.Same enterprise Multiple clients of making out an invoice of industry are assigned with host number or different extension numbers, can uniquely determine same enterprise according to main extension number The client of making out an invoice of industry.
6 codes of making out an invoice refer to the code of making out an invoice with number or letter composition.Each enterprise card all can be with unique 6 Code of making out an invoice binding.As long as user inputs 6 codes of making out an invoice and matches enterprise card, that is, user's memory is facilitated in turn ensure one Fixed safety.Wherein, enterprise card refers to the information of making out an invoice of enterprise, specifically includes enterprise name, enterprise's duty paragraph, connection electricity The information such as words, contact address, Bank Account Number and bank address.
After in the request end app, two dimensional code is made out an invoice in scanning, server-side of making out an invoice can determine pin side 6 according to request URL parameter It makes out an invoice code, and then determines the relevant information of the Xiao Fang enterprise for the invoice that user needs to issue.
S102: it determines that 6 codes of making out an invoice of the purchaser are corresponding wait information of making out an invoice according to 6 codes of making out an invoice of purchaser, records institute It states and makes out an invoice the binding relationship of code and the main extension number wait information of making out an invoice, the pin side 6;
Server-side of making out an invoice can be redirected to request after authority checking passes through and make out an invoice the page, open so that user inputs purchaser Ticket information, user, which can input purchaser 6 codes of making out an invoice and obtain purchaser to server-side of making out an invoice, to make out an invoice information.
After user submits request of making out an invoice, it can will store wait information of making out an invoice to billing server, so as to the visitor that makes out an invoice Family end plug-in unit is got wait information of making out an invoice.The present embodiment will be wait make out an invoice information and pin side 6 makes out an invoice code and the main extension Number binding relationship is established, made out an invoice code and main point to make out an invoice client plug-in according to the pin side 6 that the binding relationship obtains itself Machine number is corresponding wait information of making out an invoice.
S103: determine that the pin side 6 makes out an invoice code and the corresponding communication ID of the main extension number by inquiring database;
S104 sends request and makes out an invoice message to the corresponding target of communication ID client plug-in of making out an invoice, so as to the target Client plug-in of making out an invoice according to the pin side 6 makes out an invoice code and the main extension number is obtained and described information and sent out wait make out an invoice Ticket is issued.
Wherein, pin side 6 code of making out an invoice, the main extension number of all client plug-ins of making out an invoice are stored in the database With the corresponding relationship of communication ID;The present embodiment may exist the code of making out an invoice of pin side 6 of same client plug-in of making out an invoice, the master The corresponding relationship of extension number and communication ID are stored to the operation of database.This step can be according to pin side 6 make out an invoice code and main point Machine number determines that target is made out an invoice the communication ID of client plug-in.To target make out an invoice client plug-in send request make out an invoice message it Afterwards, client plug-in of making out an invoice can be obtained actively to server-side of making out an invoice accordingly wait information of making out an invoice.It is understood that app is asked The URL in two dimensional code for asking end to scan specified parameter is that target makes out an invoice 6 codes of making out an invoice belonging to client plug-in (with enterprise The binding of industry duty paragraph) and main extension number.
It should be noted that there may be the connections of make out an invoice client plug-in and message center foundation in the present embodiment to grow Connection, and the connection of make out an invoice server-side and client plug-in of making out an invoice is short connection, therefore the present embodiment can pass through message center It sends request to target client plug-in of making out an invoice and makes out an invoice message.
Receive request in target client plug-in of making out an invoice and make out an invoice after message, target make out an invoice client plug-in by http to Server-side of making out an invoice is obtained wait information of making out an invoice.As a kind of feasible embodiment, opened target will be transmitted to wait information of making out an invoice Before ticket client plug-in, information of making out an invoice can be treated and performed encryption processing, to improve Information Security.In the client that makes out an invoice End plug-in unit gets the automatic padding that interface is filled out wait after information of making out an invoice, execute corresponding invoice.
The present embodiment determines the client that makes out an invoice according to URL request parameter after the barcode scanning for receiving request end transmission makes out an invoice request The pin side 6 of end plug-in unit makes out an invoice code and main extension number, and obtains and need purchaser 6 of the user for carrying out invoice issuing to make out an invoice Code.Server-side of making out an invoice is determined further combined with purchaser 6 codes of making out an invoice wait information of making out an invoice, according to pin side 6 make out an invoice code and main point Machine number determines that target is made out an invoice client plug-in, and sends request to target client plug-in of making out an invoice and make out an invoice message, notifies mesh in time Mark make out an invoice client plug-in obtain make out an invoice server-side generation wait information of making out an invoice, and then invoice issuing operation when Auto-writing It makes out an invoice information.The above process according to pin side 6 makes out an invoice code and main extension number realizes the accurate positionin of client plug-in of making out an invoice, energy It enough will accurately be sent to target and make out an invoice client plug-in wait information of making out an invoice, and realize the accurate positionin for information of making out an invoice and send It reaches, imparts the ability that client of making out an invoice quickly is made out an invoice.
As a kind of feasible embodiment, in S104 to the corresponding target of the communication ID make out an invoice client plug-in send The process of message is made out an invoice in request can be with specifically: to message center send the communication ID and it is described request message of making out an invoice, so as to Request message of making out an invoice is sent to the corresponding target of the communication ID and made out an invoice client plug-in by the message center.
As a kind of feasible embodiment, determine that 6 codes of making out an invoice of the purchaser are right according to 6 codes of making out an invoice of purchaser in S102 The process wait information of making out an invoice answered may include: to make out an invoice the page to the request end app redirection request, so that user is in institute It states request and makes out an invoice and input 6 codes of making out an invoice of purchaser on the page;6 codes of making out an invoice of the purchaser that the request end app is sent are received, are looked into Corresponding with 6 codes of making out an invoice of purchaser Acquiring enterprise is ask to make out an invoice information.
As a kind of feasible embodiment, the corresponding embodiment of Fig. 1 can also to the target make out an invoice client insert Part send it is described wait information of making out an invoice before, perform encryption processing to described wait information of making out an invoice, so that the target is made out an invoice visitor Family end plug-in unit obtains encrypted wait information of making out an invoice, raising Information Security.
Refer to Fig. 2 below, Fig. 2 sweeping based on 6 codes and main extension number that be another kind provided by the embodiment of the present application The flow chart of code billing method, specific steps may include:
S201: it receives the barcode scanning that the request end app is sent and makes out an invoice request;
S202: the Xiang Suoshu request end app redirection request is made out an invoice the page, so that the request end receives the institute of user's input Purchaser is stated to make out an invoice information 6 codes of making out an invoice of corresponding purchaser;
Wherein, user makes out an invoice in request and inputs 6 codes of making out an invoice of purchaser in the page, and request end Auto-matching obtains purchaser and makes out an invoice Information.This process without user's memory, fill in whole purchasers and make out an invoice information, need to only fill in purchaser and make out an invoice the corresponding purchaser of information 6 codes of making out an invoice improve the efficiency and convenience of invoice issuing.
S203: it receives the purchaser that the request end is sent and makes out an invoice information;
S204: it determines that the barcode scanning is made out an invoice and requests corresponding client-side information;
Wherein, the client-side information includes that the make out an invoice pin side 6 of client plug-in of target makes out an invoice code and terminating machine number;Institute Stating terminating machine number includes host number and extension number;
S205: information is made out an invoice according to the purchaser and the client-side information is generated wait information of making out an invoice;
As a kind of feasible embodiment, is generated in this step and may include: wait the operation for information of making out an invoice
Belong to a certain client plug-in of making out an invoice according to the code of pin side 6 and main extension number and the purchaser information generation of making out an invoice It is described wait information of making out an invoice.
S206: it inquires the pin side 6 and makes out an invoice code and the corresponding telecommunication customer end ID of the terminating machine number;
It is understood that there are the telecommunication customer end ID of each client plug-in of making out an invoice its unique corresponding 6 to be made out an invoice Code and terminating machine number.It can make out an invoice code according to the pin side in client-side information 6 and terminating machine number determines telecommunication customer end ID, into And determine that target is made out an invoice client plug-in.
S207: it sends the request to target client plug-in of making out an invoice according to the telecommunication customer end ID and makes out an invoice and disappear Breath.
Wherein, target is made out an invoice the corresponding client plug-in of making out an invoice of client plug-in i.e. telecommunication customer end ID.It can as one kind Capable embodiment, this step send request make out an invoice the concrete operations of message can be with are as follows: according to the telecommunication customer end ID to disappearing Breath center sends the request and makes out an invoice message, so that the message center makes out an invoice the request, to be sent to the communication objective for message ID corresponding target in family end is made out an invoice client plug-in.
S208: when the target make out an invoice the request that client plug-in receives make out an invoice message when, opened for 6 according to the pin side Ticket code and main extension number obtained to server-side of making out an invoice it is described wait information of making out an invoice, so that target client plug-in of making out an invoice is being sent out Auto-writing is made out an invoice information when ticket is issued.
Refer to Fig. 3 below, Fig. 3 is another sweeping based on 6 codes and main extension number provided by the embodiment of the present application The flow chart of code billing method, should barcode scanning billing method based on 6 codes and main extension number can be applied to target and make out an invoice client Plug-in unit is held, detailed process may comprise steps of:
S301: when message is made out an invoice in the request for receiving server-side transmission of making out an invoice, target client plug-in of making out an invoice is obtained The corresponding pin side of the client that must make out an invoice 6 make out an invoice code and main extension number;Wherein, pin side 6 make out an invoice code with enterprise's duty paragraph bind.
S302: make out an invoice in server-side of making out an invoice described in acquisition with the pin side 6 code and main extension number binding are made out an invoice wait open Information;
S303: it is made out an invoice information using described wait information Auto-writing when invoice issuing operates of making out an invoice.
The executing subject of above-described embodiment can be client plug-in of making out an invoice, and client plug-in of making out an invoice is opened receiving request Can make out an invoice code after ticket message according to the pin side 6 of itself and main extension number acquisition be stored in server-side of making out an invoice wait make out an invoice Information.
As a kind of feasible embodiment, when the target make out an invoice client plug-in start for the first time when, the present embodiment can To include following operation: generating and make out an invoice client plug-in uniquely corresponding communication ID with the target;Using the communication ID with Message center establishes message channel, and binds the communication ID and the message channel;Determine the target make out an invoice client insert The corresponding pin side of part 6 make out an invoice code and main extension number, and pass through the message channel for the code of making out an invoice of the pin side 6, the master The corresponding relationship of extension number and the communication ID are uploaded to the server-side of making out an invoice, so that described make out an invoice is tied up described in server-side storage Determine relationship.
As a kind of feasible embodiment, when receive barcode scanning make out an invoice request after the server-side redirection request of making out an invoice It makes out an invoice the page, the present embodiment page that the request can be made out an invoice is presented to the user, and is made out an invoice so that the user inputs purchaser 6 Code;6 codes of making out an invoice of the purchaser are sent to the server-side of making out an invoice, so that the server-side of making out an invoice is according to the purchaser 6 Code of making out an invoice determines described described makes out an invoice code and the master point wait the information and recording of making out an invoice wait information of making out an invoice, the pin side 6 The binding relationship of machine number.
Below by a kind of barcode scanning billing method and system based on 6 make out an invoice code and main extensions number in practical applications come Illustrate the process of above-described embodiment description.
Fig. 4 is referred to, Fig. 4 is a kind of barcode scanning based on 6 make out an invoice code and main extensions number provided by the embodiment of the present application Billing system structural schematic diagram is somebody's turn to do barcode scanning billing method and system based on 6 make out an invoice code and main extensions number, mainly by moving App, server-side of making out an invoice, message center, client plug-in of making out an invoice and client of making out an invoice.It wherein moves app and client of making out an invoice is inserted Part belongs to third party system, and mobile app can be used for barcode scanning, including wechat and Alipay etc.;Client of making out an invoice is opened for invoice Tool.It makes out an invoice server-side, message center and client plug-in of the making out an invoice client that is to confer to make out an invoice is made out an invoice and make out an invoice routing with barcode scanning The critical system of ability.
Wherein, server-side of making out an invoice is responsible for handling make out an invoice request, the binding of 6 codes of making out an invoice of enterprise card and pin side, duty paragraph, master Caching of the extension number with the storage of the binding relationship of telecommunication customer end ID and wait information of making out an invoice.Enterprise card refers to enterprise Information of making out an invoice, including enterprise name, enterprise's duty paragraph, telephone number, contact address, Bank Account Number and bank address;6 are made out an invoice The code of making out an invoice that code refers to being made of numeral and letter, each pin side or Acquiring enterprise's business card can all make out an invoice with unique 6 Code binding facilitates user's memory in turn ensure certain as long as user inputs 6 codes of making out an invoice and matches enterprise card Safety;The message channel that telecommunication customer end ID is used to identify message center between client plug-in of making out an invoice.
Client plug-in of making out an invoice, which is responsible for receiving, requests message of making out an invoice, and shows wait list of making out an invoice, automatically will be wait letter of making out an invoice Breath is filled into invoice and fills out in interface, establishes the binding relationship of duty paragraph, main extension number and telecommunication customer end ID.Fig. 5 is referred to, is schemed 5 upload flow chart for the server-side binding relationship of making out an invoice of one kind provided by the embodiment of the present application.When client plug-in of making out an invoice is with opening After ticket client terminal start-up, a unique telecommunication customer end ID is created, message channel is then established with message center (by communication visitor Family end ID unique identification channel);The subsequent plug-in unit (is tied up in the pin side's duty paragraph for obtaining client plug-in of making out an invoice with 6 codes of making out an invoice Fixed duty paragraph) and main extension number after, establish duty paragraph (duty paragraph with 6 codes bindings of making out an invoice), main extension number and telecommunication customer end ID Binding relationship, and the binding relationship is uploaded to server-side storage of making out an invoice.
Fig. 6 is referred to, Fig. 6 is the invoice issuing process signal in a kind of practical application provided by the embodiment of the present application Figure, barcode scanning is made out an invoice for the convenience of the user, needs that (make out an invoice the master of code and client of making out an invoice for pin side 6 according to barcode scanning URL and URL parameter Extension number) the different two dimensional code table board of making out an invoice of pre-production.When user scans the two-dimensional code table board using app such as wechats or Alipay When, request being initiated to server-side of making out an invoice and being made out an invoice, which can be redirected to the request page of making out an invoice and allow user by server-side of making out an invoice Input purchaser makes out an invoice information, and user, which can input 6 codes of making out an invoice of purchaser and match purchaser, to make out an invoice information;When user submits application to open When ticket, on URL request parameter band the code of making out an invoice of pin side 6, main extension number and purchaser make out an invoice information (enterprise name, enterprise's duty paragraph, Telephone number, contact address, Bank Account Number, bank address) it initiates to apply making out an invoice to server-side of making out an invoice;Server-side of making out an invoice first can Pin side's duty paragraph (code of having made out an invoice with 6 binding), main extension number and the incidence relation wait data of making out an invoice are cached, then further according to pin Square duty paragraph (or 6 codes of making out an invoice) and main extension number obtain telecommunication customer end ID, then according to telecommunication customer end ID to message center It sends and requests message of making out an invoice;Message center obtains the message channel with client plug-in foundation of making out an invoice according to telecommunication customer end ID, Then request message of making out an invoice is pushed to and is specifically made out an invoice client plug-in by the channel;Client plug-in of making out an invoice is receiving Request make out an invoice message when can according to pin side's duty paragraph (or 6 codes of making out an invoice) and main extension number to server-side acquisition of making out an invoice it is encrypted to It makes out an invoice data, then decrypts wait information of making out an invoice, and pop up table to be drawn up;When user's selection wherein make out an invoice letter by a generation When breath, it is filled into invoice automatically and fills out in interface.
Wherein, when making two dimensional code table board, URL parameter can only include the code of making out an invoice of pin side 6, in this way in user's barcode scanning When application is made out an invoice, server-side of making out an invoice will cache pin side's duty paragraph or 6 make out an invoice code and the incidence relations wait data of making out an invoice, and then lead to It crosses pin side's duty paragraph or 6 codes of making out an invoice obtains all telecommunication customer end ID, message is finally passed through according to these telecommunication customer ends ID Center is made out an invoice message to the difference for belonging to same enterprise client plug-in broadcast request of making out an invoice, and it is wide that client plug-in of making out an invoice receives this Broadcast request make out an invoice message when will obtain to server-side preemptive type of making out an invoice wait information of making out an invoice.
Refer to Fig. 7, Fig. 7 sweeping based on 6 make out an invoice code and main extensions number that be another kind provided by the embodiment of the present application Code billing system structural schematic diagram.Server-side of making out an invoice can be made out an invoice, by pin side 6 code binding of making out an invoice, request wait make out an invoice and lead Extension set acquires four module compositions.6 yard binding modules of making out an invoice are responsible for generating unique 6 codes of making out an invoice, and pin side is made out an invoice for 6 Code is bound with enterprise card (enterprise's duty paragraph, enterprise name, telephone number, contact address, Bank Account Number, bank address), and will Binding relationship is stored into mysql database, can also the code of making out an invoice of push-piece side 6 enterprise card is cached in redis database; Request billing module is responsible for receiving barcode scanning and application and makes out an invoice request, and request message of making out an invoice is pushed to by message center and is made out an invoice Client plug-in;Billing module to be opened is responsible for for pin side's duty paragraph, main extension number and the incidence relation wait data of making out an invoice being cached to In redis database, and provide to client plug-in of making out an invoice wait data of making out an invoice;Main extension acquisition module is responsible for storing client The binding relationship of the pin side's duty paragraph or 6 codes of making out an invoice, main extension number and telecommunication customer end ID come up is uploaded, to route information of making out an invoice It prepares.
Message center is mainly made of push and login module, and the message push that pushing module receives server-side of making out an invoice is asked It asks, and the request message that will make out an invoice is pushed to client plug-in of making out an invoice.Login module is responsible for verifying client plug-in identity of making out an invoice, and tests It demonstrate,proves the client plug-in that just allows to make out an invoice after passing through and establishes message channel.
Client plug-in of making out an invoice depends on client of making out an invoice, and as an independent process, it is mainly drawn up table by generation, disappears Breath transmitting-receiving and main extension binding module composition.In generation, opens list block and is responsible for showing wait information of making out an invoice, when user select one to The information that can will be made out an invoice automatically by window message mechanism when information of making out an invoice is filled into invoice and fills out in interface;Information receiving and transmitting Module is responsible for establishing message channel with message center, and receives and handle the request message of making out an invoice of message center push.Message is received Module is sent out when establishing with the message channel of message center, needing to provide plug-in unit identity information to message center, (for example plug-in unit is answered With ID etc.);Main extension binding module is responsible for establishing pin side's duty paragraph or 6 codes of making out an invoice, main extension number and telecommunication customer end ID (are used for Message center establishes the relationship of client and message channel) binding relationship, and binding relationship is uploaded into server-side of making out an invoice.
Above-described embodiment is made out an invoice information by 6 yard Rapid matching enterprises of making out an invoice, further through establishing pin side's duty paragraph or 6 are opened Ticket code, the binding relationship of main extension number and message communication client id and request are made out an invoice the push of message, and will be wait letter of making out an invoice Breath is accurately routed to specified terminal of making out an invoice, and not only solves same enterprise multiple terminals and makes out an invoice routing issue, while making out again Ticket client has the ability quickly made out an invoice.
Since the embodiment of components of system as directed is corresponded to each other with the embodiment of method part, the embodiment of components of system as directed is asked Referring to the description of the embodiment of method part, wouldn't repeat here.
Present invention also provides a kind of computer readable storage mediums, have computer program thereon, the computer program It is performed and step provided by above-described embodiment may be implemented.The storage medium may include: USB flash disk, mobile hard disk, read-only deposit Reservoir (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or The various media that can store program code such as CD.
It makes out an invoice server-side present invention also provides one kind, may include memory and processor, have in the memory Computer program, when the processor calls the computer program in the memory, may be implemented it is above-mentioned be applied to it is multiple Provided by the embodiment of the barcode scanning billing method based on 6 codes and main extension number of the server-side of making out an invoice of client of making out an invoice connection Step.Certainly the described server-side of making out an invoice can also include various network interfaces, the components such as power supply.
It makes out an invoice client plug-in present invention also provides one kind, may include memory and processor, in the memory There is computer program, when the processor calls the computer program in the memory, may be implemented above-mentioned applied to mesh Mark step provided by the embodiment of the barcode scanning billing method based on 6 codes and main extension number for client of making out an invoice.Certainly described Client plug-in of making out an invoice can also include various network interfaces, the components such as power supply.
Each embodiment is described in a progressive manner in specification, the highlights of each of the examples are with other realities The difference of example is applied, the same or similar parts in each embodiment may refer to each other.For system disclosed in embodiment Speech, since it is corresponded to the methods disclosed in the examples, so being described relatively simple, related place is referring to method part illustration .It should be pointed out that for those skilled in the art, under the premise of not departing from the application principle, also Can to the application, some improvement and modification can also be carried out, these improvement and modification also fall into the protection scope of the claim of this application It is interior.
It should also be noted that, in the present specification, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning Covering non-exclusive inclusion, so that the process, method, article or equipment for including a series of elements not only includes that A little elements, but also including other elements that are not explicitly listed, or further include for this process, method, article or The intrinsic element of equipment.Under the situation not limited more, the element limited by sentence "including a ..." is not arranged Except there is also other identical elements in the process, method, article or apparatus that includes the element.

Claims (10)

1. a kind of barcode scanning billing method based on 6 codes and main extension number, which is characterized in that described applied to server-side of making out an invoice Barcode scanning billing method based on 6 codes and main extension number includes:
When the barcode scanning for receiving the transmission of the request end app, which is made out an invoice, requests, is made out an invoice according to the barcode scanning and request to determine that pin side 6 makes out an invoice Code and main extension number;Wherein, the barcode scanning, which is made out an invoice, requests the corresponding two dimension of client plug-in of being made out an invoice by the request end app scanning Code information obtains, and the two-dimensional barcode information includes that the pin side 6 makes out an invoice code and the main extension number;
Determine that 6 codes of making out an invoice of the purchaser are corresponding wait information of making out an invoice according to 6 codes of making out an invoice of purchaser, record is described wait make out an invoice Information, the pin side 6 are made out an invoice the binding relationship of code and the main extension number;
Determine that the pin side 6 makes out an invoice code and the corresponding communication ID of the main extension number by inquiring database;Wherein, the number According to the code of making out an invoice of pin side 6, main extension number and the corresponding relationship for communicating ID for being stored with all client plug-ins of making out an invoice in library;
It sends request to the corresponding target of communication ID client plug-in of making out an invoice and makes out an invoice message, so that the target is made out an invoice client End plug-in unit according to the pin side 6 makes out an invoice code and the main extension number obtains and described information and utilizes client progress wait make out an invoice Invoice issuing.
2. the barcode scanning billing method based on 6 codes and main extension number according to claim 1, which is characterized in that lead to described The corresponding target of letter ID client plug-in of making out an invoice sends request message of making out an invoice and includes:
The communication ID is sent to message center and the request is made out an invoice message, so that the message center requests to make out an invoice by described Message is sent to the corresponding target of the communication ID and makes out an invoice client plug-in.
3. the barcode scanning billing method based on 6 codes and main extension number according to claim 1, which is characterized in that the basis It makes out an invoice for purchaser 6 and code and determines that described 6 codes of making out an invoice of purchaser are corresponding and include: wait information of making out an invoice
It makes out an invoice the page to the request end app redirection request, inputs the purchase on the page so that user makes out an invoice in the request 6 codes of making out an invoice in side;
Receive 6 codes of making out an invoice of the purchaser that the request end app is sent, inquire it is corresponding with 6 codes of making out an invoice of the purchaser to It makes out an invoice information.
4. the barcode scanning billing method based on 6 codes and main extension number according to claim 1, which is characterized in that further include:
Before client plug-in transmission of making out an invoice to the target is described wait information of making out an invoice, executed to described wait information of making out an invoice Encryption, so as to the target make out an invoice client plug-in obtain it is encrypted wait information of making out an invoice.
5. the barcode scanning billing method based on 6 codes and main extension number according to claim 1, which is characterized in that the purchaser 6 Code is made out an invoice in position and the code of making out an invoice of the pin side 6 is the code of uniquely making out an invoice being made of numeral and letter, and the purchaser 6 makes out an invoice Code and the pin side 6 make out an invoice code with enterprise card binding;Wherein, the enterprise card includes enterprise's duty paragraph.
6. a kind of barcode scanning billing method based on 6 codes and main extension number, which is characterized in that applied to target make out an invoice client insert Part, the barcode scanning billing method based on 6 codes and main extension number include:
When message is made out an invoice in the request for receiving server-side transmission of making out an invoice, target client plug-in acquisition of making out an invoice is made out an invoice client Corresponding pin side 6 is held to make out an invoice code and main extension number;Wherein, make out an invoice code and the pin side's duty paragraph of the pin side 6 is bound;
Make out an invoice in server-side of making out an invoice described in acquisition with the pin side 6 code and the main extension number binding wait information of making out an invoice;
Using described filled out wait information of making out an invoice in the invoice of the client of making out an invoice purchaser is filled in interface make out an invoice information, so as to The client executing invoice issuing operation of making out an invoice.
7. the barcode scanning billing method based on 6 codes and main extension number according to claim 6, which is characterized in that further include:
When the target make out an invoice client plug-in start for the first time when, generate uniquely corresponding with target client plug-in of making out an invoice Communicate ID;
Message channel is established using the communication ID and message center, and binds the communication ID and the message channel;
The corresponding pin side of client of making out an invoice described in acquisition 6 make out an invoice code and main extension number, and will be described by the message channel The corresponding relationship of the code of making out an invoice of pin side 6, the main extension number and the communication ID is transmitted to the server-side of making out an invoice, so as to described Server-side of making out an invoice stores the corresponding relationship.
8. the barcode scanning billing method based on 6 codes and main extension number according to claim 6, which is characterized in that further include:
When receive the request for making out an invoice server-side redirection make out an invoice the page when, the request page of making out an invoice is shown to user Interface, so that the user inputs 6 codes of making out an invoice of purchaser;
6 codes of making out an invoice of the purchaser are sent to the server-side of making out an invoice, so that the server-side of making out an invoice is according to the purchaser 6 Code of making out an invoice determines described described makes out an invoice code and the master point wait the information and recording of making out an invoice wait information of making out an invoice, the pin side 6 The binding relationship of machine number.
The server-side 9. one kind is made out an invoice characterized by comprising
Memory, for storing computer program;
Processor is realized when for executing the computer program and is based on 6 codes and master as described in any one of claim 1 to 5 The step of barcode scanning billing method of extension number.
The client plug-in 10. one kind is made out an invoice characterized by comprising
Memory, for storing computer program;
Processor is realized when for executing the computer program and is based on 6 codes and main extension number as described in claim 6 to 8 Barcode scanning billing method the step of.
CN201910774020.7A 2019-08-21 2019-08-21 Code scanning billing method based on 6-bit code and main machine number and related components Active CN110473033B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910774020.7A CN110473033B (en) 2019-08-21 2019-08-21 Code scanning billing method based on 6-bit code and main machine number and related components

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910774020.7A CN110473033B (en) 2019-08-21 2019-08-21 Code scanning billing method based on 6-bit code and main machine number and related components

Publications (2)

Publication Number Publication Date
CN110473033A true CN110473033A (en) 2019-11-19
CN110473033B CN110473033B (en) 2022-04-12

Family

ID=68512308

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910774020.7A Active CN110473033B (en) 2019-08-21 2019-08-21 Code scanning billing method based on 6-bit code and main machine number and related components

Country Status (1)

Country Link
CN (1) CN110473033B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112613932A (en) * 2020-12-25 2021-04-06 航天信息股份有限公司 Billing method and device, storage medium and electronic equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106296317A (en) * 2016-08-22 2017-01-04 周小勇 A kind of intelligent tickets system and method
CN106385446A (en) * 2016-09-07 2017-02-08 深圳市金立通信设备有限公司 File transmission method, terminal and system
CN106572091A (en) * 2016-10-24 2017-04-19 施守剑 Invoice information transfer generation method and system thereof
CN107451409A (en) * 2017-08-02 2017-12-08 湖南维鼎信息技术有限公司 A kind of ward system based on mobile terminal
CN108876492A (en) * 2018-06-15 2018-11-23 中国联合网络通信集团有限公司 billing method and billing system
CN109285040A (en) * 2018-08-10 2019-01-29 航天信息股份有限公司 Invoice management method and system based on wechat enterprise public platform
CN109819424A (en) * 2018-12-28 2019-05-28 航天信息股份有限公司 The method for establishing communication connection, mobile terminal and equipment of making out an invoice, storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106296317A (en) * 2016-08-22 2017-01-04 周小勇 A kind of intelligent tickets system and method
CN106385446A (en) * 2016-09-07 2017-02-08 深圳市金立通信设备有限公司 File transmission method, terminal and system
CN106572091A (en) * 2016-10-24 2017-04-19 施守剑 Invoice information transfer generation method and system thereof
CN107451409A (en) * 2017-08-02 2017-12-08 湖南维鼎信息技术有限公司 A kind of ward system based on mobile terminal
CN108876492A (en) * 2018-06-15 2018-11-23 中国联合网络通信集团有限公司 billing method and billing system
CN109285040A (en) * 2018-08-10 2019-01-29 航天信息股份有限公司 Invoice management method and system based on wechat enterprise public platform
CN109819424A (en) * 2018-12-28 2019-05-28 航天信息股份有限公司 The method for establishing communication connection, mobile terminal and equipment of making out an invoice, storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112613932A (en) * 2020-12-25 2021-04-06 航天信息股份有限公司 Billing method and device, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN110473033B (en) 2022-04-12

Similar Documents

Publication Publication Date Title
CN109413096B (en) A kind of login method and device more applied
CN104378758B (en) Access point method of attachment, terminal and server
CN102761549B (en) Processing method and system of resource sharing and service platforms
CN104901970B (en) A kind of Quick Response Code login method, server and system
CN105262588A (en) Log-in method based on dynamic password, account number management server and mobile terminal
CN104158889B (en) Card information querying method and Cloud Server
CN101753313A (en) Password management method, password management system and password management server
CN108959871A (en) A kind of method and system of more account operations and management
CN104820944A (en) Method and system for bank self-service terminal authentication, and device
CN104683961A (en) Name card interaction method and device and terminal
CN106203054B (en) Information processing system, information processing unit and digital certificates management method
CA2675620A1 (en) Generation of electronic negotiable instruments using predefined electronic files for providing promise of payment
WO2019210759A1 (en) Virtual card generating method, user terminal, and token server
CN104717284A (en) Menu management method, device and system
CN106534219A (en) Security authentication method and device for desktop cloud portal
CN102377737B (en) The system and method for the interactive email access protocol server of a kind of many account access
CN107169726A (en) The method and apparatus that a kind of Quick Response Code work attendance is checked card
CN109726571A (en) Electronic signature method, device, storage medium and the electronic equipment of document
CN109254739A (en) file printing method, device and system
CN102143131B (en) User logout method and authentication server
CN105184489A (en) Mobile card punching system and method and cloud system thereof
CN107241431A (en) The method and system of virtual desktop are logged in based on the barcode scanning that Quick Response Code is realized
CN101478416A (en) Service processing method, synthetic service platform and service processing system
CN109102291A (en) A kind of method of controlling security and device of two dimensional code payment
CN110473033A (en) A kind of barcode scanning billing method and associated component based on 6 codes and main extension number

Legal Events

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