Resource conversion method and device, computer equipment and storage medium

Through real-time monitoring and verification of the current resource conversion value of the resource conversion platform, the foreign currency transaction process in the mobile banking APP is simplified, the problem of cumbersome transactions is solved, transaction efficiency and security are improved, and user experience is enhanced.

CN118710271APending Publication Date: 2024-09-27BANK OF CHINA
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410809300.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-21
Publication Date
2024-09-27

AI Technical Summary

Technical Problem

The foreign currency transaction process in the existing mobile banking APP is cumbersome, causing users to miss the best transaction time and increasing transaction complexity and time-consuming.

Method used

By obtaining user target resource information, real-time monitoring of the current resource conversion value of the resource conversion platform, sending a resource conversion verification request to the user terminal, and if the verification information is consistent, initiate a resource conversion request to the resource conversion platform, using the blockchain The network ensures the legality and security of transactions.

Benefits of technology

It simplifies the user's resource conversion process, improves transaction efficiency, ensures that users complete operations at the best time, enhances transaction security and user experience, and at the same time protects the credibility of the resource conversion platform and user trust.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118710271A
    Figure CN118710271A
Patent Text Reader

Abstract

The invention relates to a resource conversion method and device, computer equipment, a storage medium and a computer program product, and relates to the technical field of block chains. The method comprises the following steps: acquiring target resource information required by a user; the target resource information comprises a target resource type and a target resource conversion value; monitoring a current resource conversion value of the target resource type in the resource conversion platform in real time; under the condition that the current resource conversion value accords with the target resource conversion value, sending a resource conversion verification request to the user terminal; receiving resource conversion verification information returned by the user terminal based on the resource conversion verification request, and obtaining verification information corresponding to the user from the block chain network; and under the condition that the resource conversion verification information accords with the verification information, initiating a resource conversion request to a resource conversion platform, so that the resource conversion platform executes a corresponding resource conversion operation based on the resource conversion request. By adopting the method, the user resource conversion efficiency can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of blockchain technology, and in particular to a resource conversion method, apparatus, computer equipment, storage medium and computer program product. Background Art

[0002] The current mobile banking app provides foreign currency trading functions, and users can buy and sell through the app.

[0003] However, the existing transaction process is rather cumbersome, and users need to fill in regulatory-related information when conducting foreign currency transactions, which increases the complexity and time-consuming nature of transactions and may cause users to miss the best trading time. Summary of the invention

[0004] Based on this, it is necessary to provide a resource conversion method, apparatus, computer equipment, computer-readable storage medium and computer program product to address the technical issues of cumbersome transactions.

[0005] In a first aspect, the present application provides a resource conversion method. The method comprises:

[0006] Acquire target resource information required by the user; the target resource information includes the target resource type and the target resource conversion value;

[0007] Real-time monitoring of the current resource conversion value of the target resource type in the resource conversion platform;

[0008] When the current resource conversion value meets the target resource conversion value, sending a resource conversion verification request to the user terminal;

[0009] Receiving resource conversion verification information returned by the user terminal based on the resource conversion verification request, and acquiring verification information corresponding to the user from the blockchain network;

[0010] In the case where the resource conversion verification information conforms to the verification information, a resource conversion request is initiated to the resource conversion platform, so that the resource conversion platform performs a corresponding resource conversion operation based on the resource conversion request.

[0011] In one embodiment, before sending the resource conversion verification request to the user terminal, the method further includes:

[0012] When the current resource conversion value meets the target resource conversion value, randomly generating a preset number of confirmation information;

[0013] generating a resource conversion verification request according to the confirmation information and the current resource conversion value;

[0014] The sending of the resource conversion verification request to the user terminal includes:

[0015] The resource conversion verification request is sent to a user terminal; the user terminal is used to collect user behavior information based on the confirmation information feedback to obtain the resource conversion verification information.

[0016] In one of the embodiments, the resource conversion verification information includes video data, and the verification information includes facial information of the user;

[0017] After obtaining verification information corresponding to the user from the blockchain network, the method further includes:

[0018] According to the confirmation information, performing liveness detection on the video data to obtain a liveness detection result;

[0019] When the liveness detection result meets the preset conditions, performing face comparison on the video data according to the face information of the user to obtain a face comparison result;

[0020] When the face comparison result is successful, confirm that the resource conversion verification information is consistent with the verification information.

[0021] In one of the embodiments, the target resource information also includes resource conversion share information;

[0022] Initiating a resource conversion request to the resource conversion platform includes:

