An autonomous settlement method based on distributed terminals

Distributed terminal devices use the RSA algorithm for encryption, decryption and communication, and independently initiate settlement requests, solving the problems of complex screening and high computing pressure on the server in settlement of advertising orders, achieving accuracy of settlement results and reducing server burden.

CN112202561BActive Publication Date: 2024-09-17FUZHOU ORIENTAL WISDOM NETWORK TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202011051556.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-09-29
Publication Date
2024-09-17
Estimated Expiration
2040-09-29

AI Technical Summary

Technical Problem

In the existing technology, the settlement of advertising orders is initiated by the server, which results in complex screening and the server cannot effectively define the correctness of the placement results. As the number of terminal devices increases, the computing pressure on the server increases.

Method used

An independent settlement method based on distributed terminals is adopted. The order information is encrypted and decrypted through the RSA algorithm, and the terminal device initiates a settlement request, which is verified and stored through the communication system and the server, reducing the computing burden of the server.

Benefits of technology

It simplifies the settlement process of the server, reduces the computing pressure of the server, ensures the accuracy of the settlement results and the effectiveness of the terminal equipment, and reduces the skepticism of the investors about the results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112202561B
    Figure CN112202561B
Patent Text Reader

Abstract

The present invention discloses an autonomous settlement method based on distributed terminals. Step 1: After the terminal device finishes playing, the playing order information is encrypted using the RSA algorithm public key to obtain encrypted information; Step 2: The encrypted information of step 1 is sent to the communication system; Step 3: The terminal device receives the encrypted result of step 2 sent by the communication channel established by the communication system for decryption, and the decrypted information is encrypted again to obtain the encrypted result; Step 4: A storage request is initiated to the server for the encrypted result of step 3; Step 5: After receiving the storage request, the server verifies whether the settlement key is valid, and stores it if it is valid, otherwise it is not stored. The present invention simplifies the settlement process of the server and relieves the computing pressure of the server.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of electronics and communications, and in particular to an autonomous settlement method based on distributed terminals. Background Art

[0002] At present, the settlement of advertising orders in the market is mainly initiated by the server. The server needs to screen the orders. As the number of orders increases, the screening becomes more complicated, and the server settlement cannot effectively define the delivery results. The advertiser will be skeptical about the correctness of the results. Most terminal devices have specific settlement rules. Server settlement requires corresponding calculations on the terminal devices, which complicates the settlement calculations. The computing pressure of the server will increase with the increase in the number of terminal devices and the number of orders. Summary of the invention

[0003] The purpose of the present invention is to provide an autonomous settlement method based on distributed terminals to solve various problems in the prior art, simplify the settlement process of the server, and alleviate the computing pressure of the server.

[0004] To achieve the above object, the present invention provides the following technical solutions:

[0005] An autonomous settlement method based on a distributed terminal, the autonomous settlement method comprising the following steps:

[0006] Step 1: After the terminal device finishes playing, use the RSA algorithm public key to encrypt the playback order information to obtain encrypted information;

[0007] Step 2: Send the encrypted information of step 1 to the communication system;

[0008] Step 3: The terminal device receives the encryption result of step 2 sent by the communication channel established by the communication system, decrypts it, and encrypts the decrypted information again to obtain the encryption result;

[0009] Step 4: Send a storage request to the server for the encryption result of step 3;

[0010] Step 5: After receiving the storage request, the server verifies whether the settlement key is valid. If it is valid, it will be stored; otherwise, it will not be stored.

[0011] Furthermore, step 1 specifically includes the following steps:

[0012] Step 1.1: The terminal device sends a request to the server with encrypted information attached;

[0013] Step 1.2: After receiving the request, the server uses the RSA algorithm private key to decrypt the attached encrypted information and obtain the settlement playback order information;

[0014] Step 1.3: Verify whether the settlement playback order information is valid. If not, proceed to step 1.4. If valid, proceed to step 1.5.

[0015] Step 1.4: Return invalid order information;

[0016] Step 1.5: Generate a settlement key using the snowflow algorithm;

[0017] Step 1.6: Use the RSA algorithm private key to encrypt the settlement key and settlement playback order information to obtain the encryption result;

[0018] Step 1.7: Send the encryption result to the communication system;

[0019] Step 1.8: Return request success to the terminal device.

[0020] Furthermore, step 3 specifically includes the following steps:

[0021] Step 3.1: Use the RSA algorithm public key to decrypt the encrypted result to obtain the settlement key and settlement playback order information;

[0022] Step 3.2: Verify whether the settlement playback order information is valid. If not, jump to step 3.3; if valid, jump to step 3.4;

[0023] Step 3.3: Report the settlement playback order information verification exception to the server;

[0024] Step 3.4: Compare the terminal playback result with the settlement playback order information to obtain the settlement amount;

[0025] Step 3.5: Generate a corresponding settlement record using the settlement rules stored in the memory for the settlement amount obtained in step 3.4;

[0026] Step 3.6: Encrypt the settlement result of step 3.5 using the RAS algorithm public key to generate a settlement record and settlement key, and initiate a storage request to the server.

