CN110599156A - Money collection method, money collection device, terminal equipment and medium - Google Patents

Money collection method, money collection device, terminal equipment and medium Download PDF

Info

Publication number
CN110599156A
CN110599156A CN201910730376.0A CN201910730376A CN110599156A CN 110599156 A CN110599156 A CN 110599156A CN 201910730376 A CN201910730376 A CN 201910730376A CN 110599156 A CN110599156 A CN 110599156A
Authority
CN
China
Prior art keywords
payment
settlement
collection
target
settlement amount
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910730376.0A
Other languages
Chinese (zh)
Inventor
姚伟
鲜丹
叶江敏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Weifutong Technology Co Ltd
Original Assignee
Weifutong 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 Weifutong Technology Co Ltd filed Critical Weifutong Technology Co Ltd
Priority to CN201910730376.0A priority Critical patent/CN110599156A/en
Publication of CN110599156A publication Critical patent/CN110599156A/en
Pending legal-status Critical Current

Links

Classifications

    • 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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/08Payment architectures
    • G06Q20/20Point-of-sale [POS] network systems
    • G06Q20/202Interconnection or interaction of plural electronic cash registers [ECR] or to host computer, e.g. network details, transfer of information from host to ECR or from ECR to ECR
    • 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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/32Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices
    • G06Q20/327Short range or proximity payments by means of M-devices
    • G06Q20/3274Short range or proximity payments by means of M-devices using a pictured code, e.g. barcode or QR-code, being displayed on the M-device
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/60Type of objects
    • G06V20/62Text, e.g. of license plates, overlay texts or captions on TV images
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/10Character recognition

Abstract

The application is applicable to the technical field of electronic payment, and provides a collection method, a collection device, terminal equipment and a medium, wherein the collection method comprises the steps of determining a settlement amount through a target picture corresponding to a target area of a settlement tool interface, generating a collection request according to a payment token and the settlement amount carried by a payment two-dimensional code, and sending the collection request to a preset server.

Description

