Offline commercial tenant cashier online separate account management method and system, and storage medium

Through the online accounting management platform, the problem of insufficient security of income records in the existing technology is solved, and higher data security and accounting accuracy are achieved.

CN118941386AActive Publication Date: 2024-11-12天津华勘不动产服务有限公司

Patent Information

Application Number
CN202410950636.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-16
Publication Date
2024-11-12
Estimated Expiration
2044-07-16

AI Technical Summary

Technical Problem

The existing online accounting management technology has shortcomings in security protection, which cannot effectively prevent offline merchants' income records from being tampered with, resulting in errors in the accounting results.

Method used

Build an online accounting management platform, assign a unique identification number to each offline merchant, and attach a time stamp when uploading the cash register details, and perform data encryption processing to ensure the security of the data during transmission. Check the included details and uploaded details through the online accounting management platform to ensure the accuracy of the data during accounting.

Benefits of technology

By combining a unique identification number and timestamp, the merchant identity is verified and data tampering is prevented, the security and accuracy of online accounting management is improved, and the data integrity and effectiveness of accounting are ensured.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118941386A_ABST
    Figure CN118941386A_ABST
Patent Text Reader

Abstract

The invention discloses an offline commercial tenant cashier online account division management method and system and a storage medium, and relates to the technical field of online account division management, and the method comprises the following steps: building an online account division management platform, distributing a unique identification number for each offline commercial tenant, and setting an account division rule based on a commercial tenant end, a system end and a server end; when the offline commercial tenant uploads the cashier details, the unique identification number is attached, meanwhile, the timestamp is added, and to-be-uploaded details are obtained; performing data encryption processing on the to-be-uploaded details to obtain encrypted details; carrying out data decryption on the encrypted details, and carrying out statistics on the recorded details of the offline commercial tenants according to the uploaded details; performing data check on the recorded details and the uploaded details through the online account division management platform; the method and the device are used for solving the problem that errors are easy to occur during account division due to the fact that safety protection of uploaded income records is insufficient in the existing online account division management technology.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of online account splitting management, and in particular to an offline merchant cashier online account splitting management method, system and storage medium. Background Art

[0002] Online account management technology refers to the technology that realizes the account operation and management of transactions or income through computer networks and related systems. It is mainly used to automatically calculate, record and allocate relevant funds in the process of transactions or income distribution involving multiple parties, and ensure accuracy, timeliness and security.

[0003] Existing online account splitting management technologies usually mark offline merchants to distinguish different offline merchants, which are used to record the income of offline merchants. However, the security protection of income records uploaded by offline merchants is insufficient. If the income records are tampered with by others, the account splitting results will be wrong. In addition, when performing security protection, the existing online account splitting management technology usually verifies the uploader's upload qualifications instead of protecting the uploaded data itself. For example, in a Chinese patent with application publication number CN104217362A, a clearing system based on Internet communication and a method for offline transactions and online instant account splitting are disclosed. This solution ensures the security of account splitting data by verifying whether the qualifications of the transaction subject are legal. This method can only ensure that the uploader has the upload qualifications, but cannot ensure that the data uploaded by the uploader is not tampered with, which makes it easy for errors to occur during account splitting. The existing online account splitting management technology also has insufficient security protection for uploaded income records, which makes it easy for errors to occur during account splitting. Summary of the invention

[0004] The present invention aims to solve at least one of the technical problems in the prior art to a certain extent. By building an online account splitting management platform, a unique identification number is assigned to each offline merchant. At the same time, account splitting rules are set based on the merchant side, the system side and the service side. Every time the offline merchant collects money, the income obtained is split in real time to the merchant side, the system side and the service side according to the account splitting rules. When the offline merchant uploads the cashier details, a unique identification number is attached, and a timestamp is added to obtain the details to be uploaded. The details to be uploaded are then encrypted to obtain the encrypted details. After receiving the encrypted details, the online account splitting management platform decrypts the encrypted details to obtain the uploaded details. According to the uploaded details, the collected details of the offline merchants are counted. The collected details and the uploaded details are checked by the online account splitting management platform to solve the problem that the existing online account splitting management technology still has insufficient security protection for the uploaded income records, which leads to errors in account splitting.

[0005] To achieve the above objectives, in a first aspect, the present application provides an offline merchant cashier online account splitting management method, comprising the following steps:

[0006] Build an online account splitting management platform to assign a unique identification number to each offline merchant, and set account splitting rules based on the merchant side, system side, and server side. Every time an offline merchant collects cash, the income obtained is split in real time to the merchant side, system side, and server side according to the account splitting rules;

[0007] When offline merchants upload cash register details, they attach a unique identification number and add a timestamp to obtain the details to be uploaded;

[0008] Perform data encryption processing on the uploaded details to obtain encrypted details;

[0009] After receiving the encrypted details, the online account management platform decrypts the encrypted details to obtain the uploaded details, and then makes statistics on the collected details of the offline merchants based on the uploaded details;

[0010] Data verification is performed on the collected and uploaded details through the online account management platform.

[0011] Furthermore, building an online account management platform includes the following sub-steps:

[0012] Build an online account management platform;

[0013] Assign a unique identification number to each offline merchant, where the unique identification number is a string of random letters and random numbers in the first digit;

[0014] A unique identification number corresponds to only one offline merchant;

[0015] When offline merchants receive a sum of income, they name the income as income to be distributed;

[0016] Searching for the pending account splitting rules by using the unique identification number of the offline merchant corresponding to the pending account splitting income, wherein the pending account splitting rules are stored in a preset merchant account splitting rules database;

[0017] The pending account splitting rules include merchant ratio, system ratio and service ratio, and the pending account splitting income is multiplied by the merchant ratio, system ratio and service ratio respectively to obtain the merchant splitting, system splitting and service splitting;

[0018] The revenue to be distributed is divided into merchant distribution, system distribution and service distribution and remitted to the merchant, system and service accounts respectively.

[0019] Furthermore, when the offline merchant uploads the cashier details, a unique identification number is attached and a timestamp is added. Obtaining the details to be uploaded includes the following sub-steps:

[0020] Offline merchants upload data to the online account management platform in the format of "unique identification number. cash register details";

[0021] When uploading, a timestamp is automatically added after the cashier details based on the current time, in the format of "unique identification number. cashier details. timestamp";

[0022] The "unique identification number. Cashier details. Timestamp" are the details to be uploaded.

[0023] Furthermore, data encryption is performed on the uploaded details to obtain the encrypted details, including the following sub-steps:

[0024] The details to be uploaded are converted into binary code based on ASCII code, which is named as the first code. The number of digits 0 and 1 in the first code is counted, which are named as the first initial number and the second initial number respectively.

[0025] calculate as well as The calculation results are marked as the third initial number and the fourth initial number, respectively, where N1 is the first initial number, N2 is the second initial number, and n is a positive integer;

[0026] Compare the third initial number with the first numerical threshold, and if the third initial number is less than the first numerical threshold, output a third data compliance signal; if the third initial number is greater than or equal to the first numerical threshold, output a third data non-compliance signal;

[0027] Compare the fourth initial number with the first numerical threshold, and if the fourth initial number is less than the first numerical threshold, output a fourth data compliance signal; if the fourth initial number is greater than or equal to the first numerical threshold, output a fourth data non-compliance signal;

[0028] If the third data compliance signal is output, the third initial number is marked as the first encrypted number; if the third data non-compliant signal is output, n is increased by one and the third initial number is recalculated; if the fourth data compliance signal is output, the fourth initial number is marked as the second encrypted number; if the fourth data non-compliant signal is output, n is increased by one and the fourth initial number is recalculated;

[0029] The uploaded details, the first encrypted number, and the second encrypted number are further processed.

[0030] Furthermore, further processing of the uploaded details, the first encrypted number and the second encrypted number includes the following sub-steps:

[0031] Convert the details to be uploaded into hexadecimal code based on Unicode code and name it as the second code;

[0032] Convert the first encrypted number from decimal code to hexadecimal code to obtain a third encrypted number; convert the second encrypted number from decimal code to hexadecimal code to obtain a fourth encrypted number;

[0033] The first encrypted number and the second encrypted number are regarded as hexadecimal codes, and the average of the first encrypted number, the second encrypted number, the third encrypted number and the fourth encrypted number is calculated, which is named as the fifth encrypted number;

[0034] The second code is encrypted based on the first encrypted number, the second encrypted number, the third encrypted number, the fourth encrypted number, and the fifth encrypted number.

[0035] Furthermore, encrypting the second code includes the following sub-steps:

[0036] Remove "\u" from the second code and name the remaining second code the third code;

[0037] Determine whether the fifth encrypted number is an odd number or an even number, and if the fifth encrypted number is an odd number, output an odd number encryption signal; if the fifth encrypted number is an even number, output an even number encryption signal;

[0038] If an odd-numbered encrypted signal is output, the first encrypted number is concatenated after the third encrypted number to obtain an encrypted addend, and the second encrypted number is concatenated after the fourth encrypted number to obtain an encrypted subtract; if an even-numbered encrypted signal is output, the second encrypted number is concatenated after the third encrypted number to obtain an encrypted addend, and the first encrypted number is concatenated after the fourth encrypted number to obtain an encrypted subtract;

[0039] The characters in the third code are grouped according to bytes, that is, four characters are grouped together, and the groups are numbered. m Represents, where m is a positive integer and m is the serial number of T;

[0040] T m Add to the encrypted addend and subtract from the encrypted subtrahend to get P m , P m With T m Correspondingly, add one to m and calculate P again m , until the maximum value of m is reached, the analysis of P m Then stop the analysis;

[0041] According to the order of m from small to large, P m Combine and in each P m Add "\u" before the string and name the resulting string as the fourth code;

[0042] Add "_u encrypted addend" before the fourth code, and add "_u encrypted subtractor" at the end of the fourth code to get the fifth code;

[0043] Convert the fifth code into Chinese according to Unicode to obtain the encrypted details.

[0044] Furthermore, after receiving the encrypted details, the online account management platform decrypts the encrypted details to obtain the uploaded details, and performs statistics on the collected details of the offline merchants according to the uploaded details, including the following sub-steps:

[0045] The encrypted details are sent to the online account management platform. After receiving the encrypted details, the online account management platform decrypts the encrypted details through a decryption program to obtain the uploaded details.

[0046] The format of the uploaded details is "unique identification number. cashier details. timestamp", obtain the timestamp, obtain the current time, calculate the difference between the timestamp and the current time, and mark it as the upload duration;

[0047] The upload duration is compared with the first duration threshold. If the upload duration is less than or equal to the first duration threshold, a normal timestamp signal is output; if the upload duration is greater than the first duration threshold, an abnormal timestamp signal is output;

[0048] If the output timestamp is abnormal, an upload failure signal is returned to the offline merchant; if the output timestamp is normal, a unique identification number is obtained and marked as an identification number to be saved;

[0049] By searching the identification number database, the cashier details are stored in the recorded details of the offline merchant corresponding to the identification number to be saved.

[0050] Furthermore, the data verification of the collected details and uploaded details through the online account management platform includes the following sub-steps:

[0051] Count the total revenue of the collected details of offline merchants, and mark it as collected revenue; count the total revenue of all uploaded details of offline merchants, and mark it as uploaded revenue;

[0052] If the collected income is equal to the uploaded income, a normal account flow signal is output; otherwise, an abnormal account flow signal is output;

[0053] After all offline merchants have output normal account flow signals, the frozen account funds will be unfrozen.

[0054] In a second aspect, the present application provides an offline merchant cashier online account splitting management system, including an online account splitting management module, a merchant upload module, an upload encryption module, a detail collection module and an online account splitting module; the online account splitting management module, the merchant upload module, the upload encryption module and the online account splitting module are respectively connected to the detail collection module data;

[0055] The online account splitting management module is used to build an online account splitting management platform, assign a unique identification number to each offline merchant, and set account splitting rules based on the merchant side, system side and server side. Every time an offline merchant collects cash, the income obtained is split in real time to the merchant side, system side and server side according to the account splitting rules;