[0027] Furthermore, the step 5 specifically includes the following steps:

[0028] Step 5.1: After receiving the storage request, the server uses the RSA algorithm private key to decrypt the encrypted information in step 4;

[0029] Step 5.2: After decrypting the information in step 5.1, the settlement record and key are obtained.

[0030] Furthermore, the settlement rules of step 3.5 are specifically: platform commission, screen owner's profit ratio or location rental.

[0031] Furthermore, the terminal device in step 1 communicates with the server via the http protocol.

[0032] Furthermore, the communication system in step 3 communicates with the terminal device via the TCP protocol.

[0033] Furthermore, the server in step 4 communicates with the communication system via the http protocol.

[0034] Beneficial effects:

[0035] 1. The settlement of the present invention is initiated by the terminal device, and the order to be settled is clearly identified, thereby solving the problem of complex order screening.

[0036] 2. The present invention uses the RSA algorithm to perform encryption and decryption operations on the transmitted information to ensure that the transmitted information cannot be tampered with during transmission.

[0037] 3. The terminal device used for settlement in the present invention must be able to receive information from the communication system, and the communication system ensures that the terminal device is authentic and valid.

[0038] 4. During the settlement process of the present invention, the results of the terminal device order placement will be verified to ensure the correctness of the settlement results and resolve the skepticism of the order placer towards the results.

[0039] 5. The settlement of the present invention is carried out by the terminal equipment, the settlement rules are simple, and the operation is concise.

[0040] 6. In the present invention, the server only acquires, transmits and stores data and does not participate in calculations, which greatly reduces the calculation pressure on the server side. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] Figure 1 The figure is a schematic diagram of the message sending process of the present invention.

[0042] Figure 2 The figure is a schematic diagram of the message receiving process of the present invention.

[0043] Figure 3 It is a schematic diagram of the storage process of the present invention. DETAILED DESCRIPTION

[0044] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0045] See also Figures 1 to 3 In the embodiment of the present invention,

[0046] An autonomous settlement method based on a distributed terminal, the autonomous settlement method comprising the following steps:

[0047] Step 1: After the terminal device finishes playing, use the RSA algorithm public key to encrypt the playback order information to obtain encrypted information;

[0048] Step 2: Send the encrypted information of step 1 to the communication system;

[0049] Step 3: The terminal device receives the encryption result of step 2 sent by the communication channel established by the communication system, decrypts it, and encrypts the decrypted information again to obtain the encryption result;

[0050] Step 4: Send a storage request to the server for the encryption result of step 3;

[0051] Step 5: After receiving the storage request, the server verifies whether the settlement key is valid. If it is valid, it will be stored; otherwise, it will not be stored.

[0052] Furthermore, step 1 specifically includes the following steps:

[0053] Step 1.1: The terminal device sends a request to the server with encrypted information attached;

[0054] Step 1.2: After receiving the request, the server uses the RSA algorithm private key to decrypt the attached encrypted information and obtain the settlement playback order information;

[0055] Step 1.3: Verify whether the settlement playback order information is valid. If not, proceed to step 1.4. If valid, proceed to step 1.5.

[0056] Step 1.4: Return invalid order information;

[0057] Step 1.5: Generate a settlement key using the snowflow algorithm;

[0058] Step 1.6: Use the RSA algorithm private key to encrypt the settlement key and settlement playback order information to obtain the encryption result;

[0059] Step 1.7: Send the encryption result to the communication system;

[0060] Step 1.8: Return request success to the terminal device.

[0061] The main purpose of step 1.8 is to prevent the terminal device from having to make repeated requests, and step 1.7 is to start a background thread to communicate with the system.

[0062] Furthermore, step 3 specifically includes the following steps:

[0063] Step 3.1: Use the RSA algorithm public key to decrypt the encrypted result to obtain the settlement key and settlement playback order information;

[0064] Step 3.2: Verify whether the settlement playback order information is valid. If not, jump to step 3.3; if valid, jump to step 3.4;

[0065] Step 3.3: Report the settlement playback order information verification exception to the server;

[0066] Step 3.4: Compare the terminal playback result with the settlement playback order information to obtain the settlement amount;

[0067] Step 3.5: Generate a corresponding settlement record using the settlement rules stored in the memory for the settlement amount obtained in step 3.4;

[0068] Step 3.6: Encrypt the settlement result of step 3.5 using the RAS algorithm public key to generate a settlement record and settlement key, and initiate a storage request to the server.

[0069] Furthermore, the step 5 specifically includes the following steps:

[0070] Step 5.1: After receiving the storage request, the server uses the RSA algorithm private key to decrypt the encrypted information in step 4;

[0071] Step 5.2: After decrypting the information in step 5.1, the settlement record and key are obtained.

[0072] Furthermore, the settlement rules of step 3.5 are specifically: platform commission, screen owner's profit ratio or location rental.

[0073] Furthermore, the terminal device in step 1 communicates with the server via the http protocol.

[0074] Furthermore, the communication system in step 3 communicates with the terminal device via the TCP protocol.

[0075] Furthermore, the server in step 4 communicates with the communication system via the http protocol.

