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

By performing identity authentication and encryption processing on a self-service cashier terminal, the problems of wasted computing resources and insufficient data protection in the prior art are solved, and the system operation speed and remote management security are improved.

CN119091547AInactive Publication Date: 2024-12-06SHENZHEN SHIWINKA TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202411100598.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-12
Publication Date
2024-12-06
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The existing self-service cashier remote security management technology has the problem of wasting computing resources and insufficient protection of data transmitted in remote management, resulting in reduced system operation speed and remote management errors.

Method used

Log in through the user or administrator's secure identity verification, confirm identity and permissions, and encrypt sensitive data in the self-service cashier terminal, generate communication encryption codes, and encrypt communication information between the self-service cashier terminal management system and the terminal.

Benefits of technology

Improves system operation speed, prevents data leakage and tampering, and enhances the security and effectiveness of remote management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119091547A_ABST
    Figure CN119091547A_ABST
Patent Text Reader

Abstract

The invention discloses a self-service cashier terminal remote state safety management method and system and a medium, and relates to the technical field of self-service cashier remote safety management, and the method comprises the following steps: a user or an administrator remotely logs in a self-service cashier terminal management system through a safe identity verification mode, and confirms the identity and authority of the user; performing information encryption processing on the sensitive data stored in the self-service cashier terminal; performing communication encryption on information communication between the self-service cashier terminal management system and the self-service cashier terminal; the method is used for solving the problems that according to an existing self-service cashier remote safety management technology, computing resources are wasted, data transmitted in remote management are insufficiently protected, the running speed of a system is reduced, and errors are prone to occurring in remote management of a self-service cashier terminal.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of self-service cashier remote security management, and in particular to a self-service cashier terminal remote state security management method, system and medium. Background Art

[0002] Self-service checkout remote security management technology refers to a set of technical solutions for remotely monitoring, controlling and maintaining the security and stability of self-service checkout terminals. This technology aims to protect the data and operations of self-service checkout terminals from unauthorized access, data leakage or malicious attacks.

[0003] Existing self-service cashier remote security management technologies usually encrypt and protect the data stored in the self-service cashier terminal, but most of the data stored in the self-service cashier terminal are useless data or fixed tags, and do not need data protection. Encrypting and protecting them will reduce the system's operating speed and waste computing resources. The most important thing for remote security management is the communication channel between the self-service cashier terminal and the management system. The security of the data transmitted in the channel is more important for remote security management technology. If the data transmitted in the channel is tampered with, it will cause remote management errors of the self-service cashier terminal. For example, in a patent application with publication number CN117056170A, a self-service machine background management system and method are disclosed. The solution has weak security protection for the self-service machine, and the data stored in the self-service machine is prone to leakage or tampering, resulting in errors in financial data reconciliation. The existing self-service cashier remote security management technology also wastes computing resources and insufficient protection of data transmitted in remote management, resulting in reduced system operating speed and errors in remote management of the self-service cashier terminal. Summary of the invention

[0004] The present invention aims to solve one of the technical problems in the prior art to at least a certain extent, by allowing a user or administrator to remotely log in to a self-service cashier terminal management system through a secure identity authentication method, confirm the user's identity and authority, and then extract sensitive data from the stored data in the self-service cashier terminal, perform information encryption processing on the sensitive data based on an encryption password set by the administrator, and then transform the encryption password to obtain a communication encryption code for communication encryption, and encrypt the communication information between the self-service cashier terminal management system and the self-service cashier terminal based on the communication encryption code, so as to solve the problems of waste of computing resources and insufficient protection of data transmitted in remote management in the existing self-service cashier remote security management technology, which leads to a reduction in the system's operating speed and the problem that errors are prone to occur in the remote management of the self-service cashier terminal.

[0005] To achieve the above objectives, in a first aspect, the present application provides a method for remote state security management of a self-service cashier terminal, comprising the following steps:

[0006] The user or administrator remotely logs in to the self-service cashier terminal management system through a secure identity authentication method to confirm the user's identity and authority;

[0007] Encrypt sensitive data stored in self-service cashier terminals;

[0008] The information communication between the self-service cashier terminal management system and the self-service cashier terminal is encrypted.

[0009] Furthermore, the user or administrator remotely logs in to the self-service cashier terminal management system through a secure identity authentication method, and confirming the user's identity and authority includes the following sub-steps:

[0010] The administrator has the authority to operate all the data stored in the self-service cashier terminal, and the user is an employee and can only modify the price of goods in the self-service cashier terminal;

[0011] The administrator verifies the administrator's account password through the administrator login page;

[0012] The user verifies the user's account password through the employee login page;

[0013] After the verification is passed, you can log in to the self-service cashier terminal management system to operate and manage the self-service cashier terminal.