Money collection method, money collection device, terminal equipment and medium
Technical Field
The present application relates to electronic payment technologies, and in particular, to a method, a device, a terminal device, and a computer-readable storage medium for collecting money.
Background
With the increasing popularity of mobile terminals, electronic payment and receipt are also widely used in various scenarios. For example, during a transaction to purchase goods, a consumer may pay by scanning a merchant's checkout two-dimensional code.
However, after the consumer pays by scanning the two-dimensional code, the merchant is required to manually check the amount paid by the consumer, that is, check whether the amount paid by the consumer is the same as the total transaction price of the commodity. If the amount paid by the consumer is not the same as the total transaction price of the goods and cannot be found in time, the loss is caused to the merchant or the customer. Therefore, the problem of low collection efficiency exists in the existing electronic collection and payment scheme.
Disclosure of Invention
In view of this, embodiments of the present application provide a collection method, a collection device, a terminal device, and a computer-readable storage medium, so as to solve the problem of low collection efficiency in the existing electronic collection and payment scheme.
A first aspect of an embodiment of the present application provides a method for collecting money, including:
if the preset operation of settlement of the commodity form in the settlement tool interface is detected, a target picture containing the settlement amount is intercepted from a target area of the settlement tool interface;
determining a settlement amount based on the target picture;
calling a code scanning device to scan a payment two-dimensional code displayed on a payment terminal, and generating a collection request carrying collection account information according to a payment token carried by the payment two-dimensional code and the settlement amount; wherein the payment terminal is associated with a payment account;
sending the collection request to a preset server; the preset server is used for sending a transaction task to a target server corresponding to the payment token according to the collection request; the target server is used for completing the collection operation of the collection account on the payment account based on the transaction task.
Further, before the step of capturing the target picture including the settlement amount from the target area of the settlement tool interface if the preset operation of settling the commodity form in the settlement tool interface is detected, the method further includes:
acquiring an expansion configuration file which corresponds to the settlement tool and is configured in advance; the extended configuration file includes: shortcut key information used for describing the preset operation and coordinate range information used for describing the target area;
and if a preset instruction for starting a settlement tool is detected, loading the extended configuration file.
Further, after the step of sending the payment receiving request to the target server, the method further includes:
receiving prompt information which is returned by the target server and used for describing successful collection;
and determining a commodity form in the settlement tool interface according to the prompt information, and finishing the settlement operation of the commodity form.
Further, if the preset operation of settlement of the commodity form in the settlement tool interface is detected, the step of capturing a target picture containing a settlement amount from a target area of the settlement tool interface includes:
determining a target area from the settlement tool interface according to the coordinate range information for describing the target area in the extended configuration file;
and carrying out screenshot operation on the target area to obtain a target picture containing settlement amount.
Further, the determining a settlement amount based on the target picture includes:
sending the target picture to the preset server, and enabling the preset server to call an Optical Character Recognition (OCR) tool to recognize a settlement amount from the target picture;
and receiving the settlement amount returned by the preset server.
Further, the extended configuration file also comprises a tool script file for installing and calling an OCR tool;
the determining a settlement amount based on the target picture comprises:
and calling the OCR tool to perform optical character recognition on the target picture to obtain the settlement amount.
Further, the calling and code scanning device scans the payment two-dimensional code displayed on the payment terminal, and generates a collection request carrying collection account information according to the payment token carried by the payment two-dimensional code and the settlement amount, including:
calling a code scanning device to scan a payment two-dimensional code displayed on a payment terminal so as to obtain a target character string corresponding to a payment token carried by the payment two-dimensional code;
acquiring collection account information from a local database, and generating a collection form according to the target character string, the settlement amount and the collection account information;
and generating a collection request according to the collection form.
A second aspect of an embodiment of the present application provides a money receiving apparatus, including:
the picture intercepting unit is used for intercepting a target picture containing settlement amount from a target area of a settlement tool interface if the preset operation of settlement of the commodity form in the settlement tool interface is detected;
a determination unit configured to determine a settlement amount based on the target picture;
the first execution unit is used for calling a code scanning device to scan the payment two-dimensional code displayed on the payment terminal and generating a collection request carrying collection account information according to a payment token carried by the payment two-dimensional code and the settlement amount; wherein the payment terminal is associated with a payment account;
the second execution unit is used for sending the collection request to a preset server; the preset server is used for sending a transaction task to a target server corresponding to the payment token according to the collection request; the target server is used for completing the collection operation of the collection account on the payment account based on the transaction task.
A third aspect of the embodiments of the present application provides a terminal device, which includes a memory, a processor, and a computer program stored in the memory and operable on the terminal device, where the processor implements the steps of the payment method provided by the first aspect when executing the computer program.
A fourth aspect of embodiments of the present application provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of the payment method provided by the first aspect.
A fifth aspect of embodiments of the present application provides a computer program product, which, when running on a terminal device, causes the terminal device to execute the method for recommending a media resource according to any one of the first aspect.
The implementation of the money receiving method, the money receiving device, the terminal device and the computer readable storage medium provided by the embodiment of the application has the following beneficial effects:
according to the money receiving method provided by the embodiment of the application, the settlement amount is determined through the target picture corresponding to the target area of the settlement tool interface, the money receiving request is generated according to the payment token and the settlement amount carried by the payment two-dimensional code and is sent to the preset server, and the money receiving request carries the money receiving account number information which is related to the payment token and the payment account number information, so that the preset server can send the transaction task to the target server corresponding to the payment token according to the money receiving request, and then the target server completes the money receiving operation of the payment account on the payment account based on the transaction task, the full automation of the money receiving operation in the transaction process is realized, and the efficiency of the money receiving operation is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a flowchart of an implementation of a method for receiving money according to an embodiment of the present application;
FIG. 2 is a flowchart of an implementation of a method for receiving payment according to another embodiment of the present application;
FIG. 3 is a flowchart of an implementation of a method for receiving payment according to yet another embodiment of the present application;
fig. 4 is a block diagram of a cash register according to an embodiment of the present disclosure;
fig. 5 is a block diagram of a terminal device according to another embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
Referring to fig. 1, fig. 1 is a flowchart illustrating an implementation of a cash receiving method according to an embodiment of the present disclosure. In this embodiment, the main execution body of the collection method is a collection terminal, and the collection terminal may be a computer used by a merchant or other existing terminal devices, such as a tablet computer, a mobile phone, and the like.
The method of collecting money as shown in fig. 1 includes the following steps:
s11: and if the preset operation of settlement of the commodity form in the settlement tool interface is detected, intercepting a target picture containing the settlement amount from a target area of the settlement tool interface.
In step S11, the settlement tool interface is displayed when the product is scanned and settled by the settlement tool installed on the receipt terminal. The commodity form is a form generated when the settlement tool is used for scanning and counting commodities and comprises commodity names, commodity unit prices, commodity quantity and commodity prices. The preset operation is an operation which is defined in advance and is used for instructing purchase or settlement of the commodities in the commodity form. The target area of the settlement tool interface is an area for displaying a settlement amount, which is the total price of all the commodities in the commodity form. The target picture is a picture obtained by screenshot of a target area of the settlement tool interface and serves as a picture sample for determining settlement amount.
The checkout terminal is provided with a settlement tool in advance, and the merchant can perform statistical settlement on the goods purchased by the consumer by using the settlement tool on the checkout terminal. For example, an Enterprise Resource Planning (ERP) system (ERP) is installed at a cash receiving terminal of a supermarket, and the cash receiving terminal calls a code scanning device to scan a code of a commodity through the ERP system, and then records commodity information into a settlement tool interface to form a commodity form.
In all embodiments of the present application, the preset operation is a predefined operation for instructing to buy or settle the order of the commodities in the commodity form, and may include an operation of clicking a function button in the settlement tool interface or an operation of triggering a settlement instruction by using a shortcut key. For example, after the information of all the commodities is recorded in the commodity form, the settlement instruction can be triggered by clicking a function button in the interface of the ERP system, or the settlement instruction can be triggered by using a shortcut key, so that the collection terminal can detect the preset operation of settling the commodity form in the interface of the settlement tool.
The default operation for detecting when to settle the merchandise form in the settlement tool interface may include, but is not limited to, the following two scenarios.
Scene 1: and when at least one item of commodity information is input into the commodity form, monitoring the preset operation of settlement of the commodity form in the calculation tool interface.
For example, the collection terminal establishes a collection task through a settlement tool, calls a code scanning device to record commodity information, and monitors the preset operation of settlement of the commodity form in the interface of the settlement tool when detecting that the first commodity information is recorded in the commodity form.
Scene 2: and detecting the commodity form, and monitoring the preset operation of settlement of the commodity form in the calculation tool interface if the newly added commodity information is not detected within the preset time period.
For example, the money receiving terminal establishes a money receiving task through the settlement tool, calls the code scanning device to enter commodity information, and monitors the preset operation of settlement of the commodity form in the interface of the settlement tool if the newly added commodity information is not detected within the preset time period.
It can be understood that the preset operation of settling the commodity form in the settlement tool interface can be triggered only when the commodity exists in the commodity list, and the preset operation of settling the commodity form in the settlement tool interface is forbidden to be triggered when the commodity does not exist in the commodity list.
In this embodiment, the target picture including the settlement amount is captured from the target area of the settlement tool interface, which may be a screenshot operation performed on the target area of the settlement tool interface by calling a screenshot tool in combination with a shortcut instruction. For example, a screenshot tool is called to perform full screenshot on a calculation tool interface to obtain a first picture, and then a target area is captured from the first picture by using a shortcut instruction to obtain a target picture, wherein the shortcut instruction is used for determining the target area from the first picture, that is, for calibrating the position of the target picture in the first picture.
In practical application, in order to ensure that the intercepted target picture can contain complete settlement amount, different screenshot tools and different target areas can be configured for different settlement tools, and because positions of different settlement tool interfaces for displaying the settlement amount may be different, different target areas can be configured according to different settlement tool interfaces, so that the intercepted target picture can contain the settlement amount.
S12: determining a settlement amount based on the target picture.
In step S12, the settlement amount is digital information describing the amount actually received during the transaction.
It should be noted that the size of the target picture can completely accommodate or display the settlement amount, and the settlement amount displayed in the target picture is recognized by performing character image recognition on the target picture.
In this embodiment, the settlement amount shown in the target picture is represented in a digital form, and there is a distinct color difference between the digital form and the ground color of the target picture. The character image recognition of the target picture may be performed by recognizing a pixel matrix of the target picture, and extracting and piecing together RGB values of the pixel matrix to determine a settlement amount shown in the target picture. Or, the target picture is divided according to the size of the digital shape shown in the target picture to obtain a plurality of comparison pictures, similarity comparison is carried out on the comparison pictures and the sample pictures in the database, and the settlement amount is determined according to the comparison result.
As a possible implementation manner of this embodiment, step S12 may include: sending the target picture to the preset server, and enabling the preset server to call an Optical Character Recognition (OCR) tool to recognize a settlement amount from the target picture; and receiving the settlement amount returned by the preset server.
In order to avoid the burden on the normal operation of the payment receiving terminal, in this embodiment, the settlement amount is determined based on the target picture, and the preset server calls an OCR tool to recognize the target picture. The payment terminal is communicated with the preset server through a network, the payment terminal sends the target picture to the preset server, and the preset server calls an OCR tool to perform optical character recognition on the target picture when receiving the target picture, so that the settlement amount is obtained. In this embodiment, the preset server serves as a cloud processing end to identify the settlement amount in the target image, so that when the settlement amount is determined, the image identification of the collection terminal is not required to be expanded, and the generation of too high equipment upgrading cost is avoided.
Optical Character Recognition (OCR) refers to a process of determining a Character shape in a picture by detecting dark and light patterns and translating the Character shape into a computer word by a Character dead-end method. That is, the characters in the target image are optically converted into an image file of a dot matrix, and then the characters in the image are converted into a text format by the recognition tool. An OCR tool is a tool that integrates an optical image recognition function and an image-based translation into text.
S13: calling a code scanning device to scan a payment two-dimensional code displayed on a payment terminal, and generating a collection request carrying collection account information according to a payment token carried by the payment two-dimensional code and the settlement amount; wherein the payment terminal is associated with a payment account.
In step S13, the barcode scanner is an input device for inputting information on the cash register terminal, and when the cash register terminal inputs the commodity information using the settlement tool, the barcode scanner scans the barcode of the commodity and the commodity information carried by the commodity barcode is input into the commodity form. The payment token is used to distinguish between the payment application and the payment account.
In all embodiments of the present application, the code scanning device may also be used to scan a payment two-dimensional code displayed on a payment terminal. Because the payment terminal is associated and bound with the payment account, the payment two-dimensional code generated by the payment terminal through the payment application carries an identifier for distinguishing the payment account, namely the payment two-dimensional code carries a payment token, and the payment token is used for distinguishing the payment application and the payment account, so that after the code scanning device scans the payment two-dimensional code, digital information corresponding to the payment token can be input into the collection terminal.
It should be noted that there is a related binding between the settlement tool running on the collection terminal and the collection account, so that the service form generated by the collection terminal according to the payment token and the settlement amount carried by the payment two-dimensional code also contains collection account information, the collection terminal stores the service form, and at the same time, the service form is made into a communication packet, that is, a collection request carrying the collection account information is obtained.
As a possible implementation manner of this embodiment, step S13 may include:
calling a code scanning device to scan a payment two-dimensional code displayed on a payment terminal so as to obtain a target character string corresponding to a payment token carried by the payment two-dimensional code; acquiring collection account information from a local database, and generating a collection form according to the target character string, the settlement amount and the collection account information; and generating a collection request according to the collection form.
In this embodiment, the local database is a local database of a settlement tool on the receiving terminal, and the local database of the settlement tool is created in a local memory space of the receiving terminal while the settlement tool is installed on the receiving terminal. The local database is used for storing attribute information and a use log of the settlement tool, wherein the attribute information is used for describing the affiliated relationship of the settlement tool, namely the binding relationship between the settlement tool and the merchant and the corresponding relationship between the merchant and the collection account. The usage log is used to describe details of the usage of the settlement facility at the checkout terminal. The method comprises the steps of inquiring to obtain collection account information by accessing attribute information of a local database, generating a collection form according to a target character string, the settlement amount and the collection account information, making the collection form into a communication message, and further obtaining a collection request carrying the collection account information
S14: sending the collection request to a preset server; the preset server is used for sending a transaction task to a target server corresponding to the payment token according to the collection request; the target server is used for completing the collection operation of the collection account on the payment account based on the transaction task.
In step S14, the preset server is a server associated with the receiving terminal, and is capable of providing technical support such as function extension for the receiving terminal. The target server is a server corresponding to the payment application and can complete the collection operation of the collection account number on the payment account based on the collection account and the payment signal carried in the transaction task.
In this embodiment, the target server may further communicate with the transaction server, where the transaction server is a business processing server of a bank, and when a collection terminal scans a code to collect a collection in a transaction process, if a collection account represented by the two-dimensional payment code displayed on the payment terminal is a bank account, the target server reports the transaction task to the transaction server, and the transaction server completes collection operation of the collection account on the payment account according to the collection account and the payment signal carried in the transaction task. And if the collection account represented by the payment two-dimensional code displayed on the payment terminal is a payment application account, the target server completes collection operation of the collection account on the payment account according to the collection account and the payment signal carried in the transaction task.
Taking the payment application as an example of WeChat, the payment account represented by the payment two-dimensional code displayed on the payment terminal can be a change account of WeChat or a bank card account of a consumer. And if the collection account represented by the payment two-dimensional code displayed on the payment terminal is a bank card account of the consumer, the transaction task is finally reported to the transaction server by the target server, and the transaction server completes collection operation of the collection account on the payment account according to the collection account and the payment signal carried in the transaction task. And if the collection account represented by the payment two-dimensional code displayed on the payment terminal is a change account, the target server completes collection operation of the collection account on the payment account according to the collection account and the payment signal carried in the transaction task.
As can be seen from the above, in the money receiving method provided by this embodiment, the settlement amount is determined by the target picture corresponding to the target area of the settlement tool interface, the money receiving request is generated according to the payment token and the settlement amount carried by the payment two-dimensional code, and is sent to the preset server, and since the money receiving request carries the money receiving account number information and the payment token is associated with the payment account number information, the preset server can send the transaction task to the target server corresponding to the payment token according to the money receiving request, and then the target server completes the money receiving operation of the payment account on the payment account based on the transaction task, so that the full automation of the money receiving operation in the transaction process is realized, and the efficiency of the money receiving operation is.
Referring to fig. 2, fig. 2 is a flowchart illustrating an implementation of a cash receiving method according to another embodiment of the present application. With respect to the embodiment corresponding to fig. 1, the payment method provided by this embodiment further includes, before step S11, S21 to S22. The details are as follows:
s21: acquiring an expansion configuration file which corresponds to the settlement tool and is configured in advance; the extended configuration file includes: and the shortcut key information is used for describing the preset operation and is used for describing the coordinate range information of the target area.
S22: and if a preset instruction for starting a settlement tool is detected, loading the extended configuration file.
In this embodiment, the obtaining of the pre-configured extended configuration file corresponding to the settlement tool may be obtained from a preset server, or obtained by importing the extended configuration file into the payment receiving terminal through an external storage device, which is not limited herein.
The extended configuration file comprises a relation list of corresponding relations between shortcut key information and preset operations and a coordinate set used for describing a coordinate range of the target area.
It should be noted that, when it is detected that the settlement tool is enabled, the configuration file is loaded to construct a coordinate system in the settlement tool interface, where the coordinate system matches with the specification of each coordinate parameter in the coordinate set, that is, each coordinate parameter in the coordinate set can determine a continuous and complete target area in the coordinate system, and the target area is used for distinguishing an area containing the settlement amount in the settlement tool interface.
In practical application, the settlement tool on the cash receiving terminal can be an ERP system, the settlement tool interface is an interface of the ERP system, and when the extended configuration file is loaded, data interaction with the ERP system is not needed, and only an image of the interface of the ERP system is captured and a coordinate system matched with the image is created.
In the embodiment, by acquiring the pre-configured extended configuration file corresponding to the settlement tool and loading the extended configuration file when a preset instruction for starting the settlement tool is detected, a coordinate system is further constructed in the settlement tool interface, the position of the target image can be determined from the coordinate system based on each coordinate parameter in the coordinate set, and when a preset operation for settling the commodity form in the settlement tool interface is detected, the target image containing the settlement amount can be intercepted from the target area of the settlement tool interface.
As a possible implementation manner of this embodiment, a tool script file for installing and calling an OCR tool is further included in the extension configuration file. Step S12 may include: and calling the OCR tool to perform optical character recognition on the target picture to obtain the settlement amount.
In this embodiment, the OCR tool is an optical character recognition tool installed on the collection terminal, and the collection terminal performs optical character recognition on the target picture by calling the OCR tool, so as to obtain data describing the settlement amount.
It should be noted that, in order to avoid malicious attack on the payee terminal by a network hacker, many payee terminals set network access restrictions, that is, the data transmission speed of interaction between the payee terminal and other devices in the internet is limited. Although the receiving terminal is connected with the internet, the receiving terminal is easy to cause the phenomenon of data transmission blockage due to network access limitation because of the network access limitation. In order to avoid the phenomenon of pause of data transmission due to network reasons in the settlement process, an OCR tool is configured on the collection terminal, and the collection terminal calls the OCR tool to recognize the target picture so as to obtain the settlement amount, namely digital information for describing the settlement amount.
In the embodiment, the automatic identification of the settlement amount in the settlement tool interface is realized by acquiring and loading the extended configuration file, the manual settlement amount input is not needed, the automation degree of the money receiving process is improved, and meanwhile, the misoperation phenomenon caused by the manual settlement amount input is avoided.
Referring to fig. 3, fig. 3 is a flowchart illustrating a cash receiving method according to still another embodiment of the present application. With respect to the embodiment corresponding to fig. 1 or fig. 2, the payment method provided by the present embodiment further includes S31 to S32 after step S14. The details are as follows:
s31: and receiving prompt information which is returned by the target server and used for describing successful collection.
S32: and determining a commodity form in the settlement tool interface according to the prompt information, and finishing the settlement operation of the commodity form.
In this embodiment, the prompt message is used to describe the successful collection of the bill and also to indicate that the commodity form displayed in the settlement tool interface has completed the purchase order operation. The prompt message at least comprises the form number of the commodity form.
In practical application, the money receiving terminal can simultaneously carry out money receiving business for a plurality of consumers, and the purchased goods of each consumer are different and the corresponding goods forms are different. When a plurality of settlement tool interfaces are newly established on the collection terminal at the same time, the collection terminal can determine the commodity form in the settlement tool interface according to the form number and complete the settlement operation of the commodity form.
It should be noted that, completing the settlement operation on the commodity form refers to performing settlement saving on the commodity form and clearing the commodity form from the settlement tool interface so as to enter the commodity form of the next consumer.
As can be seen from the above, in the money receiving method provided by this embodiment, the settlement amount is determined by the target picture corresponding to the target area of the settlement tool interface, the money receiving request is generated according to the payment token and the settlement amount carried by the payment two-dimensional code, and is sent to the preset server, and since the money receiving request carries the money receiving account number information and the payment token is associated with the payment account number information, the preset server can send the transaction task to the target server corresponding to the payment token according to the money receiving request, and then the target server completes the money receiving operation of the payment account on the payment account based on the transaction task, so that the full automation of the money receiving operation in the transaction process is realized, and the efficiency of the money receiving operation is.
In addition, the expansion configuration file is obtained and loaded, so that the automatic identification of the settlement amount in the settlement tool interface is realized, the manual settlement amount input is not needed, the automation degree of the money receiving process is improved, and meanwhile, the misoperation phenomenon caused by the manual settlement amount input is avoided.
In addition, the commodity form in the settlement tool interface is determined by receiving the prompt message returned by the target server, the settlement operation of the commodity form is completed, and the commodity form is further cleared from the settlement tool interface so as to be convenient for entering the commodity form of the next consumer, and the money receiving efficiency is improved.
Referring to fig. 4, fig. 4 is a block diagram of a cash register according to an embodiment of the present disclosure. In this embodiment, each unit included in the cash register is configured to perform each step in the embodiments corresponding to fig. 1 to 3. Please refer to fig. 1 to 3 and fig. 1 to 3 for the corresponding embodiments. For convenience of explanation, only the portions related to the present embodiment are shown. Referring to fig. 4, the money receiving apparatus 400 includes: a picture cutting unit 41, a determination unit 42, a first execution unit 43 and a second execution unit 44. Wherein:
the picture capturing unit 41 is configured to capture a target picture including a settlement amount from a target area of the settlement tool interface if a preset operation of settling a commodity form in the settlement tool interface is detected.
A determining unit 42, configured to determine a settlement amount based on the target picture.
The first execution unit 43 is configured to invoke the code scanning device to scan the payment two-dimensional code displayed on the payment terminal, and generate a collection request carrying collection account information according to the payment token and the settlement amount carried by the payment two-dimensional code; wherein the payment terminal is associated with a payment account.
The second execution unit 44 is configured to send the money receiving request to a preset server; the preset server is used for sending a transaction task to a target server corresponding to the payment token according to the collection request; the target server is used for completing the collection operation of the collection account on the payment account based on the transaction task.
As an embodiment of the present application, the money receiving apparatus 400 further includes: a file acquisition unit 45 and a loading unit 46. Specifically, the method comprises the following steps:
a file acquiring unit 45, configured to acquire an extended configuration file corresponding to the settlement tool and configured in advance; the extended configuration file includes: and the shortcut key information is used for describing the preset operation and is used for describing the coordinate range information of the target area.
A loading unit 46, configured to load the extended configuration file if a preset instruction for starting a settlement tool is detected.
As an embodiment of the present application, the money receiving apparatus 400 further includes: a receiving unit 47 and a loading unit 48. Specifically, the method comprises the following steps:
and the receiving unit 47 is configured to receive prompt information, which is returned by the target server and used for describing successful collection.
And the third executing unit 48 is configured to determine a commodity form in the settlement tool interface according to the prompt information, and complete a settlement operation on the commodity form.
As an embodiment of the present application, the picture capturing unit 41 is specifically configured to determine a target area from the settlement tool interface according to coordinate range information used for describing the target area in the extended configuration file; and carrying out screenshot operation on the target area to obtain a target picture containing settlement amount.
As an embodiment of the present application, the determining unit 42 is specifically configured to send the target picture to the preset server, and enable the preset server to call an optical character recognition OCR tool to recognize a settlement amount from the target picture; and receiving the settlement amount returned by the preset server.
According to an embodiment of the application, the extended configuration file further includes a tool script file for installing and calling an OCR tool. The determining unit 42 is specifically configured to invoke the OCR tool to perform optical character recognition on the target picture, so as to obtain a settlement amount.
As an embodiment of the present application, the first executing unit 43 is specifically configured to invoke a code scanning device to scan a payment two-dimensional code displayed on a payment terminal, so as to obtain a target character string corresponding to a payment token carried by the payment two-dimensional code; acquiring collection account information from a local database, and generating a collection form according to the target character string, the settlement amount and the collection account information; and generating a collection request according to the collection form.
As can be seen from the above, in the scheme provided by this embodiment, the settlement amount is determined from the target picture corresponding to the target area of the settlement tool interface, the payment request is generated according to the payment token and the settlement amount carried by the payment two-dimensional code, and is sent to the preset server, and because the payment request carries the payment account number information and the payment token is associated with the payment account number information, the preset server can send the transaction task to the target server corresponding to the payment token according to the payment request, and then the target server completes the payment operation of the payment account on the payment account based on the transaction task, so that the full automation of the payment operation in the transaction process is realized, and the efficiency of the payment operation is improved.
In addition, the expansion configuration file is obtained and loaded, so that the automatic identification of the settlement amount in the settlement tool interface is realized, the manual settlement amount input is not needed, the automation degree of the money receiving process is improved, and meanwhile, the misoperation phenomenon caused by the manual settlement amount input is avoided.
In addition, the commodity form in the settlement tool interface is determined by receiving the prompt message returned by the target server, the settlement operation of the commodity form is completed, and the commodity form is further cleared from the settlement tool interface so as to be convenient for entering the commodity form of the next consumer, and the money receiving efficiency is improved.
Fig. 5 is a block diagram of a terminal device according to another embodiment of the present application. As shown in fig. 5, the terminal device 5 of this embodiment includes: a processor 50, a memory 51 and a computer program 52, such as a program of a money collection method, stored in said memory 51 and executable on said processor 50. The processor 50 executes the computer program 52 to implement the steps of the above-mentioned various embodiments of the money collecting method, such as S11 to S14 shown in fig. 1. Alternatively, when the processor 50 executes the computer program 52, the functions of the units in the embodiment corresponding to fig. 4, for example, the functions of the units 41 to 44 shown in fig. 4, are implemented, for which reference is specifically made to the relevant description in the embodiment corresponding to fig. 5, which is not repeated herein.
Illustratively, the computer program 52 may be divided into one or more units, which are stored in the memory 51 and executed by the processor 50 to accomplish the present application. The one or more units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution process of the computer program 52 in the terminal device 5. For example, the computer program 52 may be divided into a slice intercepting unit, a determining unit, a first execution unit and a second execution unit, and the specific functions of each unit are as described above.
The terminal device may include, but is not limited to, a processor 50, a memory 51. Those skilled in the art will appreciate that fig. 5 is merely an example of a terminal device 5 and does not constitute a limitation of terminal device 5 and may include more or fewer components than shown, or some components may be combined, or different components, e.g., the terminal device may also include input-output devices, network access devices, buses, etc.
The Processor 50 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 51 may be an internal storage unit of the terminal device 5, such as a hard disk or a memory of the terminal device 5. The memory 51 may also be an external storage device of the terminal device 5, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the terminal device 5. Further, the memory 61 may also include both an internal storage unit and an external storage device of the terminal device 5. The memory 61 is used for storing the computer program and other programs and data required by the terminal device. The memory 61 may also be used to temporarily store data that has been output or is to be output.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (10)