[0056] The merchant upload module is used for offline merchants to upload cash register details with a unique identification number and a timestamp to obtain details to be uploaded;

[0057] The upload encryption module is used to perform data encryption processing on the uploaded details to obtain encrypted details;

[0058] The detail collection module is used for decrypting the encrypted details after the online account management platform receives them, obtaining the uploaded details, and performing statistics on the collected details of the offline merchants based on the uploaded details;

[0059] The online account splitting module is used to perform data verification on the collected details and uploaded details through the online account splitting management platform.

[0060] In a third aspect, the present application provides a storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps in the above method are performed.

[0061] Beneficial effects of the present invention: The present invention allocates a unique identification number to each offline merchant by building an online account splitting management platform. When the offline merchant uploads the cash register details, the unique identification number is attached, and a timestamp is added at the same time. The advantage is that the unique identification number can be used to verify the upload qualification of the offline merchant and distinguish different offline merchants, and the timestamp can ensure that the cash register details of the offline merchant will not be stolen by others for the second time, thereby improving the effectiveness and security of online account splitting management;

[0062] The present invention performs data encryption processing on the uploaded details, sends the encrypted details to the online account management platform, and the online account management platform decrypts the uploaded details, and records different offline merchants according to the parameters in the uploaded details. The advantage is that the uploaded cash register details, unique identification numbers, timestamps and other information are protected by data encryption to prevent data from being tampered with during transmission, thereby improving the security and rationality of online account management.

[0063] The present invention performs data verification on the collected details and the uploaded details through the online account splitting management platform, and the account splitting can be performed only when the verification is passed. The advantage is that since the cash register details are stored in the computer hard disk, the hard disk may be damaged during use, or tampered with after a malicious attack, resulting in abnormalities in some cash register details. Data verification can ensure that the cash register details at the time of account splitting are all normal data, thereby improving the effectiveness and security of online account splitting management. BRIEF DESCRIPTION OF THE DRAWINGS

[0064] Figure 1 is a functional block diagram of the system of the present invention;

[0065] Figure 2 A flowchart of the analysis steps of the first encrypted number and the second encrypted number of the present invention;

[0066] Figure 3 is a flow chart of the steps of the method of the present invention;

[0067] Figure 4 A connection block diagram of the electronic device of the present invention;

[0068] In the figure: 60, electronic device; 601, processor; 602, memory. DETAILED DESCRIPTION

[0069] 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.

[0070] Example 1, please refer to Figure 1 As shown, in the first aspect, the present application provides an offline merchant cash register online account splitting management system, including an online account splitting management module, a merchant upload module, an upload encryption module, a detail collection module and an online account splitting module; the online account splitting management module, the merchant upload module, the upload encryption module and the online account splitting module are respectively connected with the detail collection module data;

[0071] The online account splitting management module is used to build an online account splitting management platform, assign a unique identification number to each offline merchant, and set account splitting rules based on the merchant side, system side and server side. Every time an offline merchant collects cash, the income obtained is split in real time to the merchant side, system side and server side according to the account splitting rules;

[0072] The online account management module is configured with online account management strategies, which include:

[0073] Build an online account management platform;

[0074] Assign a unique identification number to each offline merchant. The unique identification number is a string of random letters and random numbers in the first digit.

[0075] A unique identification number corresponds to only one offline merchant;

[0076] In practical applications, the first digit has no practical meaning and can be taken at will. In this embodiment, the first digit is set to 2, that is, the unique identification number consists of 2 letters and 2 digits. The unique identification numbers of some offline merchants are shown in Table 1 below:

[0077] Table 1 Unique identification numbers of some offline merchants

[0078] Offline merchants Unique identification number Merchant A AA01 Merchant B AA02 Merchant C AA03

[0079] When offline merchants receive a sum of income, they name the income as income to be distributed;

[0080] Searching for the pending account splitting rules by using the unique identification number of the offline merchant corresponding to the pending account splitting income, wherein the pending account splitting rules are stored in a preset merchant account splitting rules database;

[0081] The pending account splitting rules include merchant ratio, system ratio and service ratio, and the pending account splitting income is multiplied by the merchant ratio, system ratio and service ratio respectively to obtain the merchant splitting, system splitting and service splitting;

[0082] The revenue to be distributed is divided into merchant distribution, system distribution and service distribution and remitted to the merchant, system and service accounts respectively;

[0083] In actual applications, some data of the merchant account splitting rule database is shown in Table 2 below:

[0084] Table 2 Partial data of merchant account splitting rule database

[0085] Offline merchants Merchant ratio System ratio Service ratio Unique identification number Merchant A 0.8 0.1 0.1 AA01 Merchant B 0.8 0.1 0.1 AA02 Merchant C 0.7 0.1 0.2 AA03

[0086] The service side is the commission of the sales staff. Since each offline merchant gives a different ratio, different offline merchants need to be distinguished. Merchant A received a payment of 50 yuan and marked 50 yuan as income to be divided. The unique identification number corresponding to merchant A is AA01. The corresponding rules for dividing AA01 are merchant ratio 0.8, system ratio 0.1, and service ratio 0.1. Therefore, 50×0.8 is used to obtain a merchant share of 40 yuan, 50×0.1 is used to obtain a system share of 5 yuan, and 50×0.1 is used to obtain a service share of 5 yuan. The 50 yuan income is divided into 40 yuan, 5 yuan, and 5 yuan, and remitted to the merchant, system, and server accounts respectively.

[0087] The merchant upload module is used for offline merchants to upload cash register details with a unique identification number and a timestamp to obtain the details to be uploaded;

[0088] The merchant upload module is configured with merchant upload strategies, which include:

[0089] Offline merchants upload data to the online account management platform in the format of "unique identification number. cash register details";

[0090] When uploading, a timestamp is automatically added after the cashier details based on the current time, in the format of "unique identification number. cashier details. timestamp";

[0091] "Unique identification number. Cashier details. Timestamp" refers to the details to be uploaded;