[0014] Furthermore, information encryption processing of sensitive data stored in the self-service cashier terminal includes the following sub-steps:

[0015] Extract sensitive data from the stored data in the self-service cashier terminal;

[0016] Based on the encryption password set by the administrator, sensitive data is encrypted.

[0017] Furthermore, extracting sensitive data from the stored data in the self-service cashier terminal includes the following sub-steps:

[0018] Every time the self-service cashier terminal completes cashiering, it automatically generates and stores cashiering records, which are named as stored data;

[0019] Mark strings of consecutive numbers in stored data as sensitive data.

[0020] Furthermore, based on the encryption password set by the administrator, information encryption processing of sensitive data includes the following sub-steps:

[0021] Get the encrypted password set by the administrator, convert the encrypted password into hexadecimal data based on ASCII encoding, and name the converted encoding as the password encoding;

[0022] Obtain sensitive data, convert the sensitive data into Unicode encoding, and name the converted encoding as data encoding;

[0023] Combining a data sub-code with each first number of characters in the data code, wherein the data sub-code is in a hexadecimal format; and combining a password code with each second number of characters in the password code;

[0024] The data subcodes are numbered and marked as P from left to right. n , where n is a positive integer and n is the serial number of P; the codon codes are numbered and marked as Q from left to right m , where m is a positive integer and m is the serial number of Q;

[0025] Starting from n=1 and m=1, calculate P n ×Q m , and mark the result as T n , determine whether n is the maximum value of n, if so, stop calculating; if not, increase both n and m by 1 and calculate T again n ;

[0026] The T n It is a four-digit hexadecimal data. If it is less than four digits, the first digit will be filled with zero. n The first two digits of Q n Add, where Q n Q for m = n m , the added T n Marked as R n ;

[0027] Based on Unicode encoding, R n Convert it into Chinese, and arrange and combine it in the order of n from small to large to obtain encrypted data, replace the sensitive data in the stored data with the corresponding encrypted data and store it.

[0028] Furthermore, encrypting the information communication between the self-service cashier terminal management system and the self-service cashier terminal includes the following sub-steps:

[0029] Transforming the encryption password to obtain a communication encryption code for communication encryption;

[0030] The communication information between the self-service cashier terminal management system and the self-service cashier terminal is encrypted based on the communication encryption code.

[0031] Furthermore, transforming the encryption password to obtain the communication encryption code for communication encryption includes the following sub-steps:

[0032] Obtain the value range of the codon encoding, named as the sub-encoding range, add the minimum value and the maximum value of the sub-encoding range to obtain the complementary parameter;

[0033] For codon encoding Q m , calculate the complementary parameter minus Q m , and mark the result as G m , G m With Q m corresponding;

[0034] The G m That is the communication encryption code.

[0035] Furthermore, encrypting the communication information between the self-service cashier terminal management system and the self-service cashier terminal based on the communication encryption code includes the following sub-steps:

[0036] The communication information includes the storage data in the self-service cashier terminal and the control signal of the self-service cashier terminal management system to the self-service cashier terminal; the communication information is converted into Unicode code and marked as the communication code;

[0037] The communication codes are divided into communication code groups according to the order of two characters each, and the communication code groups are numbered from left to right. i represents, where i is a positive integer and i is the serial number of F;

[0038] F i Convert hexadecimal data to binary data, marked as E i , E i With F i Correspondingly, G m Convert hexadecimal data to binary data, marked as H m , H m With G m Correspondingly, the E i and H m All are eight-digit binary data;

[0039] For E i The characters in the (i,j) Indicates, where j is a positive integer and 1≤j≤8, E (i,j) Represents E i The jth character in H m The characters in the (m,j) Indicates, where j is a positive integer and 1≤j≤8, H (m,j) Represents H m The jth character in ;

[0040] All E (i,j)Enter the matrix with row i and column j, named the communication matrix, and put all H (m,j) Enter a matrix with m rows and j columns, marked as the password matrix;

[0041] The password matrix and E (i,j) All H in the same row (m,j) Add them together to get the unit addend, that is, for E (i,j) , H (m,j) All H where m=i,j=j (m,j) Add them together to get the unit addend, and then add E (i,j) Add to the unity addend to get V (i,j) , the V (i,j) With E (i,j) corresponding;

[0042] For all E (i,j) Analyze and get some V (i,j) , for V (i,j) , V (i,j) A transmission digital string is obtained by combining j in order from small to large, there are i transmission digital strings in total, and then the transmission digital strings are combined in order from small to large by i to obtain an encrypted communication code, and the information communication between the self-service cashier terminal management system and the self-service cashier terminal is completed by transmitting the encrypted communication code.