1. A method of collecting money, comprising:
if the preset operation of settlement of the commodity form in the settlement tool interface is detected, a target picture containing the settlement amount is intercepted from a target area of the settlement tool interface;
determining a settlement amount based on the target picture;
calling a code scanning device to scan a payment two-dimensional code displayed on a payment terminal, and generating a collection request carrying collection account information according to a payment token carried by the payment two-dimensional code and the settlement amount; wherein the payment terminal is associated with a payment account;
sending the collection request to a preset server; the preset server is used for sending a transaction task to a target server corresponding to the payment token according to the collection request; the target server is used for completing the collection operation of the collection account on the payment account based on the transaction task.
2. A payment method as recited in claim 1, wherein before the step of capturing a target picture including a settlement amount from a target area of a settlement tool interface if a predetermined operation for settling a merchandise form in the settlement tool interface is detected, the method further comprises:
acquiring an expansion configuration file which corresponds to the settlement tool and is configured in advance; the extended configuration file includes: shortcut key information used for describing the preset operation and coordinate range information used for describing the target area;
and if a preset instruction for starting a settlement tool is detected, loading the extended configuration file.
3. A method of receiving payment as recited in claim 1 or 2, wherein the step of sending the payment request to a target server is followed by the step of:
receiving prompt information which is returned by the target server and used for describing successful collection;
and determining a commodity form in the settlement tool interface according to the prompt information, and finishing the settlement operation of the commodity form.
4. A method as claimed in claim 2, wherein if a predetermined operation for settling a merchandise form in a settlement tool interface is detected, capturing a target picture including a settlement amount from a target area of the settlement tool interface comprises:
determining a target area from the settlement tool interface according to the coordinate range information for describing the target area in the extended configuration file;
and carrying out screenshot operation on the target area to obtain a target picture containing settlement amount.
5. A method of checkout as recited in claim 1 wherein the determining a settlement amount based on the target picture comprises:
sending the target picture to the preset server, and enabling the preset server to call an Optical Character Recognition (OCR) tool to recognize a settlement amount from the target picture;
and receiving the settlement amount returned by the preset server.
6. A method of checkout as claimed in claim 2 wherein the extended configuration file further includes a tool script file for installing and invoking OCR tools;
the determining a settlement amount based on the target picture comprises:
and calling the OCR tool to perform optical character recognition on the target picture to obtain the settlement amount.
7. The collection method of claim 2, wherein the invoking of the code scanning device scans a payment two-dimensional code displayed on a payment terminal, and generates a collection request carrying collection account information according to a payment token carried by the payment two-dimensional code and the settlement amount, and the method comprises:
calling a code scanning device to scan a payment two-dimensional code displayed on a payment terminal so as to obtain a target character string corresponding to a payment token carried by the payment two-dimensional code;
acquiring collection account information from a local database, and generating a collection form according to the target character string, the settlement amount and the collection account information;
and generating a collection request according to the collection form.
8. A checkout apparatus, comprising:
the picture intercepting unit is used for intercepting a target picture containing settlement amount from a target area of a settlement tool interface if the preset operation of settlement of the commodity form in the settlement tool interface is detected;
a determination unit configured to determine a settlement amount based on the target picture;
the first execution unit is used for calling a code scanning device to scan the payment two-dimensional code displayed on the payment terminal and generating a collection request carrying collection account information according to a payment token carried by the payment two-dimensional code and the settlement amount; wherein the payment terminal is associated with a payment account;
the second execution unit is used for sending the collection request to a preset server; the preset server is used for sending a transaction task to a target server corresponding to the payment token according to the collection request; the target server is used for completing the collection operation of the collection account on the payment account based on the transaction task.
9. A terminal device, characterized in that the terminal device comprises a memory, a processor and a computer program stored in the memory and executable on the terminal device, the processor implementing the steps of the method according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 7.
CN201910730376.0A 2019-08-08 2019-08-08 Money collection method, money collection device, terminal equipment and medium Pending CN110599156A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910730376.0A CN110599156A (en) 2019-08-08 2019-08-08 Money collection method, money collection device, terminal equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910730376.0A CN110599156A (en) 2019-08-08 2019-08-08 Money collection method, money collection device, terminal equipment and medium