[0023] Obtaining account information of a preset resource conversion account of the user from the blockchain network;

[0024] Determining the resource inventory of the preset resource conversion account according to the account information;

[0025] When the resource stock is greater than or equal to the product of the resource conversion share information and the current resource conversion value, a resource conversion request is initiated to the resource conversion platform.

[0026] In one embodiment, after initiating a resource conversion request to the resource conversion platform, the method further includes:

[0027] Receiving resource conversion result information returned by the resource conversion platform based on the resource conversion request;

[0028] The resource conversion result information is sent to the user terminal, and the resource conversion result information is recorded in the blockchain network.

[0029] In one embodiment, the real-time monitoring of the current resource conversion value of the target resource type in the resource conversion platform includes:

[0030] Generate a conversion value query request according to the target resource type;

[0031] Sending the conversion value query request to the resource conversion platform;

[0032] The current resource conversion value of the target resource type returned by the resource conversion platform based on the conversion value query request is received.

[0033] In a second aspect, the present application also provides a resource conversion device. The device comprises:

[0034] A real-time monitoring module, used for real-time monitoring of the current resource conversion value of the target resource type in the resource conversion platform;

[0035] A request sending module, configured to send a resource conversion verification request to a user terminal when the current resource conversion value meets the target resource conversion value;

[0036] An information receiving module, used to receive the resource conversion verification information returned by the user terminal based on the resource conversion verification request, and obtain verification information corresponding to the user from the blockchain network;

[0037] The conversion initiation module is used to initiate a resource conversion request to the resource conversion platform when the resource conversion verification information conforms to the verification information, so that the resource conversion platform performs a corresponding resource conversion operation based on the resource conversion request.

[0038] In a third aspect, the present application further provides a computer device. The computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program:

[0039] Acquire target resource information required by the user; the target resource information includes the target resource type and the target resource conversion value;

[0040] Real-time monitoring of the current resource conversion value of the target resource type in the resource conversion platform;

[0041] When the current resource conversion value meets the target resource conversion value, sending a resource conversion verification request to the user terminal;

[0042] Receiving resource conversion verification information returned by the user terminal based on the resource conversion verification request, and acquiring verification information corresponding to the user from the blockchain network;

[0043] In the case where the resource conversion verification information conforms to the verification information, a resource conversion request is initiated to the resource conversion platform, so that the resource conversion platform performs a corresponding resource conversion operation based on the resource conversion request.

[0044] In a fourth aspect, the present application further provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the following steps are implemented:

[0045] Acquire target resource information required by the user; the target resource information includes the target resource type and the target resource conversion value;

[0046] Real-time monitoring of the current resource conversion value of the target resource type in the resource conversion platform;

[0047] When the current resource conversion value meets the target resource conversion value, sending a resource conversion verification request to the user terminal;

[0048] Receiving resource conversion verification information returned by the user terminal based on the resource conversion verification request, and acquiring verification information corresponding to the user from the blockchain network;

[0049] In the case where the resource conversion verification information conforms to the verification information, a resource conversion request is initiated to the resource conversion platform, so that the resource conversion platform performs a corresponding resource conversion operation based on the resource conversion request.

[0050] In a fifth aspect, the present application further provides a computer program product. The computer program product includes a computer program, and when the computer program is executed by a processor, the following steps are implemented:

[0051] Acquire target resource information required by the user; the target resource information includes the target resource type and the target resource conversion value;

[0052] Real-time monitoring of the current resource conversion value of the target resource type in the resource conversion platform;

[0053] When the current resource conversion value meets the target resource conversion value, sending a resource conversion verification request to the user terminal;

[0054] Receiving resource conversion verification information returned by the user terminal based on the resource conversion verification request, and acquiring verification information corresponding to the user from the blockchain network;

[0055] In the case where the resource conversion verification information conforms to the verification information, a resource conversion request is initiated to the resource conversion platform, so that the resource conversion platform performs a corresponding resource conversion operation based on the resource conversion request.