[0076] Terminal device: a body with a screen, a motherboard inside the body, and memory, storage, mobile network or WiFi on the motherboard. The screen can play the playlist in the storage, and after the play is finished, it initiates a settlement request to the server through the mobile network or WiFi. It registers and establishes a communication channel on the communication system through the mobile network or WiFi, receives messages through the communication channel, and settles according to the settlement rules stored in the storage.

[0077] Server: It has a receiving module, a storage module, and a communication module. The receiving module accepts requests initiated by the terminal device. The storage module stores the terminal device information and order information. The communication module sends valid device information to the communication system and sends messages to the terminal device through the communication system.

[0078] Communication system: It has a registration module and a communication module. The registration module accepts the registration of valid terminal devices and maintains the communication channel between the two parties. The communication module accepts the message sent by the server and sends the message to the terminal device through the communication channel with the terminal device.

[0079] It will be apparent to those skilled in the art that the invention is not limited to the details of the exemplary embodiments described above and that the invention can be implemented in other specific forms without departing from the spirit or essential features of the invention. Therefore, the embodiments should be considered exemplary and non-limiting in all respects, and the scope of the invention is defined by the appended claims rather than the foregoing description, and it is intended that all variations falling within the meaning and scope of the equivalent elements of the claims be included in the invention. Any reference numeral in a claim should not be considered as limiting the claim to which it relates.

Claims

1. An autonomous settlement method based on distributed terminals, characterized in that: The autonomous settlement method comprises the following steps: Step 1: After the terminal device finishes playing, use the RSA algorithm public key to encrypt the playback order information to obtain encrypted information; Step 1 specifically includes the following steps: Step 1.1: The terminal device sends a request to the server with encrypted information attached; Step 1.2: After receiving the request, the server uses the RSA algorithm private key to decrypt the attached encrypted information, and the decrypted information is the settlement playback order information; Step 1.3: Verify whether the settlement playback order information is valid. If not, proceed to step 1.

4. If valid, proceed to step 1.

5. Step 1.4: Return invalid order information; Step 1.5: The server generates a settlement key using the snowflow algorithm; Step 1.6: The server uses the RSA algorithm private key to encrypt the settlement key and settlement playback order information to obtain the encryption result; Step 1.7: The server sends the encryption result to the communication system; Step 1.8: Return the request success to the terminal device; Step 2: Send the encryption result of step 1 to the communication system, wherein the communication system has a registration module and a communication module; the registration module accepts the registration of a valid terminal device and maintains the communication channel between the two parties; the communication module accepts the message sent by the server and sends the message to the terminal device through the communication channel with the terminal device; Step 3: The terminal device receives the encryption result of step 2 sent by the communication channel established by the communication system, decrypts it, and encrypts the decrypted information again to obtain the encryption result; Step 3 specifically includes the following steps: Step 3.1: The terminal device uses the RSA algorithm public key to decrypt the encrypted result to obtain the settlement key and settlement playback order information; Step 3.2: Verify whether the settlement playback order information is valid. If not, jump to step 3.3; if valid, jump to step 3.4; Step 3.3: Report the settlement playback order information verification exception to the server; Step 3.4: Compare the terminal playback result with the settlement playback order information to obtain the settlement result; Step 3.5: Generate corresponding settlement records based on the settlement results obtained in step 3.4 according to the settlement rules stored in the memory; Step 3.6: The terminal device encrypts the settlement record in step 3.5 using the RAS algorithm public key to generate an encrypted result containing the encrypted settlement record and the encrypted settlement key, and initiates a storage request to the server; Step 4: The encrypted result of step 3 of the terminal device initiates a storage request to the server; Step 5: After receiving the storage request, the server verifies whether the settlement key of the terminal device is valid. If it is valid, it will be stored; otherwise, it will not be stored.

2. The autonomous settlement method based on distributed terminals according to claim 1, characterized in that: The step 5 specifically comprises the following steps: Step 5.1: After receiving the storage request, the server uses the RSA algorithm private key to decrypt the encrypted result of step 4; Step 5.2: After decrypting the encrypted result of step 5.1, the settlement record and settlement key are obtained.

3. The autonomous settlement method based on distributed terminals according to claim 1, characterized in that: The settlement rules of step 3.5 are specifically: platform commission, screen owner's profit ratio or location rental.

4. The autonomous settlement method based on distributed terminals according to claim 1, characterized in that: The terminal device in step 1 communicates with the server via the http protocol.

5. The autonomous settlement method based on distributed terminals according to claim 1, characterized in that: The communication system in step 3 communicates with the terminal device via the TCP protocol.

6. The autonomous settlement method based on distributed terminals according to claim 1, characterized in that: The server in step 4 communicates with the communication system via the http protocol.

Citation Information

Patent Citations

  • Safe reliable real-time electronic payment settlement merchant terminal, user terminal, bank front-end system, system, and method

    CN105809417A

  • Service consumption payment information processing method and system

    CN106204000A

  • Method and system for distributing security information of settlement processing, center apparatus thereof, settlement device and program

    JP2010212805A

  • Electronic payment method and electronic device using id-based public key cryptography

    WO2017175926A1