[0092] In actual application, merchant A uploaded "AA01.'Today's income: 1260.8'", added single quotation marks in the cashier details to distinguish the decimal point in the cashier details from the dot separator "." in the details to be uploaded, and added the timestamp based on the current time "2024-04-2414:15:11" to obtain the details to be uploaded as "AA01.'Today's income: 1260.8'.1713939311".

[0093] The upload encryption module is used to perform data encryption processing on the uploaded details to obtain the encrypted details; the upload encryption module includes a primary encoding unit, a secondary encoding unit and a final encryption unit;

[0094] See also Figure 2 As shown, the primary coding unit is configured with a primary coding strategy, which includes:

[0095] The details to be uploaded are converted into binary code based on ASCII code, which is named as the first code. The number of digits 0 and 1 in the first code is counted, which are named as the first initial number and the second initial number respectively.

[0096] In actual applications, ASCII encoding cannot directly convert Chinese characters into binary encoding. Therefore, the details to be uploaded need to be converted into UTF-8 encoding first, and the UTF-8 encoding is "AA01.'Today's income�.8'.1713939311", and then converted into ASCII binary encoding, and the first encoding is "01000001

[0097]

[0098] The spaces in the first pass are to distinguish the binary codes corresponding to each element and have no practical meaning. The first and second initial numbers are 334 and 234 respectively.

[0099] calculate as well as The calculation results are marked as the third initial number and the fourth initial number, respectively, where N1 is the first initial number, N2 is the second initial number, and n is a positive integer;

[0100] Compare the third initial number with the first numerical threshold, and if the third initial number is less than the first numerical threshold, output a third data compliance signal; if the third initial number is greater than or equal to the first numerical threshold, output a third data non-compliance signal;

[0101] Compare the fourth initial number with the first numerical threshold, and if the fourth initial number is less than the first numerical threshold, output a fourth data compliance signal; if the fourth initial number is greater than or equal to the first numerical threshold, output a fourth data non-compliance signal;

[0102] If the third data compliance signal is output, the third initial number is marked as the first encrypted number; if the third data non-compliant signal is output, n is increased by one and the third initial number is recalculated; if the fourth data compliance signal is output, the fourth initial number is marked as the second encrypted number; if the fourth data non-compliant signal is output, n is increased by one and the fourth initial number is recalculated;

[0103] Further processing is performed on the uploaded details, the first encrypted number, and the second encrypted number;

[0104] In practical applications, n is initially 1, that is, calculation as well as The third initial number is 167, and the fourth initial number is 117, and the calculation results must retain integers; the first numerical threshold is set to make the third initial number and the fourth initial number both two-digit numbers, so the first numerical threshold is set to 100. By comparison, the third initial number and the fourth initial number are both greater than the first numerical threshold, so the third data non-compliant signal and the fourth data non-compliant signal are output, n+1, at this time n is 2, N1 / 4 and N2 / 4 are calculated, and the third initial number is 84, and the fourth initial number is 58. The calculation results retain integers, and the third initial number and the fourth initial number are both less than the first numerical threshold by comparison, so the third data compliance signal and the fourth data compliance signal are output, and 84 is marked as the first encrypted number, and 58 is marked as the second encrypted number;

[0105] The secondary encoding unit is configured with a secondary encoding strategy, which includes:

[0106] Convert the details to be uploaded into hexadecimal code based on Unicode code and name it as the second code;

[0107] Convert the first encrypted number from decimal code to hexadecimal code to obtain a third encrypted number; convert the second encrypted number from decimal code to hexadecimal code to obtain a fourth encrypted number;

[0108] The first encrypted number and the second encrypted number are regarded as hexadecimal codes, and the average of the first encrypted number, the second encrypted number, the third encrypted number and the fourth encrypted number is calculated, which is named as the fifth encrypted number;

[0109] Encrypting the second code based on the first encrypted number, the second encrypted number, the third encrypted number, the fourth encrypted number, and the fifth encrypted number;

[0110] In actual applications, the details to be uploaded are converted into hexadecimal encoding based on Unicode encoding, and the second encoding is "\u0041\u0041\u0030\u0031\u002e\u2018\u4eca\u65e5\u6536\u5165\uff1a\u0031\u0032\u0036\u0030\u002e\u0038\u 2019\u002e\u0031\u0037\u0031\u0033\u0039\u0033\u0039\u0033\u0031\u0031", the first encrypted number is 84, the second encrypted number is 58, converted to hexadecimal, the third encrypted number is 54, the fourth encrypted number is 3A, calculate (84+58+54+3A) / 4, and the fifth encrypted number is 5A;

[0111] The final encryption unit is configured with a final encryption policy, which includes:

[0112] Remove "\u" from the second code and name the remaining second code the third code;

[0113] Determine whether the fifth encrypted number is an odd number or an even number, and if the fifth encrypted number is an odd number, output an odd number encryption signal; if the fifth encrypted number is an even number, output an even number encryption signal;

[0114] If an odd-numbered encrypted signal is output, the first encrypted number is concatenated after the third encrypted number to obtain an encrypted addend, and the second encrypted number is concatenated after the fourth encrypted number to obtain an encrypted subtract; if an even-numbered encrypted signal is output, the second encrypted number is concatenated after the third encrypted number to obtain an encrypted addend, and the first encrypted number is concatenated after the fourth encrypted number to obtain an encrypted subtract;

[0115] In actual application, the "\u" in the second code is removed, and the third code is "0041004100300031002e20184eca65e565365165ff1a0031003200360030002e00382019002e0031003700310033003900330039003300310031", and the fifth encrypted number is 5A, which corresponds to a decimal number of 90, which is an even number. Therefore, an even number encrypted signal is output, and the encrypted addend is 5458, and the encrypted subtractor is 3A84.

[0116] The characters in the third code are grouped according to bytes, that is, four characters are grouped together, and the groups are numbered. m Represents, where m is a positive integer and m is the serial number of T;

