CN115760104A - Task processing method, system and device - Google Patents

Task processing method, system and device Download PDF

Info

Publication number
CN115760104A
CN115760104A CN202111033317.1A CN202111033317A CN115760104A CN 115760104 A CN115760104 A CN 115760104A CN 202111033317 A CN202111033317 A CN 202111033317A CN 115760104 A CN115760104 A CN 115760104A
Authority
CN
China
Prior art keywords
identification code
processing
task
target
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111033317.1A
Other languages
Chinese (zh)
Inventor
袁伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang eCommerce Bank Co Ltd
Original Assignee
Zhejiang eCommerce Bank Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang eCommerce Bank Co Ltd filed Critical Zhejiang eCommerce Bank Co Ltd
Priority to CN202111033317.1A priority Critical patent/CN115760104A/en
Publication of CN115760104A publication Critical patent/CN115760104A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The embodiment of the specification provides a task processing method, a task processing system and a task processing device, wherein the first task processing method comprises the steps that a first intelligent device generates a target processing task based on a target object, generates a first identification code corresponding to the target object according to the target processing task, and sends the first identification code to a second intelligent device; the second intelligent equipment receives the first identification code, determines processing information of the target object according to the first identification code under the condition that the first identification code passes verification, generates a second identification code based on the processing information, and sends the second identification code to the first intelligent equipment; and the first intelligent equipment receives the second identification code, and processes the target processing task based on the second identification code under the condition that the second identification code passes verification.

Description