[0043] In a second aspect, the present application provides a remote state security management system for a self-service cashier terminal, including a terminal login module, a storage encryption module and a communication encryption module; the terminal login module and the communication encryption module are respectively connected to the storage encryption module data;

[0044] The terminal login module is used by users or administrators to remotely log in to the self-service cashier terminal management system through a secure identity authentication method to confirm the user's identity and authority;

[0045] The storage encryption module is used to perform information encryption processing on sensitive data stored in the self-service cashier terminal;

[0046] The communication encryption module is used to encrypt the information communication between the self-service cashier terminal management system and the self-service cashier terminal.

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

[0048] Beneficial effects of the present invention: The present invention allows a user or administrator to remotely log in to the self-service cashier terminal management system through a secure identity authentication method, confirm the user's identity and authority, and then extract sensitive data from the stored data in the self-service cashier terminal. Based on the encryption password set by the administrator, the sensitive data is encrypted. The advantage is that the user's identity is verified by account login to prevent outsiders from reading the stored data or managing the self-service cashier terminal. The screening of sensitive data in the stored data for information encryption can reduce the amount of data processing, thereby greatly improving the system's operating speed, while preventing others from stealing important data related to cashier data, thereby improving the rationality of remote management of self-service cashiers and the security of data.

[0049] The present invention transforms the encryption password to obtain the communication encryption code for communication encryption, and encrypts the communication information between the self-service cashier terminal management system and the self-service cashier terminal based on the communication encryption code. The advantage is that the sensitive data in the stored data is encrypted to prevent others from reading the important data stored in the self-service cashier terminal. When the self-service cashier terminal management system requests data or sends data to the self-service cashier terminal, there is a risk of being intercepted or tampered with by others. Therefore, it is necessary to perform security protection on the transmitted communication information, thereby improving the security and effectiveness of the self-service cashier remote management. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0051] Figure 2 A schematic diagram of the relationship between the self-service cashier terminal management system and the self-service cashier terminal of the present invention;

[0052] Figure 3 A flowchart of the steps of the method of the present invention

[0053] Figure 4 It is a schematic structural diagram of the electronic device of the present invention. DETAILED DESCRIPTION

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

[0055] Example 1, please refer to Figure 1As shown, the present application provides a self-service cashier terminal remote state security management system, including a terminal login module, a storage encryption module and a communication encryption module; the terminal login module and the communication encryption module are respectively connected to the storage encryption module data;

[0056] See also Figure 2 As shown, the terminal login module is used by users or administrators to remotely log in to the self-service cashier terminal management system through a secure identity authentication method to confirm the user's identity and authority;

[0057] The terminal login module is configured with terminal login policies, which include:

[0058] Administrators have the authority to operate all data stored in the self-service cashier terminal. Users who are employees can only modify the prices of goods in the self-service cashier terminal.

[0059] The administrator verifies the administrator's account password through the administrator login page;

[0060] The user verifies the user's account password through the employee login page;

[0061] After passing the verification, you can log in to the self-service cashier terminal management system to operate and manage the self-service cashier terminal;

[0062] In actual applications, the authority verification of users and administrators is implemented through the existing account login verification technology. The administrator can set the user's operation authority to prevent the user from unauthorized reading or operation of data; the self-service cashier terminal management system implements remote security management of the self-service cashier terminal through the communication encryption module. The relationship between them is as follows: Figure 2 shown.

[0063] The storage encryption module is used to perform information encryption processing on the sensitive data stored in the self-service cashier terminal; the storage encryption module includes a sensitive data extraction unit and a sensitive data encryption unit;

[0064] The sensitive data extraction unit is used to extract sensitive data from the stored data in the self-service cashier terminal;

[0065] The sensitive data extraction unit is configured with a sensitive data extraction strategy, which includes:

[0066] Every time the self-service cashier terminal completes cashiering, it automatically generates and stores cashiering records, which are named as stored data;

[0067] Mark strings of consecutive numbers in stored data as sensitive data;

[0068] In actual applications, since the self-service cashier terminal is remotely managed, important data in the cashier system are generally in digital form, such as sales, monthly expenses, and income, which are all in digital form. Chinese characters are usually labels for numbers to inform users what the numbers mean. Therefore, the numbers in the stored data are marked as sensitive data and the sensitive data is protected. Only protecting the numbers greatly reduces the amount of system calculations and can improve the system's operating speed. For example, if the stored data is "June sales: 57,862.9 yuan", the decimal point is also regarded as a number when searching for numbers, that is, the string composed of consecutive numbers is 57,862.9, that is, the sensitive data is 57,862.9;

[0069] The sensitive data encryption unit is used to encrypt sensitive data based on the encryption password set by the administrator;

