A payment application method and system based on microcode
By using microcode encryption methods in payment applications, using angle information and distance information for decoding, the problem of QR code payment information leakage is solved, and payment security and anti-fouling recognition capabilities are improved.
Patent Information
- Application Number
- CN202111509790.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-10
- Publication Date
- 2024-11-26
- Estimated Expiration
- 2041-12-10
AI Technical Summary
There is a problem of information leakage in existing QR code payments, which affects the security of payment.
Using a payment method based on microcode, the first identifier and the second identifier are arranged on the blank image in a specific manner, and the encrypted payment application image is generated, and the angle information and distance information are decoded to avoid the leakage of QR code information. .
It improves the security of payment, enhances the anti-filing recognition ability, avoids the leakage of QR code information, and enhances the security of the payment process.
Smart Images

Figure CN114037452B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of payment application technology, and in particular to a payment application method and system based on microcode. Background Art
[0002] At present, with the development of science and technology in today's society, mobile payment has gradually penetrated into people's daily life with its advantages of convenience, speed and simplicity. Common mobile payment methods include NFC payment, network payment and code scanning payment. NFC payment refers to the use of NFC technology (Near Field Communication) by consumers to complete payment through mobile phones and other handheld devices when purchasing goods or services. It is an emerging mobile payment method. The payment is processed on site and offline. It does not require the use of mobile networks, but uses NFC radio frequency channels to achieve local communication with devices such as POS cash registers or vending machines. NFC payment requires the support of hardware NFC modules. Some mobile phones do not have this module, so there are some restrictions on the scenarios. Network payment is the process of making payments online through the Internet. It is generally applicable to online shopping payments and does not support offline real-time payments. Code scanning payment is the process of obtaining payment information after presenting the payment graphic code, scanning the graphic code, and parsing the graphic code, and then realizing payment after user confirmation and network authentication. Code scanning payment supports the seller presenting the graphic code and the buyer scanning the payment, or the buyer presenting the graphic code and the seller scanning the payment. That is, QR code scanning payment supports QR code scanning by both buyers and sellers, and because the QR code scanning transaction process does not require special hardware support and can be completed with only a camera or display screen, QR code scanning payment is highly popular.
[0003] Existing barcode payment is mainly achieved through QR code. A QR code (2-dimensional bar code) is a black and white graphic that records data symbol information and is distributed in a plane (two-dimensional direction) according to a certain pattern using certain geometric figures. The code compilation cleverly uses the concepts of "0" and "1" bit streams that form the basis of the computer's internal logic, and uses several geometric shapes corresponding to binary to represent textual numerical information. The encryption and decryption algorithms of the QR code are public. For a QR code specifically used for payment, its internal information can also be obtained through other barcode scanning software. This leads to the problem of information leakage of the payment QR code, which affects the security of payment. Summary of the invention
[0004] To this end, it is necessary to provide a payment application method and system based on a microcode to solve the security problem that may arise when the information of the QR code is easily obtained during existing QR code payment.
[0005] To achieve the above object, the present invention provides a payment application method based on microcode, comprising the following steps:
[0006] The first terminal obtains account ID information data;
[0007] Encrypt the account ID information data according to the encryption rules to obtain a decimal digital string;
[0008] According to the value selection rule of the digital character string with fixed digits, the values are sequentially obtained, and the obtained values are sequentially used as angle information and distance information and grouped, each group containing an angle information and a distance information;
[0009] Placing a preset first identifier at a central position on the blank image;
[0010] sequentially taking second identifiers of a preset second identifier information set according to the number of groups of angle information and distance information, and assigning a group of angle information and distance information to each second identifier, placing the second identifier on a blank image using the distance information as the distance information between the second identifier and the first identifier, and using the angle information as the angle information between the second identifier and the next second identifier and used for the placement operation of the next second identifier position, until all the taken second identifiers are placed on the blank image;
[0011] After the second identifier is placed, the images of the first identifier and the second identifier are used as payment application images;
[0012] The second terminal obtains image data of the payment application;
[0013] Identify a first identifier in the image data according to preset first identifier information and identify the position of the first identifier as a center point position;
[0014] Identifying a plurality of second identifiers in the image data according to a preset second identifier information set, and identifying a plurality of coordinate values of the plurality of second identifiers relative to the center point position;
[0015] According to the multiple coordinate values and the center point position, the distances between the multiple second identifiers and the origin are calculated and connected, the angles between adjacent connecting lines are calculated, the distances and angles are rounded and arranged in order to obtain a sequence value, and a preset decoding algorithm is used according to the sequence value to obtain decoded account ID information;
[0016] The second terminal sends the account ID information to the payment settlement system for payment settlement.
[0017] Furthermore, the first terminal is a payment terminal, the second terminal is a payment terminal, and the second terminal sends the account ID information to the payment settlement system for payment settlement, which further includes the steps of:
[0018] The second terminal sends the received amount to the payment settlement system.
[0019] Furthermore, the payment settlement system determines whether the received amount is greater than a preset value, and if so, sends a password verification to the first terminal.
[0020] Furthermore, the preset value is a setting value set by the first terminal in the payment settlement system.
[0021] Furthermore, the first terminal obtaining the account ID information data further comprises the steps of:
[0022] The first terminal obtains account ID information data and transaction amount;
[0023] The encryption of the account ID information data according to the encryption rule includes the following steps:
[0024] Encrypt account ID information data and transaction amount according to encryption rules;
[0025] The decoded account ID information includes: the decoded account ID information and the transaction amount;
[0026] The second terminal sends the account ID information to the payment settlement system for payment settlement, including the following steps:
[0027] The second terminal sends the account ID information and transaction amount to the payment settlement system for payment settlement.
[0028] Furthermore, the first terminal is a payment terminal, the second terminal is a payment terminal, and the second terminal sends the account ID information to the payment settlement system for payment settlement, which further includes the steps of:
[0029] The second terminal sends the payment amount to the payment settlement system.
[0030] Furthermore, the second terminal obtains the image data of the payment application including the steps of:
[0031] The second terminal obtains the image data of the payment application displayed by the first terminal through the image acquisition device.
[0032] Furthermore, the first terminal or the second terminal is a handheld terminal.
[0033] The present invention provides a payment application system based on microcode, comprising a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the steps of the method described in any one of the embodiments of the present invention are implemented.
[0034] Furthermore, the payment application system is a cash register system.
[0035] Different from the prior art, the above technical solution avoids the use of QR codes for payment settlement and avoids the leakage of QR code information, thereby improving security by generating a micro code with a first identifier and a second identifier as a payment application. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] Figure 1 This is a diagram of the architecture of a payment application system based on microcode according to an embodiment of the present invention;
[0037] Figure 2 A schematic diagram of a first identifier and a second identifier according to an embodiment of the present invention;
[0038] Figure 3 A microscopic code diagram of an embodiment of the present invention after encryption;
[0039] Figure 4 A microscopic code diagram of an embodiment of an encrypted array arrangement of the present invention;
[0040] Figure 5 A microscopic code diagram of an embodiment of two circles of the second identification code after encryption of the present invention;
[0041] Figure 6 This is an architecture diagram of a microcode-based payment application system according to another embodiment of the present invention. DETAILED DESCRIPTION
[0042] In order to explain the technical content, structural features, achieved objectives and effects of the technical solution in detail, the following is a detailed description in conjunction with specific embodiments and accompanying drawings.
[0043] Reference to "embodiment" herein means that the specific features, structures or characteristics described in conjunction with the embodiment may be included in at least one embodiment of the present application. The term "embodiment" appearing in various places in the specification does not necessarily refer to the same embodiment, nor does it particularly limit its independence or association with other embodiments. In principle, in the present application, as long as there is no technical contradiction or conflict, the various technical features mentioned in the embodiments can be combined in any way to form a corresponding implementable technical solution.
[0044] Unless otherwise defined, the technical terms used in this document have the same meanings as those generally understood by those skilled in the art to which this application belongs; the use of relevant terms in this document is only for describing specific embodiments and is not intended to limit this application.
[0045] In the description of this application, the term "and / or" is an expression used to describe the logical relationship between objects, indicating that three relationships may exist, for example, A and / or B, which means: A exists, B exists, and A and B exist at the same time. In addition, the character " / " in this article generally indicates that the objects before and after are in an "or" logical relationship.
[0046] In the present application, terms such as “first” and “second” are merely used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship of quantity, priority or sequence between these entities or operations.
[0047] Without further limitations, in this application, the words "include", "comprises", "has" or other similar expressions used in the sentences are intended to cover non-exclusive inclusion. These expressions do not exclude the presence of additional elements in the process, method or product including the elements, so that the process, method or product including a series of elements may include not only those limited elements, but also other elements not explicitly listed, or also include elements inherent to such process, method or product.
[0048] Similar to the understanding in the Examination Guidelines, in this application, expressions such as "greater than", "less than", "exceed" and the like are understood to exclude the number itself; expressions such as "above", "below", "within" and the like are understood to include the number itself. In addition, in the description of the embodiments of this application, "multiple" means more than two (including two), and similar expressions related to "multiple" are also understood in this way, such as "multiple groups", "multiple times", etc., unless otherwise clearly and specifically limited.
[0049] In the description of the embodiments of the present application, space-related expressions used, such as "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "vertical", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise", "axial", "radial", "circumferential", etc., indicate the orientation or position relationship based on the orientation or position relationship shown in the specific embodiments or drawings, and are only for the convenience of describing the specific embodiments of the present application or facilitating the reader's understanding, and do not indicate or imply that the referred device or component must have a specific position, a specific orientation, or be constructed or operated in a specific orientation, and therefore cannot be understood as a limitation on the embodiments of the present application.
[0050] Unless otherwise expressly specified or limited, in the description of the embodiments of the present application, the terms such as "install", "connect", "connect", "fix", "set", etc. used should be understood in a broad sense. For example, the "connection" can be a fixed connection, a detachable connection, or an integrated setting; it can be a mechanical connection, an electrical connection, or a communication connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium; it can be the internal connection of two elements or the interaction relationship between two elements. For technicians in the technical field to which the present application belongs, the specific meanings of the above terms in the embodiments of the present application can be understood according to the specific circumstances.
[0051] See also Figures 1 to 6 The embodiment of the present disclosure provides a payment application method based on micro code, which can be applied in Figure 1 or Figure 6 The payment application system 100. The encryption process of the payment image is the process of generating a micro code from the account ID information data. The encryption process of the present invention uses a first identifier and a second identifier. The first identifier and the second identifier should be clearly distinguishable graphics. Figure 2 As shown, the first identifier and the second identifier can be geometric figures, such as a five-pointed star, a circle, a quadrilateral, a rhombus, a hexagon, etc. And different second identifiers can be distinguished by whether they are filled with colors. Simple geometric figures can reduce the difficulty of recognition and improve the efficiency of recognition. In other disclosed embodiments, they can be other complex figures, text, numbers, Braille dot matrix, etc. The embodiment of the present disclosure is illustrated by an example of a first identifier of one and a second identifier of ten. The following steps are included:
[0052] Step 1: The first terminal obtains the account ID information data, such as the account ID information data including numbers, symbols and letters; the account ID information data is encrypted according to the encryption rules to obtain a decimal digital string. The encryption rules here can be used as long as the decimal digital string can be obtained, such as directly replacing the symbols, Chinese characters and letters with decimal digital strings of the same number of digits. In some disclosed embodiments, the account ID information data can be converted into binary code according to the existing coding rules (ASCII code), and then the binary code can be converted into decimal code. Of course, in order to improve the anti-interference and error correction capabilities, generally after encryption using the encryption rules, a check digit can be set at the end of the encrypted digital string to improve the error correction capability of the string.
[0053] Then proceed to step 2 to sequentially obtain values according to the value-taking rules of the digital string according to the fixed number of digits. The obtained values are used as angle information and distance information in turn and grouped, and each group contains one angle information and one distance information. If the digital string is twelve digits and the fixed number of digits is one, then six groups can be obtained, each containing one digit of angle information and one digit of distance information. If it cannot be divided evenly, it is supplemented with 0 to form a group. Then in step 3, place the preset first identifier at the center of the blank image; if Figure 3 Generally, the blank image is of a fixed size, generally a square image, and in some disclosed embodiments, it may also be a circular image. Then, the first identifier is placed in the middle of the image.
[0054] Then, step 4 is entered to sequentially obtain the second identifiers of the preset second identifier information set according to the number of groups of angle information and distance information, and each second identifier is assigned a group of angle information and distance information. For example, the identifiers are obtained in the order of the second identifiers, and the distance information is used as the distance information between the second identifier and the first identifier to place the second identifier on the blank image, and the angle information is used as the angle information between the second identifier and the next second identifier and used for the placement operation of the next second identifier position, until all the second identifiers taken are placed on the blank image. For example, the first figure in the second identifier is a solid circle, and the corresponding distance number is 5 and the angle number is 7. The actual distance information on the image is determined according to the actual situation, and the minimum actual spacing that can be identified is used as 1 unit spacing (such as 10px), and then the distance number is multiplied by how much (such as 5 is 50px). Then the center of the solid circle is placed at a position 50px away from the center of the first identifier. Of course, 0 is special. In order to avoid covering the first identifier, 0 can be used as 10 for encryption and decryption. And the angle is also based on the minimum angle that can be actually identified as 1 unit (such as 5°). Then, the actual angle is obtained by multiplying the minimum angle by the actual angle number. These two minimum units are pre-stored during the encryption and decryption processes, and both the encryption and decryption parties must remain consistent. The angle is the angle between the line connecting the two second identifiers and the first identifier. Of course, the first second identifier should have an initial placement position, such as being placed directly above. Then, when the angle is set, there is a set direction, such as clockwise or counterclockwise. This direction can be pre-set on the devices of both the encryption and decryption parties. In this way, after the second identification code is placed according to the distances and angles of all groups, step 5 is entered. After the second identifier is placed, the images of the first identifier and the second identifier are used as payment application images. This completes the encryption process from the string to the micro code. In a disclosed embodiment, the generated simple micro code is as follows Figure 3As shown. Such a micro code has many gaps in the middle, and even when the gap area of the micro code is stained, it can still be decoded as usual. However, the existing two-dimensional code is only stained inside, and since the inside is all data area, it will have a great impact on data recognition. The present application has improved anti-staining ability compared to the two-dimensional code.
[0055] The first terminal can send a payment application image to the second terminal for identification. Specifically, during identification, the micro code is decoded, including the following steps: Step 11 obtains input image data; Figure 3 The micro code image. Then step 12 identifies the first identifier in the image data according to the preset first identifier information and identifies the position of the first identifier as the center point position (the center position of the first identifier). And step 13 identifies multiple second identifiers in the image data according to the preset second identifier information set, that is, first identify which are the second identifiers, and identify the multiple coordinate values of the multiple second identifiers relative to the center point position; that is, identify the position of the second identifier on the image. Then enter step 14, according to the multiple coordinate values and the center point position, calculate the distance between each of the multiple second identifiers and the origin and connect them, calculate the angle between adjacent lines, and arrange them in order after rounding the distance and angle to obtain a sequence value, and use a preset decoding algorithm according to the sequence value to obtain the decoded value. The rounding here means: an integer is obtained after rounding the actual distance divided by the preset unit distance, an integer is obtained after rounding the actual angle divided by the preset unit angle, and then the numbers are arranged according to the first second identifier (here it can be the first second identifier in the second identifier set, such as the solid circle in the attached figure) and the preset order direction (such as clockwise) to obtain a sequence value, and the decoded account ID information can be obtained by using the pre-stored sequence value decoding rule. The decoding algorithm here is the reverse rule of the above decimal number encryption rule. In this way, a string can be obtained. Then, actual application can be performed based on the string. Here, the final digital sequence is obtained by the decoding algorithm. The string can have more types, not just numbers, which can be convenient for actual use. Finally, the second terminal sends the account ID information to the payment settlement system for payment settlement. In this way, the payment settlement system can perform payment transactions based on the account ID information and the information of the second terminal.
[0056] The present invention does not limit the specific form of the first terminal and the second terminal, as long as they are electronic devices that can implement the above method steps. For example, it can be a handheld terminal, such as a mobile phone, which can realize mobile payment of micro codes, which is convenient for carrying payment. Then, when scanning the code, the second terminal obtains the image data of the payment application displayed on the first terminal through an image acquisition device, and the image acquisition device can be a camera.
[0057] Furthermore, the first terminal is a payment terminal, the second terminal is a payment terminal, and the second terminal sends the account ID information to the payment settlement system for payment settlement, which further includes the step of: the second terminal sends the payment amount to the payment settlement system. That is, in this embodiment, the first terminal can pay the second terminal, the first terminal can be a user's mobile phone, and the second terminal can be a cashier terminal. After the user's mobile phone presents the micro code, the cashier terminal will scan the code to obtain the account ID information of the user's mobile phone, as well as the user's consumption amount and the cashier terminal information, and transmit them to the payment settlement system. The payment settlement system can then transfer the consumption amount of the user's account to the cashier terminal to complete the payment transaction.
[0058] In order to avoid the risk of large-value transactions, the payment settlement system determines whether the amount of the payment is greater than a preset value. If it is greater than the preset value, a password verification is sent to the first terminal. This preset value can be a system default preset value, such as 1,000 yuan, or in some embodiments, the preset value is a set value set by the first terminal in the payment settlement system, which can be set by the user. The user's setting shall prevail. If the consumption amount is greater than the amount, a password needs to be entered for verification. The transaction can only be realized after the verification is passed.
[0059] In some embodiments, the first terminal can be swapped with the second terminal, that is, the first terminal is a payment terminal, the second terminal is a payment terminal, and the second terminal sends the account ID information to the payment settlement system for payment settlement, which further includes the step of: the second terminal sends the payment amount to the payment settlement system. That is, the second terminal can input the amount to be paid to the first terminal, and then the payment settlement system can complete the payment settlement.
[0060] In some embodiments, the transaction amount can be included in the micro code, so that the payment transaction process can be completed quickly. Furthermore, the first terminal obtains the account ID information data and also includes the steps: the first terminal obtains the account ID information data and the transaction amount; the encryption of the account ID information data according to the encryption rules includes the steps: the account ID information data and the transaction amount are encrypted according to the encryption rules; the decoded account ID information includes: the decoded account ID information and the transaction amount are obtained; the second terminal sends the account ID information to the payment settlement system for payment settlement, including the steps: the second terminal sends the account ID information and the transaction amount to the payment settlement system for payment settlement. In this way, when the code scanning is completed, the transaction amount is determined, and both parties can confirm the amount before payment, avoiding the problem of needing to re-pay if the amount is wrong during direct payment.
[0061] The payment settlement system in the above embodiment may be a payment settlement system such as Alipay, WeChat or UnionPay.
[0062] For specific micro codes, in order to further improve the anti-fouling recognition ability, such as Figure 4 As shown in FIG. 1 , the generated microscopic code images can also be arrayed on the image to form a code image having multiple microscopic codes. Figure 4 As shown, it is an image after four arrays, so that only one image can be identified without being stained. At this time, when identifying, it is necessary to avoid the influence of the second identifier of other microscopic codes on the identifier to be identified. Then the identification and decryption is, further, when there are multiple first identifiers identified, the identification area is delineated according to the average value of the distance between two adjacent identifiers, the second identifier is identified in the identification area, and the sequence value operation is performed according to the second identifier identified in one identification area. In this way, the identification area is cut out, and then identification is performed only in the identification area, thereby avoiding the influence of the second identifier of another first identifier on the current first identifier.
[0063] In some disclosed embodiments, if different micro codes all have small missing parts, then the parts of multiple micro codes can be combined to complete a micro code. When decrypting, it also includes a step of sequentially comparing the second identifiers in different identification areas. If the second identifiers at the same position in different identification areas are missing, the missing second identifiers are supplemented to the missing area according to the identification area with the second identifier. In this way, a higher decryption capability of the damaged micro code is achieved.
[0064] In some disclosed embodiments, in the case of changing the micro code, in order to further increase the data storage capacity of the micro code, a serial number is introduced into the second identifier, and the serial number is used as part of the encryption. Further, the second identifier has a serial number, and the obtained value is used as the angle information and the distance information in turn and the grouping includes the steps of: the obtained value is used as the angle information, the distance information and the second identifier serial number information in turn and the grouping. Then the second identifier of the preset second identifier information set is taken in turn according to the number of groups of the angle information and the distance information, and the second identifier serial number information is taken in turn according to the second identifier serial number information. That is, when the decimal string is grouped, the grouping digit is increased by one, and the increased digit is used to obtain the corresponding second identifier. If the original is twelve digits, the distance and angle of one digit are taken respectively, and divided into six groups. After the serial number is added, each group takes the distance, angle and serial number of one digit respectively, and only needs to be divided into four groups. The serial number can be the first or last digit in each group. If the serial number in the first group is 5, the corresponding digit of the second identifier is the fifth digit, which is a double-pole image. The double-pole image is placed as the first second identifier image. In this way, the information storage capacity is increased through the sequence number of the second identifier, and more information storage is achieved.
[0065] When decrypting at this time, further, the second identifier information set includes a serial number corresponding to the second identifier, and when identifying the second identifier, it also includes identifying the serial number of the second identifier. According to the second identifier serial number; the distance and the angle are rounded and arranged in order to obtain a sequence value, including the steps of: arranging the distance, the second identifier serial number and the angle in order to obtain a sequence value. Since the direction has been determined, and then the second identifier is used for the serial number, it is necessary to locate which is the first second identifier, which can be achieved by marking the first second identifier. For example, a straight line is connected between the first second identifier and the first identifier, so that it can be known which is the first second identifier. When decrypting, the second identifier connected with the first identifier is identified as the first identifier. Or a small marking pattern is set next to the first second identifier, which can realize the marking of the first second identifier, or if the amount of data is small, the number of second identifiers is small, and there is a large blank between the first and last second identifiers, and the blank and the direction of decryption (clockwise or counterclockwise) can also determine which is the first second identifier.
[0066] When determining the distance of the present invention, since the image may be enlarged or reduced, the actual distance can be confirmed by determining the size of the first identifier, such as directly determining it as a multiple of the size of the first identifier, and the size of the first identifier can be the diameter of the circle where the outer periphery of the first identifier is located. That is, the distance between the second identifier and the first identifier is measured, and then the value of the distance is calculated according to the first identifier, and rounding is performed when rounding. In some disclosed embodiments, a third identifier can also be added, and the third identifier is different from the first identifier and the second identifier. Further, two identical third identifiers are taken, and the unit spacing values of the two images are set as part of the image, and the two third identifiers are placed at a specific position (such as the upper right corner) in the corner of the blank image. The third identification code has two functions, one is to determine the unit distance (the center spacing of the two third identifiers is used as the unit distance), and the other is to determine the center position of the image in reverse, that is, the position of the first identification code. When the first identification code is damaged, the position is identified by the third identifier, and then the position of the first identifier can be obtained according to the preset position relationship of the third identifier in the image. Furthermore, during decryption, if the first identifier is not recognized, two third identifiers in the image data are directly recognized based on the preset third identifier, and the center point position of the first identifier is determined based on the positions of the two preset third identifiers in the image. Of course, when the image range is large, multiple center point positions of the first identifiers may be recognized, and the center point position placed in the middle of multiple second identifiers can be selected. In this way, through the internal first identifier and the external third identifier, double insurance recognition of the center point position can be achieved, thereby improving the anti-fouling capability.
[0067] The schematic diagram of the present invention uses a relatively large graphic for illustration. In fact, the existing graphic recognition ability is very strong and can recognize very small graphics, so the graphics can be made very small. In some disclosed embodiments, in the case of a large amount of data, the present invention can be further provided that after the first identifier is placed in a full circle (that is, the angles that have been placed are close to 360 degrees, and if placed again, it will be greater than 360 degrees), the remaining second identifiers are placed with the distance information plus the maximum distance of the first circle as the actual distance (for example, if the maximum distance of the first circle is 10, then the distance value of the second circle is 4, and the actual distance between the second identifier of the second circle and the first identifier is 14) and the first identifier is used as the angle origin (the angle is still the angle of the connecting line of two adjacent second identifiers with the first identifier as the origin), and are placed in sequence according to the order of placement (the same clockwise or counterclockwise order as the second identifier of the first circle), and the remaining second identifiers are placed to the periphery of the first identifiers that have been placed, such as Figure 5As shown. If the second circle is full, it can be extended to the third and fourth circles. The position of the first second identifier in the second circle is determined according to the angle between the last second identifier in the first circle. In this way, more information can be encrypted. During decryption, the circle number of the second identifier is determined according to the distance between the second identifier and the origin and the distance between the second identifiers in each circle (such as 1-10 for the first circle and 11-20 for the second circle), and the sequence value is obtained by arranging them in order according to the circle number. For example, the sequence value of each circle can be calculated, and then the sequence value of each circle obtained by combining them from the outer circle to the inner circle can be obtained to obtain the final sequence value.
[0068] The present invention provides a payment application system based on a micro code, including a memory and a processor, wherein a computer program is stored on the memory, and when the computer program is executed by the processor, the steps of the method described in any one of the embodiments disclosed in the present invention are implemented. The encryption system of the present invention realizes the encryption of data to a micro code, and since the micro code has many gaps in the middle, even when the gap area of the micro code is stained, it can be decoded as usual. However, the existing two-dimensional code is only stained inside, and since the inside is all data area, it will have a great impact on data recognition. The present application has improved anti-staining ability compared to the two-dimensional code.
[0069] The present invention provides a payment application system based on a microcode, comprising a memory and a processor, wherein a computer program is stored on the memory, and when the computer program is executed by the processor, the steps of the method described in any one of the embodiments of the present invention are implemented. The system generates a microcode with a first identifier and a second identifier as a payment application, thereby avoiding the use of a two-dimensional code for payment settlement, avoiding the leakage of two-dimensional code information, and improving security.
[0070] The present invention can be applied to a cash register system when it is used. That is, further, the payment application system is a cash register system, specifically, a cash register system of a shopping mall or supermarket, etc., and the security is improved by the cash register system of the micro code.
[0071] It should be noted that, although the above embodiments have been described in this article, the patent protection scope of the present invention is not limited thereby. Therefore, based on the innovative concept of the present invention, changes and modifications made to the embodiments described herein, or equivalent structures or equivalent process changes made using the contents of the present invention specification and drawings, directly or indirectly applying the above technical solutions to other related technical fields, are all included in the patent protection scope of the present invention.
Claims
1. A payment application method based on microcode, It is characterized in that The steps include: The first terminal obtains account ID information data; Encrypt the account ID information data according to the encryption rules to obtain a decimal digital string; According to the value selection rule of the digital character string with fixed digits, the values are sequentially obtained, and the obtained values are sequentially used as angle information and distance information and grouped, each group containing an angle information and a distance information; Placing a preset first identifier at a central position on the blank image; sequentially taking second identifiers of a preset second identifier information set according to the number of groups of angle information and distance information, and assigning a group of angle information and distance information to each second identifier, placing the second identifier on a blank image using the distance information as the distance information between the second identifier and the first identifier, and using the angle information as the angle information between the second identifier and the next second identifier and used for the placement operation of the next second identifier position, until all the taken second identifiers are placed on the blank image; After the second identifier is placed, the images of the first identifier and the second identifier are used as payment application images; The second terminal obtains image data of the payment application; Identify a first identifier in the image data according to preset first identifier information and identify the position of the first identifier as a center point position; Identifying a plurality of second identifiers in the image data according to a preset second identifier information set, and identifying a plurality of coordinate values of the plurality of second identifiers relative to the center point position; According to the multiple coordinate values and the center point position, the distances between the multiple second identifiers and the origin are calculated and connected, the angles between adjacent connecting lines are calculated, the distances and angles are rounded and arranged in order to obtain a sequence value, and a preset decoding algorithm is used according to the sequence value to obtain decoded account ID information; The second terminal sends the account ID information to the payment settlement system for payment settlement.
2. A payment application method based on microcode according to claim 1, Features: The first terminal is a payment terminal, the second terminal is a payment terminal, and the second terminal sends the account ID information to the payment settlement system for payment settlement, which further includes the steps of: The second terminal sends the received amount to the payment settlement system.
3. A payment application method based on microcode according to claim 2, Features: The payment settlement system determines whether the received amount is greater than a preset value, and if so, sends a password verification to the first terminal.
4. A payment application method based on microcode according to claim 3, Features: The preset value is a setting value set by the first terminal in the payment settlement system.
5. A payment application method based on microcode according to claim 1, It is characterized in that The first terminal obtaining the account ID information data further comprises the steps of: The first terminal obtains account ID information data and transaction amount; The encryption of the account ID information data according to the encryption rule includes the following steps: Encrypt account ID information data and transaction amount according to encryption rules; The decoded account ID information includes: the decoded account ID information and the transaction amount; The second terminal sends the account ID information to the payment settlement system for payment settlement, including the following steps: The second terminal sends the account ID information and transaction amount to the payment settlement system for payment settlement.
6. A payment application method based on microcode according to claim 1, It is characterized in that The first terminal is a payment terminal, the second terminal is a payment terminal, and the second terminal sends the account ID information to the payment settlement system for payment settlement, which further includes the steps of: The second terminal sends the payment amount to the payment settlement system.
7. A payment application method based on microcode according to claim 1, It is characterized in that The second terminal obtains the image data of the payment application including the steps of: The second terminal obtains the image data of the payment application displayed by the first terminal through the image acquisition device.
8. A payment application method based on microcode according to claim 1, It is characterized in that The first terminal or the second terminal is a handheld terminal.
9. A payment application system based on microcode, Features: The method comprises a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the steps of the method according to any one of claims 1 to 8 are implemented.
10. A payment application system based on microcode according to claim 9, It is characterized in that The payment application system is a cash register system.