Task processing method, system and device
Technical Field
The embodiment of the specification relates to the technical field of computers, in particular to a task processing method. One or more embodiments of the present specification also relate to a task processing system, a task processing apparatus, a computing device, and a computer-readable storage medium.
Background
With the increasing development of internet technology, networks become an important part of people's life, and especially, network payment provides convenience for people, but at present, network payment needs to be completed under the condition that a collection party and a payment party are networked on line, so that the requirement on the payment network environment is high, only a collection party or a payment party scans codes for payment, and the safety is low.
Therefore, it is necessary to provide a task processing method that can safely complete payment even when both the payment and receipt are offline.
Disclosure of Invention
In view of the above, the embodiments of the present specification provide a task processing method. One or more embodiments of the present specification relate to a task processing system, a task processing apparatus, a computing device, and a computer-readable storage medium to solve technical problems of the related art.
According to a first aspect of embodiments of the present specification, there is provided a task processing method including:
the method comprises the steps that a first intelligent device generates a target processing task based on a target object, generates a first identification code corresponding to the target object according to the target processing task, and sends the first identification code to a second intelligent device;
the second intelligent device receives the first identification code, determines processing information of the target object according to the first identification code under the condition that the first identification code passes verification, generates a second identification code based on the processing information, and sends the second identification code to the first intelligent device;
and the first intelligent equipment receives the second identification code, and processes the target processing task based on the second identification code under the condition that the second identification code passes verification.
According to a second aspect of embodiments of the present specification, there is provided a task processing system including:
a first intelligent device, a second intelligent device,
the first intelligent device is configured to generate a target processing task based on a target object, generate a first identification code corresponding to the target object according to the target processing task, and send the first identification code to the second intelligent device;
the second intelligent device is configured to receive the first identification code, determine processing information of the target object according to the first identification code when the first identification code passes verification, generate a second identification code based on the processing information, and send the second identification code to the first intelligent device;
the first smart device is further configured to receive the second identification code, and process the target processing task based on the second identification code if the second identification code is verified.
According to a third aspect of the embodiments of the present specification, there is provided a task processing method applied to a first smart device, including:
determining a target object and generating a target processing task based on the target object;
generating a first identification code corresponding to the target object according to the target processing task;
sending the first identification code to a second intelligent device, and receiving a second identification code generated by the second intelligent device based on the first identification code;
and processing the target processing task based on the second identification code under the condition that the second identification code passes the verification.
According to a fourth aspect of embodiments of the present specification, there is provided a task processing device including: a first smart device, wherein the first smart device comprises a first processing module and a first authentication module,
the first verification module is configured to determine a target object and generate a target processing task based on the target object;
the first processing module is configured to generate a first identification code corresponding to the target object according to the target processing task;
sending the first identification code to a second intelligent device, and receiving a second identification code generated by the second intelligent device based on the first identification code;
the first verification module is further configured to process the target processing task based on the second identification code if the second identification code is verified.
According to a fifth aspect of the embodiments of the present specification, there is provided a task processing method applied to a second smart device, including:
receiving a first identification code aiming at a target processing task sent by first intelligent equipment, wherein the target processing task comprises a target object;
analyzing the first identification code, and verifying the first identification code based on an analysis result;
if the verification is passed, generating a second identification code based on the first identification code;
and sending the second identification code to the first intelligent equipment, and receiving a processing result of the first intelligent equipment for processing the target processing task based on the second identification code.
According to a sixth aspect of embodiments herein, there is provided a task processing device including: a second smart device, wherein the second smart device comprises a second processing module and a second verification module,
the second processing module is configured to receive a first identification code, which is sent by a first intelligent device and aims at a target processing task, wherein the target processing task comprises a target object;
the second verification module is configured to analyze the first identification code and verify the first identification code based on an analysis result;
if the verification is passed, generating a second identification code based on the first identification code;
the second processing module is further configured to send the second identification code to the first intelligent device, and receive a processing result of the first intelligent device processing the target processing task based on the second identification code.
One embodiment of the present specification implements a task processing method, a task processing system, and a task processing device, where a first task processing method includes a first smart device generating a target processing task based on a target object, generating a first identification code corresponding to the target object according to the target processing task, and sending the first identification code to a second smart device; the second intelligent device receives the first identification code, determines processing information of the target object according to the first identification code under the condition that the first identification code passes verification, generates a second identification code based on the processing information, and sends the second identification code to the first intelligent device; the first intelligent device receives the second identification code, and processes the target processing task based on the second identification code under the condition that the second identification code passes verification;
according to the task processing method, the first intelligent device and the second intelligent device both generate the identification codes, and under the condition that the identification codes of the first intelligent device and the second intelligent device both pass verification, a target processing task (such as a payment task) aiming at a target object is completed, so that the payment grade is improved, and the payment safety is guaranteed.
Drawings
FIG. 1 is a flow diagram of a task processing method provided by one embodiment of the present description;
FIG. 2 is a flowchart illustrating a task processing method according to an embodiment of the present disclosure;
FIG. 3 is a flowchart of a task processing method applied to a first smart device according to an embodiment of the present disclosure;
FIG. 4 is a flowchart of a task processing method applied to a second smart device according to an embodiment of the present disclosure;
FIG. 5 is a block diagram of a task processing system according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of a first task processing device according to an embodiment of the present specification;
fig. 7 is a schematic structural diagram of a second task processing device according to an embodiment of the present specification.
Detailed Description
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present description. This description may be embodied in many different forms and should not be construed as limited to the embodiments set forth herein, as those skilled in the art will be able to make and use the present disclosure without departing from the spirit and scope of the present disclosure.
The terminology used in the description of the one or more embodiments is for the purpose of describing the particular embodiments only and is not intended to be limiting of the description of the one or more embodiments. As used in this specification and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used in one or more embodiments of the present specification refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It should be understood that although the terms first, second, etc. may be used herein in one or more embodiments to describe various information, these information should not be limited by these terms. These terms are only used to distinguish one type of information from another. For example, a first can also be referred to as a second and, similarly, a second can also be referred to as a first without departing from the scope of one or more embodiments of the present description. The word "if" as used herein may be interpreted as "at" \8230; "or" when 8230; \8230; "or" in response to a determination ", depending on the context.
First, the noun terms referred to in one or more embodiments of the present specification are explained.
TEE: english is called as a whole: trusted Execution Environment, chinese full name: a trusted execution environment.
And SE: english is called as a whole: secure Element, full chinese: the secure element SE can be divided into an internal SE chip and an external SE chip of the intelligent terminal.
A value voucher: the value tool is used in a digitized form for real goods and services transactions.
Loading the value certificate: the user initiates the function of the load value voucher through an exclusive APP (Application), after the user inputs the load amount through an APP interface, the APP initiates a load request to a service mechanism server, a transaction instruction uses a terminal authentication private key to sign, the service mechanism server generates the load value voucher after receiving the load instruction, and the load value voucher is issued to the user terminal and stored in the user terminal to complete the load.
In the present specification, a task processing method is provided. One or more embodiments of the present specification relate to a task processing system, a task processing apparatus, a computing device, and a computer-readable storage medium, and are described in detail in the following embodiments.
The task processing method provided by one or more embodiments of the present specification is applied to a dual offline scenario, where users of both parties of a receiving and a paying party directly perform a transaction, and the transaction does not need to obtain an online confirmation with a service end (which can be understood as a fund depositor) of a service organization, so that a value certificate is required to be deposited in a hardware terminal in advance, and an implementation manner of the task processing method may be referred to as depositing the value certificate. When a user initiates a transaction, a terminal of a payer initiates the transaction, generates a transaction instruction, transmits the transaction and value certificate information to a payee in a point-to-point mode, and completes the instant transaction after the payee passes verification. After both the receiving and paying parties complete the transaction, the asynchronous online confirmation is carried out, the earmarked value certificate is converted into an online value certificate, and the online transaction is carried out or the earmarked value certificate is an offline payment use value certificate.
When the task processing method provided by one or more embodiments of the present specification is applied to network payment, a payee and a payer are in a dual-offline application scenario (that is, neither the payee nor the payer is networked), at this time, both the payee and the payer can perform information interaction by scanning two-dimensional codes with each other by using the task processing method, and complete the transmission of a transaction instruction and a value voucher certificate, and particularly, under the dual-offline situation of the payee and the payer, intelligent devices used by the payee and the payer can establish a connection relationship by scanning codes.
For convenience of understanding, the task processing method provided in one or more embodiments of the present disclosure is described in detail in a shopping payment scenario, but the task processing method includes but is not limited to be applied in the shopping payment scenario, and may also be applied in other specific scenarios where two parties interact with each other, for example, a contract event scenario, where two parties of participants (i.e., a contracting party and a contracting party) may complete a certain task based on a contract platform; in another or some engineering project scenarios, both participants (i.e., project contractors and project builders) may complete a project based on a third party platform (i.e., project builder).
Referring to fig. 1, fig. 1 shows a flowchart of a task processing method provided in an embodiment of the present specification, including the following steps:
step 102: the method comprises the steps that a first intelligent device generates a target processing task based on a target object, generates a first identification code corresponding to the target object according to the target processing task, and sends the first identification code to a second intelligent device.
Wherein, first smart machine, second smart machine include but not limited to intelligent user terminal, for example cell-phone, POS (point of sale) machine etc. and first smart machine and second smart machine can be the same smart machine, also can be different smart machines as long as can realize the interconnection through sweeping the sign indicating number can.
In practical application, both the first intelligent device and the second intelligent device have a connection relationship with a third-party certification authority, wherein the third-party certification authority can be regarded as a mechanism for issuing a value certificate, that is, the third-party certification authority issues the value certificate to the first intelligent device and/or the second intelligent device, so that the first intelligent device and/or the second intelligent device can realize commodity transaction and the like through the value certificate issued by the third-party certification authority.
When the task processing method is applied to a shopping payment scene in specific implementation, the target object can be regarded as any kind of commodity to be purchased, and the target processing task can be a payment task generated for purchasing any kind of commodity; when the task processing method is applied to a contract event scenario, the target object may be regarded as a certain task to be completed, such as running, and the target processing task may be a running task generated for completing the running.
When the target object is a commodity, the first intelligent device generates a payment task for the commodity based on the commodity, then generates a first identification code corresponding to the commodity according to the payment task, wherein the first identification code can be regarded as a code to be paid, such as a two-dimensional code, a bar code or a special character code, generated by a payment intelligent device (namely, the first intelligent device), and finally sends the generated first identification code to a payment intelligent device (namely, the second intelligent device).
In practical application, the collection intelligent device can comprise a built-in first processing module and a built-in or external first verification module so as to ensure the safety of the collection intelligent device; the first processing module includes but is not limited to a trusted execution environment module (e.g., TEE module), and the first verification module includes but is not limited to a secure element (e.g., SE module), where if the SE module is an external SE module of a smart device (e.g., first smart device or second smart device), the external SE module should have a module connected to the smart device to implement connection to the smart device.
Specifically, the intelligent terminal trusted execution environment can utilize a device digital certificate authenticated by a third party organization and a corresponding payment application program to be pushed to the device on line or preset in the factory, so that a value certificate is rapidly deployed, and a double off-line payment function is realized.
During specific implementation, a user downloads an exclusive APP (application) from an intelligent terminal (namely, a first intelligent device and a second intelligent device), and after a KYC (kyC-customer, kyC, real-name authentication) identity authentication is performed and an account is generated, a trusted execution environment module of the intelligent terminal is called to activate a hardware application operation; a virtual secure network channel is established in the Trusted execution environment module through a terminal management public and private key, a payment application program and a TSM (Trusted Service Manager) which are preset in a factory. After the validity of the equipment is verified, the payment application program is downloaded or updated through the channel, a terminal authentication public and private key pair is generated, a public key and equipment information are uploaded through the secure channel, and the public key and the equipment information are forwarded to a service organization through the TSM. After the service organization verifies the hardware equipment and requests validity, a binding relation between the account id and the equipment is established, and the service organization is used for issuing an equipment terminal digital certificate after successful binding and is used for later-stage identity authentication and communication encryption of a user; when the service organization activates the terminal equipment, the service organization can set security transaction strategies such as certificate validity period, earmark amount upper limit, transaction times, service scenes and the like to the equipment terminal according to the KYC grade of the user, and the security transaction strategies are used as preposed verification rules of all offline transactions; the process of loading the value voucher at the intelligent terminal can refer to the detailed description of the loading value voucher, and is not described herein again.
During specific implementation, the SE module is divided into two types, namely an internal SE chip and an external SE chip, of the intelligent terminal, the SE module can provide higher-level security protection, but the computing and storage resources are limited, and the TEE module can provide strong computing power in a relatively independent trusted security environment, so that a payment task can be completed for first intelligent equipment serving as a payee in a mode of the TEE module and the SE module, on the basis of not reducing the computing power, the risk level of the first intelligent equipment is improved, and the security of the first intelligent equipment is ensured, and the specific implementation mode is as follows:
the first intelligent device comprises a first processing module and a first verification module;
correspondingly, the generating, by the first smart device, a target processing task based on a target object, generating, according to the target processing task, a first identification code corresponding to the target object, and sending the first identification code to the second smart device includes:
the first verification module generates a target processing task based on a target object and sends the target processing task to the first processing module;
the first processing module generates a first identification code corresponding to the target object according to the received target processing task, and sends the first identification code to second intelligent equipment.
Specifically, under the condition that the first intelligent device is a payment intelligent terminal and the payment intelligent terminal comprises a TEE module and an SE module, the actual application scenario is that the first verification module (such as the SE module) determines a target object (namely a commodity), generates a payment task according to the commodity and sends the payment task to the first processing module (such as the TEE module), the TEE module has a good calculation function, generates a first identification code corresponding to the commodity according to the received payment task after receiving the payment task sent by the SE, and sends the first identification code to the second intelligent device (namely the payment intelligent terminal).
In another embodiment of this specification, in order to complete a payment task in a mode of a TEE module plus an SE module without reducing the computing power of the second intelligent device and ensuring the security of the second intelligent device, the TEE module that receives the first identification code is the TEE module of the second intelligent device, the specific implementation manner is as follows:
the first intelligent device comprises a first processing module and a first verification module, and the second intelligent device comprises a second processing module and a second verification module;
correspondingly, the generating, by the first smart device, a target processing task based on a target object, generating, according to the target processing task, a first identification code corresponding to the target object, and sending the first identification code to the second smart device includes:
the first verification module generates a target processing task based on a target object and sends the target processing task to the first processing module;
and the first processing module generates a first identification code corresponding to the target object according to the received target processing task and sends the first identification code to the second processing module.
Specifically, the second processing module may be regarded as the above-mentioned trusted execution environment module (e.g. TEE module), that is, in practical application, the second processing module of the second smart device implements receiving processing on the first identification code, and then the second verification module implements security verification on the first identification code, so as to ensure the computing capability and security performance of the second smart device, at this time, the second verification module may be regarded as the above-mentioned secure element (e.g. SE module).
Step 104: and the second intelligent equipment receives the first identification code, determines the processing information of the target object according to the first identification code under the condition that the first identification code passes verification, generates a second identification code based on the processing information, and sends the second identification code to the first intelligent equipment.
In specific implementation, after the first identification code is sent to the second processing module, the second processing module forwards the first identification code to the second verification module, and the second verification module realizes the safety verification of the first identification code so as to improve the safety performance of the whole payment task process, wherein the specific implementation mode is as follows:
the second smart device receiving the first identification code, determining processing information of the target object according to the first identification code when the first identification code passes verification, generating a second identification code based on the processing information, and sending the second identification code to the first smart device includes:
the second processing module receives the first identification code and sends the first identification code to the second verification module;
the second verification module analyzes the first identification code to determine first attribute information of the first intelligent device, verifies the first attribute information, and sends the first attribute information to the second processing module when the first attribute information passes verification;
the second processing module determines processing information of the target object based on the first attribute information, generates a second identification code based on the processing information, and sends the second identification code to the first processing module.
Specifically, the second verification module may be regarded as the SE module, and redundant description of the SE module is omitted here.
In practical application, after receiving a first identification code sent by a first processing module, a second processing module analyzes the first identification code, and forwards a first identification code value obtained through analysis to a second verification module, which analyzes the first identification code value to obtain first attribute information of first intelligent equipment contained in the first identification code value, for example, a receiving name of an object value corresponding to a target object received by the first intelligent equipment (namely, a payee account name of the first intelligent equipment), a digital certificate obtained from a third-party certification authority (namely, a terminal digital certificate issued by a service authority for the first intelligent equipment), and the like; then, the first attribute information is verified (namely, the validity of the payee account information and the terminal digital certificate is verified), and the first attribute information is sent to the second processing module under the condition that the first attribute information passes the verification; the second processing module determines processing information (for example, an amount to be paid, a payment password, and the like corresponding to the target object) of the target object based on the first attribute information, generates a second identification code based on the processing information, and then sends the second identification code to the first smart device.
In the embodiment of the specification, the first intelligent device and the second intelligent device can both adopt the mode of the TEE module and the SE module, namely, the calculation speed and the calculation efficiency of the first intelligent device and the second intelligent device can be guaranteed through the high calculation capacity of the TEE module, the interaction of the first intelligent device and the second intelligent device and the safety of transaction can also be guaranteed through the high safety level of the SE module, the safety of the whole payment process and the speed of completing the payment task are guaranteed through the mode that both sides adopt the TEE module and the SE module, and the user experience is improved. Similarly, a customized MCU chip and other modes can be adopted to replace a TEE or SE module, but the relationship between the security isolation storage and the high-efficiency calculation processing needs to be balanced, and if no complex user front-end interaction exists, the TEE module does not need to be used, and the customized MCU realizes the service master control processing. And if the safe storage is ensured by matching with other safety mechanisms, the safe storage can be realized without using an independent SE chip.
In addition, in another embodiment of the present specification, the first attribute information includes a receiving name of the first smart device receiving the object value corresponding to the target object and a digital certificate obtained from a third-party certification authority;
correspondingly, the second verification module analyzes the first identification code to determine first attribute information of the first intelligent device, verifies the first attribute information, and sends the first attribute information to the second processing module when the first attribute information passes verification, where the second verification module includes:
the second verification module analyzes the first identification code to determine a storage position where the first intelligent device stores an object value corresponding to the target object and a digital certificate obtained from a third-party certification authority; and
and verifying the validity of the first intelligent device for receiving the receiving name of the object value corresponding to the target object and the digital certificate obtained from the third-party certification authority, and sending the receiving name of the object value corresponding to the target object and the digital certificate obtained from the third-party certification authority to the second processing module by the first intelligent device under the condition of valid verification.
Specifically, in the payment scenario, the first attribute information of the first smart device includes, but is not limited to, a receiving name of the first smart device for receiving an object value corresponding to the target object (that is, a payee account name of the first smart device), a digital certificate obtained from a third-party certification authority (that is, a terminal digital certificate issued by the service authority for the first smart device), and the like.
In specific implementation, after receiving a first identifier value corresponding to a first identifier analyzed by the second processing module, the second verification module analyzes the first identifier value to obtain a payee account name of the first intelligent device and a terminal digital certificate issued by the service organization for the first intelligent device, and under the condition that the payee account name of the first intelligent device and the terminal digital certificate issued by the service organization for the first intelligent device are determined to be safe and the terminal digital certificate issued by the service organization for the first intelligent device is determined to be valid, the payee account name of the first intelligent device and the terminal digital certificate issued by the service organization for the first intelligent device are sent to the second processing module of the second intelligent device.
In this embodiment of the present specification, the second verification module of the second intelligent device verifies the first identification code, and when the payment account and the terminal digital certificate of the first intelligent device are verified to be safe and valid, the amount of money corresponding to the target object is deducted from the payment account and a transaction password is provided based on the information of the first identification code obtained through analysis, so as to ensure the security of the payment task and protect the fund security of the second intelligent device.
Specifically, the determining, by the second processing module, processing information of the target object based on the first attribute information, and the generating a second identification code based on the processing information includes:
the second processing module determines the number of object values corresponding to the target object and a verification code for processing the object values based on the receiving name of the object value corresponding to the target object received by the first intelligent device and a digital certificate obtained from a third-party certification authority; and
acquiring an object value corresponding to the target object based on the number of object values and the verification code, generating an object value processing request based on the object value corresponding to the target object, and sending the object value processing request to the second verification module;
the second verification module generates an object value processing instruction based on the object value processing request and sends the object value processing instruction to the second processing module;
the second processing module generates the second identification code based on the object value processing instruction.
Specifically, taking the payment scenario as an example, after the second verification module verifies the first identification code, the second verification module returns the payee account name of the first intelligent device in the analyzed first identification code and the terminal digital certificate issued by the service organization to the second processing module, after the second verification module confirms the payee information of the first intelligent device, the second processing module determines the value voucher amount corresponding to the target object and verifies the transaction payment password, and deducts the value voucher corresponding to the target object from the payment account of the second intelligent device based on the value voucher amount and the transaction payment password, for example, the target object is 2 yuan, so that the deducted value voucher is 2 yuan; after a value voucher corresponding to the target object is deducted by the second processing module, generating an object value processing request based on the deduction operation, and then sending the object value processing request to the second verification module, wherein the object value processing request comprises but is not limited to information such as a value voucher corresponding to the deducted target object, a payment account of the second intelligent device, a serial number of the transaction, an account id of a payee, a validity period of the deducted value voucher, and a digital certificate of a payer terminal of the second intelligent device; the second verification module obtains the information in the object value processing request after receiving the object value processing request, then generates an object value processing instruction based on the information, and returns the object value processing instruction to the second processing module, the second processing module generates a second identification code after receiving the object value processing instruction, and sends the second identification code to the first processing module of the first intelligent device, wherein the object value processing instruction at least comprises information such as a value certificate corresponding to a deducted target object, a payment account of the second intelligent device, a serial number of the transaction, a payee account id, a validity period of the deducted value certificate, a payer terminal digital certificate of the second intelligent device and the like.
In the embodiment of the description, after the second intelligent device determines that the payee account of the first intelligent device is safe and the terminal digital certificate is valid, the value certificate corresponding to the target object in the payment account of the second intelligent device is deducted, and then the value certificate and other important information of the transaction generate the second identification code in a transaction instruction mode, so that the security of the transaction process is further ensured.
In specific implementation, in order to further ensure the security of the value certificate in the transaction process, the second verification module encrypts the object value processing request to generate an encrypted object value processing instruction, and the specific implementation manner is as follows:
the second verification module generates an object value processing instruction based on the object value processing request, and the sending of the object value processing instruction to the second processing module includes:
the second verification module generates an encrypted object value processing instruction based on the object value processing request, and sends the encrypted object value processing instruction to the second processing module.
Step 106: and the first intelligent equipment receives the second identification code, and processes the target processing task based on the second identification code under the condition that the second identification code passes verification.
Specifically, on the basis that the first smart device includes the first processing module and the first verification module, the sending the second identification code to the first smart device includes:
sending the second identification code to the first processing module;
correspondingly, the first smart device receives the second identification code, and if the second identification code is verified, the processing the target processing task based on the second identification code includes:
the first processing module receives the second identification code and sends the second identification code to the first verification module;
the first verification module analyzes the second identification code to determine attribute information of an object value corresponding to the target object, which is sent by the second intelligent device;
and verifying the attribute information of the object value, and processing the target processing task based on the object value under the condition of passing the verification.
Specifically, after the second intelligent device or a second processing module of the second intelligent device generates a second identification code, the second identification code is sent to a first processing module of the first intelligent device, and after the second identification code is analyzed and processed by the first processing module, a second identification code value corresponding to the second identification code is sent to a first verification module for safety verification, so that the processing efficiency of the first intelligent device is improved.
In specific implementation, after receiving the second identifier, the first processing module firstly analyzes the second identifier to obtain a second identifier value corresponding to the second identifier, and then forwards the second identifier value to the first verification module, and the first verification module analyzes the second identifier value to obtain attribute information of an object value corresponding to the target object, which is sent by the second intelligent device, wherein the object value can be understood as a value certificate corresponding to a commodity under the condition that the target object is the commodity, and the attribute information of the object value includes but is not limited to the amount of the value certificate, a transaction serial number, a payer terminal digital certificate, a valid period of the value certificate and the like; the first verification module verifies transaction information of the object value, and processes the target processing task based on the object value if the verification is passed.
In practical application, a verification module (such as an SE module) of first intelligent equipment decrypts a transaction ciphertext (namely a second identification code value) by using a self-owned terminal authentication private key to obtain complete transaction information and a transaction instruction, the transaction instruction comprises a payer terminal digital certificate and the like, after the transaction instruction is checked to pass, the authenticity of a value certificate is checked, whether a transaction is in a valid period is checked, and the value certificate and the transaction serial number which are stored in a circle are used for checking to prevent double-flower, the transaction instruction is registered to ensure that the transaction amount cannot be reused before the right is confirmed, and then a verification result is returned to a processing module (such as a TEE module) of the first intelligent equipment.
Further, in a payment scenario, processing a target processing task based on an object value may be understood as completing a payment task based on a transaction amount.
In the embodiment of the specification, the first intelligent device verifies the second identification code, and only when the safety and accuracy of the payment account, the payment amount and the like of the second intelligent device are verified, the target processing task is completed based on the second identification code, so that the safety of the processing process of the target processing task is ensured.
In another embodiment of the present specification, said processing the target processing task based on the second identification code if the second identification code is verified includes:
the first verification module analyzes the second identification code to determine second attribute information of the second smart device and acquire attribute information of an object value corresponding to the target object from the second smart device, verifies the second attribute information and the attribute information of the object value corresponding to the target object from the second smart device, and processes the target processing task based on the second identification code if the verification is passed,
the second attribute information includes a receiving name of the object value corresponding to the target object received by the second smart device and a digital certificate obtained from the third-party certification authority.
Specifically, after the second processing module sends the second identifier to the first processing module, the first processing module may analyze the second identifier to obtain a second identifier value corresponding to the second identifier, and send the second identifier value to the first verification module, where the first verification module first analyzes the second identifier to determine second attribute information of the second smart device, such as a payer name and a terminal digital certificate of the second smart device, and to determine attribute information of an object value corresponding to the target object, which is obtained from the second smart device, such as a value certificate corresponding to the target object, a serial number of the transaction, a payee account id, a validity period of the deducted value certificate, and the like; and then, verifying the second identification code based on the information, wherein the specific verification process is the same as that of the verification module, and is not repeated herein, and after the verification is passed, the target processing task is processed based on the second identification code.
In this embodiment of the specification, after receiving a second identification code (i.e., a payment code) sent by a second smart device, a first smart device performs security verification on the payment code, and after a value certificate corresponding to a payer account and a target object passes verification, a payment task is processed based on the payment code, so as to ensure security of a transaction.
In specific implementation, the processing the target processing task based on the second identifier includes:
determining an object value corresponding to the target object in the second identification code, and storing the object value corresponding to the target object to the first intelligent device;
and the first intelligent equipment completes the target processing task under the condition of successfully receiving the object value corresponding to the target object.
In practical application, after the second identification code passes verification, the value voucher corresponding to the target object deducted from the payment account of the second intelligent device can be determined based on the analyzed information of the second identification code, at this time, the value voucher is stored in the payment account of the first intelligent device, and the payment task for the target object is completed under the condition that the first intelligent device successfully receives payment.
In the implementation of the specification, after the value certificate of the target object paid by the payer is safely and accurately acquired, the value certificate is stored in the collection account of the payee so as to successfully complete the payment task, and the first verification module returns the completion result of the payment task to the first processing module, so that the user experience is improved.
The task processing method provided by one or more embodiments of the present specification includes that a first smart device generates a target processing task based on a target object, generates a first identification code corresponding to the target object according to the target processing task, and sends the first identification code to a second smart device; the second intelligent equipment receives the first identification code, determines processing information of the target object according to the first identification code under the condition that the first identification code passes verification, generates a second identification code based on the processing information, and sends the second identification code to the first intelligent equipment; the first intelligent equipment receives the second identification code, and processes the target processing task based on the second identification code under the condition that the second identification code passes verification; according to the task processing method, the first intelligent device and the second intelligent device both generate the identification codes, the payment task aiming at the target object is completed under the condition that the identification codes of the first intelligent device and the second intelligent device both pass verification, and the payment grade is improved through double safety certification, so that the payment safety is guaranteed.
The following description will further describe the task processing method by taking an application of the task processing method provided in this specification in a payment scenario as an example with reference to fig. 2. Fig. 2 shows a processing procedure flowchart of a task processing method provided in an embodiment of the present specification, which specifically includes the following steps:
in a payment scene, the task processing method comprises payee intelligent equipment and payer intelligent equipment, wherein the payee intelligent equipment and the payer intelligent equipment select to use the TEE as a processing module and an external SE as a verification module.
Step 202: and the SE module of the intelligent equipment of the payee generates a payment task according to the commodity and sends the payment task to the TEE module.
In practical application, the SE module of the intelligent equipment of the payee generates a payment task for the commodity according to information such as account information of the payee, a terminal digital certificate and the like, and then sends the payment task to the TEE module, and the TEE module generates a payment two-dimensional code for the commodity based on the payment task and displays the payment two-dimensional code to the payer through an APP interface.
Step 204: the TEE module of the payee smart device generates a payee code based on the payment task and sends the payee code to the TEE module of the payer smart device.
In practical application, the intelligent payee device displays the generated payment two-dimensional code to the intelligent payer device in an interface mode.
Step 206: and the TEE module of the payer intelligent equipment analyzes the cash collection code, extracts the two-dimensional code value in the cash collection code and forwards the two-dimensional code value to the SE module.
Specifically, the TEE module of payer intelligent equipment analyzes the cash collection code, extracts the two-dimensional code value in the cash collection code, and can be understood as follows: the payer intelligent device scans the payee two-dimensional code and analyzes the two-dimensional code, and then forwards the analyzed two-dimensional code value to the SE module.
Step 208: and the SE module of the intelligent equipment of the payer verifies the analyzed two-dimensional code value.
Specifically, the SE module of the payer intelligent device verifies the analyzed two-dimensional code value, which can be understood as follows: and the SE module of the payer intelligent device verifies the validity of the payee account information and the terminal digital certificate of the payee intelligent device according to the acquired two-dimensional code value.
Step 210: the SE module of the payer smart device returns the verification result to the TEE module.
Specifically, the SE module of the payer intelligent device returns the verification result to the TEE module, which can be understood as: the SE module of the payer intelligent equipment returns the verification result of the payee intelligent equipment terminal and the information of the transaction value voucher which is loaded by the payer intelligent equipment, at the moment, if the verification fails, the transaction is rejected, and if the verification succeeds, the step 212 is continued.
Step 212: in case of successful verification, the TEE module of the payer smart device enters the transaction information.
Specifically, the TEE module of the payer intelligent device inputs transaction information, which can be understood as: and under the condition of successful verification, the TEE module of the payer intelligent device displays payee information in the form of an interface, receives the transaction amount and the payment password input by the user through the interface, and initiates transaction preparation.
Step 214: the TEE module of the payer intelligent device sends transaction information to the SE module.
The transaction information comprises updated earmark value voucher, transaction serial number, payee value voucher account id, transaction amount, validity period, payer terminal digital certificate, historical transaction information of the earmark value voucher and other transaction factors, and the transaction information is encrypted by using a payee terminal authentication public key with the added and updated value voucher.
Step 216: the SE module of the payer smart device generates an encrypted transaction instruction and sends the encrypted transaction instruction to the TEE module.
Specifically, the SE module of the payer intelligent device generates the encrypted transaction instruction, which can be understood as: and the SE module of the intelligent equipment of the payer deducts the residual amount of the earmarked value voucher, uses a terminal authentication private key for re-signing, and updates the information such as the residual balance of the earmarked value voucher after the instruction is generated.
Step 218: and the TEE module of the payer intelligent equipment generates a payment two-dimensional code from the transaction instruction and sends the payment two-dimensional code to the TEE module of the payee intelligent equipment.
In practical application, after the TEE module of the intelligent equipment of the payer generates the transaction instruction into the payment two-dimensional code, the payment two-dimensional code is displayed to the intelligent equipment of the payee in an interface display mode.
Step 220: the TEE module of the intelligent equipment of the payee receives the payment two-dimensional code, analyzes the payment two-dimensional code, extracts the payment code value in the payment two-dimensional code and forwards the payment code value to the SE module.
In practical application, the intelligent equipment of the payee scans and analyzes the two-dimensional payment code, and then forwards the analyzed two-dimensional payment code value to the SE module.
Step 222: and the SE module of the intelligent equipment of the payee verifies the analyzed payment two-dimensional code value and returns a verification result to the TEE module.
Specifically, the two-dimensional code value of the payment after the SE module of the payee intelligent device verifies and analyzes may be understood as: and decrypting the transaction ciphertext by using the self-owned terminal authentication private key in the SE module of the intelligent equipment of the payee to obtain complete transaction information. After the transaction instruction passes the verification of the signature, the authenticity of the value voucher is verified, and whether the transaction is in the validity period or not is checked. And checking by using the earmarked value voucher, the transaction serial number and the like to prevent double flowers. And registering the transaction instruction, the transaction amount not being reusable until the right is confirmed.
Step 224: and after receiving the collection confirmation instruction, the TEE module of the intelligent equipment of the payee finishes the payment task.
Specifically, the SE module of the payee smart device returns the verification result to the TEE module, the TEE module displays the verification result to the user in the form of an interface, and after the user confirms the payment result, the payment task is finished, that is, the payee smart device has received the value certificate for the commodity, the transaction can be finished, and the payment result is returned to the payee smart device.
In the task processing method provided by the embodiment of the specification, the payer and the payee both generate the identification codes, and the payment task for the commodity is completed under the condition that the identification codes of both parties pass verification, and the payment grade is improved through double safety certification, so that the payment safety is ensured.
Referring to fig. 3, fig. 3 is a flowchart illustrating a task processing method applied to a first smart device according to an embodiment of the present specification, including the following steps:
step 302: a target object is determined and a target processing task is generated based on the target object.
Step 304: and generating a first identification code corresponding to the target object according to the target processing task.
Step 306: and sending the first identification code to a second intelligent device, and receiving a second identification code generated by the second intelligent device based on the first identification code.
Step 308: and processing the target processing task based on the second identification code under the condition that the second identification code passes the verification.
Optionally, the first identification code includes a receiving name of the object value corresponding to the target object received by the first smart device and a digital certificate obtained from a third-party certification authority;
correspondingly, the receiving of the second identification code generated by the second smart device based on the first identification code includes:
and receiving a second identification code generated by the second intelligent equipment based on the receiving name of the object value corresponding to the target object received by the first intelligent equipment and the digital certificate obtained from a third-party certification authority.
Optionally, the second identification code includes second attribute information of the second smart device and an object value corresponding to the target object;
correspondingly, the processing the target processing task based on the second identification code in the case that the second identification code is verified comprises:
and under the condition that second attribute information of the second intelligent equipment passes verification, processing the target processing task based on an object value corresponding to the target object, wherein the second attribute information comprises a receiving name of the second intelligent equipment for receiving the object value corresponding to the target object and a digital certificate obtained from a third-party certification authority.
Optionally, the target object includes a commodity, and the target processing task includes a payment task.
In the task processing method applied to the first smart device provided in the embodiment of the present specification, a collection identification code is generated based on a target object, then a payment identification code is generated by the second smart device when the collection identification code is successfully verified by the second smart device, and a target processing task is completed based on the payment identification code when the payment identification code is successfully verified.
Specifically, the first intelligent device in the embodiment of the present specification is the same as the first intelligent device in the embodiment described above, and therefore, in the embodiment of the present specification, specific details of the task processing method applied to the first intelligent device are the same as processing contents of the first intelligent device in the task processing method described above, and details of the technical solution of the task processing method in the embodiment of the present specification, which are not described in detail, can be referred to in the description of the technical solution of the task processing method described above.
Referring to fig. 4, fig. 4 is a flowchart illustrating a task processing method applied to a second smart device according to an embodiment of the present specification, including the following steps:
step 402: receiving a first identification code aiming at a target processing task sent by first intelligent equipment, wherein the target processing task comprises a target object.
Step 404: and analyzing the first identification code, and verifying the first identification code based on an analysis result.
Step 406: and generating a second identification code based on the first identification code when the verification is passed.
Step 408: and sending the second identification code to the first intelligent equipment, and receiving a processing result of the first intelligent equipment for processing the target processing task based on the second identification code.
Optionally, the analyzing the first identification code, and verifying the first identification code based on the analysis result includes:
parsing the first identification code to determine first attribute information of the first smart device and verifying the first attribute information,
the first attribute information comprises a receiving name of the object value corresponding to the target object received by the first intelligent device and a digital certificate obtained from a third-party certification authority.
Optionally, in the case that the verification passes, generating the second identification code based on the first identification code includes:
generating an object value processing instruction based on the first intelligent device receiving the receiving name of the object value corresponding to the target object and a digital certificate obtained from a third-party certification authority under the condition that the verification is passed, and sending the object value processing instruction to the second verification module,
the second authentication module generates the second identification code based on the object value processing instruction,
wherein the object value processing instruction carries first attribute information of the first intelligent device, an object value corresponding to the target object, and a verification code for processing the object value,
the second identification code comprises second attribute information of the second intelligent device and an object value corresponding to the target object.
In specific implementation, the target object comprises a commodity, and the target processing task comprises a payment task.
In the task processing method applied to the second intelligent device provided in the embodiment of the present specification, after receiving the collection identification code of the first intelligent device, the collection identification code is first verified, and in a case that the verification is passed, a safe payment identification code is generated, so that the first intelligent device completes a target processing task based on the payment identification code.
Specifically, the second intelligent device in the embodiment of the present specification is the same as the second intelligent device in the embodiment described above, and therefore, in the embodiment of the present specification, specific details of the task processing method applied to the second intelligent device are the same as processing contents of the second intelligent device in the task processing method described above, and details of the technical solution of the task processing method in the embodiment of the present specification, which are not described in detail, may all refer to the description of the technical solution of the task processing method described above.
Corresponding to the above method embodiment, this specification further provides a task processing system embodiment, and fig. 5 shows a schematic structural diagram of a task processing system provided in an embodiment of this specification. As shown in fig. 5, the system includes:
a first smart device 502, a second smart device 504,
the first smart device 502 is configured to generate a target processing task based on a target object, generate a first identification code corresponding to the target object according to the target processing task, and send the first identification code to the second smart device 504;
the second smart device 504 is configured to receive the first identification code, determine processing information of the target object according to the first identification code if the first identification code passes verification, generate a second identification code based on the processing information, and send the second identification code to the first smart device 502;
the first smart device 502 is further configured to receive the second identification code, and process the target processing task based on the second identification code if the second identification code is verified.
Optionally, the first smart device 502 includes a first processing module 5022 and a first authentication module 5024;
correspondingly, the system further comprises:
the first verification module 5024 is configured to generate a target processing task based on a target object and send the target processing task to the first processing module 5022;
the first processing module 5022 is configured to generate a first identification code corresponding to the target object according to the received target processing task, and send the first identification code to the second smart device 504.
Optionally, the first smart device 502 includes a first processing module 5022 and a first authentication module 5024, and the second smart device 504 includes a second processing module 5042 and a second authentication module 5044;
correspondingly, the system further comprises:
the first verification module 5024 is configured to generate a target processing task based on a target object and send the target processing task to the first processing module 5022;
the first processing module 5022 is configured to generate a first identification code corresponding to the target object according to the received target processing task, and send the first identification code to the second processing module 5042.
Optionally, the second smart device 504 is further configured to:
sending the second identification code to the first processing module 5022;
correspondingly, the system further comprises:
the first processing module 5022 is configured to receive the second identification code and send the second identification code to the first verification module 5024;
the first verification module 5024 is configured to parse the second identifier to determine attribute information of the object value corresponding to the target object, which is sent by the second smart device 504;
and verifying the attribute information of the object value, and processing the target processing task based on the object value under the condition of passing the verification.
Optionally, the system further includes:
the second processing module 5042, configured to receive the first identification code and send the first identification code to the second verification module 5044;
the second verification module 5044 is configured to parse the first identification code to determine first attribute information of the first smart device 502, verify the first attribute information, and send the first attribute information to the second processing module 5042 if the first attribute information passes the verification;
the second processing module 5042 is configured to determine processing information of the target object based on the first attribute information, generate a second identifier based on the processing information, and send the second identifier to the first processing module 5022.
Optionally, the system further includes:
the first processing module 5022 is configured to receive the second identification code and send the second identification code to the first verification module 5024;
the first authentication module 5024 is configured to parse the second identification code to determine attribute information of the object value corresponding to the target object, where the attribute information is sent by the second smart device 504; and
and verifying the attribute information of the object value, and processing the target processing task based on the object value under the condition of passing the verification.
Optionally, the first attribute information includes a receiving name of the object value corresponding to the target object received by the first smart device 502 and a digital certificate obtained from a third-party certification authority;
correspondingly, the system further comprises:
the second verification module 5044 parses the first identification code to determine that the first smart device 502 stores the received name of the object value corresponding to the target object and a digital certificate obtained from a third-party certification authority; and
the validity of the first smart device 502 receiving the received name of the object value corresponding to the target object and the digital certificate obtained from the third party certification authority is verified, and if the validity is verified, the received name of the object value corresponding to the target object and the digital certificate obtained from the third party certification authority received by the first smart device 502 are sent to the second processing module 5042.
Optionally, the system further includes:
the second processing module 5042 determines the number of object values corresponding to the target object and a verification code for processing the object values based on the receiving name of the object value corresponding to the target object received by the first smart device 502 and a digital certificate obtained from a third party certification authority; and
acquiring an object value corresponding to the target object based on the number of object values and the verification code, generating an object value processing request based on the object value corresponding to the target object, and sending the object value processing request to the second verification module 5044;
the second verification module 5044 generates an object value processing instruction based on the object value processing request, and sends the object value processing instruction to the second processing module 5042;
the second processing module 5042 generates the second identification code based on the object value processing instruction.
Optionally, the system further includes:
the second verification module 5044 generates an encrypted object value processing instruction based on the object value processing request, and sends the encrypted object value processing instruction to the second processing module 5042.
Optionally, the system further includes:
the first verification module 5024 parses the second identification code to determine second attribute information of the second smart device 504 and attribute information of an object value corresponding to the target object from the second smart device 504, verifies the second attribute information and attribute information of an object value corresponding to the target object from the second smart device 504, and processes the target processing task based on the second identification code if the verification passes,
the second attribute information includes a receiving name of the object value corresponding to the target object received by the second smart device 504 and a digital certificate obtained from the third-party certification authority.
Optionally, the system further includes:
determining an object value corresponding to the target object in the second identifier, and storing the object value corresponding to the target object in the first smart device 502;
the first smart device 502 completes the target processing task when it successfully receives the object value corresponding to the target object.
Optionally, the first processing module 5022 and the second processing module 5042 comprise trusted execution environment modules, and the first authentication module 5024 and the second authentication module 5044 comprise secure elements.
Optionally, the target object includes a commodity, and the target processing task includes a payment task.
In the task processing system provided in one or more embodiments of the present specification, the first intelligent device and the second intelligent device both generate the identification codes, and complete the payment task for the target object when the identification codes of both the first intelligent device and the second intelligent device pass verification, and the payment level is improved by the dual security authentication, so that the security of payment is ensured.
The above is an exemplary scheme of a task processing system of the present embodiment. It should be noted that the technical solution of the task processing system and the technical solution of the task processing method belong to the same concept, and for details that are not described in detail in the technical solution of the task processing system, reference may be made to the description of the technical solution of the task processing method.
Corresponding to the above method embodiments, this specification further provides a first task processing device embodiment, and fig. 6 shows a schematic structural diagram of the first task processing device provided in an embodiment of this specification. As shown in fig. 6, the apparatus includes:
a first smart device 602, wherein the first smart device 602 comprises a first processing module 6022 and a first authentication module 6024,
the first verification module 6024 configured to determine a target object and generate a target processing task based on the target object;
the first processing module 6022 configured to generate a first identification code corresponding to the target object according to the target processing task;
sending the first identification code to a second smart device 604, and receiving a second identification code generated by the second smart device 604 based on the first identification code;
the first verification module 6024 further configured to process the target processing task based on the second identification code if the second identification code is verified.
Optionally, the first identification code includes a receiving name of the object value corresponding to the target object received by the first smart device 602 and a digital certificate obtained from a third-party certification authority;
accordingly, the first processing module 6022 is further configured to:
receiving a second identification code generated by the second smart device 604 based on the receiving name of the object value corresponding to the target object and the digital certificate obtained from the third-party certification authority received by the first smart device 602.
Optionally, the second identification code includes second attribute information of the second smart device 604 and an object value corresponding to the target object;
accordingly, the first verification module 6024 is further configured to:
and processing the target processing task based on the object value corresponding to the target object when second attribute information of the second intelligent device 604 passes verification, wherein the second attribute information comprises a receiving name of the second intelligent device 604 receiving the object value corresponding to the target object and a digital certificate obtained from a third-party certification authority.
Optionally, the target object includes a commodity, and the target processing task includes a payment task.
In the first task processing apparatus provided in the embodiment of the present specification, the collection identification code is generated based on the target object, then the second smart device 604 generates the payment identification code when the collection identification code is successfully verified by the second smart device 604, and the target processing task is completed based on the payment identification code when the payment identification code is successfully verified.
The above is a schematic configuration of the first task processing device of the present embodiment. It should be noted that the technical solution of the task processing apparatus belongs to the same concept as the above technical solution of the task processing method applied to the first intelligent device, and for details that are not described in detail in the technical solution of the task processing apparatus, reference may be made to the description of the above technical solution of the task processing method.
Corresponding to the above method embodiments, the present specification further provides an embodiment of a second task processing device, and fig. 7 shows a schematic structural diagram of the second task processing device provided in an embodiment of the present specification. As shown in fig. 7, the apparatus includes:
a second smart device 702, wherein the second smart device 702 comprises a second processing module 7022 and a second verification module 7024,
the second processing module 7022 is configured to receive a first identification code, which is sent by the first smart device 704 and is for a target processing task, where the target processing task includes a target object;
the second verification module 7024 is configured to parse the first identification code and verify the first identification code based on a result of the parsing;
if the verification is passed, generating a second identification code based on the first identification code;
the second processing module 7022 is further configured to send the second identification code to the first smart device 704, and receive a processing result of the first smart device 704 processing the target processing task based on the second identification code.
Optionally, the second verification module 7024 is further configured to:
parsing the first identification code to determine first attribute information of the first smart device and verifying the first attribute information,
the first attribute information includes a receiving name of the object value corresponding to the target object received by the first smart device 704 and a digital certificate obtained from a third-party certification authority.
Optionally, the second authentication module 7024 is further configured to:
in case of passing the verification, generating an object value processing instruction based on the first smart device 704 receiving the receiving name of the object value corresponding to the target object and the digital certificate obtained from the third party certification authority, and transmitting the object value processing instruction to the second verification module 7024,
the second authentication module 7024 generates the second identification code based on the object value processing instruction,
wherein the object value processing instruction carries the first attribute information of the first intelligent device 704, the object value corresponding to the target object, and the verification code for processing the object value,
the second identification code includes second attribute information of the second smart device 702 and an object value corresponding to the target object.
In the second task processing device provided in this specification, after receiving the payment identification code of the first intelligent device 704, the payment identification code is verified first, and if the verification is passed, a self-safe payment identification code is generated, so that the first intelligent device 704 completes the target processing task based on the payment identification code.
The above is a schematic configuration of the second task processing device of the present embodiment. It should be noted that the technical solution of the task processing device and the technical solution of the task processing method applied to the second intelligent device belong to the same concept, and details that are not described in detail in the technical solution of the task processing device can be referred to the description of the technical solution of the task processing method.
The foregoing description has been directed to specific embodiments of this disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
The computer instructions comprise computer program code which may be in the form of source code, object code, an executable file or some intermediate form, or the like. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, read-Only Memory (ROM), random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, etc. It should be noted that the computer-readable medium may contain suitable additions or subtractions depending on the requirements of legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer-readable media may not include electrical carrier signals or telecommunication signals in accordance with legislation and patent practice.
It should be noted that, for the sake of simplicity, the foregoing method embodiments are described as a series of acts, but those skilled in the art should understand that the present embodiment is not limited by the described acts, because some steps may be performed in other sequences or simultaneously according to the present embodiment. Furthermore, those skilled in the art will appreciate that the embodiments described in this specification are presently preferred and that no acts or modules are required in the implementations of the disclosure.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
The preferred embodiments of the present specification disclosed above are intended only to aid in the description of the specification. Alternative embodiments are not exhaustive and do not limit the invention to the precise embodiments described. Obviously, many modifications and variations are possible in light of the teaching of the embodiments of the present disclosure. The embodiments were chosen and described in order to best explain the principles of the embodiments and the practical application, and to thereby enable others skilled in the art to best understand the specification and utilize the specification. The specification is limited only by the claims and their full scope and equivalents.