[0070] The sensitive data encryption unit is configured with a sensitive data encryption policy, which includes:

[0071] Get the encrypted password set by the administrator, convert the encrypted password into hexadecimal data based on ASCII encoding, and name the converted encoding as the password encoding;

[0072] Obtain sensitive data, convert the sensitive data into Unicode encoding, and name the converted encoding as data encoding;

[0073] Each first number of characters in the data code is combined into a data sub-code, wherein the format of the data sub-code is hexadecimal; each second number of characters in the password code is combined into a password code;

[0074] The data subcodes are numbered and marked as P from left to right. n , where n is a positive integer and n is the serial number of P; the codon codes are numbered and marked as Q from left to right m , where m is a positive integer and m is the serial number of Q;

[0075] In actual application, the encrypted password set by the administrator is obtained as "QWEqwe", and the password code obtained by conversion is "515745717765". The sensitive data is 57862.9, and the data code obtained by conversion is "00350037003800360032002e0039". In the data encoding, every four digits are converted from a character before conversion, so the first quantity is set to 4; in the password encoding, every two digits are converted from a character before conversion, so the second quantity is set to 2; the numbers P1 to P7 are 0035, 0037, 0038, 0036, 0032, 002e and 0039, 1≤n≤7, Q1 to Q6 are 51, 57, 45, 71, 77 and 65, 1≤m≤6.

[0076] Starting from n=1 and m=1, calculate P n ×Q m , and mark the result as T n , determine whether n is the maximum value of n, if so, stop calculating; if not, increase both n and m by 1 and calculate T again n ;

[0077] T n It is a four-digit hexadecimal data. If it is less than four digits, the first digit will be filled with zero. n The first two digits of Q n Add, where Q n Q for m = n m , the added T n Marked as R n ;

[0078] Based on Unicode encoding, R n Convert it into Chinese, and arrange and combine it in the order of n from small to large to obtain encrypted data, replace the sensitive data in the stored data with the corresponding encrypted data and store it;

[0079] In practice, starting from n=1 and m=1, calculate P n ×Q m , we get T1 as 0035×51=105C, the calculation format is hexadecimal operation; the maximum value of n is 7, and n is not the maximum value at this time, so increase n and m by 1 and calculate T again n, where when n = 7, since the maximum value of m is 6, m = 7 does not exist. At this time, m is decreased by 6, that is, P7 × Q1 is calculated to obtain T7; similarly, T1 to T7 are calculated to be 105C, 12B1, F18, 17D6, 173E, 1226, and 1209 in sequence. Among them, T3 is a three-digit number, and it is padded to a four-digit number as 0F18; the first two digits of T1 to T7 are 10, 12, 0F, 17, 17, 12, and 12 respectively. Since there is no Q7, Q n is regarded as Q n%6 , and Q1 to Q7 are 51, 57, 45, 71, 77, 65, and 51 respectively. Adding them up, R1 to R7 are 615C, 69B1, 5418, 88D6, 8E3E, 7726, and 6309 in sequence. Converting them to Chinese and combining them, the encrypted data is "慜榱吘裖踾眦按". Replacing the sensitive data in the stored data with the corresponding encrypted data, the stored data is "June sales: 慜榱吘裖踾眦按 yuan".

[0080] The communication encryption module is used to perform communication encryption on the information communication between the self-service cash register terminal management system and the self-service cash register terminal; the communication encryption module includes a password transformation unit and a communication encryption unit;

[0081] The password transformation unit is used to transform the encrypted password to obtain a communication encryption code for performing communication encryption;

[0082] The password transformation unit is configured with a password transformation strategy, and the password transformation strategy includes:

[0083] Obtain the value range of the codon encoding, named the sub-encoding range, and add the minimum value and the maximum value of the sub-encoding range to obtain a complementary parameter;

[0084] For the codon encoding Q m , calculate the complementary parameter minus Q m , and mark the calculation result as G m , G m corresponds to Q m ;

[0085] G m is the communication encryption code;

[0086] In practical applications, in the ASCII encoding, the characters corresponding to 00 to 20 and 7F are functional characters and cannot be displayed. Therefore, the sub-encoding range is 21 to 7E, the minimum value is 21, the maximum value is 7E, and the added complementary parameter is 9F; the codon encodings Q1 to Q6 are 51, 57, 45, 71, 77, and 65 in sequence. Calculate 9F - Q m , and obtain G1 to G6 as 4E, 48, 5A, 2E, 28, and 3A in sequence;

[0087] The communication encryption unit is used to encrypt the communication information between the self-service cash register terminal management system and the self-service cash register terminal based on the communication encryption code;