[0056] The resource conversion method, apparatus, computer equipment, storage medium and computer program product described above first obtain the target resource information required by the user, the target resource information including the target resource type and the target resource conversion value; then, monitor the current resource conversion value of the target resource type in the resource conversion platform in real time, which can ensure the sensitivity to the change of the resource conversion value, so as to accurately and efficiently initiate the resource conversion verification request at the appropriate time; when the current resource conversion value meets the target resource conversion value, send the resource conversion verification request to the user terminal to ensure that the user can complete the operation at the best resource conversion time, thereby improving the resource conversion efficiency; then, receive the resource conversion verification information returned by the user terminal based on the resource conversion verification request to ensure that the user authorizes the operation; and obtain the verification information corresponding to the user from the blockchain network, and the tamper-proof performance of the blockchain ensures the accuracy of the verification information; finally, when the resource conversion verification information meets the verification information, initiate a resource conversion request to the resource conversion platform, so that the resource conversion platform performs the corresponding resource conversion operation based on the resource conversion request, and the verification mechanism ensures the legality and validity of the user's resource conversion, thereby providing efficient and secure resource conversion services. In the above method, user needs are understood in advance to monitor the changes in resource conversion values ​​in real time, accurately determine the best time for resource conversion, and use blockchain technology to ensure the credibility of user identity and transactions. Under the condition of security verification, users can easily and conveniently convert resources to achieve the optimal conversion effect of resources, improve user experience and efficiency of resource conversion. At the same time, the application of blockchain technology enhances the security of user information and conversion data, prevents data tampering and illegal operations, and ensures the reputation and user trust of the resource conversion platform. BRIEF DESCRIPTION OF THE DRAWINGS

[0057] Figure 1 An application environment diagram of a resource conversion method in an embodiment;

[0058] Figure 2 A schematic diagram of a resource conversion method in one embodiment;

[0059] Figure 3 A schematic diagram of a flow chart of a resource conversion method in another embodiment;

[0060] Figure 4 An interactive schematic diagram of a resource conversion system in an embodiment;

[0061] Figure 5 is a structural block diagram of a resource conversion device in an embodiment;

[0062] Figure 6 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0063] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0064] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions.

[0065] The resource conversion method provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown. Among them, the server 102 communicates with the resource conversion platform 104, the user terminal 106, and the blockchain network 108 through the network. The data storage system can store the data that the server 102 needs to process. The data storage system can be integrated on the server 102, or it can be placed on the cloud or other network servers. The server 102 obtains the target resource information required by the user, and the target resource information includes the target resource type and the target resource conversion value; real-time monitoring of the current resource conversion value of the target resource type in the resource conversion platform 104; when the current resource conversion value meets the target resource conversion value, send a resource conversion verification request to the user terminal 106; receive the resource conversion verification information returned by the user terminal 106 based on the resource conversion verification request, and obtain the verification information corresponding to the user from the blockchain network 108; when the resource conversion verification information meets the verification information, initiate a resource conversion request to the resource conversion platform 104, so that the resource conversion platform 104 performs the corresponding resource conversion operation based on the resource conversion request. Among them, the server 102 can be implemented with an independent server or a server cluster composed of multiple servers. The user terminal 104 can be, but not limited to, various personal computers, laptops, smart phones, tablet computers, etc.

[0066] In one embodiment, Figure 2 As shown, a resource conversion method is provided, which is applied to Figure 1 Taking the server 102 in the example as an example, the following steps are included:

[0067] Step S201, obtaining target resource information required by the user.

[0068] The target resource information includes the target resource type and the target resource conversion value.

[0069] Exemplarily, the server 102 receives target resource information input by the user from the user terminal 106, including the target resource type and the target resource conversion value, the target resource conversion value being the resource conversion value required by the user when performing resource conversion. It should be noted that the user can set multiple target resource types and their corresponding target resource conversion values.

[0070] For example, in the financial field, resource conversion can be currency exchange; resource type is the currency type, such as RMB, USD, EUR, etc.; resource conversion value is the exchange rate of currency exchange. The user uses the currency type to be exchanged and the expected exchange rate as target resource information and informs the server 102 through the user terminal 106. It should be noted that resources can also be other financial products, investment products, etc., such as gold.

[0071] Step S202: monitor the current resource conversion value of the target resource type in the resource conversion platform in real time.

[0072] Among them, in the financial field, the resource conversion platform can be a foreign exchange settlement and sales system.

[0073] Exemplarily, the server 102 is connected to the resource conversion platform 104 through a corresponding interface to obtain the current resource conversion value of the target resource type from the resource conversion platform 104. It should be noted that the resource conversion platform 104 can be a foreign exchange settlement and sale system under a financial institution, or different foreign exchange settlement and sale systems under multiple financial institutions, and the server 102 can simultaneously monitor the current resource conversion value of the target resource type in multiple foreign exchange settlement and sale systems.

[0074] Step S203: When the current resource conversion value meets the target resource conversion value, a resource conversion verification request is sent to the user terminal.