[0117] In practical applications, T is obtained by numbering 1 To T 29 They are 0041, 0041, 0030, 0031, 002e, 2018, 4eca, 65e5, 6536, 5165, ff1a, 0031, 0032, 0036, 0030, 002e, 0038, 2019, 002e, 0031, 0037, 0031, 0033, 0039, 0033, 0039, 0033, 0031 and 0031, 1≤m≤29;

[0118] T m Add to the encrypted addend and subtract from the encrypted subtrahend to get P m , P m With T m Correspondingly, add one to m and calculate P again m , until the maximum value of m is reached, the analysis of P m Then stop the analysis;

[0119] According to the order of m from small to large, P m Combine and in each P m Add "\u" before the string and name the resulting string as the fourth code;

[0120] Add "_u encrypted addend" before the fourth code, and add "_u encrypted subtractor" at the end of the fourth code to get the fifth code;

[0121] Convert the fifth code into Chinese according to Unicode to obtain the encrypted details;

[0122] In practical applications, for T 1 , T 1It is 0041. Add 0041 to 5458, and then subtract 3A84 from the result to obtain P. 1 It is 1A15. Then increment m by 1 and calculate again until P is obtained. 29 After that, stop. Arrange P in ascending order of m. m Combine them. And before each P, m add "\u" to get the fourth code as "\u1A15\u1A15\u1A04\u1A05\u1A02\u39EC\u689E\u7FB9\u7F0A\u6B39\u118EE\u1A05\u1A06\u1A0A\u1A04\u1A02\u1A0C\u39ED\u1A02\u1A05\u1A0B\u1A05\u1A07\u1A0D\u1A07\u1A0D\u1A07\u1A05\u1A05". Since 118EE exceeds the limit of four digits, subtract 10000 from it to get 18EE. When decrypting, if it is negative, add 10000. Add "\u encrypted addend" before the fourth code and "\u encrypted subtrahend" at the end of the fourth code to get the fifth code as "\u5458\u1A15\u1A15\u1A04\u1A05\u1A02\u39EC\u689E\u7FB9\u7F0A\u6B39\u18EE\u1A05\u1A06\u1A0A\u1A04\u1A02\u1A0C\u39ED\u1A02\u1A05\u1A0B\u1A05\u1A07\u1A0D\u1A07\u1A0D\u1A07\u1A05\u1A05\u3A84". Convert it to Chinese according to Unicode to get the encrypted details as "员 梞羹缊欹 ".

[0123] The detailed record collection module is used to decrypt the encrypted details after the online profit sharing management platform receives them to obtain the uploaded details, and count the recorded details of offline merchants according to the uploaded details.

[0124] The detailed record collection module is configured with a detailed record collection strategy, which includes:

[0125] Send the encrypted details to the online profit sharing management platform. After the online profit sharing management platform receives the encrypted details, decrypt the encrypted details through a decryption program to obtain the uploaded details.

[0126] The format of the uploaded details is "unique identification number. cashier details. timestamp". Obtain the timestamp, get the current time, calculate the difference between the timestamp and the current time, and mark it as the upload duration.

[0127] In actual applications, data decryption is the inverse operation of data encryption, so it is not specifically demonstrated in this embodiment. The uploaded details obtained by decryption are "AA01.'Today's income: 1260.8'.1713939311", and the timestamp obtained is 1713939311, the corresponding time is 2024-04-2414:15:11, the current time is 2024-04-2414:15:20, and the upload duration is calculated to be 9s;

[0128] The upload duration is compared with the first duration threshold. If the upload duration is less than or equal to the first duration threshold, a normal timestamp signal is output; if the upload duration is greater than the first duration threshold, an abnormal timestamp signal is output;

[0129] If the output timestamp is abnormal, an upload failure signal is returned to the offline merchant; if the output timestamp is normal, a unique identification number is obtained and marked as an identification number to be saved;

[0130] By searching the identification number database, the cash register details are stored in the recorded details of the offline merchant corresponding to the identification number to be saved;

[0131] In actual applications, the first duration threshold is to ensure that the uploaded cashier details are the latest data uploaded by the offline merchant, rather than data stolen by others. Therefore, the first duration threshold is set to check the timestamp, and the process of uploading the details to be uploaded is usually 5s to 15s based on the speed of the network, so the first duration threshold is set to 15s; through comparison, it is found that the upload duration is less than the first duration threshold, and the timestamp is normal. The identification number to be saved is "AA01", and the offline merchant corresponding to "AA01" is found through searching as "Merchant A", so the cashier details "Today's income: 1260.8" are saved in the included details of Merchant A. The included details are the cashier details of offline merchants that have been saved on the online account management platform.

[0132] The online account subdivision module is used to verify the data of the collected details and uploaded details through the online account subdivision management platform;

[0133] The online account splitting module is configured with online account splitting strategies, which include:

[0134] Count the total revenue of the collected details of offline merchants, and mark it as collected revenue; count the total revenue of all uploaded details of offline merchants, and mark it as uploaded revenue;

[0135] If the collected income is equal to the uploaded income, a normal account flow signal is output; otherwise, an abnormal account flow signal is output;

[0136] After all offline merchants have output the signal that the account flow is normal, the frozen account funds will be unfrozen;

[0137] In actual applications, in order to prevent the stored cash register details from being damaged or tampered with, they need to be checked. The statistical collected income and uploaded income are usually distinguished in monthly units; the collected income is 237849.5, and the uploaded income is 237849.5. By comparison, the collected income is equal to the uploaded income, and the normal account flow signal is output to unfreeze the frozen account funds.

[0138] Example 2, please refer to Figure 3 As shown, in the second aspect, the present application provides an offline merchant cashier online account splitting management method, comprising the following steps:

[0139] Step S1, build an online account splitting management platform, assign a unique identification number to each offline merchant, and set account splitting rules based on the merchant side, system side and server side. Every time an offline merchant collects cash, the income obtained is split in real time to the merchant side, system side and server side according to the account splitting rules; Step S1 includes the following sub-steps:

[0140] Step S101, building an online account management platform;

[0141] Step S102, assigning a unique identification number to each offline merchant, where the unique identification number is a string of characters formed by combining the first digit of a random letter and the first digit of a random number;

