Processing method, processing system and processing device for outsourced financial business
Through the combined encryption method of quantum random number and initial key, combined with the verification process of the target terminal, target server and encryption service platform, the problem of low data transmission security in financial institutions' outbound services is solved, and the security of peripheral devices is achieved Improvements in sex and key management.
Patent Information
- Application Number
- CN202310293046.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-23
- Publication Date
- 2024-12-03
- Estimated Expiration
- 2043-03-23
AI Technical Summary
Financial institutions face low security in data transmission during the outbound business, including improper management of target terminal keys, the risk of theft of keys in the device, insufficient encryption strength, and illegal use of peripheral devices that are difficult to prevent.
The combined encryption method of quantum random number and initial key is adopted to ensure the secure transmission of data packets through the verification process between the target terminal, the target server and the encryption service platform, and the encryption processing and verification are used on peripheral devices.
It improves the data transmission security of expatriated financial services, ensures the legality of peripheral devices and the security of keys, reduces management costs, and enhances the business security of financial institutions.
Smart Images

Figure CN116318673B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of financial technology, and more specifically, to a method, system and device for processing outsourced financial services. Background Art
[0002] With the continuous development of the business of financial institutions, there are more and more scenarios where financial institution business personnel go to customers' homes to handle business. How to ensure the security of the business during the dispatched business and prevent various internal and external risks in the process of handling business, such as communication transmission being intercepted and broken, criminals colluding with each other to steal customer assets, etc., are issues that financial institutions need to strictly guard against in the process of door-to-door service. In the process of handling overseas business, since it is not in the business area of the financial institution, only the public network can be used to transmit business data. Therefore, how to ensure the security of data during the transmission process is a very important issue. At present, most financial institutions install keys in the target terminal carried by the dispatched personnel to handle business and encrypt the transmitted data. However, since the target terminal is used off-site, the management and security of the relevant keys are issues that all financial institutions need to pay close attention to. Once the target terminal key is not replaced in time or even leaked and cracked, it will bring major security risks;
[0003] At present, the way financial institutions solve this problem is to directly install keys on the target terminal and encrypt the transmission of important transaction data (including hardware encryption and software encryption), but there are the following problems:
[0004] 1. Usually, the target terminal of a financial institution is also used as a business handling machine by the staff within the bank. Therefore, this type of machine is in the hands of the business personnel of the financial institution for a long time. Therefore, there is a certain risk to the security of the key in the device and there is a risk of theft.
[0005] 2. Since the target terminal key is installed in the target terminal, from a security perspective, the key should be replaced frequently. Since the target terminal is usually used on the public network, it is not safe to transmit the replaced key on the public network. Therefore, we can only arrange for a dedicated person to install the key on the terminal in the bank before each dispatch, and then hand it over to the relevant financial institution staff for use. This will undoubtedly increase the management cost of the financial institution.
[0006] 3. Current communication key encryption usually combines some other data to participate in encryption operations when encrypting data to increase the reliability of encryption, such as timestamps, random numbers, etc. However, the random numbers generated by the random number generation mechanism currently used are all generated by software companies such as JDK. They are all weak pseudo-random numbers or strong pseudo-random numbers, and there is a risk of being predicted or repeatedly generated, which leads to the risk of insufficient data encryption strength.
[0007] 4. The dedicated peripherals on the target terminal are prone to illegal use and difficult to prevent.
[0008] With regard to the problem of relatively low security of outbound business handled by target terminals of financial institutions in related technologies, no effective solution has been proposed yet. Summary of the invention
[0009] The main purpose of the present application is to provide a method, system and device for processing outbound financial services, so as to solve the problem of low security of the target terminal of a financial institution in handling outbound services in the related art.
[0010] In order to achieve the above-mentioned purpose, according to one aspect of the present application, a method for processing an outsourced financial business is provided. The method includes: the processing method is applied to a processing system for outsourced financial business, and the processing system for outsourced financial business at least includes: a target terminal, a target server and an encryption service platform, including: sending a first data packet to the target server through the target terminal, wherein the first data packet at least includes: a serial number of a first quantum random number and a sign-in request, the first data packet is obtained by encrypting an initial key and the first quantum random number, and the target terminal stores a plurality of quantum random numbers and an initial key, and the first quantum random number is any one of the plurality of quantum random numbers; verifying the first data packet through the target server and the encryption service platform to obtain a first verification result, and indicating verification in the first verification result If the verification is successful, a second data packet is sent to the target terminal through the target server, wherein the second data packet at least includes: first flag information, a sequence number of a second quantum random number and a sequence number of a first preset number of quantum random numbers, wherein the encryption service platform stores a plurality of quantum random numbers identical to the target terminal, the second quantum random number is any one of the plurality of quantum random numbers, and the first preset number of quantum random numbers is a quantum random number among the plurality of quantum random numbers; the second data packet is verified through the target terminal to obtain a second verification result; if the second verification result indicates that the verification is successful, the peripheral device of the target terminal is turned on, and the outsourced financial business is performed through the peripheral device.
[0011] Furthermore, the processing system for outsourced financial services also includes: a quantum random number generator and a target management terminal. Before sending the first data packet to the target server through the target terminal, the method also includes: generating multiple quantum random numbers through the quantum random number generator, assigning a serial number to each quantum random number, and storing the multiple quantum random numbers and the serial number of each quantum random number in the encryption service platform; generating the initial key through the encryption service platform, and sending it to the target management terminal; connecting the target management terminal to the target interface of the target terminal, and transmitting the multiple quantum random numbers, the serial number of each quantum random number and the initial key to the target terminal through the target interface.
[0012] Furthermore, before sending the first data packet to the target server through the target terminal, the method also includes: randomly selecting a quantum random number from the multiple quantum random numbers through the target terminal to obtain the first quantum random number and the serial number of the first quantum random number; the target terminal performs an encryption operation on the serial number of the first quantum random number and the sign-in request based on the first quantum random number and the initial key to obtain the first data packet.
[0013] Further, the first data packet is verified by the target server and the encryption service platform to obtain a first verification result, including: the target server calls the initial key to decrypt the first data packet to obtain the first quantum random number, the serial number of the first quantum random number and the sign-in request; the target server obtains the corresponding quantum random number from the encryption service platform according to the serial number of the first quantum random number to obtain a third quantum random number; the third quantum random number, the first quantum random number and the sign-in request are verified by the target server to obtain the first verification result.
[0014] Furthermore, after sending the second data packet to the target terminal through the target server, the method also includes: sending the serial number of the first preset number of quantum random numbers to the encryption service platform through the target server; performing calculations based on the first preset number of quantum random numbers through the encryption service platform to obtain a first key, wherein the first key is used to decrypt target data information, and the target data information is data information generated when executing the outsourced financial business.
[0015] Further, verifying the second data packet by the target terminal to obtain a second verification result includes: decrypting the second data packet by the target terminal based on the initial key to obtain the first flag information, the serial number of the second quantum random number, and the serial number of the first preset number of quantum random numbers; verifying the first flag information and the second quantum random number by the target terminal to obtain the second verification result.
[0016] Furthermore, after verifying the second data packet through the target terminal and obtaining a second verification result, the method also includes: if the second verification result is verification passed, performing calculations based on the first preset number of quantum random numbers through the target terminal to obtain a second key, wherein the second key is used to encrypt the target data information, and the target data information is data information generated when executing the outsourced financial business; encrypting the first flag information based on the second key through the target terminal, and sending the encrypted first flag information to the target server.
[0017] Furthermore, after sending the encrypted first flag information to the target server, the method also includes: calling the first key in the encryption service platform through the target server to decrypt and verify the encrypted first flag information; if the verification of the first flag information is successful, it indicates that the first key is effective.
[0018] Furthermore, executing the outsourced financial service through the peripheral device includes: encrypting the target data information based on the second key and the fourth quantum random number through the target terminal to obtain the encrypted target data information, and sending the encrypted target data information to the target server; decrypting and verifying the encrypted target data information by calling the first key of the encryption service platform through the target server to obtain a third verification result, and feeding back the third verification result to the target terminal, wherein the target terminal determines whether the outsourced financial service is successfully executed through the third verification result.
[0019] Further, after the external financial service is executed through the external financial device, the method further includes: sending a third data packet to the target server through the target terminal, wherein the third data packet at least includes: the serial number of the fifth quantum random number and a key replacement request, and the third data packet is encrypted by the second key and the fifth quantum random number; verifying the third data packet through the target server and the encryption service platform to obtain a fourth verification result, and when the fourth verification result indicates that the verification is passed, sending a fourth data packet to the target terminal through the target server, wherein the fourth data packet at least includes: second flag information, the serial number of the sixth quantum random number and the serial number of the second preset number of quantum random numbers; and sending the second preset number of quantum random numbers to the target terminal through the target server. The target terminal verifies the fourth data packet to obtain a fifth verification result, and when the fifth verification result indicates that the verification is passed, the target terminal performs a calculation based on the second preset number of quantum random numbers to obtain a fourth key; the target terminal encrypts the second flag information based on the fourth key, and sends the encrypted second flag information to the target server; the target server calls the third key in the encryption service platform to decrypt and verify the encrypted second flag information, and if the verification of the second flag information is passed, it indicates that the key replacement is successful.
[0020] Further, after the outsourced financial business is executed through the peripheral device, the method further includes: sending a fifth data packet to the target terminal through the target server, wherein the fifth data packet at least includes: a key replacement request, a serial number of a sixth quantum random number and a serial number of a third preset number of quantum random numbers, and the fifth data packet is obtained by performing an encryption operation on the first key and the sixth quantum random number; verifying the fifth data packet through the target terminal to obtain a sixth verification result, and when the sixth verification result is a verification pass, performing a calculation based on the third preset number of quantum random numbers through the target terminal to obtain a fifth key; encrypting the key replacement request based on the fifth key through the target terminal, and sending the encrypted key replacement request to the target server; sending the serial number of the third preset number of quantum random numbers to the encryption service platform through the target server, and performing an operation based on the third preset number of quantum random numbers through the encryption service platform to obtain a sixth key; decrypting and verifying the encrypted key replacement request through the target server by calling the sixth key, and if the key replacement request is verified, it indicates that the key replacement is successful.
[0021] In order to achieve the above-mentioned purpose, according to another aspect of the present application, a processing system for outsourced financial services is provided. The system includes: a quantum random number generator for generating multiple quantum random numbers; a target management terminal for sending the multiple quantum random numbers to a target terminal; an encryption service platform for generating a key and encrypting data generated by executing outsourced financial services according to the key; a target server for verifying the target terminal; and a target terminal for executing the outsourced financial services.
[0022] Furthermore, the target terminal includes: a mobile device for executing outsourced financial services; a peripheral device, wherein the peripheral device includes at least: a wireless network card, a security chip and multiple peripheral devices, the wireless network card is used to transmit data generated when executing the outsourced financial services, the security chip is used to generate a key and encrypt the data generated when executing the outsourced financial services based on the key, and the multiple peripheral devices are used to assist the mobile device in executing the outsourced financial services.
[0023] Furthermore, the peripheral device also includes: a target interface, wherein the target interface is used to receive the multiple quantum random numbers.
[0024] In order to achieve the above-mentioned purpose, according to another aspect of the present application, a processing device for outsourced financial services is provided. The device includes: a first sending unit, used to send a first data packet to a target server through a target terminal, wherein the first data packet at least includes: a serial number of a first quantum random number and a sign-in request, the first data packet is encrypted by an initial key and the first quantum random number, the target terminal stores a plurality of quantum random numbers and an initial key, and the first quantum random number is any one of the plurality of quantum random numbers; a first verification unit, used to verify the first data packet through a target server and an encryption service platform, obtain a first verification result, and send a second data packet to the target terminal through the target server when the first verification result indicates that the verification is passed, wherein , the second data packet at least includes: first flag information, a sequence number of a second quantum random number and a sequence number of a first preset number of quantum random numbers, wherein the encryption service platform stores a plurality of quantum random numbers identical to the target terminal, the second quantum random number is any one of the plurality of quantum random numbers, and the first preset number of quantum random numbers is a quantum random number among the plurality of quantum random numbers; a second verification unit, used to verify the second data packet through the target terminal to obtain a second verification result; an execution unit, used to enable a peripheral device of the target terminal when the second verification result indicates that the verification is passed, and to execute an outsourced financial service through the peripheral device.
[0025] Furthermore, the device also includes: a second sending unit, used to generate multiple quantum random numbers through the quantum random number generator before sending the first data packet to the target server through the target terminal, assign a serial number to each quantum random number, and store the multiple quantum random numbers and the serial number of each quantum random number in the encryption service platform; a generating unit, used to generate the initial key through the encryption service platform and send it to the target management terminal; a transmitting unit, used to connect the target management terminal with the target interface of the target terminal, and transmit the multiple quantum random numbers, the serial number of each quantum random number and the initial key to the target terminal through the target interface.
[0026] Furthermore, the device also includes: a selection unit, used to randomly select a quantum random number from the multiple quantum random numbers through the target terminal before sending the first data packet to the target server through the target terminal, to obtain the first quantum random number and the serial number of the first quantum random number; a first encryption unit, used for the target terminal to perform an encryption operation on the serial number of the first quantum random number and the sign-in request based on the first quantum random number and the initial key to obtain the first data packet.
[0027] Furthermore, the first verification unit includes: a first decryption module, used for the target server to call the initial key to decrypt the first data packet to obtain the first quantum random number, the serial number of the first quantum random number and the sign-in request; an acquisition module, used for the target server to obtain the corresponding quantum random number from the encryption service platform according to the serial number of the first quantum random number to obtain a third quantum random number; a first verification module, used to verify the third quantum random number, the first quantum random number and the sign-in request through the target server to obtain the first verification result.
[0028] Furthermore, the device also includes: a third sending unit, used to send the serial number of the first preset number of quantum random numbers to the encryption service platform through the target server after sending the second data packet to the target terminal through the target server; a first calculation unit, used to perform calculations based on the first preset number of quantum random numbers through the encryption service platform to obtain a first key, wherein the first key is used to decrypt target data information, and the target data information is data information generated when executing the outsourced financial business.
[0029] Furthermore, the second verification unit includes: a second decryption module, used to decrypt the second data packet based on the initial key through the target terminal to obtain the first flag information, the serial number of the second quantum random number and the serial number of the first preset number of quantum random numbers; a second verification module, used to verify the first flag information and the second quantum random number through the target terminal to obtain the second verification result.
[0030] Furthermore, the device also includes: a second computing unit, used to verify the second data packet through the target terminal and obtain a second verification result. If the second verification result is verification passed, the target terminal performs a calculation based on the first preset number of quantum random numbers to obtain a second key, wherein the second key is used to encrypt the target data information, and the target data information is data information generated when executing the outsourced financial business; a second encryption unit, used to encrypt the first flag information based on the second key through the target terminal, and send the encrypted first flag information to the target server.
[0031] Furthermore, the device also includes: a decryption unit, which is used to decrypt and verify the encrypted first flag information by calling the first key in the encryption service platform through the target server after sending the encrypted first flag information to the target server; and a determination unit, which is used to indicate that the first key is effective if the verification of the first flag information is successful.
[0032] Furthermore, the execution unit includes: an encryption module, used to encrypt the target data information based on the second key and the fourth quantum random number through the target terminal to obtain the encrypted target data information, and send the encrypted target data information to the target server; a third verification module, used to decrypt and verify the encrypted target data information by calling the first key of the encryption service platform through the target server to obtain a third verification result, and feed back the third verification result to the target terminal, wherein the target terminal determines whether the dispatched financial business is successfully executed through the third verification result.
[0033] Further, the apparatus further comprises: a fourth sending unit, for sending a third data packet to the target server through the target terminal after executing the outsourced financial service through the peripheral device, wherein the third data packet at least comprises: the serial number of the fifth quantum random number and a key replacement request, and the third data packet is obtained by encrypting the second key and the fifth quantum random number; a third verification unit, for verifying the third data packet through the target server and the encryption service platform to obtain a fourth verification result, and when the fourth verification result indicates that the verification is passed, sending a fourth data packet to the target terminal through the target server, wherein the fourth data packet at least comprises: second flag information, the serial number of the sixth quantum random number and the serial number of the second preset number of quantum random numbers; a fifth sending unit, for transmitting the second preset number of quantum random numbers to the target terminal through the target server a fourth verification unit, for verifying the fourth data packet through the target terminal to obtain a fifth verification result, and when the fifth verification result indicates that the verification is passed, performing calculations based on the second preset number of quantum random numbers through the target terminal to obtain a fourth key; a third encryption unit, for encrypting the second flag information based on the fourth key through the target terminal, and sending the encrypted second flag information to the target server; a fifth verification unit, for decrypting and verifying the encrypted second flag information by calling the third key in the encryption service platform through the target server, and if the verification of the second flag information is passed, it indicates that the key replacement is successful.
[0034] Furthermore, the apparatus further comprises: a sixth sending unit, configured to send a fifth data packet to the target terminal through the target server after executing the outsourced financial service through the peripheral device, wherein the fifth data packet at least comprises: a key replacement request, a serial number of a sixth quantum random number, and a serial number of a third preset number of quantum random numbers, and the fifth data packet is obtained by performing an encryption operation on the first key and the sixth quantum random number; a sixth verification unit, configured to verify the fifth data packet through the target terminal to obtain a sixth verification result, and if the sixth verification result is a verification pass, perform an encryption operation on the fifth data packet based on the third preset number of quantum random numbers through the target terminal. The method comprises the steps of: performing calculations to obtain a fifth key; a fourth encryption unit, configured to encrypt the key replacement request based on the fifth key through the target terminal, and sending the encrypted key replacement request to the target server; a seventh sending unit, configured to send the serial number of the third preset number of quantum random numbers to the encryption service platform through the target server, and performing calculations based on the third preset number of quantum random numbers through the encryption service platform to obtain a sixth key; and a seventh verification unit, configured to decrypt and verify the encrypted key replacement request by calling the sixth key through the target server. If the key replacement request is verified to be successful, it indicates that the key replacement is successful.
[0035] In order to achieve the above-mentioned purpose, according to another aspect of the present application, a computer-readable storage medium is further provided, wherein the storage medium stores a program, wherein when the program is running, the device where the storage medium is located is controlled to execute any one of the above-mentioned methods for processing outsourced financial services.
[0036] In order to achieve the above-mentioned purpose, according to one aspect of the present application, an electronic device is provided, the electronic device includes one or more processors and a memory, and the memory is used to store a processing method for the outsourced financial business described in any one of the above-mentioned ones implemented by the one or more processors.
[0037] According to the present application, the following steps are adopted: a first data packet is sent to a target server through a target terminal, wherein the first data packet at least includes: a sequence number of a first quantum random number and a sign-in request, the first data packet is obtained by encrypting an initial key and the first quantum random number, a plurality of quantum random numbers and an initial key are stored in the target terminal, and the first quantum random number is any one of the plurality of quantum random numbers; the first data packet is verified through the target server and an encryption service platform to obtain a first verification result, and when the first verification result indicates that the verification is passed, a second data packet is sent to the target terminal through the target server, wherein the second data packet at least includes: first flag information, a sequence number of a second quantum random number and a sequence number of a first preset number of quantum random numbers, wherein the encryption service platform stores a plurality of quantum random numbers identical to the target terminal, the second quantum random number is any one of the plurality of quantum random numbers, and the first preset number of quantum random numbers are quantum random numbers among the plurality of quantum random numbers; the second data packet is verified through the target terminal to obtain a second verification result; when the second verification result indicates that the verification is passed, the peripheral device of the target terminal is turned on, and the outbound financial business is executed through the peripheral device, thereby solving the problem of low security of the target terminal of a financial institution in handling outbound business in the related art. In this solution, when executing outbound financial services through the target terminal, the target terminal encrypts the serial number of the first quantum random number and the sign-in request through the initial key and the first quantum random number to obtain a first data packet. The target terminal uses the first data packet to sign in and verify with the target server. The quantum random number is a true random number, which can effectively improve the security of the first data packet. After the target server verifies the first data packet, the target server sends a second data packet to the target terminal to confirm the legitimacy of the target terminal again, and only after the target terminal verifies the second data packet, the target terminal's peripheral device is turned on, which also ensures the security of the target terminal's peripheral device, thereby achieving the effect of improving the security of the financial institution's target terminal in handling outbound services. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] The drawings constituting a part of the present application are used to provide a further understanding of the present application. The illustrative embodiments and descriptions of the present application are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0039] Figure 1 is a flow chart of a method for processing outbound financial services provided in accordance with an embodiment of the present application;
[0040] Figure 2 is a flowchart of an optional method for processing an outsourced financial service provided according to an embodiment of the present application;
[0041] Figure 3 is a schematic diagram of a processing system for outsourced financial services provided according to an embodiment of the present application;
[0042] Figure 4 It is a schematic diagram of executing financial business according to the processing system of dispatched financial business provided in the embodiment of the present application;
[0043] Figure 5 is a schematic diagram of a target terminal provided according to an embodiment of the present application;
[0044] Figure 6 is a schematic diagram of a peripheral device of a target terminal provided according to an embodiment of the present application;
[0045] Figure 7 is a schematic diagram of a TYPR-C adapter of a target terminal provided according to an embodiment of the present application;
[0046] Figure 8 is a schematic diagram of a processing device for outsourced financial services provided according to an embodiment of the present application;
[0047] Fig. 9 is a schematic diagram of an electronic device provided according to an embodiment of the present application. DETAILED DESCRIPTION
[0048] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0049] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.
[0050] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present application described here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0051] It should be noted that the relevant information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for display, data for analysis, etc.) involved in this disclosure are all information and data authorized by the user or fully authorized by all parties. For example, an interface is set between this system and the relevant user or organization. Before obtaining relevant information, it is necessary to send an acquisition request to the aforementioned user or organization through the interface, and obtain relevant information after receiving the consent information fed back by the aforementioned user or organization.
[0052] The present invention is described below in conjunction with preferred implementation steps. Figure 1 is a flow chart of a method for processing outbound financial services provided in an embodiment of the present application, such as Figure 1 As shown, the method comprises the following steps:
[0053] Step S101, sending a first data packet to a target server through a target terminal, wherein the first data packet at least includes: a serial number of a first quantum random number and a sign-in request, the first data packet is encrypted by an initial key and the first quantum random number, a plurality of quantum random numbers and initial keys are stored in the target terminal, and the first quantum random number is any one of the plurality of quantum random numbers.
[0054] Specifically, the above-mentioned processing method of the outbound financial business is applied to the processing system of the outbound financial business, and the processing system includes a target terminal, a target server and an encryption service platform. The target terminal is used to execute the outbound financial business, and the target server is used for outbound related business processing and outbound work management. The encryption service platform is used to generate keys, encrypt and decrypt important messages, verify quantum random numbers, etc.
[0055] It should be noted that the target terminal is provided with a wireless network card and a security chip. The target terminal transmits data with the target server via the wireless network card, and the transmitted data is encrypted via the security chip.
[0056] When the target terminal is used for the first time to perform an outsourced financial business, the initial key and quantum random number will be downloaded to the target terminal through a dedicated management terminal. The quantum random number generation and downloading are all performed in the financial institution through the financial institution's dedicated equipment and network, ensuring the security of the initial key and quantum random number. When the financial institution staff comes to the outsourced location to handle business, the main steps are as follows: connect to the target server through the wireless network card in the target terminal to sign in. The target terminal encrypts the serial number of the first quantum random number and the sign-in request through the initial key and the randomly selected first quantum random number to obtain the first data packet, and sends the first data packet to the target server.
[0057] Step S102, verifying the first data packet through the target server and the encryption service platform to obtain a first verification result, and sending a second data packet to the target terminal through the target server when the first verification result indicates that the verification is passed, wherein the second data packet at least includes: first flag information, a sequence number of a second quantum random number, and a sequence number of a first preset number of quantum random numbers, wherein the encryption service platform stores a plurality of quantum random numbers identical to the target terminal, the second quantum random number is any one of the plurality of quantum random numbers, and the first preset number of quantum random numbers is a quantum random number among the plurality of quantum random numbers.
[0058] Specifically, after receiving the first data packet, the target server decrypts and verifies the first data packet by calling the initial key and the quantum random number in the encryption service platform to obtain the above-mentioned first verification result, and when the first verification result indicates that the verification is passed, the target server sends a second data packet to the target terminal. The second data packet includes at least: the first flag information, the serial number of the second quantum random number, and the serial number of the first preset number of quantum random numbers, and the first flag information can be the sign information of successful sign-in. The target server will also use a random second quantum random number and the initial key to encrypt the first flag information, the serial number of the second quantum random number, and the serial number of the first preset number of quantum random numbers to obtain the second data packet.
[0059] It should be noted that the first preset number can be set according to actual needs, for example, set to 10.
[0060] It should be noted that the encryption service platform stores multiple quantum random numbers that are the same as the target terminal. When multiple quantum random numbers are input for the target terminal, these quantum random numbers will be synchronously stored in the encryption service platform.
[0061] Step S103: verify the second data packet through the target terminal to obtain a second verification result.
[0062] Specifically, after receiving the second data packet, the target terminal again decrypts and verifies the second data packet using the initial key to obtain a second verification result.
[0063] Step S104, when the second verification result indicates that the verification is passed, the peripheral device of the target terminal is turned on, and the outsourced financial service is executed through the peripheral device.
[0064] Specifically, if the second verification result is a verification pass, the peripheral device on the target terminal is enabled through the security chip in the target terminal, and the above-mentioned outsourced financial service is performed through the peripheral device. The peripheral devices on the target terminal include but are not limited to IC card readers, second-generation ID card readers, cameras and other commonly used peripheral devices for outsourced financial services.
[0065] To sum up, when executing outbound financial services through the target terminal, the target terminal encrypts the serial number of the first quantum random number and the sign-in request through the initial key and the first quantum random number to obtain a first data packet. The target terminal uses the first data packet to sign in to the target server for verification. The quantum random number is a true random number, which can effectively improve the security of the first data packet. After the target server verifies the first data packet, the target server sends a second data packet to the target terminal to confirm the legitimacy of the target terminal again, and only after the target terminal verifies the second data packet, the target terminal's peripheral device is turned on, which also ensures the security of the target terminal's peripheral devices, thereby achieving the effect of improving the security of the target terminal of the financial institution in handling outbound services.
[0066] Before sending the first data packet to the target server through the target terminal, the processing method for dispatched financial services provided in the embodiment of the present application also includes the following steps: generating multiple quantum random numbers through a quantum random number generator, assigning a serial number to each quantum random number, and storing the multiple quantum random numbers and the serial number of each quantum random number in an encryption service platform; generating an initial key through the encryption service platform and sending it to the target management terminal; connecting the target management terminal to the target interface of the target terminal, and transmitting the multiple quantum random numbers, the serial number of each quantum random number and the initial key to the target terminal through the target interface.
[0067] Specifically, the above-mentioned processing system for dispatched financial services also includes: a quantum random number generator and a target management terminal. The quantum random number generator is used to generate multiple quantum random numbers, and a serial number is assigned to each quantum random number. Then, the multiple quantum random numbers and the serial number of each quantum random number are stored in the encryption service platform, and the initial key is generated by the encryption service platform and sent to the target management terminal. Then, the target terminal is connected to the target management terminal through the target interface, and the target interface can be a TYPE-C interface. Finally, the target terminal device transmits the multiple quantum random numbers, the serial number of each quantum random number and the initial key to the target terminal.
[0068] The initial key and quantum random number are downloaded through a dedicated target management terminal. The key and quantum random number generation and downloading are all carried out within the financial institution through the financial institution's dedicated equipment and network, ensuring the security of the initial key and quantum random number.
[0069] Before sending the first data packet to the target server through the target terminal, the method for processing outsourced financial services provided in the embodiment of the present application also includes: randomly selecting a quantum random number from a plurality of quantum random numbers through the target terminal to obtain a first quantum random number and a serial number of the first quantum random number; the target terminal performs an encryption operation on the serial number of the first quantum random number and a sign-in request based on the first quantum random number and an initial key to obtain a first data packet.
[0070] Specifically, when an outbound financial service is required, the target terminal randomly selects a quantum random number from the stored multiple quantum random numbers to obtain a first quantum random number and a sequence number of the first quantum random number, and then encrypts the sequence number of the first quantum random number and the sign-in request using the first quantum random number and the initial key to obtain a first data packet. It should be noted that the sign-in request includes sign-in information, such as a teller number and a teller password.
[0071] In summary, the security of data encryption is improved by using quantum random numbers to participate in encryption calculations.
[0072] How to verify the first data packet through the target server and the encryption service platform to obtain the first verification result is crucial. Therefore, in the processing method of the dispatched financial business provided in the embodiment of the present application, the first data packet is verified through the target server and the encryption service platform to obtain the first verification result, including: the target server calls the initial key to decrypt the first data packet to obtain the first quantum random number, the serial number of the first quantum random number and the sign-in request; the target server obtains the corresponding quantum random number from the encryption service platform according to the serial number of the first quantum random number to obtain the third quantum random number; the third quantum random number, the first quantum random number and the sign-in request are verified by the target server to obtain the first verification result.
[0073] Specifically, after receiving the first data packet, the target server calls the initial key stored in the encryption service platform to decrypt the first data packet to obtain the first quantum random number, the sequence number of the first quantum random number and the sign-in request in the first data packet.
[0074] Then, the target server obtains the corresponding quantum random number from the encryption service platform according to the sequence number of the first quantum random number to obtain the third quantum random number, and then compares the third quantum random number with the first quantum random number, and verifies the sign-in information in the sign-in request, such as the teller number and the teller password, to finally obtain the first verification result. If the third quantum random number is the same as the first quantum random number and the sign-in request is also correct, it means that the verification is successful.
[0075] After the verification is passed, the target server sends a data packet of successful check-in (i.e. the first data packet mentioned above) to the target terminal. This data packet contains the following contents:
[0076] (1) Sign-in success mark (i.e. the first mark information mentioned above);
[0077] (2) a serial number of a quantum random number (i.e., the serial number of the second quantum random number mentioned above);
[0078] (3) multiple, for example, 10, serial numbers of quantum random numbers (i.e., the serial numbers of the first preset number of quantum random numbers mentioned above).
[0079] It should be noted that the data packet of the successful sign-in is encrypted with the initial key, and the quantum random number corresponding to the quantum random number sequence number in item (2) is used to participate in the encryption operation.
[0080] In summary, through the above steps, the security of data transmission is improved.
[0081] In order to further improve the security of handling outsourced financial services, it is necessary to update the initial key, specifically including: sending the serial number of a first preset number of quantum random numbers to the encryption service platform through the target server; performing calculations based on the first preset number of quantum random numbers through the encryption service platform to obtain a first key, wherein the first key is used to decrypt target data information, and the target data information is data information generated when executing outsourced financial services.
[0082] Specifically, after the target server sends the second data packet to the target terminal, the target server will send the serial number of the first preset number of quantum random numbers to the encryption service platform, and the encryption service platform will calculate the first preset number of quantum random numbers according to the pre-agreed algorithm to obtain a new key (i.e., the first key mentioned above), and store the first key in the encryption service platform. In the subsequent process of handling external financial services, the data are encrypted and decrypted using the first key, further improving the security of the data.
[0083] Optionally, in the processing method for dispatched financial services provided in an embodiment of the present application, verifying the second data packet through the target terminal to obtain the second verification result includes: decrypting the second data packet through the target terminal based on the initial key to obtain the first flag information, the serial number of the second quantum random number, and the serial number of the first preset number of quantum random numbers; verifying the first flag information and the second quantum random number through the target terminal to obtain the second verification result.
[0084] If the second verification result is that the verification is passed, the target terminal performs an operation based on the first preset number of quantum random numbers to obtain a second key, wherein the second key is used to encrypt the target data information, and the target data information is the data information generated when executing the outsourced financial business; the target terminal encrypts the first flag information based on the second key, and sends the encrypted first flag information to the target server.
[0085] After sending the encrypted first flag information to the target server, it also includes: calling the first key in the encryption service platform through the target server to decrypt and verify the encrypted first flag information; if the verification of the first flag information is successful, it indicates that the first key is effective.
[0086] Specifically, in order to improve the security of the target terminal's sign-in, after the target terminal receives the second data packet, the target terminal decrypts the second data packet based on the initial key, obtains the first flag information, the serial number of the second quantum random number, and the serial number of the first preset number of quantum random numbers, and the target terminal verifies the first flag information and the second quantum random number to obtain a second verification result.
[0087] The verification process includes: (1) obtaining a second quantum random number and a sequence number of the second quantum random number, and checking whether the second random number matches the quantum random number corresponding to the sequence number of the quantum random number stored in the target terminal. If they match, step (2) is executed; if they do not match, the sign-in fails. This step is executed in the security chip in the target terminal.
[0088] (2) Check whether the second data packet contains the first flag information. If so, execute step (3). If not, the sign-in fails.
[0089] (3) Obtain the serial number of the first preset number of quantum random numbers, and in the security chip of the target terminal, calculate the first preset number of quantum random numbers according to a pre-agreed algorithm to generate a new key (i.e., the second key mentioned above), and use the new key a to replace the initial key.
[0090] (4) Send a signal through the I / O pin of the security chip to turn on the analog switch chip, and the analog switch is closed, thereby turning on the peripheral devices except those on the target terminal.
[0091] It should be noted that the above-mentioned pre-agreed algorithm is consistent with the method of generating the first key on the encryption service platform. In the absence of anomalies, the first key and the second key are the same. By generating new keys separately by the encryption service platform and the target terminal, the new key is avoided from being transmitted on the public network, the security of the key is guaranteed, and the security of the outbound business is greatly improved.
[0092] In order to determine that the first key and the second key are consistent, after obtaining the second key, the target terminal encrypts the first flag information based on the second key, and sends the encrypted first flag information to the target server, and then the target server calls the first key of the encryption service platform to decrypt and verify the encrypted first flag information. If the verification passes, it means that the first key and the second key are consistent, and the first key takes effect immediately, replacing the initial key.
[0093] In summary, by separately generating new keys through the encryption service platform and the target terminal, the transmission of new keys on the public network is avoided, the security of the keys is guaranteed, and the security of outsourced business is greatly improved.
[0094] After the target terminal successfully verifies the signature, in the processing method of the dispatched financial service provided in the embodiment of the present application, the dispatched financial service is executed through the following steps: the target terminal encrypts the target data information based on the second key and the fourth quantum random number to obtain the encrypted target data information, and sends the encrypted target data information to the target server; the target server calls the first key of the encryption service platform to decrypt and verify the encrypted target data information to obtain a third verification result, and feeds back the third verification result to the target terminal, wherein the target terminal determines whether the dispatched financial service is successfully executed through the third verification result.
[0095] Specifically, when executing outsourced financial business, important data information is generated, which is encrypted by the second key in the target terminal and then transmitted. In the process of encrypting the important data, the security chip in the target terminal will call a quantum random number (i.e. the fourth quantum random number mentioned above) to participate in the encryption calculation. The encrypted data packet is transmitted to the target server through the public network. After receiving the encrypted data packet, the target server sends it to the encryption service platform for decryption. After decryption, the quantum random number and serial number involved in the encryption are obtained. The quantum random number obtained by decryption is compared with the quantum random number of the serial number stored in the encryption server platform through the serial number. If it is correct, it proves that the data is sent through a legal machine, further ensuring the security of data transmission.
[0096] After the target server calls the first key of the encryption service platform to decrypt and verify the encrypted target data information to obtain the third verification result, the third verification result is fed back to the target terminal, and the target terminal determines whether the outbound financial service is successfully executed based on the third verification result. For example, when applying for an IC card for a user, after collecting the user's identity information, the identity information is encrypted and transmitted to the target server. After the target server verifies it, it feeds back the target terminal information that the verification is passed, thereby completing the IC card application work.
[0097] It should be noted that when the target server sends important data to the target terminal, it is encrypted using the first key on the encryption service platform, and a quantum random number that has been loaded into the security chip of the target terminal's peripheral device is retrieved to participate in the encryption calculation. After receiving the encrypted data packet, the target terminal decrypts it using the key in the security chip. After obtaining the quantum random number, the quantum random number corresponding to the sequence number stored in the security chip is retrieved through the quantum random number sequence number for comparison. If correct, it proves that the downloaded data is legal, which plays a role in two-way verification between the server and the terminal, and improves the security level of data transmission encryption.
[0098] It should be noted that each time important data is transmitted, different quantum random numbers can be called to participate in encryption operations. It is only necessary to call the corresponding quantum random number for comparison through the quantum random number sequence.
[0099] In summary, both bidirectional transmissions use quantum random numbers to participate in encryption calculations, which realizes bidirectional legitimacy verification between the server and the terminal and improves the security of outbound financial business handling.
[0100] When handling subsequent outsourced financial services, the following steps can be used to update the key: sending a third data packet to the target server through the target terminal, wherein the third data packet at least includes: the serial number of the fifth quantum random number and a key replacement request, and the third data packet is encrypted by the second key and the fifth quantum random number; verifying the third data packet through the target server and the encryption service platform to obtain a fourth verification result, and when the fourth verification result indicates that the verification is passed, sending a fourth data packet to the target terminal through the target server, wherein the fourth data packet at least includes: the second flag information, the serial number of the sixth quantum random number and the serial number of the second preset number of quantum random numbers; and sending the second preset number to the target server through the target server. The target terminal verifies the fourth data packet and obtains a fifth verification result. When the fifth verification result indicates that the verification is passed, the target terminal performs a calculation based on the second preset number of quantum random numbers to obtain a fourth key. The target terminal encrypts the second flag information based on the fourth key and sends the encrypted second flag information to the target server. The target server calls the third key in the encryption service platform to decrypt and verify the encrypted second flag information. If the verification of the second flag information is passed, it indicates that the key replacement is successful.
[0101] Specifically, when the target terminal initiates the key change, the target terminal encrypts the serial number of the fifth quantum random number and the key change request by using the second key and the fifth quantum random number to obtain a third data packet, and sends the third data packet to the target server.
[0102] After receiving the third data packet, the target server calls the first key in the encryption service platform for decryption. After decryption, the fifth quantum random number and serial number involved in the calculation are obtained, and the fifth quantum random number and serial number are compared with the quantum random number corresponding to the serial number in the encryption service platform. If the comparison is successful, the next step is performed. If it fails, the request fails.
[0103] (3) Verify the key replacement request in the third data packet. If it is correct, the target server sends a data packet indicating a successful request to the target terminal (i.e., the fourth data packet mentioned above). This data packet contains the following contents:
[0104] a. Request success flag (ie, the second flag information mentioned above);
[0105] b. a serial number of a quantum random number (i.e. the serial number of the sixth quantum random number mentioned above);
[0106] c. multiple, for example, 10, serial numbers of quantum random numbers (i.e., the serial numbers of the second preset number of quantum random numbers mentioned above);
[0107] The target server encrypts the fourth data packet with the first key, and takes the quantum random number corresponding to the quantum random number sequence number in item 2) to participate in the encryption operation;
[0108] (4) The external server sends the plurality of, for example, 10, quantum random number sequences in the above item 3) to the encryption service platform. The external service platform calculates the quantum random numbers corresponding to the plurality of, for example, 10 quantum random number sequences according to a pre-agreed algorithm to obtain a new third key, which is stored in the encryption service platform.
[0109] (5) After receiving the fourth data packet, the target terminal uses the second key in the security chip to decrypt it, and then performs the following steps after decryption:
[0110] a. Obtain a quantum random number and a quantum random number sequence number (i.e., the sixth quantum random number and the sequence number of the sixth quantum random number mentioned above), and check whether this random number is consistent with the quantum random number corresponding to the quantum random number sequence number stored in the target terminal. If consistent, execute step b; if not, the key replacement fails; this step is executed in the security chip of the target terminal;
[0111] b. Check whether there is a request success flag (i.e. the second flag information mentioned above) in the data packet. If so, execute step c. If not, change the key;
[0112] c. Obtain serial numbers of multiple, for example, 10 quantum random numbers (i.e., the serial numbers of the second preset number of quantum random numbers mentioned above), and in the security chip of the target terminal, calculate the quantum random numbers corresponding to the serial numbers of the multiple, for example, 10 quantum random numbers according to a pre-agreed algorithm to generate a new key, i.e., the fourth key, and use the fourth key to replace the second key.
[0113] d. Encrypt the request success flag with the fourth key and send it to the target server.
[0114] (6) After receiving the request success flag sent by the target terminal, the target server calls the third key stored in the encryption service platform for decryption. After verification, the third key stored in the encryption service platform becomes effective, indicating that the key replacement is successful.
[0115] Multiple quantum random numbers are installed in the security chip of the target terminal, and these quantum random numbers are used to replace the key during the dispatch process. The new key does not need to be transmitted on the public network, which ensures the security of the key and greatly improves the security of the dispatched business. It also has a mechanism to replace the key at any time. If the business requires, it can even achieve one key for each business, further improving the security of handling dispatched financial business.
[0116] If the target server initiates a key replacement, the following steps are included: sending a fifth data packet to the target terminal through the target server, wherein the fifth data packet at least includes: a key replacement request, a serial number of a sixth quantum random number and a serial number of a third preset number of quantum random numbers, and the fifth data packet is obtained by performing an encryption operation on the first key and the sixth quantum random number; verifying the fifth data packet through the target terminal to obtain a sixth verification result, and when the sixth verification result is a verification pass, performing a calculation based on the third preset number of quantum random numbers through the target terminal to obtain a fifth key; encrypting the key replacement request based on the fifth key through the target terminal, and sending the encrypted key replacement request to the target server; sending the serial number of the third preset number of quantum random numbers to the encryption service platform through the target server, and performing an operation based on the third preset number of quantum random numbers through the encryption service platform to obtain a sixth key; decrypting and verifying the encrypted key replacement request through the target server by calling the sixth key, and if the key replacement request is verified, it indicates that the key replacement is successful.
[0117] Specifically, (1) the target server encrypts the key replacement request through the first key, calls a quantum random number (i.e., the sixth quantum random number) in the encryption service platform to participate in the encryption calculation, and obtains a fifth data packet, which also includes a serial number corresponding to the sixth quantum random number. The target server sends the fifth data packet to the target terminal, and the fifth data packet includes the following content;
[0118] 1) Request to change key
[0119] 2) The serial number corresponding to the sixth quantum random number;
[0120] 3) serial numbers of a third preset number of quantum random numbers;
[0121] (2) After receiving the request packet, the target terminal calls the second key in the security chip for decryption. After decryption, the quantum random number and serial number involved in the calculation are obtained, and the quantum random number and serial number are compared with the quantum random number corresponding to the serial number in the security chip. If the comparison is successful, the next step is carried out. If it fails, the request fails.
[0122] (3) The target terminal sends the serial number of the third preset number of quantum random numbers to the security chip. The security chip calculates the quantum random number corresponding to the serial number of the third preset number of quantum random numbers according to a pre-agreed algorithm to obtain a new fifth key to replace the second key.
[0123] (4) Encrypt the key change request with the fifth key and send it to the target server.
[0124] (5) After receiving the key replacement request sent by the target terminal, the target server sends the serial number of the third preset number of quantum random numbers to the encryption service platform. The encryption service platform calculates the sixth key according to the quantum random number corresponding to the serial number of the third preset number of quantum random numbers and the pre-agreed algorithm, and then uses the sixth key to decrypt the key replacement request sent by the target terminal. After verification, the sixth key in the encryption service platform officially takes effect, that is, the key replacement is successful.
[0125] In an optional embodiment, the following may be used: Figure 2 The flowchart implements the processing of outsourced financial services, transmits multiple quantum random numbers and initial keys to a target terminal, and the target terminal sends a first data packet to a target server, wherein the first data packet at least includes: a sequence number of a first quantum random number and a sign-in request, and the first data packet is encrypted by the initial key and the first quantum random number; the first data packet is verified by the target server and the encryption service platform to obtain a first verification result, and when the first verification result indicates that the verification is passed, a second data packet is sent to the target terminal through the target server; the second data packet is verified by the target terminal to obtain a second verification result; when the second verification result indicates that the verification is passed, the peripheral device of the target terminal is turned on, and the outsourced financial service is performed through the peripheral device.
[0126] The processing method of the outsourced financial service provided in the embodiment of the present application includes sending a first data packet to a target server through a target terminal, wherein the first data packet at least includes: a serial number of a first quantum random number and a sign-in request, the first data packet is encrypted by an initial key and the first quantum random number, a plurality of quantum random numbers and an initial key are stored in the target terminal, and the first quantum random number is any one of the plurality of quantum random numbers; the first data packet is verified by the target server and the encryption service platform to obtain a first verification result, and when the first verification result indicates that the verification is passed, a second data packet is sent to the target terminal through the target server, wherein the second data packet includes at least: a serial number of a first quantum random number and a sign-in request, the first ... The invention discloses a method for transmitting a second quantum random number to a target terminal, comprising: first flag information, a serial number of a second quantum random number and a serial number of a first preset number of quantum random numbers, wherein the encryption service platform stores a plurality of quantum random numbers identical to the target terminal, the second quantum random number is any one of the plurality of quantum random numbers, and the first preset number of quantum random numbers is a quantum random number among the plurality of quantum random numbers; the second data packet is verified by the target terminal to obtain a second verification result; when the second verification result indicates that the verification is passed, the peripheral device of the target terminal is turned on, and the dispatched financial business is executed through the peripheral device, thereby solving the problem of low security of the target terminal of the financial institution in handling the dispatched business in the related technology. In this solution, when executing outbound financial services through the target terminal, the target terminal encrypts the serial number of the first quantum random number and the sign-in request through the initial key and the first quantum random number to obtain a first data packet. The target terminal uses the first data packet to sign in and verify with the target server. The quantum random number is a true random number, which can effectively improve the security of the first data packet. After the target server verifies the first data packet, the target server sends a second data packet to the target terminal to confirm the legitimacy of the target terminal again, and only after the target terminal verifies the second data packet, the target terminal's peripheral device is turned on, which also ensures the security of the target terminal's peripheral device, thereby achieving the effect of improving the security of the financial institution's target terminal in handling outbound services.
[0127] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0128] The embodiment of the present application also provides a processing system for outsourced financial services. It should be noted that the processing system for outsourced financial services in the embodiment of the present application can be used to execute the processing method for outsourced financial services provided in the embodiment of the present application. The processing system for outsourced financial services provided in the embodiment of the present application is introduced below.
[0129] Figure 3Schematic diagram of a processing system for outsourced financial services according to an embodiment of the present application. Figure 3 As shown, the system includes: a quantum random number generator 30, a target management terminal 31, an encryption service platform 32, a target server 33 and a target terminal 34.
[0130] A quantum random number generator 30 is used to generate multiple quantum random numbers; a target management terminal 31 is used to send multiple quantum random numbers to a target terminal; an encryption service platform 32 is used to generate a key and encrypt data generated by executing outsourced financial services based on the key; a target server 33 is used to verify a target terminal 34; and a target terminal 34 is used to execute outsourced financial services.
[0131] Specifically, Figure 3 As shown, the system includes: a quantum random number generator 30, a target management terminal 31, an encryption service platform 32, a target server 33 and a target terminal 34. The quantum random number generator 30 generates multiple quantum random numbers, the encryption service platform 32 generates a key, and the target management terminal 31 sends the initial key and multiple quantum random numbers to the target terminal 34, so that the target terminal 34 uses the initial key and multiple quantum random numbers to perform outsourced financial services.
[0132] The schematic diagram of processing outbound financial business through the outbound financial business processing system is as follows Figure 4 As shown, the specific steps are as follows:
[0133] When the target terminal is used for the first time to perform an outsourced financial business, the initial key and quantum random number will be downloaded to the target terminal through a dedicated target management terminal. The quantum random number generation and downloading are all performed in the financial institution through the financial institution's dedicated equipment and network, ensuring the security of the initial key and quantum random number. When the financial institution staff comes to the outsourced location to handle business, the main steps are as follows: connect to the target server through the wireless network card in the target terminal to sign in. The target terminal encrypts the first quantum random number sequence number and the sign-in request through the initial key and the randomly selected first quantum random number to obtain the first data packet, and sends the first data packet to the target server.
[0134] After receiving the first data packet, the target server decrypts and verifies the first data packet by calling the initial key and quantum random number in the encryption service platform to obtain the above-mentioned first verification result, and when the first verification result indicates that the verification is passed, the target server sends a second data packet to the target terminal. The second data packet includes at least: the first flag information, the serial number of the second quantum random number, and the serial number of the first preset number of quantum random numbers. The first flag information can be the sign information of successful sign-in. The target server will also use a random second quantum random number and the initial key to encrypt the first flag information, the serial number of the second quantum random number, and the serial number of the first preset number of quantum random numbers to obtain the second data packet.
[0135] When the second verification result is that the verification is passed, the peripheral device on the target terminal is enabled through the security chip in the target terminal, and the above-mentioned outbound financial service is executed through the peripheral device. The above-mentioned outbound financial service processing system improves the security of handling outbound financial services.
[0136] In order to ensure the security of handling outbound financial services, in the processing device of outbound financial services provided in the embodiment of the present application, the target terminal 34 includes: a mobile device for performing outbound financial services; a peripheral device, wherein the peripheral device includes at least: a wireless network card, a security chip and multiple peripheral devices, the wireless network card is used to transmit the data generated when performing outbound financial services, the security chip is used to generate a key, and encrypt the data generated when performing outbound financial services according to the key, and multiple peripheral devices are used to assist the mobile device in performing outbound financial services. The target terminal 34 also includes: a target interface, wherein the target interface is used to receive multiple quantum random numbers.
[0137] Specifically, Figure 5 As shown, the target terminal 34 includes: a mobile device and a peripheral device, and the mobile device can be a tablet computer. The peripheral device is provided with a PAD cavity, and the PAD cavity is surrounded by elastic silicone edges for fixing the tablet computer in the PAD cavity. The peripheral device is also provided with a wireless network card, a security chip and multiple peripheral devices. The wireless network card is used to transmit the data generated when executing the outsourced financial business, the security chip is used to generate a key, and encrypt the data generated when executing the outsourced financial business according to the key, and the multiple peripheral devices are used to assist the mobile device in executing the outsourced financial business.
[0138] It should be noted that the peripheral devices on the target terminal include but are not limited to IC card readers, second-generation ID card readers, cameras and other commonly used peripherals for outsourced financial services.
[0139] It should be noted that after the target terminal successfully signs in with the target server, the I / O pin of the security chip sends a signal to turn on the analog switch chip, and the analog switch is closed, thereby turning on other peripherals except the wireless network card.
[0140] The connection relationship between the wireless network card, security chip and multiple peripheral devices in the peripheral device is as follows: Figure 6 As shown, before the target terminal and the target server have not signed in successfully, except for the wireless network card, other peripheral devices are in a closed state to ensure the security of the peripheral devices.
[0141] It should be noted that the peripheral device is also provided with a target interface, such as a TYPE-C adapter. The TYPE-C adapter is located on the side of the PAD cavity, which is consistent with the position of the TYPE-C slot on the tablet computer. The TYPE-C adapter is a TYPE-C plug on the inner side of the PAD cavity. When the tablet computer is placed in the PAD cavity, the TYPE-C plug of the TYPE-C adapter is inserted into the TYPE-C socket on the PAD; the TYPE-C adapter is a TYPE-C socket on the outer side of the PAD cavity. The PAD can be charged or powered by the TYPE-C socket on the outer side of the PAD cavity through this TYPE-C adapter, thereby realizing the transfer of the TYPE-C interface from the PAD to the peripheral device. At the same time, the TYPE-C adapter 4 can also power related components in the peripheral device (for example, the TYPE-C adapter and Figure 6 The D+ and D- are connected to realize charging of related components in the peripheral device). Another function of the TYPE-C adapter is to realize the communication connection between related components in the peripheral device and the PAD.
[0142] To ensure that the TYPE-C adapter can fully transfer without affecting any function of the TYPE-C interface on the original PAD, the plug on the TYPE-C adapter adopts the wiring connector standard of the TYPE-C socket (not the plug standard) and corresponds one-to-one with the wiring head on the socket on the TYPE-C adapter, thereby achieving full-function transfer. The wiring connector standard of the TYPE-C socket is as follows: Figure 7 shown.
[0143] The processing system of the outbound financial business provided by the embodiment of the present application generates multiple quantum random numbers through a quantum random number generator 30; the target management terminal 31 sends multiple quantum random numbers to the target terminal; the encryption service platform 32 generates a key, and encrypts the data generated by executing the outbound financial business according to the key; the target server 33 verifies the target terminal; the target terminal 34 executes the outbound financial business, which solves the problem of low security of the target terminal of the financial institution in the related art in handling the outbound business. In this scheme, when the outbound financial business is executed by the target terminal, the target terminal encrypts the sequence number and the sign-in request of the first quantum random number by the initial key and the first quantum random number to obtain a first data packet, and the target terminal uses the first data packet to check in with the target server for verification. The quantum random number is a true random number, which can effectively improve the security of the first data packet. After the target server verifies the first data packet, the target server sends a second data packet to the target terminal to confirm the legitimacy of the target terminal again, and the target terminal only opens the peripheral device of the target terminal after the target terminal verifies the second data packet, which also ensures the security of the peripheral device of the target terminal, thereby achieving the effect of improving the security of the target terminal of the financial institution in handling the outbound business.
[0144] The embodiment of the present application also provides a processing device for dispatching financial services. It should be noted that the processing device for dispatching financial services in the embodiment of the present application can be used to execute the processing method for dispatching financial services provided in the embodiment of the present application. The processing device for dispatching financial services provided in the embodiment of the present application is introduced below.
[0145] Figure 8 Schematic diagram of a processing device for outsourced financial services according to an embodiment of the present application. Figure 8 As shown, the device includes: a first sending unit 801, a first verification unit 802, a second verification unit 803 and an execution unit 804.
[0146] A first sending unit 801 is configured to send a first data packet to a target server through a target terminal, wherein the first data packet at least includes: a sequence number of a first quantum random number and a sign-in request, the first data packet is encrypted by an initial key and the first quantum random number, the target terminal stores a plurality of quantum random numbers and initial keys, and the first quantum random number is any one of the plurality of quantum random numbers;
[0147] The first verification unit 802 is used to verify the first data packet through the target server and the encryption service platform to obtain a first verification result, and when the first verification result indicates that the verification is passed, send a second data packet to the target terminal through the target server, wherein the second data packet at least includes: first flag information, a sequence number of a second quantum random number, and a sequence number of a first preset number of quantum random numbers, wherein the encryption service platform stores a plurality of quantum random numbers identical to those of the target terminal, the second quantum random number is any one of the plurality of quantum random numbers, and the first preset number of quantum random numbers is a quantum random number among the plurality of quantum random numbers;
[0148] The second verification unit 803 is used to verify the second data packet through the target terminal to obtain a second verification result;
[0149] The execution unit 804 is used to enable the peripheral device of the target terminal and execute the external financial service through the peripheral device when the second verification result indicates that the verification is passed.
[0150] The processing device for dispatched financial services provided in the embodiment of the present application sends a first data packet to a target server through a target terminal through a first sending unit 801, wherein the first data packet at least includes: a serial number of a first quantum random number and a sign-in request, the first data packet is obtained by encrypting an initial key and the first quantum random number, a plurality of quantum random numbers and an initial key are stored in the target terminal, and the first quantum random number is any one of the plurality of quantum random numbers; the first verification unit 802 verifies the first data packet through the target server and the encryption service platform to obtain a first verification result, and sends a second data packet to the target terminal through the target server when the first verification result indicates that the verification is passed, wherein the second data packet The at least includes: first flag information, the serial number of the second quantum random number and the serial number of the first preset number of quantum random numbers, wherein the encryption service platform stores multiple quantum random numbers that are the same as the target terminal, the second quantum random number is any one of the multiple quantum random numbers, and the first preset number of quantum random numbers is a quantum random number among the multiple quantum random numbers; the second verification unit 803 verifies the second data packet through the target terminal to obtain a second verification result; the execution unit 804 turns on the peripheral device of the target terminal when the second verification result indicates that the verification is passed, and executes the outbound financial business through the peripheral device, which solves the problem of low security of the target terminal of the financial institution in handling the outbound business in the related technology. In this solution, when executing outbound financial services through the target terminal, the target terminal encrypts the serial number of the first quantum random number and the sign-in request through the initial key and the first quantum random number to obtain a first data packet. The target terminal uses the first data packet to sign in and verify with the target server. The quantum random number is a true random number, which can effectively improve the security of the first data packet. After the target server verifies the first data packet, the target server sends a second data packet to the target terminal to confirm the legitimacy of the target terminal again, and only after the target terminal verifies the second data packet, the target terminal's peripheral device is turned on, which also ensures the security of the target terminal's peripheral device, thereby achieving the effect of improving the security of the financial institution's target terminal in handling outbound services.
[0151] Optionally, in the processing device for dispatched financial services provided in the embodiment of the present application, the device also includes: a second sending unit, used to generate multiple quantum random numbers through a quantum random number generator before sending a first data packet to a target server through a target terminal, and assign a serial number to each quantum random number, and store the multiple quantum random numbers and the serial number of each quantum random number in an encryption service platform; a generation unit, used to generate an initial key through the encryption service platform and send it to a target management terminal; a transmission unit, used to connect the target management terminal to a target interface of the target terminal, and transmit the multiple quantum random numbers, the serial number of each quantum random number and the initial key to the target terminal through the target interface.
[0152] Optionally, in the processing device for dispatched financial services provided in an embodiment of the present application, the device also includes: a selection unit, used to randomly select a quantum random number from multiple quantum random numbers through the target terminal before sending the first data packet to the target server through the target terminal, to obtain a first quantum random number and a serial number of the first quantum random number; a first encryption unit, used for the target terminal to perform an encryption operation on the serial number of the first quantum random number and a sign-in request based on the first quantum random number and an initial key to obtain a first data packet.
[0153] Optionally, in the processing device for dispatched financial services provided in an embodiment of the present application, the first verification unit includes: a first decryption module, used for the target server to call the initial key to decrypt the first data packet to obtain a first quantum random number, a serial number of the first quantum random number and a sign-in request; an acquisition module, used for the target server to obtain a corresponding quantum random number from the encryption service platform according to the serial number of the first quantum random number to obtain a third quantum random number; and a first verification module, used to verify the third quantum random number, the first quantum random number and the sign-in request through the target server to obtain a first verification result.
[0154] Optionally, in the processing device for outsourced financial services provided in an embodiment of the present application, the device also includes: a third sending unit, used to send the serial number of a first preset number of quantum random numbers to the encryption service platform through the target server after sending the second data packet to the target terminal through the target server; a first calculation unit, used to perform calculations based on the first preset number of quantum random numbers through the encryption service platform to obtain a first key, wherein the first key is used to decrypt target data information, and the target data information is data information generated when executing the outsourced financial service.
[0155] Optionally, in the processing device for dispatched financial services provided in an embodiment of the present application, the second verification unit includes: a second decryption module, used to decrypt the second data packet based on the initial key through the target terminal to obtain the first flag information, the serial number of the second quantum random number and the serial number of the first preset number of quantum random numbers; the second verification module, used to verify the first flag information and the second quantum random number through the target terminal to obtain a second verification result.
[0156] Optionally, in the processing device for outsourced financial services provided in an embodiment of the present application, the device also includes: a second computing unit, used to verify the second data packet through the target terminal to obtain a second verification result, if the second verification result is verification passed, then perform an operation based on a first preset number of quantum random numbers through the target terminal to obtain a second key, wherein the second key is used to encrypt target data information, and the target data information is data information generated when executing the outsourced financial service; a second encryption unit, used to encrypt the first flag information based on the second key through the target terminal, and send the encrypted first flag information to the target server.
[0157] Optionally, in the processing device for dispatched financial services provided in the embodiment of the present application, the device also includes: a decryption unit, which is used to decrypt and verify the encrypted first flag information by calling the first key in the encryption service platform through the target server after sending the encrypted first flag information to the target server; and a determination unit, which is used to indicate that the first key is effective if the verification of the first flag information is successful.
[0158] Optionally, in the processing device for the dispatched financial service provided in the embodiment of the present application, the execution unit includes: an encryption module, which is used to encrypt the target data information based on the second key and the fourth quantum random number through the target terminal to obtain the encrypted target data information, and send the encrypted target data information to the target server; a third verification module, which is used to decrypt and verify the encrypted target data information by calling the first key of the encryption service platform through the target server, to obtain a third verification result, and feed back the third verification result to the target terminal, wherein the target terminal determines whether the dispatched financial service is successfully executed through the third verification result.
[0159] Optionally, in the processing device for outsourced financial services provided in the embodiment of the present application, the device further includes: a fourth sending unit, which is used to send a third data packet to the target server through the target terminal after executing the outsourced financial service through the external device, wherein the third data packet at least includes: the serial number of the fifth quantum random number and the key replacement request, and the third data packet is obtained by encrypting the second key and the fifth quantum random number; a third verification unit, which is used to verify the third data packet through the target server and the encryption service platform to obtain a fourth verification result, and when the fourth verification result indicates that the verification is passed, send a fourth data packet to the target terminal through the target server, wherein the fourth data packet at least includes: the second flag information, the serial number of the sixth quantum random number and the serial number of the second preset number of quantum random numbers; the fifth sending unit is used to The target server sends the serial number of the second preset number of quantum random numbers to the encryption service platform, and performs calculations based on the second preset number of quantum random numbers through the encryption service platform to obtain a third key; a fourth verification unit is used to verify the fourth data packet through the target terminal to obtain a fifth verification result. When the fifth verification result indicates that the verification is successful, the target terminal performs calculations based on the second preset number of quantum random numbers to obtain a fourth key; a third encryption unit is used to encrypt the second flag information based on the fourth key through the target terminal, and send the encrypted second flag information to the target server; a fifth verification unit is used to call the third key in the encryption service platform through the target server to decrypt and verify the encrypted second flag information. If the verification of the second flag information is successful, it indicates that the key replacement is successful.
[0160] Optionally, in the processing device for the outsourced financial service provided in the embodiment of the present application, the device further includes: a sixth sending unit, which is used to send a fifth data packet to the target terminal through the target server after executing the outsourced financial service through the external device, wherein the fifth data packet at least includes: a key replacement request, a serial number of a sixth quantum random number and a serial number of a third preset number of quantum random numbers, and the fifth data packet is obtained by performing an encryption operation on the first key and the sixth quantum random number; a sixth verification unit, which is used to verify the fifth data packet through the target terminal to obtain a sixth verification result, and when the sixth verification result is a verification pass, the target terminal performs a calculation based on the third preset number of quantum random numbers to obtain a fifth key; a fourth encryption unit, which is used to encrypt the key replacement request based on the fifth key through the target terminal, and send the encrypted key replacement request to the target server; a seventh sending unit, which is used to send the serial number of the third preset number of quantum random numbers to the encryption service platform through the target server, and perform an operation based on the third preset number of quantum random numbers through the encryption service platform to obtain the sixth key; and a seventh verification unit, which is used to decrypt and verify the encrypted key replacement request through the target server by calling the sixth key, and if the key replacement request is verified, it indicates that the key replacement is successful.
[0161] The processing device for outsourced financial services includes a processor and a memory. The above units are stored in the memory as program units, and the processor executes the above program units stored in the memory to implement corresponding functions.
[0162] The processor includes a kernel, which calls the corresponding program unit from the memory. One or more kernels can be set, and the processing of external financial business can be realized by adjusting the kernel parameters.
[0163] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.
[0164] An embodiment of the present invention provides a computer-readable storage medium on which a program is stored. When the program is executed by a processor, a method for processing an outsourced financial business is implemented.
[0165] An embodiment of the present invention provides a processor, which is used to run a program, wherein the program executes a method for processing an outsourced financial business when it is run.
[0166] like Fig. 9As shown, an embodiment of the present invention provides an electronic device, the device includes a processor, a memory, and a program stored in the memory and executable on the processor, and the processor implements the following steps when executing the program: sending a first data packet to a target server through a target terminal, wherein the first data packet at least includes: a sequence number of a first quantum random number and a sign-in request, the first data packet is encrypted by an initial key and the first quantum random number, the target terminal stores a plurality of quantum random numbers and an initial key, and the first quantum random number is any one of the plurality of quantum random numbers; verifying the first data packet through the target server and the encryption service platform, obtaining a first verification result, and indicating the first verification result; If the verification is successful, a second data packet is sent to the target terminal through the target server, wherein the second data packet at least includes: first flag information, a serial number of a second quantum random number, and a serial number of a first preset number of quantum random numbers, wherein the encryption service platform stores multiple quantum random numbers that are the same as the target terminal, the second quantum random number is any one of the multiple quantum random numbers, and the first preset number of quantum random numbers are quantum random numbers among the multiple quantum random numbers; the second data packet is verified through the target terminal to obtain a second verification result; if the second verification result indicates that the verification is successful, the peripheral device of the target terminal is turned on, and the outsourced financial business is performed through the peripheral device.
[0167] Optionally, the processing system for dispatched financial services also includes: a quantum random number generator and a target management terminal. Before sending the first data packet to the target server through the target terminal, the method also includes: generating multiple quantum random numbers through the quantum random number generator, assigning a serial number to each quantum random number, and storing the multiple quantum random numbers and the serial number of each quantum random number in an encryption service platform; generating an initial key through the encryption service platform and sending it to the target management terminal; connecting the target management terminal to the target interface of the target terminal, and transmitting the multiple quantum random numbers, the serial number of each quantum random number and the initial key to the target terminal through the target interface.
[0168] Optionally, before sending the first data packet to the target server through the target terminal, the method also includes: randomly selecting a quantum random number from a plurality of quantum random numbers through the target terminal to obtain a first quantum random number and a serial number of the first quantum random number; the target terminal performs an encryption operation on the serial number of the first quantum random number and a sign-in request based on the first quantum random number and an initial key to obtain a first data packet.
[0169] Optionally, verifying the first data packet through the target server and the encryption service platform to obtain the first verification result includes: the target server calls the initial key to decrypt the first data packet to obtain the first quantum random number, the serial number of the first quantum random number and the sign-in request; the target server obtains the corresponding quantum random number from the encryption service platform according to the serial number of the first quantum random number to obtain a third quantum random number; and verifying the third quantum random number, the first quantum random number and the sign-in request through the target server to obtain the first verification result.
[0170] Optionally, after sending the second data packet to the target terminal through the target server, the method also includes: sending the serial number of a first preset number of quantum random numbers to an encryption service platform through the target server; performing calculations based on the first preset number of quantum random numbers through the encryption service platform to obtain a first key, wherein the first key is used to decrypt target data information, and the target data information is data information generated when executing outsourced financial services.
[0171] Optionally, verifying the second data packet through the target terminal to obtain a second verification result includes: decrypting the second data packet through the target terminal based on the initial key to obtain first flag information, a serial number of a second quantum random number, and a serial number of a first preset number of quantum random numbers; verifying the first flag information and the second quantum random number through the target terminal to obtain a second verification result.
[0172] Optionally, after verifying the second data packet through the target terminal and obtaining a second verification result, the method also includes: if the second verification result is verification passed, performing an operation based on a first preset number of quantum random numbers through the target terminal to obtain a second key, wherein the second key is used to encrypt target data information, and the target data information is data information generated when executing outsourced financial business; encrypting the first flag information based on the second key through the target terminal, and sending the encrypted first flag information to the target server.
[0173] Optionally, after sending the encrypted first flag information to the target server, the method further includes: decrypting and verifying the encrypted first flag information by calling the first key in the encryption service platform through the target server; if the verification of the first flag information is successful, it indicates that the first key is effective.
[0174] Optionally, executing the dispatched financial service through the peripheral device includes: encrypting the target data information based on the second key and the fourth quantum random number through the target terminal to obtain the encrypted target data information, and sending the encrypted target data information to the target server; decrypting and verifying the encrypted target data information by calling the first key of the encryption service platform through the target server to obtain a third verification result, and feeding back the third verification result to the target terminal, wherein the target terminal determines whether the dispatched financial service is successfully executed through the third verification result.
[0175] Optionally, after executing the outsourced financial business through the peripheral device, the method further includes: sending a third data packet to the target server through the target terminal, wherein the third data packet at least includes: the serial number of the fifth quantum random number and a key replacement request, and the third data packet is obtained by encrypting the second key and the fifth quantum random number; verifying the third data packet through the target server and the encryption service platform to obtain a fourth verification result, and when the fourth verification result indicates that the verification is passed, sending a fourth data packet to the target terminal through the target server, wherein the fourth data packet at least includes: the second flag information, the serial number of the sixth quantum random number and the serial number of the second preset number of quantum random numbers; and sending the second preset number to the target terminal through the target server. The target terminal verifies the fourth data packet and obtains a fifth verification result. When the fifth verification result indicates that the verification is passed, the target terminal performs a calculation based on the second preset number of quantum random numbers to obtain a fourth key. The target terminal encrypts the second flag information based on the fourth key and sends the encrypted second flag information to the target server. The target server calls the third key in the encryption service platform to decrypt and verify the encrypted second flag information. If the verification of the second flag information is passed, it indicates that the key replacement is successful.
[0176] Optionally, after executing the outsourced financial business through the peripheral device, the method also includes: sending a fifth data packet to the target terminal through the target server, wherein the fifth data packet at least includes: a key replacement request, a serial number of a sixth quantum random number and a serial number of a third preset number of quantum random numbers, and the fifth data packet is obtained by performing an encryption operation on the first key and the sixth quantum random number; verifying the fifth data packet through the target terminal to obtain a sixth verification result, and when the sixth verification result is a verification pass, performing a calculation based on the third preset number of quantum random numbers through the target terminal to obtain a fifth key; encrypting the key replacement request based on the fifth key through the target terminal, and sending the encrypted key replacement request to the target server; sending the serial number of the third preset number of quantum random numbers to the encryption service platform through the target server, and performing an operation based on the third preset number of quantum random numbers through the encryption service platform to obtain a sixth key; decrypting and verifying the encrypted key replacement request through the target server by calling the sixth key, and if the key replacement request is verified, it indicates that the key replacement is successful.
[0177] The devices in this article can be servers, PCs, PADs, mobile phones, etc.
[0178] The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing a program that is initialized with the following method steps: sending a first data packet to a target server through a target terminal, wherein the first data packet at least includes: a sequence number of a first quantum random number and a sign-in request, the first data packet is obtained by encrypting an initial key and the first quantum random number, the target terminal stores multiple quantum random numbers and the initial key, and the first quantum random number is any one of the multiple quantum random numbers; verifying the first data packet through the target server and the encryption service platform to obtain a first verification result, and when the first verification result indicates that the verification is passed, sending a second data packet to the target terminal through the target server, wherein the second data packet at least includes: first flag information, a sequence number of a second quantum random number and a sequence number of a first preset number of quantum random numbers, wherein the encryption service platform stores multiple quantum random numbers identical to those of the target terminal, the second quantum random number is any one of the multiple quantum random numbers, and the first preset number of quantum random numbers are quantum random numbers among the multiple quantum random numbers; verifying the second data packet through the target terminal to obtain a second verification result; when the second verification result indicates that the verification is passed, turning on a peripheral device of the target terminal, and performing an outsourced financial business through the peripheral device.
[0179] Optionally, the processing system for dispatched financial services also includes: a quantum random number generator and a target management terminal. Before sending the first data packet to the target server through the target terminal, the method also includes: generating multiple quantum random numbers through the quantum random number generator, assigning a serial number to each quantum random number, and storing the multiple quantum random numbers and the serial number of each quantum random number in an encryption service platform; generating an initial key through the encryption service platform and sending it to the target management terminal; connecting the target management terminal to the target interface of the target terminal, and transmitting the multiple quantum random numbers, the serial number of each quantum random number and the initial key to the target terminal through the target interface.
[0180] Optionally, before sending the first data packet to the target server through the target terminal, the method also includes: randomly selecting a quantum random number from a plurality of quantum random numbers through the target terminal to obtain a first quantum random number and a serial number of the first quantum random number; the target terminal performs an encryption operation on the serial number of the first quantum random number and a sign-in request based on the first quantum random number and an initial key to obtain a first data packet.
[0181] Optionally, verifying the first data packet through the target server and the encryption service platform to obtain the first verification result includes: the target server calls the initial key to decrypt the first data packet to obtain the first quantum random number, the serial number of the first quantum random number and the sign-in request; the target server obtains the corresponding quantum random number from the encryption service platform according to the serial number of the first quantum random number to obtain a third quantum random number; and verifying the third quantum random number, the first quantum random number and the sign-in request through the target server to obtain the first verification result.
[0182] Optionally, after sending the second data packet to the target terminal through the target server, the method also includes: sending the serial number of a first preset number of quantum random numbers to an encryption service platform through the target server; performing calculations based on the first preset number of quantum random numbers through the encryption service platform to obtain a first key, wherein the first key is used to decrypt target data information, and the target data information is data information generated when executing outsourced financial services.
[0183] Optionally, verifying the second data packet through the target terminal to obtain a second verification result includes: decrypting the second data packet through the target terminal based on the initial key to obtain first flag information, a serial number of a second quantum random number, and a serial number of a first preset number of quantum random numbers; verifying the first flag information and the second quantum random number through the target terminal to obtain a second verification result.
[0184] Optionally, after verifying the second data packet through the target terminal and obtaining a second verification result, the method also includes: if the second verification result is verification passed, performing an operation based on a first preset number of quantum random numbers through the target terminal to obtain a second key, wherein the second key is used to encrypt target data information, and the target data information is data information generated when executing outsourced financial business; encrypting the first flag information based on the second key through the target terminal, and sending the encrypted first flag information to the target server.
[0185] Optionally, after sending the encrypted first flag information to the target server, the method further includes: decrypting and verifying the encrypted first flag information by calling the first key in the encryption service platform through the target server; if the verification of the first flag information is successful, it indicates that the first key is effective.
[0186] Optionally, executing the dispatched financial service through the peripheral device includes: encrypting the target data information based on the second key and the fourth quantum random number through the target terminal to obtain the encrypted target data information, and sending the encrypted target data information to the target server; decrypting and verifying the encrypted target data information by calling the first key of the encryption service platform through the target server to obtain a third verification result, and feeding back the third verification result to the target terminal, wherein the target terminal determines whether the dispatched financial service is successfully executed through the third verification result.
[0187] Optionally, after executing the outsourced financial business through the peripheral device, the method further includes: sending a third data packet to the target server through the target terminal, wherein the third data packet at least includes: the serial number of the fifth quantum random number and a key replacement request, and the third data packet is obtained by encrypting the second key and the fifth quantum random number; verifying the third data packet through the target server and the encryption service platform to obtain a fourth verification result, and when the fourth verification result indicates that the verification is passed, sending a fourth data packet to the target terminal through the target server, wherein the fourth data packet at least includes: the second flag information, the serial number of the sixth quantum random number and the serial number of the second preset number of quantum random numbers; and sending the second preset number to the target terminal through the target server. The target terminal verifies the fourth data packet and obtains a fifth verification result. When the fifth verification result indicates that the verification is passed, the target terminal performs a calculation based on the second preset number of quantum random numbers to obtain a fourth key. The target terminal encrypts the second flag information based on the fourth key and sends the encrypted second flag information to the target server. The target server calls the third key in the encryption service platform to decrypt and verify the encrypted second flag information. If the verification of the second flag information is passed, it indicates that the key replacement is successful.
[0188] Optionally, after executing the outsourced financial business through the peripheral device, the method also includes: sending a fifth data packet to the target terminal through the target server, wherein the fifth data packet at least includes: a key replacement request, a serial number of a sixth quantum random number and a serial number of a third preset number of quantum random numbers, and the fifth data packet is obtained by performing an encryption operation on the first key and the sixth quantum random number; verifying the fifth data packet through the target terminal to obtain a sixth verification result, and when the sixth verification result is a verification pass, performing a calculation based on the third preset number of quantum random numbers through the target terminal to obtain a fifth key; encrypting the key replacement request based on the fifth key through the target terminal, and sending the encrypted key replacement request to the target server; sending the serial number of the third preset number of quantum random numbers to the encryption service platform through the target server, and performing an operation based on the third preset number of quantum random numbers through the encryption service platform to obtain a sixth key; decrypting and verifying the encrypted key replacement request through the target server by calling the sixth key, and if the key replacement request is verified, it indicates that the key replacement is successful.
[0189] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0190] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0191] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0192] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0193] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0194] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0195] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0196] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0197] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.
[0198] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.
Claims
1. A method for processing outsourced financial services, characterized in that: The processing method is applied to a processing system for outsourced financial services, and the processing system for outsourced financial services at least includes: a target terminal, a target server and an encryption service platform, including: Sending a first data packet to the target server through the target terminal, wherein the first data packet at least includes: a sequence number of a first quantum random number and a sign-in request, the first data packet is encrypted by an initial key and the first quantum random number, the target terminal stores a plurality of quantum random numbers and an initial key, and the first quantum random number is any one of the plurality of quantum random numbers; The first data packet is verified by the target server and the encryption service platform to obtain a first verification result, and when the first verification result indicates that the verification is passed, a second data packet is sent to the target terminal through the target server, wherein the second data packet at least includes: first flag information, a sequence number of a second quantum random number, and a sequence number of a first preset number of quantum random numbers, wherein the encryption service platform stores a plurality of quantum random numbers identical to those of the target terminal, the second quantum random number is any one of the plurality of quantum random numbers, and the first preset number of quantum random numbers is a quantum random number among the plurality of quantum random numbers; Verifying the second data packet by the target terminal to obtain a second verification result; When the second verification result indicates that the verification is passed, the peripheral device of the target terminal is turned on, and the outsourced financial service is performed through the peripheral device.
2. The method according to claim 1, characterized in that The processing system for dispatching financial services further includes: a quantum random number generator and a target management terminal. Before sending the first data packet to the target server through the target terminal, the method further includes: Generate a plurality of quantum random numbers by means of the quantum random number generator, assign a serial number to each quantum random number, and store the plurality of quantum random numbers and the serial number of each quantum random number in the encryption service platform; Generate the initial key through the encryption service platform and send it to the target management terminal; The target management terminal is connected to the target interface of the target terminal, and the multiple quantum random numbers, the sequence number of each quantum random number and the initial key are transmitted to the target terminal through the target interface.
3. The method according to claim 1, characterized in that Before sending the first data packet to the target server through the target terminal, the method further includes: randomly selecting a quantum random number from the plurality of quantum random numbers through the target terminal to obtain the first quantum random number and a sequence number of the first quantum random number; The target terminal performs an encryption operation on the sequence number of the first quantum random number and the sign-in request based on the first quantum random number and the initial key to obtain the first data packet.
4. The method according to claim 1, characterized in that: The first data packet is verified by the target server and the encryption service platform, and the first verification result obtained includes: The target server calls the initial key to decrypt the first data packet to obtain the first quantum random number, the sequence number of the first quantum random number and the sign-in request; The target server obtains a corresponding quantum random number from the encryption service platform according to the sequence number of the first quantum random number to obtain a third quantum random number; The third quantum random number, the first quantum random number, and the sign-in request are verified by the target server to obtain the first verification result.
5. The method according to claim 1, characterized in that After sending the second data packet to the target terminal through the target server, the method further includes: Sending the serial numbers of the first preset number of quantum random numbers to the encryption service platform through the target server; The encryption service platform performs calculations based on the first preset number of quantum random numbers to obtain a first key, wherein the first key is used to decrypt target data information, and the target data information is data information generated when executing the outsourced financial business.
6. The method according to claim 5, characterized in that Verifying the second data packet by the target terminal to obtain a second verification result includes: Decrypting the second data packet by the target terminal based on the initial key to obtain the first flag information, the serial number of the second quantum random number, and the serial number of the first preset number of quantum random numbers; The first flag information and the second quantum random number are verified by the target terminal to obtain the second verification result.
7. The method according to claim 6, characterized in that After verifying the second data packet through the target terminal to obtain a second verification result, the method further includes: If the second verification result is that the verification is passed, the target terminal performs a calculation based on the first preset number of quantum random numbers to obtain a second key, wherein the second key is used to encrypt the target data information, and the target data information is data information generated when executing the outsourced financial business; The first flag information is encrypted by the target terminal based on the second key, and the encrypted first flag information is sent to the target server.
8. The method according to claim 7, characterized in that After sending the encrypted first flag information to the target server, the method further includes: Decrypting and verifying the encrypted first flag information by calling the first key in the encryption service platform through the target server; If the verification of the first flag information is successful, it indicates that the first key is effective.
9. The method according to claim 8, characterized in that Executing the outsourced financial business through the peripheral device includes: encrypting the target data information based on the second key and the fourth quantum random number by the target terminal to obtain encrypted target data information, and sending the encrypted target data information to the target server; The target server calls the first key of the encryption service platform to decrypt and verify the encrypted target data information, obtain a third verification result, and feed back the third verification result to the target terminal, wherein the target terminal determines whether the dispatched financial service is successfully executed based on the third verification result.
10. The method according to claim 7, characterized in that After executing the external financial service through the external device, the method further includes: Sending a third data packet to the target server through the target terminal, wherein the third data packet at least includes: a serial number of a fifth quantum random number and a key change request, and the third data packet is encrypted by using a second key and the fifth quantum random number; Verifying the third data packet through the target server and the encryption service platform to obtain a fourth verification result, and sending a fourth data packet to the target terminal through the target server when the fourth verification result indicates that the verification is passed, wherein the fourth data packet at least includes: second flag information, the serial number of the sixth quantum random number, and the serial number of the second preset number of quantum random numbers; Sending the serial numbers of the second preset number of quantum random numbers to the encryption service platform through the target server, and performing calculations based on the second preset number of quantum random numbers through the encryption service platform to obtain a third key; Verifying the fourth data packet by the target terminal to obtain a fifth verification result, and when the fifth verification result indicates that the verification is passed, obtaining a fourth key by performing a calculation based on the second preset number of quantum random numbers by the target terminal; encrypting the second flag information based on the fourth key by the target terminal, and sending the encrypted second flag information to the target server; The target server calls the third key in the encryption service platform to decrypt and verify the encrypted second flag information. If the verification of the second flag information is successful, it indicates that the key replacement is successful.
11. The method according to claim 7, characterized in that After executing the external financial service through the external device, the method further includes: Sending a fifth data packet to the target terminal through the target server, wherein the fifth data packet at least includes: a key replacement request, a serial number of a sixth quantum random number, and serial numbers of a third preset number of quantum random numbers, and the fifth data packet is obtained by performing an encryption operation on the first key and the sixth quantum random number; Verifying the fifth data packet by the target terminal to obtain a sixth verification result, and when the sixth verification result is verification passed, obtaining a fifth key by the target terminal through calculation based on a third preset number of quantum random numbers; encrypting the key change request based on the fifth key by the target terminal, and sending the encrypted key change request to the target server; Sending the serial numbers of the third preset number of quantum random numbers to the encryption service platform through the target server, and performing calculations based on the third preset number of quantum random numbers through the encryption service platform to obtain a sixth key; The encrypted key replacement request is decrypted and verified by calling the sixth key through the target server. If the key replacement request is verified successfully, it indicates that the key replacement is successful.
12. A system for processing outsourced financial services, characterized in that: The processing system is used to execute the processing method of the outsourced financial business according to any one of claims 1 to 11, comprising: A quantum random number generator, used to generate multiple quantum random numbers; A target management terminal, used for sending the plurality of quantum random numbers to a target terminal; An encryption service platform, used to generate keys and encrypt data generated by executing outsourced financial services based on the keys; A target server, used for verifying the target terminal; The target terminal is used to execute the outsourced financial business.
13. The processing system according to claim 12, characterized in that Target terminals include: Mobile devices for performing outbound financial operations; Peripheral device, wherein the peripheral device at least includes: a wireless network card, a security chip and multiple peripheral devices, the wireless network card is used to transmit the data generated when executing the dispatched financial business, the security chip is used to generate a key and encrypt the data generated when executing the dispatched financial business according to the key, and the multiple peripheral devices are used to assist the mobile device in executing the dispatched financial business.
14. The processing system according to claim 13, characterized in that The peripheral device further includes: a target interface, wherein the target interface is used to receive the multiple quantum random numbers.
15. A processing device for outsourced financial services, characterized in that: include: A first sending unit is configured to send a first data packet to a target server through a target terminal, wherein the first data packet at least includes: a sequence number of a first quantum random number and a sign-in request, the first data packet is encrypted by an initial key and the first quantum random number, the target terminal stores a plurality of quantum random numbers and an initial key, and the first quantum random number is any one of the plurality of quantum random numbers; A first verification unit is used to verify the first data packet through a target server and an encryption service platform to obtain a first verification result, and when the first verification result indicates that the verification is passed, send a second data packet to the target terminal through the target server, wherein the second data packet at least includes: first flag information, a sequence number of a second quantum random number, and a sequence number of a first preset number of quantum random numbers, wherein the encryption service platform stores a plurality of quantum random numbers identical to those of the target terminal, the second quantum random number is any one of the plurality of quantum random numbers, and the first preset number of quantum random numbers is a quantum random number among the plurality of quantum random numbers; A second verification unit, configured to verify the second data packet through the target terminal to obtain a second verification result; An execution unit is used to enable a peripheral device of the target terminal and execute an outsourced financial service through the peripheral device when the second verification result indicates that the verification is passed.
16. A computer-readable storage medium, characterized in that: The storage medium stores a program, wherein the program executes the method for processing outsourced financial services according to any one of claims 1 to 11.
17. An electronic device, characterized in that: It includes one or more processors and a memory, wherein the memory is used to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the method for processing outsourced financial services as described in any one of claims 1 to 11.
Citation Information
Patent Citations
Bidirectional authentication method and system based on shared key, and terminal
CN110958209A
Data sharing method and device based on a quantum key, computer equipment
CN113067699A
Outbound marketing terminal business processing system and method
CN113094688A
Service commission method and device, electronic equipment and computer storage medium
CN115270153A
Quantum security authentication system
WO2018199637A1
