CN112734415B - Digital money collection method, terminal, device and computer readable storage medium - Google Patents

Digital money collection method, terminal, device and computer readable storage medium Download PDF

Info

Publication number
CN112734415B
CN112734415B CN202011645195.7A CN202011645195A CN112734415B CN 112734415 B CN112734415 B CN 112734415B CN 202011645195 A CN202011645195 A CN 202011645195A CN 112734415 B CN112734415 B CN 112734415B
Authority
CN
China
Prior art keywords
digital currency
collection
transaction
digital
request
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.)
Active
Application number
CN202011645195.7A
Other languages
Chinese (zh)
Other versions
CN112734415A (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.)
Shenzhen Zhengtong Electronics Co Ltd
Original Assignee
Shenzhen Zhengtong Electronics 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 Shenzhen Zhengtong Electronics Co Ltd filed Critical Shenzhen Zhengtong Electronics Co Ltd
Priority to CN202011645195.7A priority Critical patent/CN112734415B/en
Publication of CN112734415A publication Critical patent/CN112734415A/en
Application granted granted Critical
Publication of CN112734415B publication Critical patent/CN112734415B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • 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/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3823Payment protocols; Details thereof insuring higher security of transaction combining multiple encryption tools for a transaction
    • 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/38Payment protocols; Details thereof
    • G06Q20/389Keeping log of transactions for guaranteeing non-repudiation of a transaction
    • 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
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/02Banking, e.g. interest calculation or account maintenance
    • 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
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Abstract

The invention discloses a digital currency collection method, a terminal, a device and a computer readable storage medium, wherein the method comprises the following steps: when receiving a transaction request, the collecting terminal determines whether the transaction request is a digital currency collecting request; when the transaction request is a digital currency collection request, the digital currency collection request is sent to the digital currency processing device so that the digital currency processing device can process the digital currency transaction request, and the digital currency collection request carries payment credentials and a payee wallet ID. The invention improves the flexibility of collecting digital currency.

Description