[0142] Step S103, one unique identification number corresponds to only one offline merchant;

[0143] Step S104, when the offline merchant obtains a sum of income, the income is named as the income to be distributed;

[0144] Step S105, searching for the pending account splitting rules by the unique identification number of the offline merchant corresponding to the pending account splitting income, wherein the pending account splitting rules are stored in a preset merchant account splitting rules database;

[0145] Step S106, the to-be-divided account rules include a merchant ratio, a system ratio, and a service ratio, and the to-be-divided account income is multiplied by the merchant ratio, the system ratio, and the service ratio respectively to obtain the merchant share, the system share, and the service share;

[0146] Step S107, dividing the revenue to be divided into merchant share, system share and service share and transferring them to the merchant side, system side and service side accounts respectively;

[0147] Step S2, when the offline merchant uploads the cashier details, a unique identification number is attached and a timestamp is added to obtain the details to be uploaded; Step S2 includes the following sub-steps:

[0148] Step S201, offline merchants upload data to the online account management platform in the format of "unique identification number. cashier details";

[0149] Step S202, when uploading, a timestamp is automatically added after the cashier details based on the current time, and the format is "unique identification number. cashier details. timestamp";

[0150] Step S203, "unique identification number. cashier details. timestamp" is the details to be uploaded;

[0151] Step S3, encrypting the uploaded details to obtain encrypted details; Step S3 includes the following sub-steps:

[0152] Step S301, converting the details to be uploaded into binary code based on ASCII code, named as the first code, and counting the number of digits 0 and 1 in the first code, named as the first initial number and the second initial number respectively;

[0153] Step S302, calculate as well as The calculation results are marked as the third initial number and the fourth initial number, respectively, where N1 is the first initial number, N2 is the second initial number, and n is a positive integer;

[0154] Step S303, comparing the third initial number with the first numerical threshold, if the third initial number is less than the first numerical threshold, outputting a third data compliance signal; if the third initial number is greater than or equal to the first numerical threshold, outputting a third data non-compliance signal;

[0155] Step S304, comparing the fourth initial number with the first numerical threshold, if the fourth initial number is less than the first numerical threshold, outputting a fourth data compliance signal; if the fourth initial number is greater than or equal to the first numerical threshold, outputting a fourth data non-compliance signal;

[0156] Step S305: if the third data compliance signal is output, the third initial number is marked as the first encrypted number; if the third data non-compliant signal is output, n is increased by one and the third initial number is recalculated; if the fourth data compliance signal is output, the fourth initial number is marked as the second encrypted number; if the fourth data non-compliant signal is output, n is increased by one and the fourth initial number is recalculated;

[0157] Step S306, further processing the uploaded details, the first encrypted number and the second encrypted number;

[0158] Step S306 includes the following sub-steps:

[0159] Step S306.1, converting the details to be uploaded into a hexadecimal code based on Unicode code, named as the second code;

[0160] Step S306.2, converting the first encrypted number from decimal code to hexadecimal code to obtain a third encrypted number; converting the second encrypted number from decimal code to hexadecimal code to obtain a fourth encrypted number;

[0161] Step S306.3, treating the first encrypted number and the second encrypted number as hexadecimal codes, calculating the average of the first encrypted number, the second encrypted number, the third encrypted number and the fourth encrypted number, and naming it the fifth encrypted number;

[0162] Step S306.4, encrypting the second code based on the first encrypted number, the second encrypted number, the third encrypted number, the fourth encrypted number and the fifth encrypted number;

[0163] Step S306.4 includes the following sub-steps:

[0164] Step S306.4.a, remove "\u" from the second code, and name the remaining second code as the third code;

[0165] Step S306.4.b, determining whether the fifth encrypted number is an odd number or an even number, if the fifth encrypted number is an odd number, outputting an odd number encrypted signal; if the fifth encrypted number is an even number, outputting an even number encrypted signal;

[0166] Step S306.4.c, if an odd-numbered encrypted signal is output, the first encrypted number is concatenated after the third encrypted number to obtain an encrypted addend, and the second encrypted number is concatenated after the fourth encrypted number to obtain an encrypted subtrahend; if an even-numbered encrypted signal is output, the second encrypted number is concatenated after the third encrypted number to obtain an encrypted addend, and the first encrypted number is concatenated after the fourth encrypted number to obtain an encrypted subtrahend;

[0167] Step S306.4.d, group the characters in the third code according to bytes, that is, group four characters into a group, number the groups, and use the symbol T m Represents, where m is a positive integer and m is the serial number of T;

[0168] Step S306.4.e, T m Add to the encrypted addend and subtract from the encrypted subtrahend to get P m , P m With T m Correspondingly, add one to m and calculate P again m , until the maximum value of m is reached, the analysis of P m Then stop the analysis;

[0169] Step S306.4.f, sort P in the order of m from small to large m Combine and in each P mAdd "\u" before the string and name the resulting string as the fourth code;

[0170] Step S306.4.g, add "_u encrypted addend" before the fourth code, and add "_u encrypted subtrahend" at the end of the fourth code to obtain the fifth code;

[0171] Step S306.4.h, convert the fifth code into Chinese according to Unicode to obtain encrypted details;

[0172] Step S4, after receiving the encrypted details, the online account management platform decrypts the encrypted details to obtain the uploaded details, and counts the collected details of the offline merchants according to the uploaded details; Step S4 includes the following sub-steps:

[0173] Step S401, sending the encrypted details to the online account management platform. After receiving the encrypted details, the online account management platform decrypts the encrypted details through a decryption program to obtain the uploaded details;

[0174] Step S402, the format of the uploaded details is "unique identification number. cashier details. timestamp", obtain the timestamp, obtain the current time, calculate the difference between the timestamp and the current time, and mark it as the upload duration;

[0175] Step S403, compare the upload duration with the first duration threshold, if the upload duration is less than or equal to the first duration threshold, output a normal timestamp signal; if the upload duration is greater than the first duration threshold, output an abnormal timestamp signal;