[0088] The communication encryption unit is configured with a communication encryption policy, and the communication encryption policy includes:

[0089] The communication information includes the stored data in the self-service cash register terminal and the control signal of the self-service cash register terminal management system for the self-service cash register terminal; the communication information is converted into Unicode encoding and marked as the communication code;

[0090] The communication code is divided into communication code groups according to every two characters as a group, numbered in the order from left to right, and represented by the symbol F i where i is a positive integer and i is the serial number of F;

[0091] In practical applications, in this embodiment, the administrator requests the stored data "June sales: 慜榱吘裖踾眦按元" from the self-service cash register terminal through the self-service cash register terminal management system, and the communication code obtained by converting it into Unicode encoding is "516d67089500552e989dff1a615c69b1541888d68e3e772663095143". Through numbering, F1 to F 28 are successively 51, 6d, 67, 08, 95, 00, 55, 2e, 98, 9d, ff, 1a, 61, 5c, 69, b1, 54, 18, 88, d6, 8e, 3e, 77, 26, 63, 09, 51, and 43;

[0092] Convert F i from hexadecimal data to binary data, and mark it as E i , and E i corresponds to F i ; convert G m from hexadecimal data to binary data, and mark it as H m , and H m corresponds to G m ; both E i and H m are eight-digit binary data;

[0093] In practical applications, convert F i to binary data to obtain E1 to E 28They are 01010001, 01101101, 01100111, 00001000, 10010101, 00000000, 01010101, 00101110, 10011000, 10011101, 11111111, 00011010, 01100001, 01011101, 01101001, 10110001, 01010100, 00011000, 10001000, 11010110, 10001110, 00111110, 01110111, 00100110, 01100011, 00001001, 01010001, and 01000011; for G m After conversion, H1 to H6 are 01001110, 01001000, 01011010, 00101110, 00101000 and 00111010 respectively;

[0094] For E i The characters in the (i,j) Indicates, where j is a positive integer and 1≤j≤8, E (i,j) Represents E i The jth character in H m The characters in the (m,j) Indicates, where j is a positive integer and 1≤j≤8, H (m,j) Represents H m The jth character in ;

[0095] All E (i,j) Enter the matrix with row i and column j, named the communication matrix, and put all H (m,j) Enter a matrix with m rows and j columns, marked as the password matrix;

[0096] In actual application, taking E1 as an example, E1 is 01010001, and the number is E (1,1) To E (1,8) The sequence is 0, 1, 0, 1, 0, 0, 0 and 1. Similarly, the analysis of E (2,j) To E (28,j) ;H (m,j) Analysis process and E (1,1) The same, so no further detailed description will be given in this embodiment; all E (i,j) Enter the matrix with row i and column j, and get the communication matrix as Due to H (m,j) The maximum value of m is 6, that is, there are only 6 rows of data in the password matrix, and there are 28 rows of data in the communication matrix. Therefore, the password matrix needs to be padded to 28 rows for subsequent calculations. (m,j) , H (m,j)The value of H (m%6,j) The values ​​are equal, for example, H (7,1) =H (1,1) , the password matrix is ​​constructed as

[0097] Combine the password matrix with E (i,j) All H in the same row (m,j) Add them together to get the unit addend, that is, for E (i,j) , H (m,j) All H where m=i,j=j (m,j) Add them together to get the unit addend, and then add E (i,j) Add to the unity addend to get V (i,j) , V (i,j) With E (i,j) corresponding;

[0098] For all E (i,j) Analyze and get some V (i,j) , for V (i,j) , V (i,j) Combining j in ascending order to obtain a transmission digital string, there are i transmission digital strings in total, and then combining the transmission digital strings in ascending order to obtain an encrypted communication code, and completing the information communication between the self-service cashier terminal management system and the self-service cashier terminal by transmitting the encrypted communication code;

[0099] In practical applications, E (1,1) For example, at this time, i=1, j=1, then H (1,1) To H (1,8) and H (1,1) To H (28,1) Add, that is, add all the numbers in the first row and the first column of the password matrix, and the unit addend is 4, E (1,1) =0, and E (1,1) Add 4 to get V (1,1) is 4; the other V (i,j) , the combined matrix is When combining to obtain the encrypted communication code, V (i,j) Convert to two digits, such as V (1,1)The encrypted communication code is 4, and the encrypted communication code is 04; the encrypted communication code is "04201714321423502181611311321030420181332152405041917133314230403171512301321030419171332142304042 0171432152305021716113113220205191714331423040519171433152305031 8161231132203041917143314240404201813321423050218151231132102042 0181333142305051918143214230502181512301321020419171433142304051 9171333142304031815123013220205191713331524040419181433152404021 816123013220304191813321524040420181332142405021715113112210304201714321423050420171332142405", by transmitting the encrypted communication code, the information communication between the self-service cashier terminal management system and the self-service cashier terminal is completed. After the transmission is completed, the original communication information can be decrypted through the decryption program.