[0075] Exemplarily, when the server 102 detects that the current resource conversion value meets the target conversion value, it will generate corresponding resource conversion verification information, and the resource conversion verification information should at least include the current resource conversion value. Then, based on the communication address of the user terminal 106, the server sends the resource conversion verification information to the user terminal so that the user confirms that the server 102 performs the resource conversion operation. In the financial field, the current resource conversion value meets the target conversion value when the current exchange rate of the currency is lower than or equal to the exchange rate expected by the user, that is, the user can purchase the corresponding currency at the expected price or lower.

[0076] Step S204: receiving resource conversion verification information returned by the user terminal based on the resource conversion verification request, and obtaining verification information corresponding to the user from the blockchain network.

[0077] Exemplarily, the user terminal 106 displays a resource conversion verification request to the user, and the user enters the required resource conversion share information according to the current resource conversion value in the resource conversion verification request; at the same time, based on the resource conversion verification request, the user verification behavior of resource conversion is completed. The user terminal 106 collects the user verification behavior, obtains the resource conversion verification information, and then sends the resource conversion verification information and the resource conversion share information to the server 102. The server 102 needs to obtain the verification information corresponding to the user from the blockchain network according to the user's user ID, and perform user identity verification operations on the resource conversion verification information according to the verification information to ensure the authenticity of the user's identity.

[0078] Step S205: when the resource conversion verification information conforms to the verification information, a resource conversion request is initiated to the resource conversion platform, so that the resource conversion platform performs a corresponding resource conversion operation based on the resource conversion request.

[0079] Exemplarily, when the resource conversion verification information conforms to the verification information, that is, the user identity authentication is passed, the server 102 initiates a resource conversion request in the user's account to the resource transfer platform 104 through the connection interface based on the resource transfer share and target resource type required by the user, so that the resource conversion platform 104 responds to the resource conversion request and executes the resource conversion operation on the target resource type in the user's account.

[0080] Furthermore, the communication interactions in the above steps can all be carried out based on the 5G network. The 5G network has a lower latency, which makes the communication between the server and the resource conversion platform and the user terminal more real-time and efficient, improving the response speed and conversion efficiency of the entire resource conversion process. At the same time, the 5G network introduces more powerful security features, including end-to-end encryption and authentication mechanisms, which help to ensure the security of the communication and conversion process, effectively prevent potential security risks such as data leakage and malicious attacks, and enhance users' trust in resource conversion.

[0081] In the above resource conversion method, first, the target resource information required by the user is obtained, and the target resource information includes the target resource type and the target resource conversion value; then, the current resource conversion value of the target resource type in the resource conversion platform is monitored in real time, which can ensure the sensitivity to the change of the resource conversion value, so as to accurately and efficiently initiate the resource conversion verification request at the right time; when the current resource conversion value meets the target resource conversion value, the resource conversion verification request is sent to the user terminal to ensure that the user can complete the operation at the best resource conversion time and improve the resource conversion efficiency; then, the resource conversion verification information returned by the user terminal based on the resource conversion verification request is received to ensure that the user authorizes the operation; and the verification information corresponding to the user is obtained from the blockchain network, and the non-tamperability of the blockchain ensures the accuracy of the verification information; finally, when the resource conversion verification information meets the verification information, a resource conversion request is initiated to the resource conversion platform, so that the resource conversion platform performs the corresponding resource conversion operation based on the resource conversion request, and the verification mechanism ensures the legitimacy and validity of the user's resource conversion, and provides efficient and safe resource conversion services. In the above method, the user's needs are understood in advance to monitor the changes in the resource conversion value in real time, accurately judge the best resource conversion time, and ensure the credibility of the user's identity and transaction through blockchain technology. Under the condition of security verification, users can easily and conveniently convert resources to achieve the optimal conversion effect of resources, improve user experience and efficiency of resource conversion. At the same time, the application of blockchain technology enhances the security of user information and conversion data, prevents data tampering and illegal operations, and ensures the reputation and user trust of the resource conversion platform.

[0082] In one embodiment, in step S203, before sending a resource conversion verification request to the user terminal, it also includes: randomly generating a preset number of confirmation messages when the current resource conversion value meets the target resource conversion value; and generating a resource conversion verification request based on the confirmation messages and the current resource conversion value.

[0083] In one embodiment, step S203 sends a resource conversion verification request to a user terminal, and further includes: sending a resource conversion verification request to the user terminal; the user terminal is used to collect user behavior information based on the confirmation information feedback to obtain resource conversion verification information.