[0176] Step S404: if the output timestamp is abnormal, an upload failure signal is returned to the offline merchant; if the output timestamp is normal, a unique identification number is obtained and marked as an identification number to be saved;

[0177] Step S405, by searching the identification number database, the cashier details are stored in the recorded details of the offline merchant corresponding to the identification number to be saved;

[0178] Step S5, verifying the data of the collected details and the uploaded details through the online account management platform; Step S5 includes the following sub-steps:

[0179] Step S501, counting the total income of the collected details of the offline merchants, marking it as collected income; counting the total income obtained by adding up all uploaded details of the offline merchants, marking it as uploaded income;

[0180] Step S502: if the recorded income is equal to the uploaded income, a normal account flow signal is output; otherwise, an abnormal account flow signal is output;

[0181] Step S503, after all offline merchants have output a signal indicating that the account flow is normal, the frozen account funds are unfrozen.

[0182] See also Figure 4 As shown, in Embodiment 3, in the third aspect, the present application provides an electronic device 60, including a processor 601 and a memory 602, the memory 602 stores computer-readable instructions, and when the computer-readable instructions are executed by the processor 601, the steps in the above method are executed. Through the above technical solution, the processor 601 and the memory 602 are interconnected and communicate with each other through a communication bus and / or other forms of connection mechanisms (not shown), and the memory 602 stores a computer program executable by the processor 601. When the electronic device 60 is running, the processor 601 executes the computer program to execute the method in any optional implementation of the above embodiment to achieve the following functions: build an online account management platform, assign a unique identification number to each offline merchant; when the offline merchant uploads the cash register details, the unique identification number is attached, and a timestamp is added at the same time to obtain the details to be uploaded; the details to be uploaded are encrypted to obtain the encrypted details; the encrypted details are decrypted to obtain the uploaded details; the collected details and the uploaded details are checked by the online account management platform.

[0183] Embodiment 4, fourth aspect, the present application provides a storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps in the above method are executed. Through the above technical solution, when the computer program is executed by the processor, the method in any optional implementation of the above embodiment is executed to achieve the following functions: build an online account management platform, assign a unique identification number to each offline merchant; when the offline merchant uploads the cash register details, a unique identification number is attached, and a timestamp is added to obtain the details to be uploaded; the details to be uploaded are encrypted to obtain the encrypted details; the encrypted details are decrypted to obtain the uploaded details; the data of the included details and the uploaded details are verified through the online account management platform.

[0184] In the above embodiments of the present application, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.

[0185] It should be understood by those skilled in the art that the embodiments of the present invention can be provided as methods, systems or computer program products. Therefore, the present invention can take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, the present invention can take the form of a computer program product implemented on one or more computer-usable storage media containing computer-usable program codes. Among them, the storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (Static Random Access Memory, referred to as SRAM), electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, referred to as EEPROM), erasable programmable read-only memory (Erasable Programmable Read Only Memory, referred to as EPROM), programmable read-only memory (Programmable Read-Only Memory, referred to as PROM), read-only memory (Read-Only Memory, referred to as ROM), magnetic memory, flash memory, disk or optical disk. These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0186] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, and the indirect coupling or communication connection of devices or units can be electrical, mechanical or other forms.

Claims

1. An offline merchant cashier online account management method, characterized in that: The steps include: Build an online account splitting management platform to assign a unique identification number to each offline merchant, and set account splitting rules based on the merchant side, system side, and server side. Every time an offline merchant collects cash, the income obtained is split in real time to the merchant side, system side, and server side according to the account splitting rules; When offline merchants upload cash register details, they attach a unique identification number and add a timestamp to obtain the details to be uploaded; Perform data encryption processing on the uploaded details to obtain encrypted details; After receiving the encrypted details, the online account management platform decrypts the encrypted details to obtain the uploaded details, and then makes statistics on the collected details of the offline merchants based on the uploaded details; Data verification is performed on the collected and uploaded details through the online account management platform.

2. The method for online account management of offline merchant cashier according to claim 1, characterized in that: Building an online account management platform includes the following sub-steps: Build an online account management platform; Assign a unique identification number to each offline merchant, where the unique identification number is a string of random letters and random numbers in the first digit; A unique identification number corresponds to only one offline merchant; When offline merchants receive a sum of income, they name the income as income to be distributed; Searching for the pending account splitting rules by using the unique identification number of the offline merchant corresponding to the pending account splitting income, wherein the pending account splitting rules are stored in a preset merchant account splitting rules database; The pending account splitting rules include merchant ratio, system ratio and service ratio, and the pending account splitting income is multiplied by the merchant ratio, system ratio and service ratio respectively to obtain the merchant splitting, system splitting and service splitting; The revenue to be distributed is divided into merchant distribution, system distribution and service distribution and remitted to the merchant, system and service accounts respectively.

3. The method for online account splitting management of offline merchant cash registers according to claim 2, characterized in that: When offline merchants upload cash register details, they attach a unique identification number and add a timestamp. Obtaining the details to be uploaded includes the following sub-steps: Offline merchants upload data to the online account management platform in the format of "unique identification number. cash register details"; When uploading, a timestamp is automatically added after the cashier details based on the current time, in the format of "unique identification number. cashier details. timestamp"; The "unique identification number. Cashier details. Timestamp" are the details to be uploaded.

4. The method for online account splitting management of offline merchant cash registers according to claim 3, characterized in that: The data encryption process for the uploaded details to obtain the encrypted details includes the following sub-steps: The details to be uploaded are converted into binary code based on ASCII code, which is named as the first code. The number of digits 0 and 1 in the first code is counted, which are named as the first initial number and the second initial number respectively. calculate as well as The calculation results are marked as the third initial number and the fourth initial number, respectively, where N1 is the first initial number, N2 is the second initial number, and n is a positive integer; Compare the third initial number with the first numerical threshold, and if the third initial number is less than the first numerical threshold, output a third data compliance signal; if the third initial number is greater than or equal to the first numerical threshold, output a third data non-compliance signal; Compare the fourth initial number with the first numerical threshold, and if the fourth initial number is less than the first numerical threshold, output a fourth data compliance signal; if the fourth initial number is greater than or equal to the first numerical threshold, output a fourth data non-compliance signal; If the third data compliance signal is output, the third initial number is marked as the first encrypted number; if the third data non-compliant signal is output, n is increased by one and the third initial number is recalculated; if the fourth data compliance signal is output, the fourth initial number is marked as the second encrypted number; if the fourth data non-compliant signal is output, n is increased by one and the fourth initial number is recalculated; The uploaded details, the first encrypted number, and the second encrypted number are further processed.