Digital money collection method, terminal, device and computer readable storage medium
Technical Field
The present invention relates to the field of digital money payment technologies, and in particular, to a digital money collection method, a digital money collection terminal, a digital money collection device, and a digital money collection computer readable storage medium.
Background
In the use process of digital currency, the conventional cash-collecting terminal can collect the digital currency in a network state, so that the conventional cash-collecting terminal does not have the capability of offline processing a digital currency collection request, and the digital currency collection flexibility of the prior art is low.
Disclosure of Invention
The embodiment of the invention aims to solve the technical problem of low digital currency collection flexibility in the prior art by providing a digital currency collection method, a terminal, a device and a computer readable storage medium.
The embodiment of the invention provides a digital currency collection method, which is applied to a collection terminal, wherein the collection terminal is connected with a digital currency processing device, and the digital currency collection method comprises the following steps:
when receiving a transaction request, the receiving terminal determines whether the transaction request is a digital currency receiving request;
when the transaction request is a digital currency collection request, sending the digital currency collection request to the digital currency processing device so as to enable the digital currency processing device to process the digital currency transaction request, wherein the digital currency collection request carries a payment certificate;
when transaction flow information and transaction log information returned by the digital currency processing device are received, determining the current network state;
the transaction flow information is stored when the network state is unavailable, along with transaction log information, and output when the network state is available.
In an embodiment, after the step of determining the current network state, the method further comprises:
and outputting prompt information for prompting successful transaction when receiving the information of successful transaction processing returned by the digital currency processing device.
In an embodiment, after the step of sending the digital money collection request to the digital money handling device, the method further comprises:
and outputting prompt information for prompting transaction failure when receiving the information of transaction processing failure returned by the digital currency processing device.
The embodiment of the invention provides a method for collecting digital currency, which is applied to a digital currency processing device, wherein the digital currency processing device is connected with a collecting terminal, and the method for collecting digital currency comprises the following steps:
when a digital currency collection request sent by a collection terminal is received, acquiring a payment certificate in the digital currency processing request;
determining whether the payment credential is accurate;
and when the payment certificate is accurate, transmitting transaction log information and transaction flow information to the collection terminal.
In an embodiment, after the step of determining whether the payment credential is accurate, the method further comprises:
and when the payment certificate is accurate, sending information of successful transaction to the collection terminal.
In an embodiment, after the step of updating the digital currency balance of the payee wallet ID according to the payment credential, the method further comprises:
and when the payment certificate is inaccurate, sending information of transaction failure to the collection terminal.
In an embodiment, after the step of updating the digital currency balance of the payee wallet ID according to the payment credential, the method further comprises:
determining a current network state;
storing the transaction log information and the transaction flowing information when the network state is unavailable and outputting the transaction log information and the transaction flowing information when the network state is available.
The embodiment of the invention also provides a cash register terminal, which comprises: the digital money collection device comprises a memory, a processor and a digital money collection program which is stored in the memory and can be run on the processor, wherein the processor realizes the steps of the digital money collection method when executing the digital money collection program.
The embodiment of the invention also provides a collection system of the digital currency, which comprises: a collecting terminal provided with a pluggable data transmission interface, wherein the collecting terminal is the collecting terminal as claimed in claim 8; the digital currency processing device is inserted into the collection terminal through the data transmission interface and is communicated with the collection terminal through the data transmission interface, and the digital currency processing device is used for receiving and processing a digital currency collection request sent by the collection terminal through the data transmission interface and returning information of successful transaction processing to the collection terminal after the processing is successful
Embodiments of the present invention also provide a computer-readable storage medium having stored thereon a collection program of digital money, which when executed by a processor, implements the steps of the collection method of digital money as described above.
In the technical scheme of the embodiment, when a transaction request is received, a collection terminal determines whether the transaction request is a digital currency collection request; and when the transaction request is a digital currency collection request, sending the digital currency collection request to the digital currency processing device so as to enable the digital currency processing device to process the digital currency transaction request, wherein the digital currency collection request carries payment credentials. The money receiving terminal can receive the money receiving request in an off-line state, and can judge whether the money receiving request is a digital money receiving request or not, and further determine whether the money receiving request needs to be forwarded to a connected digital money processing device for processing.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of a hardware architecture of a payment receiving terminal according to an embodiment of the present invention;
FIG. 2 is a schematic diagram showing a hardware architecture of a digital money handling apparatus according to an embodiment of the present invention
FIG. 3 is a flow chart of a first embodiment of a method for collecting digital money according to the present invention;
FIG. 4 is a flow chart of a second embodiment of the method for collecting digital money according to the present invention;
FIG. 5 is a flow chart of a third embodiment of a method for collecting digital money according to the present invention;
FIG. 6 is a flow chart of a fourth embodiment of a method for collecting digital money according to the present invention;
FIG. 7 is a flow chart of a fifth embodiment of a method for collecting digital money according to the present invention;
FIG. 8 is a flowchart of a method for collecting digital money according to a sixth embodiment of the present invention;
FIG. 9 is a flow chart of a seventh embodiment of a method for collecting digital money according to the present invention;
FIG. 10 is a reference diagram of a digital money collection system of the present invention.
Detailed Description
In order that the above-described aspects may be better understood, exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
The main solution of the invention is as follows: when receiving a transaction request, the receiving terminal determines whether the transaction request is a digital currency receiving request; when the transaction request is a digital currency collection request, sending the digital currency collection request to the digital currency processing device through a data transmission interface; and when receiving the information returned by the digital currency processing device that the transaction processing is successful, updating the pre-stored digital currency balance.
The money receiving terminal can receive the money receiving request in an off-line state, and can judge whether the money receiving request is a digital money receiving request or not, and further determine whether the money receiving request needs to be forwarded to a connected digital money processing device for processing.
As one implementation, the checkout terminal may be as in fig. 1.
The embodiment of the invention relates to a collection terminal, which comprises: a processor 101, such as a CPU, a memory 102, and a communication bus 103. Wherein the communication bus 103 is used to enable connected communication among the components.
The memory 102 may be a high-speed RAM memory or a stable memory (non-volatile memory), such as a disk memory. As shown in fig. 1, a detection program may be included in a memory 103 as a computer storage medium; and the processor 101 may be configured to call the detection program stored in the memory 102 and perform the following operations:
when receiving a transaction request, the receiving terminal determines whether the transaction request is a digital currency receiving request;
when the transaction request is a digital currency collection request, sending the digital currency collection request to the digital currency processing device so as to enable the digital currency processing device to process the digital currency transaction request, wherein the digital currency collection request carries a payment certificate;
when transaction flow information and transaction log information returned by the digital currency processing device are received, determining the current network state;
the transaction flow information is stored when the network state is unavailable, along with transaction log information, and output when the network state is available.
In one embodiment, the processor 101 may be configured to call a detection program stored in the memory 102 and perform the following operations:
and outputting prompt information for prompting successful transaction when receiving the information of successful transaction processing returned by the digital currency processing device.
In one embodiment, the processor 101 may be configured to call a detection program stored in the memory 102 and perform the following operations:
and outputting prompt information for prompting transaction failure when receiving the information of transaction processing failure returned by the digital currency processing device.
As one implementation, the digital money handling device may be as in fig. 2.
The embodiment of the invention relates to a digital currency processing device, which comprises: a processor 201, such as a CPU, a memory 202, and a communication bus 203. Wherein the communication bus 203 is used to enable the connected communication between these components.
The memory 202 may be a high-speed RAM memory or a stable memory (non-volatile memory), such as a disk memory. As shown in fig. 1, a detection program may be included in a memory 203 as a computer storage medium; and the processor 201 may be configured to call the detection program stored in the memory 202 and perform the following operations:
when a digital currency collection request sent by a collection terminal is received, acquiring a payment certificate in the digital currency processing request;
determining whether the payment credential is accurate;
and when the payment certificate is accurate, transmitting transaction log information and transaction flow information to the collection terminal.
In one embodiment, the processor 201 may be configured to call a detection program stored in the memory 202 and perform the following operations:
and when the payment certificate is accurate, sending information of successful transaction to the collection terminal.
In one embodiment, the processor 201 may be configured to call a detection program stored in the memory 202 and perform the following operations:
and when the payment certificate is inaccurate, sending information of transaction failure to the collection terminal.
In one embodiment, the processor 201 may be configured to call a detection program stored in the memory 202 and perform the following operations:
determining a current network state;
storing the transaction log information and the transaction flowing information when the network state is unavailable and outputting the transaction log information and the transaction flowing information when the network state is available.
In the technical scheme of the embodiment, when a transaction request is received, a collection terminal determines whether the transaction request is a digital currency collection request; when the transaction request is a digital currency collection request, sending the digital currency collection request to the digital currency processing device so as to enable the digital currency processing device to process the digital currency transaction request, wherein the digital currency collection request carries a payment certificate; when transaction flow information and transaction log information returned by the digital currency processing device are received, determining the current network state; the transaction flow information is stored when the network state is unavailable, along with transaction log information, and output when the network state is available. The money receiving terminal can receive the money receiving request in an off-line state, and can judge whether the money receiving request is a digital money receiving request or not, and further determine whether the money receiving request needs to be forwarded to a connected digital money processing device for processing.
In order to better understand the above technical solutions, the following detailed description will refer to the accompanying drawings and specific embodiments.
Referring to fig. 3, fig. 3 is a first embodiment of the digital money collection method of the present invention, the method comprising the steps of:
step S10, when receiving a transaction request, the collecting terminal determines whether the transaction request is a digital currency collecting request.
In this embodiment, the above-mentioned collection terminal may be a POS machine or a vending machine, and optionally, the collection terminal may also be an electronic device that carries a collection request processing function, for example: a mobile phone, etc., without limitation; the collection terminal can be electronic equipment such as a mobile phone and the like with a payment function; the digital money collection request is for digital money, and the transaction request may be initiated by the collection terminal upon detection of a digital money card.
And step S20, when the transaction request is a digital currency collection request, sending the digital currency collection request to the digital currency processing device so that the digital currency processing device can process the digital currency transaction request, wherein the digital currency collection request carries payment credentials.
And step S30, when transaction flow information and transaction log information returned by the digital currency processing device are received, determining the current network state.
Step S40, when the network status is not available, storing the transaction flow information and transaction log information and outputting when the network status is available.
In this embodiment, when the network state is unavailable, it means that the network state is not connected to the bank server, so that the transaction flow information and the transaction log information cannot be sent to the bank server, and therefore authentication of the bank on the transaction is absent, so that the transaction flow information and the transaction log information are sent to the bank when the network state is available, and the security of the transaction can be improved.
Optionally, the official information fed back by the bank server based on the transaction flow information and the transaction log information is stored when the official information is received.
Optionally, when the official information fed back by the bank server based on the transaction flow information and the transaction log information is received, the official information is sent to the digital currency processing device, so that the digital currency processing device stores the official information.
In this embodiment, the collection terminal determines whether it is a regular collection request or a digital money request when receiving a collection request, wherein the request is sent to the digital money handling device when determining that it is a digital money collection request, and specifically, the digital money handling device is connected to the collection terminal, and the connection manner includes at least one of communication connection, electrical connection, and the like, which is not limited herein.
Alternatively, the correspondence between the digital money handling device and the collection terminal may be one-to-one or one-to-many, and in this embodiment, one-to-many is preferred.
Optionally, the cashier terminal and the digital currency handling apparatus access the same local area network. The cashier terminal is connected with the digital currency disposal device. The digital currency garment processing device and device lookup service deployed in the digital currency handling apparatus have been initiated, with both services listening on two different ports. Further, after the cashing terminal is started, the UDP data packet is broadcast to the designated port in the local area network. The device search service in the digital money handling apparatus, receiving the UDP packet broadcast by the cashing terminal application in the digital money handling apparatus, replies the IP and port of the digital money wallet service in a preset format. And the cashing terminal receives the data returned by the digital currency handling device and analyzes the IP and the port. And initiating TCP connection to the IP and the port, connecting the digital currency clothes processing device in the digital currency handling device, and completing the search of the digital currency handling device.
Optionally, in the double-off-line scenario of the cashing terminal and the digital currency processing device, the cashing terminal and the digital currency processing device are in the same local area network, and connection between two services is not affected. The cashing terminal requests the cashing request message, sends the cashing request message to the digital currency clothes processing device on the digital currency processing device through the TCP protocol, and service analysis requests, obtains the wallet ID of the cashing party in the payment information from the safety module of the equipment, replies the payment information to the cashing terminal through the TCP protocol, and the cashing terminal analyzes the received T5CP data and sends the data to the paying party. The payer sends the payment certificate to the cashier terminal, and the cashier terminal sends the payment certificate to the digital currency clothes processing device.
Optionally, a heartbeat protocol is arranged between the cashing terminal and the digital currency processing device, and the network state of the cashing terminal is recorded in the heartbeat protocol sent to the digital currency by the cashing terminal. If the network condition exists, the digital currency collection service detects that the digital currency processing device needs to collect the digital currency offline synchronously, and a synchronous mark is returned in a reply packet of the heartbeat message. The cashing terminal detects the synchronous mark, initiates a request synchronous message to the digital currency processing device and returns the offline received digital currency, the related transaction log and the transaction flow to the digital currency service processing device. After the POS application receives the digital currency and the transaction log and the transaction flow, the POS application initiates synchronous transaction to the background of the bank. The synchronization is completed and the POS application transmits the synchronization result to the digital money handling device of the digital money handling devices. Furthermore, the UDP and TCP messages between the cashing terminal and the digital currency clothes processing device are ciphertext, and the use of ciphertext can ensure the communication safety.
Alternatively, the digital currency processing device is provided with a display screen, so that version information of the digital currency processing device can be simply displayed. Related service operating conditions.
Optionally, the connection mode of the cashing terminal and the digital currency processing device is not limited to network and logistics connection, and can be a serial port, bluetooth, USB and other connection modes.
In the technical scheme of the embodiment, the money receiving terminal can receive the money request in an offline state, and can judge whether the money receiving request is a digital money receiving request or not, and further determine whether the money receiving request needs to be forwarded to a connected digital money processing device for processing.
Referring to fig. 4, fig. 4 is a second embodiment of the digital money collection method according to the present invention, based on the first embodiment, after step S20, further including:
and step S50, outputting prompt information for prompting the completion of the transaction when receiving the information of successful transaction processing returned by the digital currency processing device.
In the technical solution of this embodiment, when the cashing terminal receives the information that the transaction occurred in the digital currency processing device is successful, it means that the digital currency processing device has completed the processing request for the digital currency received by the cashing terminal, so that the prompting information of the transaction success is output, and the user experience can be improved.
Referring to fig. 5, fig. 5 is a third embodiment of the digital money collection method according to the present invention, and after step S20, further includes:
and step S60, outputting prompt information for prompting transaction failure when receiving the information of transaction processing failure returned by the digital currency processing device.
In this embodiment, when the digital money handling apparatus detects that the payment party signature credential or the banking party signature credential is inaccurate, the digital money handling apparatus may send a message of failure in transaction processing to the cashing terminal.
In the technical solution of the embodiment, when receiving the information of the transaction failure generated by the digital currency processing apparatus, it means that the digital currency processing apparatus fails to process the collection request of the digital currency, so that the prompt information of the transaction failure is output, and the user can know the payment situation in time.
Referring to fig. 6, fig. 6 is a fourth embodiment of the digital money collecting method of the present invention, the method comprising the steps of:
and step S70, when a digital currency collection request sent by a collection terminal is received, acquiring a payment certificate in the digital currency processing request.
In this embodiment, the digital money handling apparatus receives, when receiving a digital money collection request transmitted from a collection terminal, a service of the digital money collection request handled by the digital money handling apparatus.
Step S80, determining whether the payment credential is accurate.
In this embodiment, the payment certificate carries the digital currency transaction amount, the payment party signature certificate, the banking party signature certificate and the transaction number, and optionally, the payment certificate may also carry detailed attributes such as transaction time and place.
Step S90, when the payment certificate is accurate, the transaction log information and the transaction flow information are sent to the collection terminal.
In this embodiment, when the payment certificate is verified to be accurate, transaction log information and transaction flow information corresponding to the payment certificate are generated and sent to the collection terminal.
In the technical scheme of the embodiment, the received payment credentials can be proved to be reliable by the payment party signature credentials and the banking party signature credentials in the payment credentials, so that the signature credentials can be delayed from being sent to a banking server for further transaction determination when no internet exists, and transaction log information and transaction running water information corresponding to the payment credentials can be generated and sent to a collection terminal under the off-line condition, thereby realizing off-line collection.
Referring to fig. 7, fig. 7 is a fifth embodiment of the digital money collection method according to the present invention, and after step S80, further includes:
and step S100, when the payment certificate is accurate, sending information of successful transaction to the collection terminal.
In the technical scheme of the embodiment, when the digital currency collection request is processed successfully, the information of successful transaction processing is sent, so that the cashing terminal prompts the user according to the information.
Referring to fig. 8, fig. 8 is a sixth embodiment of the digital money collection method according to the present invention, and after step S80, further includes:
step S110, when the payment certificate is inaccurate, information of transaction failure is sent to the collection terminal.
In this embodiment, if at least one of the payment amount in the payment voucher, the payer signature voucher, and the official signature voucher is detected as not being present, the transaction is deemed to have failed.
In the technical solution of this embodiment, when processing the digital money collection request fails, information of the transaction processing failure is sent, so that the cashing terminal prompts the user according to the information.
Referring to fig. 9, fig. 9 is a seventh embodiment of the digital money collection method according to the present invention, and after step S80, further includes:
step S120, determining the current network state.
Step S130, when the network status is unavailable, storing the transaction log information and the transaction flow information, and when the network status is available, outputting the transaction log information and the transaction flow information.
In this embodiment, considering the network state of the collection terminal, after the detection of the payment certificate is completed, if it is not networked, it cannot update the transaction log information and the transaction flow information to the bank server. Therefore, when the network is not available, the transaction log information and the transaction flow information can be stored in advance, and when the network is available, the step of sending the transaction log information and the transaction flow information to the connected bank server is performed.
In the technical scheme of the embodiment, the step of determining whether to send the transaction log information and the transaction flow information to the connected bank server side is performed by detecting the network state of the receiving terminal, so that the processing flexibility of the digital currency receiving request is improved.
To achieve the above object, an embodiment of the present invention further provides a collecting terminal, including: the system comprises a memory, a processor and a digital currency collection program stored in the memory and capable of running on the processor, wherein the digital currency collection program is executed by the processor to realize the steps of the digital currency collection method.
In order to achieve the above object, an embodiment of the present invention further provides a digital money handling apparatus, including: the system comprises a memory, a processor and a digital currency collection program stored in the memory and capable of running on the processor, wherein the digital currency collection program is executed by the processor to realize the steps of the digital currency collection method.
To achieve the above object, an embodiment of the present invention also provides a computer-readable storage medium having stored thereon a collection program of digital money, which when executed by a processor, implements the steps of the collection method of digital money as described above.
To achieve the above object, an embodiment of the present invention further provides a digital money collecting system, referring to fig. 10, including: a collecting terminal provided with a pluggable data transmission interface, wherein the collecting terminal is the collecting terminal as claimed in claim 8; the digital currency processing device is inserted into the collection terminal through the data transmission interface and is communicated with the collection terminal through the data transmission interface, and the digital currency processing device is used for receiving and processing a digital currency collection request sent by the collection terminal through the data transmission interface and returning information of successful transaction processing to the collection terminal after the processing is successful.
It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as a method, system, or cash register program product in digital currency. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a digital money collection program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and digital currency collection program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart and/or block diagram, and combinations of flows and/or blocks in the flowchart and/or block diagram, may be implemented by digital currency collection program instructions. These digital currency collection program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These digital currency collection program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These digital currency collection program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It should be noted that in the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The use of the words first, second, third, etc. do not denote any order. These words may be interpreted as names.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following claims be interpreted as including the preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various modifications and variations can be made to the present invention without departing from the spirit or scope of the invention. Thus, it is intended that the present invention also include such modifications and alterations insofar as they come within the scope of the appended claims or the equivalents thereof.