[0084] Exemplarily, when the server detects that the current resource conversion value is less than or equal to the target resource conversion value, it will automatically generate confirmation information. The confirmation information can be a verification code, including text form, picture form or sound form. The server sends a resource conversion verification request containing at least the confirmation information and the current resource conversion value to the user terminal. The user terminal can display the confirmation information in text form or picture form, or play the confirmation information in sound form; after the user recognizes the confirmation information through the user terminal, the user terminal records the video data of the user's oral confirmation information, and then the user terminal transmits the video data back to the server as the resource conversion verification information. In addition, the user can also enter the resource transfer share for the target resource type in the user terminal according to the current resource conversion value in the resource conversion verification request. When the user terminal sends the resource conversion verification information, it also sends the resource transfer share to the server.

[0085] In this embodiment, by randomly generating confirmation information, intelligently generating resource conversion verification requests, and collecting user behavior information, higher verification security and user identity credibility are achieved. Users input resource transfer shares through the user terminal to achieve personalized selection of resource conversion. At the same time, users only need to perform simple operations on the user terminal to complete resource conversion verification, which also improves the real-time and efficiency of transactions.

[0086] In one embodiment, the resource conversion verification information includes video data, and the verification information includes the user's facial information; in step S204, after obtaining the verification information corresponding to the user from the blockchain network, it also includes: performing liveness detection on the video data according to the confirmation information to obtain a liveness detection result; when the liveness detection result meets the preset conditions, performing face comparison on the video data according to the user's facial information to obtain a face comparison result; when the face comparison result is a successful comparison, confirming that the resource conversion verification information meets the verification information.

[0087] Exemplarily, the server performs liveness detection on the video data of the user's oral confirmation information to determine whether the object in the video data is a real human object, which can effectively resist common false means such as photos, videos, face-changing, masks, occlusion, 3D animation, and screen reshoots. In the case of passing the liveness detection, the server performs face comparison on the human object in the video data according to the verification information obtained from the blockchain network. Among them, the verification information can be a face photo of the user, such as the photo on the user's ID card. By extracting the frame image in the video data, using methods such as convolutional neural networks, respectively extracting the face features in the frame image and the verification information, and determining the face comparison similarity through feature comparison algorithms such as Euclidean distance and cosine similarity, when the face comparison similarity reaches a preset threshold, it is determined that the face comparison result is a successful comparison, that is, it is confirmed that the human object in the video data is the user himself, then it can be confirmed that the resource conversion verification information meets the verification information, and the server can subsequently complete the user's resource conversion needs.

[0088] In this embodiment, the resource conversion verification information is verified by liveness detection and face comparison, which improves the accuracy of user identity confirmation and ensures the authenticity of user operations and the security of transactions. At the same time, the entire operation process is simple and efficient, which improves the convenience and efficiency of resource conversion while ensuring safety.

[0089] In one embodiment, the target resource information also includes resource conversion share information; step S205 initiates a resource conversion request to the resource conversion platform, and also includes: obtaining the account information of the user's preset resource conversion account from the blockchain network; determining the resource stock of the preset resource conversion account based on the account information; when the resource stock is greater than or equal to the product of the resource conversion share information and the current resource conversion value, initiating a resource conversion request to the resource conversion platform.

[0090] Exemplarily, the server queries the account information of the preset resource conversion account of the user from the blockchain network. The account information includes the account identifier, the financial institution to which it belongs, the current resource type, etc. The server queries the financial institution to which it belongs for the resource stock in the preset resource transfer account based on the account identifier. The server obtains the resource conversion share information preset by the user in the target resource information, or obtains the resource conversion share information updated by the user sent back together with the resource conversion verification information; the server determines whether the resource stock in the preset conversion account is sufficient to complete the resource conversion of the resource conversion share under the current resource conversion value, that is, whether the resource stock is greater than or equal to the product between the resource conversion share information and the current resource conversion value. When the resource stock in the preset conversion account is sufficient to complete the resource conversion of the resource conversion share under the current resource conversion value, the server initiates a resource conversion request to the resource conversion platform; when the resource stock in the preset conversion account is insufficient to complete the resource conversion of the resource conversion share under the current resource conversion value, the server generates a resource conversion failure message and sends the resource conversion failure message to the user terminal so that the user can modify the resource conversion share information or provide a new resource conversion account.

[0091] In this embodiment, by determining whether the resource stock of the preset resource conversion account is sufficient, a resource conversion request is initiated to the resource conversion platform only when the resource stock is sufficient, thereby reducing unnecessary requests and the burden on the resource conversion platform and improving the efficiency and response speed of resource conversion requests.

[0092] In one embodiment, in step S205, after initiating a resource conversion request to the resource conversion platform, it also includes: receiving resource conversion result information returned by the resource conversion platform based on the resource conversion request; sending the resource conversion result information to the user terminal, and recording the resource conversion result information in the blockchain network.

[0093] Exemplarily, after initiating a resource conversion request to the resource conversion platform, the server waits for the resource conversion platform to execute the resource conversion, and then receives the resource conversion result information returned by the resource conversion platform based on the resource conversion request. The resource conversion result information may include the converted resource type, conversion share, conversion time, conversion status, etc. The server sends the resource conversion result information to the user terminal in a timely manner to inform the user of the result of the resource conversion. At the same time, the server records the resource conversion result information in the blockchain network to ensure the transparency and immutability of the resource conversion result information; the blockchain network can also provide a historical query function to facilitate user management.

[0094] In this embodiment, after receiving the resource conversion result information, the server can immediately send the information to the user terminal, so that the user can immediately understand the result of the resource conversion, improving the user's satisfaction and transaction experience. Recording the resource conversion result information in the blockchain network ensures the transparency and immutability of the transaction results, and ensures the security and credibility of the transaction data.

[0095] In one embodiment, step S202 monitors the current resource conversion value of the target resource type in the resource conversion platform in real time, and also includes: generating a conversion value query request based on the target resource type; sending the conversion value query request to the resource conversion platform; and receiving the current resource conversion value of the target resource type returned by the resource conversion platform based on the conversion value query request.

[0096] Exemplarily, there may be multiple target resource types required by the user. The server generates a conversion value query request based on multiple target resource conversion types, and sends the conversion value query request to the resource conversion platform through the communication interface. The resource conversion platform queries the current resource conversion value of the target resource type and returns the current resource conversion value to the server. It should be noted that the server can send the conversion value query request to different resource conversion platforms at the same time, and determine the target resource conversion platform whose current resource conversion value best matches the target resource conversion value based on the different resource conversion platforms, and initiate a resource conversion request to the target resource conversion platform.

[0097] In this embodiment, through multi-target resource type query, efficient communication interface, multi-resource conversion platform support and target resource platform selection optimization, efficient, accurate and timely resource conversion value query and feedback of the resource conversion platform are realized. It is possible to easily obtain the current resource conversion values ​​of multiple target resource types, and make resource conversion decisions based on real-time query results, thereby improving the efficiency and rationality of resource conversion and providing users with better resource conversion services.

[0098] In one embodiment, Figure 3 As shown, a resource conversion method is provided, the method comprising:

[0099] Step S301, obtaining target resource information required by the user; the target resource information includes a target resource type and a target resource conversion value.

[0100] Step S302: Generate a conversion value query request according to the target resource type, and send the conversion value query request to the resource conversion platform.

[0101] Step S303: receiving the current resource conversion value of the target resource type returned by the resource conversion platform based on the conversion value query request.

[0102] Step S304: When the current resource conversion value meets the target resource conversion value, a preset number of confirmation messages are randomly generated.

[0103] Step S305: Generate a resource conversion verification request according to the confirmation information and the current resource conversion value.

[0104] Step S306, sending a resource conversion verification request to the user terminal; the user terminal is used to collect user behavior information based on the confirmation information feedback to obtain resource conversion verification information.

[0105] Step S307, receiving resource conversion verification information returned by the user terminal based on the resource conversion verification request, and obtaining verification information corresponding to the user from the blockchain network; the resource conversion verification information includes video data, and the verification information includes the user's facial information.

[0106] Step S308: Perform liveness detection on the video data according to the confirmation information to obtain a liveness detection result.

[0107] Step S309: When the liveness detection result meets the preset conditions, face comparison is performed on the video data according to the user's face information to obtain a face comparison result.

[0108] Step S310, when the face comparison result is successful, the account information of the user's preset resource conversion account is obtained from the blockchain network.

[0109] Step S311, determining the resource inventory of the preset resource conversion account according to the account information.

[0110] Step S312: when the resource stock is greater than or equal to the product of the resource conversion share information and the current resource conversion value, a resource conversion request is initiated to the resource conversion platform, so that the resource conversion platform performs a corresponding resource conversion operation based on the resource conversion request.

[0111] Step S313: receiving resource conversion result information returned by the resource conversion platform based on the resource conversion request.

[0112] Step S314, sending the resource conversion result information to the user terminal, and recording the resource conversion result information in the blockchain network.

[0113] In this embodiment, through efficient conversion value query, confirmation information generation, resource conversion verification, resource inventory confirmation, and resource conversion result feedback and recording, users are provided with efficient, safe, and reliable resource conversion services. At the same time, blockchain technology is used to ensure the credibility and transparency of transaction records, providing users with better resource conversion experience and protection.

[0114] In one embodiment, Figure 4As shown, a resource conversion system for executing the above-mentioned resource conversion method is provided, which is applied to foreign exchange trading scenarios in the financial field, including a 5G message center 401 and a user terminal 402, and the 5G message center 401 includes a 5G message generation unit 4011 and a 5G message processing unit 4012.

[0115] in,

[0116] ① The 5G message generation unit 4011 is used to connect to the foreign exchange settlement and sale related interfaces, monitor the exchange rate of the target foreign exchange set by the user in real time, and when the exchange rate of the user's target foreign exchange reaches the expected value, generate a random 4-digit number and generate a 5G foreign exchange transaction message of the foreign exchange transaction, and send it to the user terminal 402.

[0117] ② After the user receives the 5G foreign exchange transaction message in the user terminal 402, he fills in the transaction amount in the user terminal 402, records the liveness detection data according to the received 4-digit random number, and sends it to the 5G message processing module 4012 through the user terminal 402.

[0118] ③After receiving the 5G message sent by the user terminal 402, the 5G message processing module 4012 queries the debit card number and the corresponding ID card photo reserved by the user in the bank from the blockchain.

[0119] ④After the 5G message processing module 4012 receives the relevant information of the user returned by the blockchain, it randomly performs a user consistency comparison with the liveness detection sent by the user received in the previous step.

[0120] ⑤If the verification is passed, the 5G message processing module 4012 sends a transaction request to the foreign exchange settlement and sale related interface.

[0121] ⑥ The 5G message processing module 4012 receives the foreign currency transaction results returned from the foreign exchange settlement and sale related interface, then sends the transaction results to the user terminal 402, and writes the transaction records into the blockchain.

[0122] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0123] Based on the same inventive concept, the embodiment of the present application also provides a resource conversion device for implementing the resource conversion method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more resource conversion device embodiments provided below can refer to the limitations on the resource conversion method above, and will not be repeated here.

[0124] In one embodiment, Figure 5 As shown, a resource conversion device is provided, including: an information acquisition module 501, a real-time monitoring module 502, a request sending module 503, an information receiving module 504 and a conversion initiating module 505, wherein:

[0125] The information acquisition module 501 is used to acquire the target resource information required by the user; the target resource information includes the target resource type and the target resource conversion value;

[0126] A real-time monitoring module 502, used for real-time monitoring of the current resource conversion value of the target resource type in the resource conversion platform;

[0127] The request sending module 503 is used to send a resource conversion verification request to the user terminal when the current resource conversion value meets the target resource conversion value;

[0128] The information receiving module 504 is used to receive the resource conversion verification information returned by the user terminal based on the resource conversion verification request, and obtain the verification information corresponding to the user from the blockchain network;

[0129] The conversion initiation module 505 is used to initiate a resource conversion request to the resource conversion platform when the resource conversion verification information conforms to the verification information, so that the resource conversion platform performs a corresponding resource conversion operation based on the resource conversion request.

[0130] In one embodiment, the real-time monitoring module 502 is also used to generate a conversion value query request according to the target resource type; send the conversion value query request to the resource conversion platform; and receive the current resource conversion value of the target resource type returned by the resource conversion platform based on the conversion value query request.

[0131] In one embodiment, the resource conversion device further includes a request generation module for randomly generating a preset number of confirmation messages when the current resource conversion value meets the target resource conversion value; and generating a resource conversion verification request based on the confirmation messages and the current resource conversion value.

[0132] In one embodiment, the request sending module 503 is further used to send a resource conversion verification request to a user terminal; the user terminal is used to collect user behavior information based on the confirmation information feedback to obtain resource conversion verification information.

[0133] In one embodiment, the resource conversion verification information includes video data, and the verification information includes the user's facial information; the above-mentioned resource conversion device also includes a comparison verification module, which is used to perform liveness detection on the video data according to the confirmation information to obtain a liveness detection result; when the liveness detection result meets the preset conditions, the video data is subjected to face comparison according to the user's facial information to obtain a face comparison result; when the face comparison result is a successful comparison, it is confirmed that the resource conversion verification information meets the verification information.