[0100] Example 2, please refer to Figure 3 As shown, the present application provides a method for remote state security management of a self-service cashier terminal, comprising the following steps:

[0101] Step S1, the user or administrator remotely logs in to the self-service cashier terminal management system through a secure identity authentication method to confirm the user's identity and authority; Step S1 includes the following sub-steps:

[0102] Step S101: The administrator has the operation authority to all the stored data in the self-service cashier terminal, and the user is an employee and can only modify the price of the goods in the self-service cashier terminal;

[0103] Step S102, the administrator verifies the administrator's account password through the administrator login page;

[0104] Step S103, the user verifies the user's account password through the employee login page;

[0105] Step S104, after the verification is passed, you can log in to the self-service cashier terminal management system to operate and manage the self-service cashier terminal;

[0106] Step S2, encrypting the sensitive data stored in the self-service cashier terminal; Step S2 includes the following sub-steps:

[0107] Step S201, extracting sensitive data from the stored data in the self-service cashier terminal;

[0108] Step S201 includes the following sub-steps:

[0109] Step S2011, each time the self-service cashier terminal completes cashiering, a cashiering record is automatically generated and stored, which is named as stored data;

[0110] Step S2012, marking the character string consisting of consecutive numbers in the stored data as sensitive data;

[0111] Step S202, encrypting the sensitive data based on the encryption password set by the administrator;

[0112] Step S202 includes the following sub-steps:

[0113] Step S2021, obtaining the encryption password set by the administrator, converting the encryption password into hexadecimal data based on ASCII encoding, and naming the converted encoding as the password encoding;

[0114] Step S2022, obtaining sensitive data, converting the sensitive data into Unicode encoding, and naming the converted encoding as data encoding;

[0115] Step S2023, forming a data sub-code from each first number of characters in the data code, wherein the format of the data sub-code is hexadecimal; forming a password code from each second number of characters in the password code;

[0116] Step S2024: number the data subcodes and label them as P from left to right. n , where n is a positive integer and n is the serial number of P; the codon codes are numbered and marked as Q from left to right m , where m is a positive integer and m is the serial number of Q;

[0117] Step S2025, starting from n=1 and m=1, calculate P n ×Q m , and mark the result as T n , determine whether n is the maximum value of n, if so, stop calculating; if not, increase both n and m by 1 and calculate T again n ;

[0118] Step S2026, T n It is a four-digit hexadecimal data. If it is less than four digits, the first digit will be filled with zero.n The first two digits of Q n Add, where Q n Q for m = n m , the added T n Marked as R n ;

[0119] Step S2027, convert R into n Convert it into Chinese, and arrange and combine it in the order of n from small to large to obtain encrypted data, replace the sensitive data in the stored data with the corresponding encrypted data and store it;

[0120] Step S3, encrypting the information communication between the self-service cashier terminal management system and the self-service cashier terminal; Step S3 includes the following sub-steps:

[0121] Step S301, transforming the encryption password to obtain a communication encryption code for communication encryption;

[0122] Step S301 includes the following sub-steps:

[0123] Step S3011, obtaining a value range of a codon code, named as a sub-code range, and adding a minimum value and a maximum value of the sub-code range to obtain a complementary parameter;

[0124] Step S3012, for codon encoding Q m , calculate the complementary parameter minus Q m , and mark the result as G m , G m With Q m corresponding;

[0125] Step S3013, G m That is, the communication encryption code;

[0126] Step S302, encrypting the communication information between the self-service checkout terminal management system and the self-service checkout terminal based on the communication encryption code;

[0127] Step S302 includes the following sub-steps:

[0128] Step S3021, the communication information includes the storage data in the self-service cashier terminal and the control signal of the self-service cashier terminal management system to the self-service cashier terminal; the communication information is converted into Unicode code and marked as the communication code;

[0129] Step S3022: divide the communication codes into communication code groups according to the order of two characters each, and number the communication code groups from left to right, using the symbol F irepresents, where i is a positive integer and i is the serial number of F;

[0130] Step S3023: F i Convert hexadecimal data to binary data, marked as E i , E i With F i Correspondingly, G m Convert hexadecimal data to binary data, marked as H m , H m With G m Corresponding; E i and H m All are eight-digit binary data;

[0131] Step S3024, to E i The characters in the (i,j) Indicates, where j is a positive integer and 1≤j≤8, E (i,j) Represents E i The jth character in H m The characters in the (m,j) Indicates, where j is a positive integer and 1≤j≤8, H (m,j) Represents H m The jth character in ;