Claims (9)

1. The utility model provides a collection method of digital currency, characterized in that is applied to collection terminal, collection terminal is provided with pluggable data transmission interface, collection terminal is connected with digital currency processing apparatus, digital currency processing apparatus is pegged graft through data transmission interface with collection terminal to with communicate through data transmission interface between the collection terminal, digital currency processing apparatus is used for handling the digital currency collection request that collection terminal sent through data transmission interface, the collection method of digital currency includes:
when receiving a transaction request, the receiving terminal determines whether the transaction request is a digital currency receiving request;
when the transaction request is a digital currency collection request, sending the digital currency collection request to the digital currency processing device so as to enable the digital currency processing device to process the digital currency transaction request, wherein the digital currency collection request carries a payment certificate;
when transaction flow information and transaction log information returned by the digital currency processing device are received, determining the current network state;
the transaction flow information is stored when the network state is unavailable, along with transaction log information, and output when the network state is available.
2. The method of collecting digital money as recited in claim 1 wherein after the step of sending the digital money collection request to the digital money handling device, the method further comprises:
and outputting prompt information for prompting successful transaction when receiving the information of successful transaction processing returned by the digital currency processing device.
3. The method of collecting digital money as recited in claim 1 wherein after the step of sending the digital money collection request to the digital money handling device, the method further comprises:
and outputting prompt information for prompting transaction failure when receiving the information of transaction processing failure returned by the digital currency processing device.
4. The utility model provides a digital currency's collection method which characterized in that is applied to digital currency processing device, digital currency processing device is connected with collection terminal, collection terminal is provided with pluggable data transmission interface, digital currency processing device is pegged graft with collection terminal through data transmission interface, and with collection terminal between through data transmission interface communication, digital currency processing device is used for handling the digital currency collection request that collection terminal sent through data transmission interface, digital currency's collection method includes:
when a digital currency collection request sent by a collection terminal is received, acquiring a payment certificate in the digital currency processing request;
determining whether the payment credential is accurate;
when the payment certificate is accurate, transmitting transaction log information and transaction flow information to the collection terminal;
determining a current network state;
storing the transaction log information and the transaction flowing information when the network state is unavailable and outputting the transaction log information and the transaction flowing information when the network state is available.
5. The method of collecting digital currency according to claim 4, wherein after said step of determining whether said payment credential is accurate, said method further comprises:
and when the payment certificate is accurate, sending information of successful transaction to the collection terminal.
6. The method of collecting digital currency according to claim 4, wherein after said step of determining whether said payment credential is accurate, said method further comprises:
and when the payment certificate is inaccurate, sending information of transaction failure to the collection terminal.
7. A cash register terminal, the cash register terminal comprising: the method comprises the steps of a digital currency collection method according to any one of claims 1 to 3, wherein the collection terminal is provided with a pluggable data transmission interface, the collection terminal is connected with a digital currency processing device, the digital currency processing device is plugged into the collection terminal through the data transmission interface and is communicated with the collection terminal through the data transmission interface, and the digital currency processing device is used for processing a digital currency collection request sent by the collection terminal through the data transmission interface.
8. A digital money handling apparatus, characterized by comprising: the digital currency collection method comprises the steps of a digital currency collection method according to any one of claims 4 to 6, wherein the digital currency processing device is connected with a collection terminal, the collection terminal is provided with a pluggable data transmission interface, the digital currency processing device is plugged into the collection terminal through the data transmission interface and is communicated with the collection terminal through the data transmission interface, and the digital currency processing device is used for processing a digital currency collection request sent by the collection terminal through the data transmission interface.
9. A computer-readable storage medium, wherein a digital money collection program is stored on the computer-readable storage medium, which when executed by a processor, implements the steps of the digital money collection method according to any one of claims 1 to 6.
CN202011645195.7A 2020-12-31 2020-12-31 Digital money collection method, terminal, device and computer readable storage medium Active CN112734415B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011645195.7A CN112734415B (en) 2020-12-31 2020-12-31 Digital money collection method, terminal, device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011645195.7A CN112734415B (en) 2020-12-31 2020-12-31 Digital money collection method, terminal, device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN112734415A CN112734415A (en) 2021-04-30
CN112734415B true CN112734415B (en) 2024-01-12