5. The method for online account splitting management of offline merchant cash registers according to claim 4, characterized in that: Further processing of the uploaded details, the first encrypted number, and the second encrypted number includes the following sub-steps: Convert the details to be uploaded into hexadecimal code based on Unicode code and name it as the second code; Convert the first encrypted number from decimal code to hexadecimal code to obtain a third encrypted number; convert the second encrypted number from decimal code to hexadecimal code to obtain a fourth encrypted number; The first encrypted number and the second encrypted number are regarded as hexadecimal codes, and the average of the first encrypted number, the second encrypted number, the third encrypted number and the fourth encrypted number is calculated, which is named as the fifth encrypted number; The second code is encrypted based on the first encrypted number, the second encrypted number, the third encrypted number, the fourth encrypted number, and the fifth encrypted number.

6. The method for online account splitting management of offline merchant cash registers according to claim 5, characterized in that: The encryption process of the second code includes the following sub-steps: Remove "\u" from the second code and name the remaining second code the third code; Determine whether the fifth encrypted number is an odd number or an even number, and if the fifth encrypted number is an odd number, output an odd number encryption signal; if the fifth encrypted number is an even number, output an even number encryption signal; If an odd-numbered encrypted signal is output, the first encrypted number is concatenated after the third encrypted number to obtain an encrypted addend, and the second encrypted number is concatenated after the fourth encrypted number to obtain an encrypted subtract; if an even-numbered encrypted signal is output, the second encrypted number is concatenated after the third encrypted number to obtain an encrypted addend, and the first encrypted number is concatenated after the fourth encrypted number to obtain an encrypted subtract; The characters in the third code are grouped according to bytes, that is, four characters are grouped together, and the groups are numbered. m Represents, where m is a positive integer and m is the serial number of T; T m Add to the encrypted addend and subtract from the encrypted subtrahend to get P m , P m With T m Correspondingly, add one to m and calculate P again m , until the maximum value of m is reached, the analysis is completed m Then stop the analysis; According to the order of m from small to large, P m Combine and in each P m Add "\u" before the string and name the resulting string as the fourth code; Add "\u encrypted addend" before the fourth code, and add "\u encrypted subtractor" at the end of the fourth code to get the fifth code; Convert the fifth code into Chinese according to Unicode to obtain the encrypted details.

7. The method for online account splitting management of offline merchant cash registers according to claim 6, characterized in that: After receiving the encrypted details, the online account management platform decrypts the encrypted details to obtain the uploaded details. The collected details of the offline merchants are counted according to the uploaded details, including the following sub-steps: The encrypted details are sent to the online account management platform. After receiving the encrypted details, the online account management platform decrypts the encrypted details through a decryption program to obtain the uploaded details. The format of the uploaded details is "unique identification number. cashier details. timestamp", obtain the timestamp, obtain the current time, calculate the difference between the timestamp and the current time, and mark it as the upload duration; The upload duration is compared with the first duration threshold, and if the upload duration is less than or equal to the first duration threshold, a timestamp normal signal is output; If the upload duration is greater than the first duration threshold, a timestamp abnormality signal is output; If the output timestamp is abnormal, an upload failure signal will be returned to the offline merchant; If the output timestamp is a normal signal, a unique identification number is obtained and marked as an identification number to be saved; By searching the identification number database, the cashier details are stored in the recorded details of the offline merchant corresponding to the identification number to be saved.

8. The method for online account splitting management of offline merchant cash registers according to claim 7, characterized in that: The data verification of the collected details and uploaded details through the online account management platform includes the following sub-steps: Count the total revenue of the collected details of offline merchants, and mark it as collected revenue; count the total revenue of all uploaded details of offline merchants, and mark it as uploaded revenue; If the collected income is equal to the uploaded income, the output is a normal account flow signal; Otherwise, an abnormal account flow signal is output; After all offline merchants have output normal account flow signals, the frozen account funds will be unfrozen.

9. An offline merchant cashier online account splitting management system, applicable to an offline merchant cashier online account splitting management method according to any one of claims 1 to 8, characterized in that: It includes an online account splitting management module, a merchant upload module, an upload encryption module, a detail collection module and an online account splitting module; the online account splitting management module, the merchant upload module, the upload encryption module and the online account splitting module are respectively connected with the detail collection module data; The online account splitting management module is used to build an online account splitting management platform, assign a unique identification number to each offline merchant, and set account splitting rules based on the merchant side, system side and server side. Every time an offline merchant collects cash, the income obtained is split in real time to the merchant side, system side and server side according to the account splitting rules; The merchant upload module is used for offline merchants to upload cash register details with a unique identification number and a timestamp to obtain details to be uploaded; The upload encryption module is used to perform data encryption processing on the uploaded details to obtain encrypted details; The detail collection module is used for decrypting the encrypted details after the online account management platform receives them, obtaining the uploaded details, and performing statistics on the collected details of the offline merchants based on the uploaded details; The online account splitting module is used to perform data verification on the collected details and uploaded details through the online account splitting management platform.

10. A storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 8 are executed.

Citation Information

Patent Citations

  • System and method for realizing mobile payment

    CN101853453A

  • Sorting system based on Internet communication and offline transaction and online instant accounting method

    CN104217362A

  • An account attack security defense method and device

    CN109948333A

  • Pet operation account division method and platform based on block chain

    CN115456559A

  • Server and method for sending a transaction receipt via a push notification

    US20190318325A1

Cited By

  • Remote state safety management method and system for self-service cashier terminal, and medium

    CN119091547A