[0132] Step S3025: All E (i,j) Enter the matrix with row i and column j, named the communication matrix, and put all H (m,j) Enter a matrix with m rows and j columns, marked as the password matrix;

[0133] Step S3026, compare the password matrix with E (i,j) All H in the same row (m,j) Add them together to get the unit addend, that is, for E (i,j) , H (m,j) All H where m=i,j=j (m,j) Add them together to get the unit addend, and then add E (i,j) Add to the unity addend to get V (i,j) , V (i,j) With E (i,j) corresponding;

[0134] Step S3027, for all E (i,j) Analyze and get some V (i,j) , for V (i,j) , V (i,j)A transmission digital string is obtained by combining j in order from small to large, and there are i transmission digital strings in total. The transmission digital strings are then combined in order from small to large to obtain an encrypted communication code. The information communication between the self-service cashier terminal management system and the self-service cashier terminal is completed by transmitting the encrypted communication code.

[0135] Example 3, please refer to Figure 4 As shown, Figure 4 The structural diagram of an electronic device is illustrated, and the electronic device may include: a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus. The memory stores computer-readable instructions, and the processor can call the instructions in the memory. When the computer-readable instructions are executed by the processor, the steps in a method for remote state security management of a self-service cashier terminal are executed to achieve the following functions: a user or administrator remotely logs in to the self-service cashier terminal management system through a secure identity authentication method to confirm the user's identity and authority; performs information encryption processing on sensitive data stored in the self-service cashier terminal; and performs communication encryption on information communication between the self-service cashier terminal management system and the self-service cashier terminal.

[0136] In addition, the logic instructions in the above-mentioned memory can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art, and the computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk.

[0137] Embodiment 4, the present application also provides a computer-readable storage medium, the present application provides a storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method for remote status security management of a self-service checkout terminal are executed to achieve the following functions: a user or administrator remotely logs in to the self-service checkout terminal management system through a secure identity authentication method to confirm the user's identity and authority; performs information encryption processing on sensitive data stored in the self-service checkout terminal; and performs communication encryption on information communication between the self-service checkout terminal management system and the self-service checkout terminal.

[0138] Through the description of the above implementation methods, the embodiments of the present invention can be provided as methods, systems or computer program products. Based on such an understanding, the above technical solutions can be essentially or partly contributed to the prior art in the form of software products, which can be stored in a computer-readable storage medium, such as ROM / RAM, a magnetic disk, an optical disk, etc., and include several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0139] In the embodiments provided in the present application, it should be understood that the disclosed system or method can be implemented in other ways. The embodiments described above are merely schematic. For example, the division of modules or units is only a logical function division. There may be other division methods in actual implementation. For example, multiple modules or units 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 systems, modules and units can be electrical, mechanical or other forms.

[0140] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A method for remote state security management of a self-service cashier terminal, characterized in that: The steps include: The user or administrator remotely logs in to the self-service cashier terminal management system through a secure identity authentication method to confirm the user's identity and authority; Encrypt sensitive data stored in self-service cashier terminals; The information communication between the self-service cashier terminal management system and the self-service cashier terminal is encrypted.

2. A method for remote state security management of a self-service cashier terminal according to claim 1, characterized in that: The user or administrator remotely logs in to the self-service cashier terminal management system through a secure identity authentication method. Confirming the user's identity and authority includes the following sub-steps: The administrator has the authority to operate all the data stored in the self-service cashier terminal, and the user is an employee and can only modify the price of goods in the self-service cashier terminal; The administrator verifies the administrator's account password through the administrator login page; The user verifies the user's account password through the employee login page; After the verification is passed, you can log in to the self-service cashier terminal management system to operate and manage the self-service cashier terminal.

3. A method for remote state security management of a self-service cashier terminal according to claim 2, characterized in that: The information encryption process for sensitive data stored in the self-service cashier terminal includes the following sub-steps: Extract sensitive data from the stored data in the self-service cashier terminal; Based on the encryption password set by the administrator, sensitive data is encrypted.

4. A method for remote state security management of a self-service cashier terminal according to claim 3, characterized in that: Extracting sensitive data from the stored data in the self-service cashier terminal includes the following sub-steps: Every time the self-service cashier terminal completes cashiering, it automatically generates and stores cashiering records, which are named as stored data; Mark strings of consecutive numbers in stored data as sensitive data.