Family

ID=75609410

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011645195.7A Active CN112734415B (en) 2020-12-31 2020-12-31 Digital money collection method, terminal, device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN112734415B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113673981A (en) * 2021-08-02 2021-11-19 深圳怡化电脑科技有限公司 Data processing method and device based on unmanned ticketing system
CN115187249B (en) * 2022-09-09 2022-12-20 国网数字科技控股有限公司 Offline payment data security method and system based on digital currency hardware wallet

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107230068A (en) * 2016-03-25 2017-10-03 中国人民银行印制科学技术研究所 Use the method and system of viewable numbers currency chip card payout figure currency
CN108805551A (en) * 2018-06-06 2018-11-13 北京航空航天大学 A kind of safe fine granularity pre-paid method and device
CN108985928A (en) * 2018-06-07 2018-12-11 捷德(中国)信息科技有限公司 Digital cash method of commerce, device, system and mobile terminal
CN109493016A (en) * 2018-10-24 2019-03-19 中国工商银行股份有限公司 Offline electronic payment method, terminal based on digital cash and act on behalf of dispensing device
WO2020020329A1 (en) * 2018-07-27 2020-01-30 中城智慧科技有限公司 Digital wallet allowing anonymous or real-name offline transaction and usage method
CN111275411A (en) * 2018-12-05 2020-06-12 中国电信股份有限公司 Digital currency wallet off-line transaction method and system and user identification card
CN111340469A (en) * 2020-03-10 2020-06-26 苏州区盟链数字科技有限公司 Digital currency wallet and digital currency double-off-line payment method
CN111937020A (en) * 2019-06-06 2020-11-13 海付移通科技香港有限公司 Aggregation payment method and system for digital currency and edge server

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107230068A (en) * 2016-03-25 2017-10-03 中国人民银行印制科学技术研究所 Use the method and system of viewable numbers currency chip card payout figure currency
CN108805551A (en) * 2018-06-06 2018-11-13 北京航空航天大学 A kind of safe fine granularity pre-paid method and device
CN108985928A (en) * 2018-06-07 2018-12-11 捷德(中国)信息科技有限公司 Digital cash method of commerce, device, system and mobile terminal
WO2020020329A1 (en) * 2018-07-27 2020-01-30 中城智慧科技有限公司 Digital wallet allowing anonymous or real-name offline transaction and usage method
CN109493016A (en) * 2018-10-24 2019-03-19 中国工商银行股份有限公司 Offline electronic payment method, terminal based on digital cash and act on behalf of dispensing device
CN111275411A (en) * 2018-12-05 2020-06-12 中国电信股份有限公司 Digital currency wallet off-line transaction method and system and user identification card
CN111937020A (en) * 2019-06-06 2020-11-13 海付移通科技香港有限公司 Aggregation payment method and system for digital currency and edge server
CN111340469A (en) * 2020-03-10 2020-06-26 苏州区盟链数字科技有限公司 Digital currency wallet and digital currency double-off-line payment method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Protocol for irreversible off-line transactions in anonymous electronic currency exchange;Marek R. Ogiela · Piotr Sułkowski;Soft Comput;第2014卷(第18期);2587–2594 *
数字货币技术实现框架;王永红;;中国金融(第17期);15-17 *