Publications (1)

Publication Number Publication Date
CN110599156A true CN110599156A (en) 2019-12-20

Family

ID=68853881

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910730376.0A Pending CN110599156A (en) 2019-08-08 2019-08-08 Money collection method, money collection device, terminal equipment and medium

Country Status (1)

Country Link
CN (1) CN110599156A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112150138A (en) * 2020-08-06 2020-12-29 东莞市凯普软件科技有限公司 Anti-cheating code scanning transaction method, system and equipment
CN112215638A (en) * 2020-09-23 2021-01-12 支付宝(杭州)信息技术有限公司 Recommendation processing method and device
CN112330323A (en) * 2020-11-05 2021-02-05 建信金融科技有限责任公司 Method for generating token seed and two-dimensional code, payment method and payment device
CN112991646A (en) * 2020-12-31 2021-06-18 网银在线(北京)科技有限公司 Charging method, charging device and charging equipment
CN114235122A (en) * 2021-12-16 2022-03-25 广州市超赢信息科技有限公司 Weighing settlement method and system of electronic scale based on AI image recognition

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104217322A (en) * 2014-08-22 2014-12-17 深圳市淘淘谷信息技术有限公司 Communication method and system for realizing third-party account payment and settlement based on commercial tenant terminal equipment
CN105550860A (en) * 2015-12-11 2016-05-04 小米科技有限责任公司 Payment method and device
CN105678302A (en) * 2016-03-09 2016-06-15 上海讯联数据服务有限公司 OCR-based code scanning payment cash register software amount recognition system
WO2018164638A1 (en) * 2017-03-08 2018-09-13 Mastercard Asia/Pacific Pte. Ltd. Customer-initiated payment system and process
CN109035636A (en) * 2018-06-04 2018-12-18 阿里巴巴集团控股有限公司 A kind of Cash collecting equipment, a kind of cashing method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104217322A (en) * 2014-08-22 2014-12-17 深圳市淘淘谷信息技术有限公司 Communication method and system for realizing third-party account payment and settlement based on commercial tenant terminal equipment
CN105550860A (en) * 2015-12-11 2016-05-04 小米科技有限责任公司 Payment method and device
CN105678302A (en) * 2016-03-09 2016-06-15 上海讯联数据服务有限公司 OCR-based code scanning payment cash register software amount recognition system
WO2018164638A1 (en) * 2017-03-08 2018-09-13 Mastercard Asia/Pacific Pte. Ltd. Customer-initiated payment system and process
CN109035636A (en) * 2018-06-04 2018-12-18 阿里巴巴集团控股有限公司 A kind of Cash collecting equipment, a kind of cashing method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
中国支付清算协会: "《中国支付清算行业运行报告 2015》", 31 December 2005 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112150138A (en) * 2020-08-06 2020-12-29 东莞市凯普软件科技有限公司 Anti-cheating code scanning transaction method, system and equipment
CN112215638A (en) * 2020-09-23 2021-01-12 支付宝(杭州)信息技术有限公司 Recommendation processing method and device
CN112215638B (en) * 2020-09-23 2023-06-20 支付宝(杭州)信息技术有限公司 Recommendation processing method and device
CN112330323A (en) * 2020-11-05 2021-02-05 建信金融科技有限责任公司 Method for generating token seed and two-dimensional code, payment method and payment device
CN112991646A (en) * 2020-12-31 2021-06-18 网银在线(北京)科技有限公司 Charging method, charging device and charging equipment
CN114235122A (en) * 2021-12-16 2022-03-25 广州市超赢信息科技有限公司 Weighing settlement method and system of electronic scale based on AI image recognition