5. A method for remote state security management of a self-service cashier terminal according to claim 4, characterized in that: Based on the encryption password set by the administrator, information encryption processing for sensitive data includes the following sub-steps: Get the encrypted password set by the administrator, convert the encrypted password into hexadecimal data based on ASCII encoding, and name the converted encoding as the password encoding; Obtain sensitive data, convert the sensitive data into Unicode encoding, and name the converted encoding as data encoding; Combining a data sub-code with each first number of characters in the data code, wherein the data sub-code is in a hexadecimal format; and combining a password code with each second number of characters in the password code; The data subcodes are numbered and marked as P from left to right. n , where n is a positive integer and n is the serial number of P; the codon codes are numbered and marked as Q from left to right m , where m is a positive integer and m is the serial number of Q; Starting from n=1 and m=1, calculate P n ×Q m , and mark the result as T n , determine whether n is the maximum value of n, if so, stop calculating; if not, increase both n and m by 1 and calculate T again n ; The T n It is a four-digit hexadecimal data. If it is less than four digits, the first digit will be filled with zero. n The first two digits of Q n Add, where Q n Q for m = n m , the added T n Marked as R n ; Based on Unicode encoding, R n Convert it into Chinese, and arrange and combine it in the order of n from small to large to obtain encrypted data, replace the sensitive data in the stored data with the corresponding encrypted data and store it.

6. A method for remote state security management of a self-service cashier terminal according to claim 5, characterized in that: Encrypting the information communication between the self-service cashier terminal management system and the self-service cashier terminal includes the following sub-steps: Transforming the encryption password to obtain a communication encryption code for communication encryption; The communication information between the self-service cashier terminal management system and the self-service cashier terminal is encrypted based on the communication encryption code.

7. A method for remote state security management of a self-service cashier terminal according to claim 6, characterized in that: Transforming the encryption password to obtain the communication encryption code for communication encryption includes the following sub-steps: Obtain the value range of the codon encoding, named as the sub-encoding range, add the minimum value and the maximum value of the sub-encoding range to obtain the complementary parameter; For codon encoding Q m , calculate the complementary parameter minus Q m , and mark the result as G m , G m With Q m corresponding; The G m That is the communication encryption code.

8. A method for remote state security management of a self-service cashier terminal according to claim 7, characterized in that: Encrypting the communication information between the self-service cashier terminal management system and the self-service cashier terminal based on the communication encryption code includes the following sub-steps: The communication information includes the storage data in the self-service cashier terminal and the control signal of the self-service cashier terminal management system to the self-service cashier terminal; the communication information is converted into Unicode code and marked as the communication code; The communication codes are divided into communication code groups according to the order of two characters each, and the communication code groups are numbered from left to right. i represents, where i is a positive integer and i is the serial number of F; F i Convert hexadecimal data to binary data, marked as E i , E i With F i Correspondingly, G m Convert hexadecimal data to binary data, marked as H m , H m With G m Correspondingly, the E i and H m All are eight-digit binary data; For E i The characters in the (i,j) Indicates, where j is a positive integer and 1≤j≤8, E (i,j) Represents E i The jth character in H m The characters in the (m,j) Indicates, where j is a positive integer and 1≤j≤8, H (m,j) Represents H m The jth character in ; All E (i,j) Enter the matrix with row i and column j, named the communication matrix, and put all H (m,j) Enter a matrix with m rows and j columns, marked as the password matrix; The password matrix and E (i,j) All H in the same row (m,j) Add them together to get the unit addend, that is, for E (i,j) , H (m,j) All H where m=i,j=j (m,j) Add them together to get the unit addend, and then add E (i,j) Add to the unity addend to get V (i,j) , the V (i,j) With E (i,j) corresponding; For all E (i,j) Analyze and get some V (i,j) , for V (i,j) , V (i,j) A transmission digital string is obtained by combining j in order from small to large, there are i transmission digital strings in total, and then the transmission digital strings are combined in order from small to large by i to obtain an encrypted communication code, and the information communication between the self-service cashier terminal management system and the self-service cashier terminal is completed by transmitting the encrypted communication code.

9. A self-service cashier terminal remote state security management system, used to implement a self-service cashier terminal remote state security management method according to any one of claims 1 to 8, characterized in that: It includes a terminal login module, a storage encryption module and a communication encryption module; the terminal login module and the communication encryption module are respectively connected to the storage encryption module data; The terminal login module is used by users or administrators to remotely log in to the self-service cashier terminal management system through a secure identity authentication method to confirm the user's identity and authority; The storage encryption module is used to perform information encryption processing on sensitive data stored in the self-service cashier terminal; The communication encryption module is used to encrypt the information communication between the self-service cashier terminal management system and the self-service cashier terminal.

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

  • Method and device for protecting sensitive data in POS (point-of-sale) machine

    CN102708632A

  • POS machine data encryption method and device

    CN114513297A

  • Self-service machine background management system and method

    CN117056170A

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

    CN118941386A

  • Check out system

    EP2330574A1