Claims (23)

1. A method of task processing, comprising:
the method comprises the steps that a first intelligent device generates a target processing task based on a target object, generates a first identification code corresponding to the target object according to the target processing task, and sends the first identification code to a second intelligent device;
the second intelligent device receives the first identification code, determines processing information of the target object according to the first identification code under the condition that the first identification code passes verification, generates a second identification code based on the processing information, and sends the second identification code to the first intelligent device;
and the first intelligent equipment receives the second identification code, and processes the target processing task based on the second identification code under the condition that the second identification code passes verification.
2. The task processing method according to claim 1, wherein the first smart device includes a first processing module and a first verification module;
correspondingly, the generating, by the first smart device, a target processing task based on a target object, generating, according to the target processing task, a first identification code corresponding to the target object, and sending the first identification code to the second smart device includes:
the first verification module generates a target processing task based on a target object and sends the target processing task to the first processing module;
the first processing module generates a first identification code corresponding to the target object according to the received target processing task, and sends the first identification code to second intelligent equipment.
3. The task processing method according to claim 1, wherein the first smart device includes a first processing module and a first verification module, and the second smart device includes a second processing module and a second verification module;
correspondingly, the generating, by the first smart device, a target processing task based on a target object, generating, according to the target processing task, a first identification code corresponding to the target object, and sending the first identification code to the second smart device includes:
the first verification module generates a target processing task based on a target object and sends the target processing task to the first processing module;
and the first processing module generates a first identification code corresponding to the target object according to the received target processing task and sends the first identification code to the second processing module.
4. The task processing method of claim 2, wherein sending the second identification code to the first smart device comprises:
sending the second identification code to the first processing module;
correspondingly, the first smart device receives the second identification code, and if the second identification code is verified, the processing the target processing task based on the second identification code includes:
the first processing module receives the second identification code and sends the second identification code to the first verification module;
the first verification module analyzes the second identification code to determine attribute information of an object value corresponding to the target object, which is sent by the second intelligent device;
and verifying the attribute information of the object value, and processing the target processing task based on the object value under the condition of passing the verification.
5. The task processing method according to claim 3, wherein the second smart device receives the first identification code, determines processing information of the target object from the first identification code if the first identification code is verified, generates a second identification code based on the processing information, and sends the second identification code to the first smart device, and the task processing method includes:
the second processing module receives the first identification code and sends the first identification code to the second verification module;
the second verification module analyzes the first identification code to determine first attribute information of the first intelligent device, verifies the first attribute information, and sends the first attribute information to the second processing module when the first attribute information passes verification;
the second processing module determines processing information of the target object based on the first attribute information, generates a second identification code based on the processing information, and sends the second identification code to the first processing module.
6. The task processing method of claim 5, wherein the first smart device receives the second identification code, and if the second identification code is verified, processing the target processing task based on the second identification code comprises:
the first processing module receives the second identification code and sends the second identification code to the first verification module;
the first verification module analyzes the second identification code to determine attribute information of an object value corresponding to the target object, which is sent by the second intelligent device; and
and verifying the attribute information of the object value, and processing the target processing task based on the object value under the condition of passing the verification.
7. The task processing method according to claim 5, wherein the first attribute information includes a receiving name of an object value corresponding to the target object received by the first smart device and a digital certificate obtained from a third-party certification authority;
correspondingly, the second verification module analyzes the first identification code to determine first attribute information of the first intelligent device, verifies the first attribute information, and sends the first attribute information to the second processing module when the first attribute information passes verification, where the second verification module includes:
the second verification module analyzes the first identification code to determine that the first intelligent device stores the receiving name of the object value corresponding to the target object and a digital certificate obtained from a third-party certification authority; and
and verifying the validity of the first intelligent device for receiving the receiving name of the object value corresponding to the target object and the digital certificate obtained from the third-party certification authority, and sending the receiving name of the object value corresponding to the target object and the digital certificate obtained from the third-party certification authority to the second processing module by the first intelligent device under the condition of valid verification.
8. The task processing method according to claim 7, wherein the second processing module determines processing information of the target object based on the first attribute information, and generating a second identification code based on the processing information includes:
the second processing module determines the number of object values corresponding to the target object and a verification code for processing the object values based on the receiving name of the object value corresponding to the target object received by the first intelligent device and a digital certificate obtained from a third-party certification authority; and
acquiring an object value corresponding to the target object based on the number of the object values and the verification code, generating an object value processing request based on the object value corresponding to the target object, and sending the object value processing request to the second verification module;
the second verification module generates an object value processing instruction based on the object value processing request and sends the object value processing instruction to the second processing module;
the second processing module generates the second identification code based on the object value processing instruction.
9. The task processing method of claim 8, the second validation module generating object value processing instructions based on the object value processing request, and sending the object value processing instructions to the second processing module comprises:
the second verification module generates an encrypted object value processing instruction based on the object value processing request, and sends the encrypted object value processing instruction to the second processing module.
10. The task processing method according to claim 9, wherein, in the case that the second identification code is verified, the processing the target processing task based on the second identification code includes:
the first verification module analyzes the second identification code to determine second attribute information of the second smart device and acquire attribute information of an object value corresponding to the target object from the second smart device, verifies the second attribute information and the attribute information of the object value corresponding to the target object from the second smart device, and processes the target processing task based on the second identification code if the verification is passed,
the second attribute information includes a receiving name of the object value corresponding to the target object received by the second smart device and a digital certificate obtained from the third-party certification authority.
11. The task processing method according to claim 10, wherein the processing the target processing task based on the second identification code includes:
determining an object value corresponding to the target object in the second identification code, and storing the object value corresponding to the target object to the first intelligent device;
and the first intelligent equipment completes the target processing task under the condition of successfully receiving the object value corresponding to the target object.
12. The task processing method of claim 3, the first processing module and the second processing module comprising trusted execution environment modules, the first authentication module and the second authentication module comprising secure elements.
13. The task processing method according to any one of claims 1 to 11, wherein the target object includes a commodity, and the target processing task includes a payment task.
14. A task processing system comprising: a first smart device, a second smart device,
the first intelligent device is configured to generate a target processing task based on a target object, generate a first identification code corresponding to the target object according to the target processing task, and send the first identification code to the second intelligent device;
the second intelligent device is configured to receive the first identification code, determine processing information of the target object according to the first identification code when the first identification code passes verification, generate a second identification code based on the processing information, and send the second identification code to the first intelligent device;
the first smart device is further configured to receive the second identification code, and process the target processing task based on the second identification code if the second identification code is verified.
15. A task processing method is applied to a first intelligent device and comprises the following steps:
determining a target object and generating a target processing task based on the target object;
generating a first identification code corresponding to the target object according to the target processing task;
sending the first identification code to a second intelligent device, and receiving a second identification code generated by the second intelligent device based on the first identification code;
and processing the target processing task based on the second identification code under the condition that the second identification code passes the verification.
16. The task processing method according to claim 15, wherein the first identification code includes a receiving name of an object value corresponding to the target object and a digital certificate obtained from a third-party certification authority, the receiving name being received by the first smart device;
correspondingly, the receiving of the second identification code generated by the second smart device based on the first identification code includes:
and receiving a second identification code generated by the second intelligent equipment based on the receiving name of the object value corresponding to the target object received by the first intelligent equipment and the digital certificate obtained from a third-party certification authority.
17. The task processing method according to claim 15, wherein the second identification code includes second attribute information of the second smart device and an object value corresponding to the target object;
correspondingly, in the case that the second identification code is verified, the processing the target processing task based on the second identification code includes:
and processing the target processing task based on the object value corresponding to the target object under the condition that second attribute information of the second intelligent device passes verification, wherein the second attribute information comprises a receiving name of the second intelligent device for receiving the object value corresponding to the target object and a digital certificate obtained from a third-party certification authority.
18. The task processing method of claim 17, wherein the target object comprises a commodity and the target processing task comprises a payment task.
19. A task processing device comprising: a first smart device, wherein the first smart device comprises a first processing module and a first verification module,
the first verification module is configured to determine a target object and generate a target processing task based on the target object;
the first processing module is configured to generate a first identification code corresponding to the target object according to the target processing task;
sending the first identification code to a second intelligent device, and receiving a second identification code generated by the second intelligent device based on the first identification code;
the first verification module is further configured to process the target processing task based on the second identification code if the second identification code is verified.
20. A task processing method is applied to a second intelligent device and comprises the following steps:
receiving a first identification code aiming at a target processing task sent by first intelligent equipment, wherein the target processing task comprises a target object;
analyzing the first identification code, and verifying the first identification code based on an analysis result;
if the verification is passed, generating a second identification code based on the first identification code;
and sending the second identification code to the first intelligent equipment, and receiving a processing result of the first intelligent equipment for processing the target processing task based on the second identification code.
21. The task processing method according to claim 20, wherein the parsing the first identification code and verifying the first identification code based on a result of the parsing comprises:
parsing the first identification code to determine first attribute information of the first smart device and verifying the first attribute information,
the first attribute information comprises a receiving name of the object value corresponding to the target object received by the first intelligent device and a digital certificate obtained from a third-party certification authority.
22. The task processing method according to claim 21, wherein the generating a second identification code based on the first identification code if the verification is passed comprises:
generating an object value processing instruction based on the first intelligent device receiving the receiving name of the object value corresponding to the target object and a digital certificate obtained from a third party certification authority under the condition that the verification is passed, and sending the object value processing instruction to a second verification module,
the second authentication module generates the second identification code based on the object value processing instruction,
wherein the object value processing instruction carries first attribute information of the first intelligent device, an object value corresponding to the target object, and a verification code for processing the object value,
the second identification code includes second attribute information of the second intelligent device and an object value corresponding to the target object.
23. A task processing device comprising: a second smart device, wherein the second smart device comprises a second processing module and a second verification module,
the second processing module is configured to receive a first identification code, which is sent by a first intelligent device and aims at a target processing task, wherein the target processing task comprises a target object;
the second verification module is configured to analyze the first identification code and verify the first identification code based on an analysis result;
generating a second identification code based on the first identification code when the verification is passed;
the second processing module is further configured to send the second identification code to the first intelligent device, and receive a processing result of the first intelligent device processing the target processing task based on the second identification code.
CN202111033317.1A 2021-09-03 2021-09-03 Task processing method, system and device Pending CN115760104A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111033317.1A CN115760104A (en) 2021-09-03 2021-09-03 Task processing method, system and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111033317.1A CN115760104A (en) 2021-09-03 2021-09-03 Task processing method, system and device