[0134] In one embodiment, the target resource information also includes resource conversion share information; the above-mentioned conversion initiation module 505 is also used to obtain the account information of the user's preset resource conversion account from the blockchain network; determine the resource stock of the preset resource conversion account based on the account information; when the resource stock is greater than or equal to the product of the resource conversion share information and the current resource conversion value, initiate a resource conversion request to the resource conversion platform.

[0135] In one embodiment, the above-mentioned resource conversion device also includes a result processing module, which is used to receive resource conversion result information returned by the resource conversion platform based on the resource conversion request; send the resource conversion result information to the user terminal, and record the resource conversion result information in the blockchain network.

[0136] Each module in the resource conversion device can be implemented in whole or in part by software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module.

[0137] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 6As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store target resource information data. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a resource conversion method is implemented.

[0138] Those skilled in the art will understand that Figure 6 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0139] In one embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above method embodiments when executing the computer program.

[0140] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.

[0141] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.

[0142] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.

[0143] The technical features of the above embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0144] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A resource conversion method, It is characterized in that The method comprises: Acquire target resource information required by the user; the target resource information includes the target resource type and the target resource conversion value; Real-time monitoring of the current resource conversion value of the target resource type in the resource conversion platform; When the current resource conversion value meets the target resource conversion value, sending a resource conversion verification request to the user terminal; Receiving resource conversion verification information returned by the user terminal based on the resource conversion verification request, and acquiring verification information corresponding to the user from the blockchain network; In the case where the resource conversion verification information conforms to the verification information, a resource conversion request is initiated to the resource conversion platform, so that the resource conversion platform performs a corresponding resource conversion operation based on the resource conversion request.

2. The method according to claim 1, It is characterized in that Before sending the resource conversion verification request to the user terminal, the method further includes: When the current resource conversion value meets the target resource conversion value, randomly generating a preset number of confirmation information; generating a resource conversion verification request according to the confirmation information and the current resource conversion value; The sending of the resource conversion verification request to the user terminal includes: The resource conversion verification request is sent to a user terminal; the user terminal is used to collect user behavior information based on the confirmation information feedback to obtain the resource conversion verification information.

3. The method according to claim 2, It is characterized in that The resource conversion verification information includes video data, and the verification information includes facial information of the user; After obtaining verification information corresponding to the user from the blockchain network, the method further includes: According to the confirmation information, performing liveness detection on the video data to obtain a liveness detection result; When the liveness detection result meets the preset conditions, performing face comparison on the video data according to the face information of the user to obtain a face comparison result; When the face comparison result is successful, confirm that the resource conversion verification information is consistent with the verification information.

4. The method according to claim 1, It is characterized in that The target resource information also includes resource conversion share information; Initiating a resource conversion request to the resource conversion platform includes: Obtaining account information of a preset resource conversion account of the user from the blockchain network; Determining the resource inventory of the preset resource conversion account according to the account information; When the resource stock is greater than or equal to the product of the resource conversion share information and the current resource conversion value, a resource conversion request is initiated to the resource conversion platform.

5. The method according to claim 1, It is characterized in that After initiating a resource conversion request to the resource conversion platform, the method further includes: Receiving resource conversion result information returned by the resource conversion platform based on the resource conversion request; The resource conversion result information is sent to the user terminal, and the resource conversion result information is recorded in the blockchain network.

6. The method according to claim 1, It is characterized in that The real-time monitoring resource conversion platform includes: Generate a conversion value query request according to the target resource type; Sending the conversion value query request to the resource conversion platform; The current resource conversion value of the target resource type returned by the resource conversion platform based on the conversion value query request is received.

7. A resource conversion device, It is characterized in that The device comprises: An information acquisition module is used to acquire target resource information required by a user; the target resource information includes a target resource type and a target resource conversion value; A real-time monitoring module, used for real-time monitoring of the current resource conversion value of the target resource type in the resource conversion platform; A request sending module, configured to send a resource conversion verification request to a user terminal when the current resource conversion value meets the target resource conversion value; An information receiving module, used to receive the resource conversion verification information returned by the user terminal based on the resource conversion verification request, and obtain verification information corresponding to the user from the blockchain network; The conversion initiation module is used to initiate a resource conversion request to the resource conversion platform when the resource conversion verification information conforms to the verification information, so that the resource conversion platform performs a corresponding resource conversion operation based on the resource conversion request.

8. A computer device comprising a memory and a processor, wherein the memory stores a computer program. It is characterized in that When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.

9. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

10. A computer program product comprising a computer program, It is characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.