Also Published As

Publication number Publication date
CN112734415A (en) 2021-04-30

Similar Documents

Publication Publication Date Title
RU2563163C2 (en) Remote variable authentication processing
CN104144379B (en) Business data processing method, user terminal and service terminal
US10911908B2 (en) Electronic device for processing message and method for operating same
KR101488222B1 (en) Method for communicating and transmitting a message relating to a transaction for a contactless application, terminal, secured module and associated systems
CN112734415B (en) Digital money collection method, terminal, device and computer readable storage medium
EP3079326A1 (en) Network payment method, apparatus and system
CN112615871A (en) Method and device for sending authenticable message in cross-link mode
CN104753894A (en) Data processing method, device and system
CN110096244B (en) Information sharing method based on data processing and related equipment
CN113115285A (en) Information processing method and device
CN105989485B (en) Service management method and device
CN109660594A (en) Orientation method for pushing, methods of exhibiting, device and the equipment of service processing result
CN110351349B (en) Method and system for realizing work of cloud sound box
CN110945552B (en) Product sales reporting method, payment method and terminal equipment
CN110322244A (en) It is a kind of based on the inter-bank of virtual account without card enchashment processing method and processing device
CN109344599A (en) A kind of authentication management method, device, terminal and medium
US20150188716A1 (en) Service providing system, service providing method, portable communication terminal and server
WO2020042794A1 (en) Transaction device, method, and apparatus, server, and storage medium
CN107508746A (en) Good friend's adding method, device and electronic equipment
CN104462934A (en) Information processing method and electronic equipment
CN109426961B (en) Card binding risk control method and device
CN109299948A (en) A kind of red packet sending method, device, wearable device and storage medium
CN112291788B (en) Data processing method, device, storage medium, terminal and network access point equipment
CN115018612A (en) Business processing method and device based on bank counter
JP2008197956A (en) Information communication device, method and program

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