Similar Documents

Publication Publication Date Title
CN110599156A (en) Money collection method, money collection device, terminal equipment and medium
CN108537533B (en) Self-service shopping settlement method and system
US10410171B2 (en) System and method for inventory management
CN105678302A (en) OCR-based code scanning payment cash register software amount recognition system
KR102216514B1 (en) Service system for returning goods with fast return and refund
JP7235119B2 (en) Processing device, accounting device, processing method and program
CN110751244B (en) IOT (Internet of things) equipment activation method, IOT equipment activation device and IOT equipment activation equipment
CN111461697A (en) Payment communication method and device and electronic equipment
US20140046760A1 (en) Methods, systems, and computer readable media for identifying qualifying consumer offers
WO2020083283A1 (en) Payment method capable of automatically recognizing payment amount
CN109857499B (en) Universal method for acquiring cash register software screen amount based on windows system
CN110599151A (en) Payment method, device, system and storage medium
KR20180057262A (en) Accounting system using a receipt
CN109615799B (en) Method, device and system for accessing electronic scale, storage medium and electronic device
CN110163591B (en) Method, system and computer readable storage medium for obtaining payment result of self-service payment
CN111667260A (en) Cloud scanning device, cloud scanning method thereof, and computer-readable storage medium
US11823139B2 (en) Image-based transaction processing
CN112184213A (en) Code scanning payment method and related device
CN108648026B (en) Method and device for modifying invoice information
CN112669059A (en) Method, device, server and storage medium for collecting money
KR20150033370A (en) Receipt managing System
US11941657B2 (en) Information processing system, method, and medium
CN109615390B (en) Method and device for determining transaction type of self-service terminal and self-service terminal
CN110738486A (en) Receipt code storage method, payment method, device, equipment and medium
CN114092185A (en) Acquisition method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20191220

RJ01 Rejection of invention patent application after publication