Publications (1)

Publication Number Publication Date
CN115760104A true CN115760104A (en) 2023-03-07

Family

ID=85332638

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111033317.1A Pending CN115760104A (en) 2021-09-03 2021-09-03 Task processing method, system and device

Country Status (1)

Country Link
CN (1) CN115760104A (en)

Similar Documents

Publication Publication Date Title
US20230351356A1 (en) Systems and method for payment transaction processing with payment application driver
CN104838399B (en) Remote transaction is authenticated using mobile device
CN107609866B (en) Electronic payment and electronic cash collection method and device based on virtual currency
RU2536666C2 (en) Method and system for safe transaction processing
US10504110B2 (en) Application system for mobile payment and method for providing and using mobile means for payment
US20030055738A1 (en) Method and system for effecting an electronic transaction
KR20170040382A (en) Methods, devices, and systems for secure provisioning, transmission, and authentication of payment data
CN107798531A (en) Electric paying method and system
EP2888703A1 (en) Method and system to enable mobile contactless ticketing/payments via a mobile phone application
US10659458B2 (en) Systems and methods for performing biometric registration and authentication of a user to provide access to a secure network
US20120303534A1 (en) System and method for a secure transaction
CN111062717B (en) Data transfer processing method, device and computer readable storage medium
EP3533172B1 (en) System for secure authentication of a user's identity in an electronic system for banking transactions
CN106251145A (en) Electronic fare payment system, electronic payment devices and electric paying method
CN110766388B (en) Virtual card generation method and system and electronic equipment
US20210385093A1 (en) Digital signature terminal and secure communication method
CN113706137B (en) Data processing method and system applied to payment information
CN115760104A (en) Task processing method, system and device
CN116362726A (en) Transaction order processing system, method, device, equipment and medium
CN106961417A (en) Auth method based on ciphertext
KR20220063107A (en) Method for servicing mobile payment using qr code and payment server using them
CN115760105A (en) Task processing system, method and device
CN112862466A (en) Resource transfer method, account settling terminal and server node
CN115760115A (en) Task processing method, system and device
CN115760114A (en) Task processing system, method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination