Service execution method, device and equipment and computer readable medium

By obtaining the device identification of the IoT device and using its signature business execution results information, it solves the problem that third-party companies find it difficult to confirm the authenticity of transactions on IoT devices, and realizes the authenticity and security of transaction settlement.

CN119762153AActive Publication Date: 2025-04-04ALIPAY (HANGZHOU) INFORMATION TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202411943775.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2022-06-08
Publication Date
2025-04-04
Estimated Expiration
2042-06-08

AI Technical Summary

Technical Problem

In the field of IoT technology, third-party companies that provide business support services find it difficult to confirm whether the service actually occurs on IoT devices in their rebate incentive policies, resulting in information asymmetry and potential property losses.

Method used

By obtaining the device identification of the Internet of Things device, a service request is sent to the second server, an IoT device is instructed to execute the target service, and a device identification is used to sign the service execution result information to generate signature result information. Then, based on the business execution result information and the signature result information, the second server is requested to perform transaction settlement.

Benefits of technology

Ensure the authenticity of the transaction and prevent the first server from cheating by tampering with the binding relationship between settlement transactions and IoT devices, increasing the difficulty of fraud in business authenticity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119762153A_ABST
    Figure CN119762153A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a service execution method, device and equipment and a computer readable medium. The scheme can comprise the following steps: acquiring a first service request for the Internet of Things equipment; the first service request carries a device identifier of the Internet of Things device; sending a second service request to a second server; the second service request carries an equipment identifier of the Internet of Things equipment; the second service request is used for indicating the Internet of Things equipment to execute a target service to obtain service execution result information, and signing the service execution result information by using an equipment identifier of the Internet of Things equipment to obtain signature result information; receiving the service execution result information and the signature result information sent by the Internet of Things equipment; and requesting the second server to perform transaction settlement based on the signature result information and the service execution result information.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application is a divisional application of "A business execution method, device, equipment and computer-readable medium (application date: June 8, 2022, application number: 202210643565.6)". Technical Field

[0002] The present application relates to the field of computer technology, and in particular to a service execution method, apparatus, device and computer-readable medium. Background Art

[0003] In the field of Internet of Things technology, third-party companies that provide business support services sometimes initiate incentive policies in the form of rebates for the purpose of increasing the number of users or obtaining user traffic. For example, they will encourage manufacturers of equipment, merchants using Internet of Things devices, or users to use the services they provide in the form of rebates. Specifically, for example, after a certain device uses the service it provides a specified number of times, a rebate will be paid to the operator of the device. In the prior art, the device operator generally provides data on its use of the relevant device to obtain rebates, so that the third-party company that provides business support services that initiates the incentive policy sometimes finds it difficult to confirm whether the transaction corresponding to the service actually occurred on the device.

[0004] Based on this, how to provide a business execution method that can ensure that it actually occurs has become a technical problem that needs to be solved urgently. Summary of the invention

[0005] The embodiments of this specification provide a service execution method, apparatus, device, and computer-readable medium to provide a service execution method that can ensure that the service actually occurs.

[0006] To solve the above technical problems, the embodiments of this specification are implemented as follows: A service execution method provided in an embodiment of this specification includes: Obtaining a first service request for an Internet of Things device; the first service request carries a device identifier of the Internet of Things device; Sending a second service request to a second server; the second service request carries the device identification of the IoT device; the second service request is used to instruct the IoT device to execute the target service to obtain service execution result information, and signing the service execution result information using the device identification of the IoT device to obtain signature result information; Receiving the signature result information and the service execution result information sent by the Internet of Things device; Based on the business execution result information and the signature result information, request the second server to perform transaction settlement A service execution device provided in an embodiment of the present specification is applied to a first server, including: A first service request acquisition module, used to acquire a first service request for an Internet of Things device; the first service request carries a device identifier of the Internet of Things device; A second service request sending module is used to send a second service request to a second server; the second service request carries the device identification of the Internet of Things device; the second service request is used to instruct the Internet of Things device to execute the target service to obtain service execution result information, and use the device identification of the Internet of Things device to sign the service execution result information to obtain signature result information; An information receiving module, used to receive the service execution result information and the signature result information sent by the Internet of Things device; A transaction settlement request module is used to request the second server to perform transaction settlement based on the business execution result information and the signature result information.

[0007] The embodiment of this specification also provides a service execution device, which is applied to a second server, including: A second service request receiving module, configured to receive a second service request for the IoT device sent by the first server; the second service request carries a device identifier of the IoT device; A service execution instruction information sending module is used to send service execution instruction information to the Internet of Things device according to the device identification; the service execution instruction information is used to instruct the Internet of Things device to execute the target service to obtain service execution result information, and the service execution result information is signed by using the device identification of the Internet of Things device to obtain signature result information; a transaction settlement request receiving module, configured to receive a transaction settlement request sent by the first server; the transaction settlement request carries the signature result information sent by the IoT device to the first server, and transaction data information generated based on the business execution result information sent by the IoT device to the first server; A transaction settlement module is used to respond to the transaction settlement request and perform transaction settlement based on the signature result information and the transaction data information.

[0008] The embodiment of this specification also provides a service execution system, including a first server, a second server and an Internet of Things device. Specifically, The first server is used to obtain a first service request for an Internet of Things device; the first service request carries a device identifier of the Internet of Things device; and sends a second service request to the second server; the second service request carries the device identifier of the Internet of Things device; The second server is used to send service execution instruction information to the Internet of Things device according to the device identifier; The Internet of Things device is used to execute the target service based on the service execution indication information to obtain service execution result information, sign the service execution result information using the device identifier of the Internet of Things device to obtain signature result information; and send the service execution result information and the signature result information to the first server; The first server is further configured to send a transaction settlement request to the second server based on the business execution result information and the signature result information; the transaction settlement request carries the signature result information and transaction data information generated based on the business execution result information; The second server is further used to respond to the transaction settlement request and perform transaction settlement based on the signature result information and the transaction data information.

[0009] A service execution server provided in an embodiment of the present specification includes: at least one processor; and, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to: at least one processor; and, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to: Obtaining a first service request for an Internet of Things device; the first service request carries a device identifier of the Internet of Things device; Sending a second service request to a second server; the second service request carries the device identification of the IoT device; the second service request is used to instruct the IoT device to execute the target service to obtain service execution result information, and signing the service execution result information using the device identification of the IoT device to obtain signature result information; Receiving the service execution result information and the signature result information sent by the Internet of Things device; Based on the business execution result information and the signature result information, request the second server to perform transaction settlement.

[0010] The embodiment of this specification also provides a service execution server, including: at least one processor; and, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to: Receiving a second service request for the Internet of Things device sent by the first server; the second service request carries a device identifier of the Internet of Things device; Sending service execution instruction information to the IoT device according to the device identification; the service execution instruction information is used to instruct the IoT device to execute the target service to obtain service execution result information, and signing the service execution result information using the device identification of the IoT device to obtain signature result information; receiving a transaction settlement request sent by the first server; the transaction settlement request carries the signature result information sent by the IoT device to the first server, and transaction data information generated based on the business execution result information sent by the IoT device to the first server; In response to the transaction settlement request, transaction settlement is performed based on the signature result information and the transaction data information.

[0011] An embodiment of the present specification provides a computer-readable medium on which computer-readable instructions are stored. The computer-readable instructions can be executed by a processor to implement a service execution method.

[0012] One embodiment of this specification can achieve at least the following beneficial effects: After the first server obtains the first service request for the IoT device carrying the device identification of the IoT device, it sends a second service request to the second server instructing the IoT device to sign the service execution result information using the device identification of the IoT device, so that the second server will participate in the service initiation link process for the IoT device. As a result, the second server can understand the association between the settlement transaction and the IoT device based on the service initiation situation, and can judge whether the settlement transaction sent by the first server actually occurred on a certain IoT device. In actual application, it can make it difficult for the first server to cheat by tampering with the binding relationship between the settlement transaction and the IoT device, increasing the difficulty for the first server to falsify the authenticity of the service. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] In order to more clearly illustrate the embodiments of this specification or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0014] Figure 1 is a flow chart of a service execution method provided by an embodiment of this specification; Figure 2 is a flowchart of another service execution method provided by an embodiment of this specification; Figure 3 It is a signaling interaction diagram of a service execution method provided in an embodiment of this specification; Figure 4 It is a flowchart of a business execution method at the overall level provided by the embodiments of this specification; Figure 5 This specification provides an embodiment corresponding to Figure 1 A schematic diagram of the structure of a service execution device; Figure 6 This specification provides an embodiment corresponding to Figure 2 A schematic diagram of the structure of a service execution device; Figure 7 A schematic diagram of the structure of a service execution system provided in an embodiment of this specification; Figure 8 This specification provides an embodiment corresponding to Figure 1 A schematic diagram of the structure of a business execution server; Fig. 9 This specification provides an embodiment corresponding to Figure 2 A structural diagram of a business execution server. DETAILED DESCRIPTION

[0015] In order to make the purpose, technical solutions and advantages of one or more embodiments of this specification clearer, the technical solutions of one or more embodiments of this specification will be clearly and completely described below in combination with the specific embodiments of this specification and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of this specification, not all of the embodiments. Based on the embodiments in this specification, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of one or more embodiments of this specification.

[0016] It should be understood that although the terms first, second, third, etc. may be used in this application document to describe various information, this information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other.

[0017] The technical solutions provided by the embodiments of this specification are described in detail below in conjunction with the accompanying drawings.

[0018] In the field of Internet of Things technology, third-party companies that provide business support services, such as third-party companies that provide payment services, sometimes initiate incentive policies in the form of rebates for the purpose of increasing the number of users or obtaining user traffic. For example, they will encourage manufacturers of equipment, merchants using Internet of Things devices, or users to use the services they provide in the form of rebates. Specifically, for example, after a certain related device uses the services it provides for a specified number of times, a rebate will be paid to the operator of this related device. In the prior art, the device operator generally provides data on its use of related equipment to obtain rebates. Therefore, due to information asymmetry, it is sometimes difficult for third-party companies that provide business support services and initiate incentive policies to confirm whether a transaction actually occurred on a certain Internet of Things device. For example, due to the management and operation of the Internet of Things devices it owns, the operator of the Internet of Things device may use technical means to associate transactions on devices with a small transaction volume to other devices that do not meet the conditions for obtaining rebates, so that these other devices meet the conditions for rebates, or use technical means to disperse transactions on devices with a transaction volume exceeding the specified number of times to other devices that do not meet the conditions for obtaining rebates, so that these other devices meet the conditions for rebates, which will cause property losses to third-party companies that provide business support services. Therefore, in the prior art, third-party companies that provide business support services and offer rebate incentive policies cannot accurately confirm the relationship between transactions occurring on IoT devices and the IoT devices that specifically execute the transactions.

[0019] In order to solve the defects in the prior art, this solution provides the following embodiments: Figure 1 This is a schematic diagram of the overall solution flow of a service execution method in an embodiment of this specification, which can be applied to a server from the perspective of program execution.

[0020] Next, a service execution method provided in an embodiment of the specification will be specifically described with reference to the accompanying drawings: Figure 1 A flowchart of a service execution method provided in an embodiment of this specification is applied to a first server. like Figure 1 As shown, the process may include the following steps: Step 102: Obtain a first service request for an IoT device; the first service request carries a device identifier of the IoT device.

[0021] In the embodiments of this specification, the IoT device may refer to a hardware device that is connected to the network and can transmit data. For users, the IoT device can provide corresponding services, such as an automatic water vending machine can provide water vending services to users, and an automatic claw machine can provide entertainment services to users. In actual applications, from a software level, a server may be required to manage several IoT devices, such as controlling the opening and closing of an IoT device or controlling the opening time of an IoT device according to the amount of payment made by the user.

[0022] The first server may refer to a device-side server, such as a server that operates and manages the IoT device. In this solution, since the IoT device can be managed through the first server, when the user requests the IoT device to provide a certain service, the user needs to send a service request to the first server that manages the IoT device in some way, so that the first server can issue a start instruction to the IoT device or perform services such as service time statistics.

[0023] Since the IoT device can be managed by the first server, the first service request may refer to a service request for requesting the first server to perform a certain service based on the IoT device, for example, sending a water vending service request to a server managing an automatic water vending device.

[0024] It should be noted that in the embodiments of the present application, the specific method for the first server to obtain the first service request is not limited. Depending on the scenario, the first server can obtain the first service request in different ways. For example, an application corresponding to the service provided by the IoT device is installed on the user's client. After the user starts the application, the first service request can be sent to the first server through the client.

[0025] The device identifier may refer to a symbol identifier used to distinguish different IoT devices. The specific form of the symbol is not specifically limited in the technical solution of this embodiment, such as a numeric string, an alphabetic string, a mixed string of numbers and letters, or an image. In the embodiment of this specification, since the first server needs to know which specific IoT device needs to provide services to the user, the first service request needs to carry the device identifier of the IoT device.

[0026] Step 104: Send a second service request to a second server; the second service request carries the device identification of the IoT device; the second service request is used to instruct the IoT device to execute the target service to obtain service execution result information, and use the device identification of the IoT device to sign the service execution result information to obtain signature result information.

[0027] In the embodiments of this specification, the second server may refer to a server that provides business support for the services provided by the IoT device, such as a server that provides a service fee deduction service. In actual applications, for example, the operator of the second server may provide users with various services based on their own business needs, such as travel services, payment services, etc. Since the services provided by this operator are deeply involved in the daily life of the user, the user can open an account on the second server to pay for daily consumption expenses. In this embodiment, after receiving the first service request for the IoT device, the first server sends the second service request carrying the device identifier of the IoT device to the second server, so that the second server can know the device identifier of the IoT device before the IoT device executes the target service corresponding to the first service request, thereby enabling the second server to be deeply involved in the service initiation link process for the IoT device.

[0028] The second service request may refer to the first server requesting the second server to issue a service request to the IoT device to execute the target service corresponding to the first service request, so that the IoT can specifically execute the target service and obtain the service execution result information after receiving the service request. In this process, the second server is equivalent to routing the first service request in step 102. In order to accurately route, the second service request needs to carry the device identification of the IoT device corresponding to the first service request in step 102, so that the second server can know which specific IoT device to send the service execution instruction information to, which can ensure to a certain extent that the IoT device corresponding to the device identification executes the target service corresponding to the first service request. In this process, the second server can also require the IoT device corresponding to the device identification to sign the service execution result information using the device identification of the IoT device and obtain the signature result information, so that in the subsequent transaction settlement stage, the second server can parse the device identification from the signature result information, and compare the device identification with the device identification involved in the instruction command issued to the IoT device and corresponding to the second service request, so as to confirm whether the IoT device executing the target service is consistent with the IoT device receiving the instruction command corresponding to the second service request.

[0029] Among them, there are multiple ways for the IoT device to sign the service execution result information using its device identification. One way is to implant the relevant IoT software development kit (IOTSDK) developed by the operator of the second server into the IoT device, so that the IoT software development kit signs the service execution result information using the device identification to obtain the signature result information. Since the IoT software development kit is developed by the operator of the second server, the signature result information obtained by signing the service execution result information using the device identification is credible to the operator of the second server. Another possible way is that the IoT device sends a signature request to the second server based on a trusted link, and the signature request contains the device identification and service execution result information of the IoT device. The second server signs the service execution result information using the device identification, and then sends the signature result information to the IoT device.

[0030] The target business may include the business of providing goods or services by IoT devices. For example, for an IoT device such as an automatic water vending machine, the target business may include controlling the water control switch to supply water; for an IoT device such as an automatic claw machine, the target business may include controlling the claw machine handle to execute the user's operation instructions; for an IoT device such as a smart washing machine, the target business may include controlling the smart washing machine to perform laundry operations.

[0031] The service execution result information may refer to some result information provided by the IoT device during or after the execution of the target service, so that the relevant expenses can be counted according to the result information. For different IoT devices, due to the different specific target services they provide, the types of service execution result information may also be different. For example, for an automatic water vending device, the service execution result information may include the volume of water provided to the user, and for an automatic claw machine, the service execution result information may include the number of times the user has performed the action of grabbing a doll through the claw machine.

[0032] It should be noted that due to equipment failure and other reasons, the IoT device may not be able to specifically execute the target service corresponding to the first service request. At this time, the service execution result information may also include information on the success or failure of executing this target service. When the included message is a failure message, the transaction settlement will not be performed on the user's account.

[0033] Step 106: Receive the service execution result information and the signature result information sent by the IoT device.

[0034] In an embodiment of the present specification, after the IoT device receives the second service request issued by the second server for executing the target service, the IoT device can specifically execute the target service, thereby providing corresponding services to the user. After the service is completed, the IoT device will send the signature result information and service execution result information signed by its device identifier to the first server, so that the first server can perform related services such as service data registration.

[0035] Step 108: Based on the business execution result information and the signature result information, request the second server to perform transaction settlement.

[0036] In an embodiment of the present specification, after the Internet of Things device sends the business execution result information and the signature result information to the first server, the first server can perform corresponding fee calculations based on the business execution result information, and then request the second server to perform transaction settlement, that is, request settlement of the service fee of the target business corresponding to the first business request.

[0037] It should be understood that in the methods described in one or more embodiments of this specification, the order of some steps can be adjusted according to actual needs, or some steps can be omitted.

[0038] Figure 1 In the method, after obtaining the first service request for the IoT device carrying the device identification of the IoT device, the first server sends a second service request to the second server, instructing the IoT device to sign the service execution result information using the device identification of the IoT device, so that the second server will participate in the service initiation link for the IoT device. As a result, the second server can understand the association between the settlement transaction and the IoT device based on the service initiation situation, and can judge whether the settlement transaction sent by the first server actually occurred on a certain IoT device. In actual application, it can make it difficult for the first server to cheat by tampering with the binding relationship between the settlement transaction and the IoT device, increasing the difficulty for the first server to falsify the authenticity of the service.

[0039] based on Figure 1 The method, the embodiments of this specification also provide some specific implementation methods of the method, which are described below.

[0040] Since there are different types of IoT devices and different IoT devices have different usage scenarios, in the embodiment of this specification, multiple ways are provided in which the first server can obtain the first service request for the IoT device in step 202, which may specifically include: A first service request is received from an IoT device or a user terminal in response to a user's request to use the IoT device. From the perspective of communication media, due to the diversity of IoT device types, the communication means of the service initiation link of the first service request can be diversified, such as 4G, WIFI, Bluetooth, serial port, etc., which are used for service communication.

[0041] A more specific example is as follows: In this method, the IoT device sends a first service request to the first server. In this method, the user can trigger a service request to the IoT device by scanning. After sensing the service request, the IoT device sends a first service request corresponding to the service request to the first server that manages itself. For example, on an IoT device equipped with an identity scanning device, the user scans his or her identity credentials on the IoT device. Among them, scanning refers to the IoT device identifying the user's identity by scanning the user's identity credentials.

[0042] Method 2 In this method, the user terminal sends a first service request to the first server. In this method, an application corresponding to the service provided by the IoT device can be installed in the user terminal. After the user obtains the device identification of the IoT device through reverse scanning through the user terminal, the device identification is sent to the first server that manages the IoT device. Reverse scanning can refer to the user scanning the unique identifier of the digital object displayed by the IoT device through the user terminal.

[0043] In some scenarios, the user has opened an account in the service provided by the operator of the second server for payment and other services, and the account is pre-charged with money. The user and the operator of the second server can sign a relevant agreement, and the money in the account can be used to pay for related expenses in the user's daily life, thereby facilitating the user's life. Therefore, in the embodiment of this specification, the first service request can also carry the user identification of the user who requests to use the IoT device, which is used to uniquely identify the user, so that it can be accurately known which user is requesting the target service corresponding to the first service request. The type of user identification is not specifically limited here, for example, it can be biometric identification information such as facial image information, fingerprint information, iris information, or character identification information such as passwords.

[0044] In the embodiment of the present specification, the second server is a server for the withholding payer; before sending the second service request to the second server, the method further includes: Based on the user identifier, determining a withholding agreement number corresponding to the user identifier; The second service request also carries a debit agreement number corresponding to the user identifier.

[0045] Optionally, the device corresponding to the first server may sign a withholding agreement with the user and the payment withholding party corresponding to the second server, and the withholding agreement has a withholding agreement number. Alternatively, a withholding agreement signed by the device corresponding to the first server, the user and the payment withholding party corresponding to the second server may be pre-stored, in which case the pre-stored withholding agreement number corresponding to the user identifier may be obtained.

[0046] In the embodiment of this specification, the signature result information is obtained by signing the device identification of the Internet of Things device and the debit agreement number; the requesting the second server to perform transaction settlement based on the signature result information and the business execution result information specifically includes: Generate transaction data information based on the business execution result information; the transaction data information at least includes transaction amount information; The transaction data information and the signature result information are sent to the second server, so that the second server performs the transaction settlement corresponding to the transaction data information on the account corresponding to the withholding agreement number based on the withholding agreement number carried in the signature result information.

[0047] In this embodiment, the business execution result information may specifically include business execution completion information, such as shipment quantity information, service times / duration information, etc. The transaction data information may specifically include transaction amount information (i.e., amount information requested for deduction), transaction time information (e.g., the time when the business execution result information is received or the actual time when the business execution is completed), transaction device information, transaction user information, etc.

[0048] Before the transaction is settled, the second server may also verify the signature result.

[0049] In the embodiment of this specification, the IoT device is installed with a device-side business application corresponding to the first server and a payment withholding business program corresponding to the second server; The second business request is specifically used to sign the information carried in the second business request after being received by the payment withholding party business program to obtain the signature result information, and to instruct the device party business application to enable the Internet of Things device to execute the target business to obtain the business execution result information.

[0050] In the embodiment of this specification, the device-side service application enables the IoT device to execute the target service to obtain the service execution result information, which specifically includes: The device-side service application sends a service execution instruction to the service switch on the IoT device; The service switch controls the IoT device to execute the target service in response to the service execution instruction; The service switch receives a service stop instruction issued based on a preset service stop rule; The service switch controls the IoT device to stop executing the target service in response to the service stop instruction; The service switch sends a service execution end notification to the device-side service application; The device-side service application generates service execution result information in response to the service execution end notification.

[0051] IoT devices need to be able to provide corresponding business services to users under the control of corresponding applications. Device manufacturers or operators of IoT devices can develop device-side business applications to manage the hardware devices of IoT devices, so as to obtain relevant business execution result information when IoT devices execute target businesses. IoT devices can be equipped with business switches, which receive instructions from device-side business applications, so as to control the opening and closing of IoT devices at the physical level. At the same time, the device-side business application generates some business execution result information about the execution of this business after the business execution is completed. Depending on the specific IoT device, the business execution result information can be the execution result information such as the shipment quantity information, service frequency / duration information mentioned above.

[0052] In the embodiment of this specification, after requesting the second server to perform transaction settlement based on the signature result information and the business execution result information, the method further includes: Receive transaction settlement result information sent by the second server; the transaction settlement result information carries at least transaction identification information and transaction device information; the transaction device information is parsed from the signature result information.

[0053] In this embodiment, the second server can specifically settle the transaction fees of the business service corresponding to the first business request, or it can be transferred to other payment deduction applications managed by the operator of the second server to perform specific transaction settlement tasks, and obtain the final transaction settlement results, and transaction identification information for identifying the transaction settlement results. In order to let the operator of the first server know which IoT device has performed the target task associated with this transaction, so as to collect statistics on related data and facilitate the subsequent rebate, the second server can parse the signature result information to obtain the corresponding transaction device information. Then the second server can send the transaction settlement result information carrying at least the transaction identification information and the transaction device information to the first server.

[0054] The above text introduces the technical solution of the embodiment of the present invention from the perspective of the first server as a device-side server. In order to more clearly introduce the technical solution of the present invention, a service execution method applied to a second server is provided below. The meaning of the second server has been introduced in the above text and will not be repeated here. Figure 2 As shown, Figure 2 This is a flowchart of another service execution method provided by the embodiment of this specification. Next, Figure 2 A service execution method provided in the embodiment of the specification is specifically described. Figure 2 As shown, this method may include: Step 202: Receive a second service request for the Internet of Things device sent by the first server; the second service request carries a device identifier of the Internet of Things device.

[0055] The contents of the first server and the second service request have been described above and will not be described again here.

[0056] Step 204: Send service execution instruction information to the IoT device according to the device identifier; the service execution instruction information is used to instruct the IoT device to execute the target service to obtain service execution result information, and use the device identifier of the IoT device to sign the service execution result information to obtain signature result information.

[0057] In this step, after receiving the device identification of the IoT device, the second server can determine which IoT device the second service request involves from the physical entity level based on the device identification. To achieve this purpose, the second server can pre-store the correspondence between the device identification and the specific physical entity level IoT device. Then the second server sends a service execution instruction message to the IoT device corresponding to the device identification, so that the IoT device can specifically execute the target service corresponding to the second service request after receiving the service execution instruction message. At the same time, in order to reliably confirm that it is indeed the IoT device corresponding to the device identification that executes the corresponding target service, the service execution instruction message can also instruct the corresponding IoT device to use its device identification to sign the service execution result information. The previous article has already described the way in which the IoT device uses its device identification to sign the service execution result information, which will not be repeated here.

[0058] The IoT device can perform specific services according to the received service execution instruction information, and obtain service execution result information after executing the corresponding service. The content of the service execution result information has been explained in the previous text and will not be repeated here.

[0059] Step 206: Receive a transaction settlement request sent by the first server; the transaction settlement request carries the signature result information sent by the IoT device to the first server, and transaction data information generated based on the business execution result information sent by the IoT device to the first server.

[0060] Step 208: In response to the transaction settlement request, perform transaction settlement based on the signature result information and the transaction data information.

[0061] In the embodiment of this specification, the second service request also carries a debit agreement number; The withholding agreement number corresponds to the user identifier of the user requesting to execute the target business; The user identifier is carried in a first service request sent to the first server by the Internet of Things device or a user terminal of the user requesting to execute the target service.

[0062] In the embodiment of the present specification, the business execution instruction information is specifically used to sign the device identification of the Internet of Things device and the debit agreement number to obtain signature result information; the response to the transaction settlement request, based on the signature result information and the transaction data information, performs transaction settlement, specifically including: Parse the signature result information to obtain the withholding agreement number; Execute a transaction settlement corresponding to the transaction data information on the account corresponding to the deduction agreement number.

[0063] In the embodiment of this specification, the response to the transaction settlement request, performing transaction settlement based on the signature result information and the transaction data information, and then further comprising: Generate transaction settlement result information; the transaction settlement result information carries at least transaction identification information and transaction device information; the transaction device information is parsed from the signature result information.

[0064] In the embodiment of this specification, after generating the transaction settlement result information, the following is further included: The transaction settlement result information is sent to at least one of the first server and a user terminal requesting the target service.

[0065] In the embodiment of this specification, after sending the service execution instruction information to the IoT device according to the device identifier, the method further includes: Recording a first association relationship between the service execution instruction information and the Internet of Things device; After the transaction settlement is performed based on the signature result information and the transaction data information in response to the transaction settlement request, the method further includes: Recording a second association relationship between the transaction identification information and the transaction device information; The first association relationship and the second association relationship are used to determine whether the transaction corresponding to the transaction identification information occurs on the Internet of Things device.

[0066] In this solution, after the second server sends the service execution instruction information to the IoT device, by recording the first association relationship between the service execution instruction information and the IoT device, it is equivalent to recording in the second server which specific IoT device the service execution instruction corresponding to the service execution instruction information is issued to, so that the second server participates in the service initiation link process for the IoT device and records the relevant information. After a certain IoT device specifically executes the service execution instruction, the first server of the IoT device operator will initiate a transaction settlement request to the second server. At this time, after the second server performs the transaction settlement based on the signature result information and the transaction data information, it also records the second association relationship between the transaction identification information and the transaction device information, which is equivalent to the second server recording which IoT device specifically provides the target business service for which the transaction settlement is to be performed. Therefore, by comparing the first association relationship with the second association relationship, it is possible to determine whether the transaction corresponding to the transaction identification information occurs on the IoT device, that is, whether the IoT device that specifically executes the service execution instruction and the IoT device that performs the transaction settlement are the same IoT device.

[0067] In the embodiments of this specification, it also includes: Obtaining a service authenticity determination request for the IoT device; According to the preset business authenticity judgment rule, based on the first association relationship and the second association relationship, a business authenticity judgment result is obtained; the business authenticity judgment result is used to indicate whether the transaction corresponding to the transaction data information occurs on the Internet of Things device.

[0068] In this step, after receiving the business authenticity judgment request, the second server can judge whether the transaction corresponding to the transaction data information occurs on the Internet of Things device based on the first association relationship and the second association relationship. The reasons for being able to perform business authenticity judgment have been explained in the previous article and will not be repeated here.

[0069] In the embodiment of this specification, the IoT device is installed with a device-side business application corresponding to the first server and a payment withholding business program corresponding to the second server; The business execution instruction information is specifically used to sign the information carried in the business execution instruction information to obtain the signature result information after being received by the payment withholding party business program, and to instruct the device party business application to enable the Internet of Things device to execute the target business to obtain the business execution result information.

[0070] In the embodiment of this specification, the device-side service application enables the IoT device to execute the target service to obtain the service execution result information, which specifically includes: The device-side service application sends a service execution instruction to the service switch on the IoT device; The service switch controls the IoT device to execute the target service in response to the service execution instruction; The service switch receives a service stop instruction issued based on a preset service stop rule; The service switch controls the IoT device to stop executing the target service in response to the service stop instruction; The service switch sends a service execution end notification to the device-side service application; The device-side service application generates service execution result information in response to the service execution end notification.

[0071] The above content involves some steps in the specific working process of IoT devices, such as the device-side business application controlling the turning on and off of IoT devices. These steps have been explained in the previous article and will not be elaborated here.

[0072] According to the above description, if Figure 3 As shown, the embodiment of this specification also provides a signaling interaction diagram of a service execution method in an actual application scenario, including: Step 302: The user initiates a service request to the device server, where the service request is used to request the IoT device to process the target service.

[0073] As stated above, a user can trigger a business request to process the target business to the IoT device by forward scanning, and then the IoT device can send the business request to the server that manages itself. Alternatively, a user can obtain the device identification of the IoT device through reverse scanning through a user terminal, and then send the device identification to the device-side server that manages the IoT device (the device-side server can be understood as a specific implementation form of the first server described above), thereby initiating a business request to the device-side server.

[0074] Step 304: The device server sends the service request data to the payment deduction server.

[0075] In this step, the device server forwards the service request data to the payment withholding server, so that the payment withholding server can participate in the service initiation link process for the IoT device. The service request data may include the device identification of the IoT device.

[0076] Step 306: The payment withholding server sends the service request data to the payment withholding service program.

[0077] For IoT devices, one implementation form of the payment withholding party business program in this step can be the IoT software development kit developed by the operator of the payment withholding party server described above and implanted in IoT devices. For the operator of the payment withholding party server, since the IoT software development kit is credible, the device identifier of the IoT device can be signed based on the IoT software development kit to obtain signature result information, so that the IoT device executes the target business and obtains business execution result information. Step 308: The payment withholding party service program sends service request data and transaction signature result information to the device party service application; Step 310: The device-side business application controls the IoT device to execute the target business.

[0078] Step 312: The IoT device sends the service execution result information and the transaction signature result information to the device server; Step 314: The device-side server initiates a payment withholding request to the payment withholding server.

[0079] Step 316: The payment withholding server feeds back the withholding result information to the user.

[0080] Step 318: The payment withholding server feeds back the withholding result information to the device server.

[0081] At the same time, the embodiments of this specification also provide a service execution method at an overall level, such as Figure 4 As shown, Figure 4 It is a flowchart of a business execution method at the overall level provided by the embodiment of this specification, including: Step 402: The first server obtains a first service request for an IoT device; the first service request carries a device identifier of the IoT device.

[0082] Step 404: The first server sends a second service request to the second server; the second service request carries the device identifier of the IoT device.

[0083] Step 406: The second server sends service execution instruction information to the IoT device according to the device identifier.

[0084] Step 408: The IoT device executes the target service based on the service execution indication information to obtain service execution result information, and signs the service execution result information using the device identifier of the IoT device to obtain signature result information.

[0085] Step 410: The IoT device sends the signature result information and the service execution result information to the first server.

[0086] Step 412: The first server sends a transaction settlement request to the second server based on the signature result information and the business execution result information; the transaction settlement request carries the signature result information and transaction data information generated based on the business execution result information.

[0087] Step 414: The second server responds to the transaction settlement request and performs transaction settlement based on the signature result information and the transaction data information.

[0088] Based on the same idea, the embodiments of this specification also provide a service execution device corresponding to the above method. Figure 5 The embodiments of this specification provide corresponding to Figure 1 A structural diagram of a service execution device, applied to a first server, such as Figure 5 As shown, the device may include: A first service request acquisition module 502 is used to acquire a first service request for an IoT device; the first service request carries a device identifier of the IoT device; A second service request sending module 504 is configured to send a second service request to a second server; the second service request carries the device identification of the IoT device; the second service request is configured to instruct the IoT device to execute a target service to obtain service execution result information, and to sign the service execution result information using the device identification of the IoT device to obtain signature result information; An information receiving module 506 is used to receive the service execution result information and the signature result information sent by the IoT device; The transaction settlement request module 508 is used to request the second server to perform transaction settlement based on the business execution result information and the signature result information.

[0089] It is understood that the above modules refer to computer programs or program segments for executing one or more specific functions. In addition, the distinction between the above modules does not mean that the actual program codes must also be separated.

[0090] At the same time, the embodiment of this specification also provides another service execution device. Figure 6 The embodiments of this specification provide corresponding to Figure 2 A schematic diagram of a business execution device, applied to a second server, such as Figure 6 As shown, the device may include: The second service request receiving module 602 is used to receive a second service request for the IoT device sent by the first server; the second service request carries a device identifier of the IoT device; The service execution instruction information sending module 604 is used to send service execution instruction information to the IoT device according to the device identification; the service execution instruction information is used to instruct the IoT device to execute the target service to obtain service execution result information, and the service execution result information is signed by using the device identification of the IoT device to obtain signature result information; A transaction settlement request receiving module 606 is used to receive a transaction settlement request sent by the first server; the transaction settlement request carries the signature result information sent by the IoT device to the first server, and transaction data information generated based on the business execution result information sent by the IoT device to the first server; The transaction settlement module 608 is used to respond to the transaction settlement request and perform transaction settlement based on the signature result information and the transaction data information.

[0091] It is also understandable that the above modules refer to computer programs or program segments for executing one or more specific functions. In addition, the distinction between the above modules does not mean that the actual program codes must also be separated.

[0092] At the same time, the embodiment of this specification also provides a business execution system, such as Figure 7 As shown, Figure 7 A schematic diagram of the structure of a service execution system provided in an embodiment of this specification includes a first server, a second server and an Internet of Things device; wherein: The first server is used to obtain a first service request for an Internet of Things device; the first service request carries a device identifier of the Internet of Things device; and sends a second service request to the second server; the second service request carries the device identifier of the Internet of Things device; The second server is used to send service execution instruction information to the Internet of Things device according to the device identifier; The Internet of Things device is used to execute the target service based on the service execution indication information to obtain service execution result information, sign the service execution result information using the device identifier of the Internet of Things device to obtain signature result information; and send the service execution result information and the signature result information to the first server; The first server is further configured to send a transaction settlement request to the second server based on the business execution result information and the signature result information; the transaction settlement request carries the signature result information and transaction data information generated based on the business execution result information; The second server is further used to respond to the transaction settlement request and perform transaction settlement based on the signature result information and the transaction data information.

[0093] Based on the same idea, the embodiments of this specification also provide a device corresponding to the above method.

[0094] Figure 8 The embodiments of this specification provide corresponding to Figure 1 A schematic diagram of the structure of a business execution server. Figure 8 As shown, the server 800 may include: at least one processor 810; and, A memory 830 in communication with the at least one processor; wherein, The memory 830 stores instructions 820 that can be executed by the at least one processor 810. The instructions are executed by the at least one processor 810 to enable the at least one processor 810 to: Obtaining a first service request for an Internet of Things device; the first service request carries a device identifier of the Internet of Things device; Sending a second service request to a second server; the second service request carries the device identification of the IoT device; the second service request is used to instruct the IoT device to execute the target service to obtain service execution result information, and signing the service execution result information using the device identification of the IoT device to obtain signature result information; Receiving the service execution result information and the signature result information sent by the Internet of Things device; Based on the business execution result information and the signature result information, request the second server to perform transaction settlement.

[0095] Fig. 9 The embodiments of this specification provide corresponding to Figure 2 A schematic diagram of the structure of a business execution server. Fig. 9 As shown, the server 900 may include: at least one processor 910; and, A memory 930 in communication with the at least one processor; wherein, The memory 930 stores instructions 920 that can be executed by the at least one processor 910. The instructions are executed by the at least one processor 910 to enable the at least one processor 910 to: Receiving a second service request for the Internet of Things device sent by the first server; the second service request carries a device identifier of the Internet of Things device; Sending service execution instruction information to the IoT device according to the device identification; the service execution instruction information is used to instruct the IoT device to execute the target service to obtain service execution result information, and signing the service execution result information using the device identification of the IoT device to obtain signature result information; receiving a transaction settlement request sent by the first server; the transaction settlement request carries the signature result information sent by the IoT device to the first server, and transaction data information generated based on the business execution result information sent by the IoT device to the first server; In response to the transaction settlement request, transaction settlement is performed based on the signature result information and the transaction data information.

[0096] Based on the same idea, the embodiments of this specification also provide Figure 1 A computer-readable medium corresponding to the method in. The computer-readable medium stores computer-readable instructions, which can be executed by a processor to implement the following method: Obtaining a first service request for an Internet of Things device; the first service request carries a device identifier of the Internet of Things device; Sending a second service request to a second server; the second service request carries the device identification of the Internet of Things device; the second service request is used to instruct the Internet of Things device to execute the target service to obtain service execution result information; Receiving the service execution result information and the signature result information sent by the Internet of Things device; Based on the business execution result information and the signature result information, request the second server to perform transaction settlement.

[0097] Accordingly, the embodiments of this specification also provide Figure 2 A computer-readable medium corresponding to the method in. The computer-readable medium stores computer-readable instructions, which can be executed by a processor to implement the following method: Receiving a second service request for the Internet of Things device sent by the first server; the second service request carries a device identifier of the Internet of Things device; Sending service execution instruction information to the IoT device according to the device identification; the service execution instruction information is used to instruct the IoT device to execute the target service to obtain service execution result information, and signing the service execution result information using the device identification of the IoT device to obtain signature result information; receiving a transaction settlement request sent by the first server; the transaction settlement request carries the signature result information sent by the IoT device to the first server, and transaction data information generated based on the business execution result information sent by the IoT device to the first server; In response to the transaction settlement request, transaction settlement is performed based on the signature result information and the transaction data information.

[0098] The above describes specific embodiments of the present specification. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0099] The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referenced to each other.

[0100] The devices, equipment and methods provided in the embodiments of this specification correspond to each other, and therefore, the devices and equipment also have similar beneficial technical effects as the corresponding methods. Since the beneficial technical effects of the methods have been described in detail above, the beneficial technical effects of the corresponding devices and equipment will not be repeated here.

[0101] In the 1990s, it was very clear whether the improvement of a technology was hardware improvement (for example, improvement of the circuit structure of diodes, transistors, switches, etc.) or software improvement (improvement of the method flow). However, with the development of technology, many improvements of the method flow today can be regarded as direct improvements of the hardware circuit structure. Designers almost always obtain the corresponding hardware circuit structure by programming the improved method flow into the hardware circuit. Therefore, it cannot be said that the improvement of a method flow cannot be implemented with a hardware entity module. For example, a programmable logic device (PLD) (such as a field programmable gate array (FPGA)) is such an integrated circuit whose logical function is determined by the user's programming of the device. Designers can "integrate" a digital system on a PLD by programming themselves, without having to ask chip manufacturers to design and make dedicated integrated circuit chips. Moreover, nowadays, instead of manually making integrated circuit chips, this kind of programming is mostly implemented by "logic compiler" software, which is similar to the software compiler used when developing and writing programs, and the original code before compilation must also be written in a specific programming language, which is called hardware description language (HDL). There is not only one kind of HDL, but many kinds, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, RHDL (Ruby Hardware Description Language), etc. The most commonly used ones are VHDL (Very-High-Speed ​​Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art should also know that it is only necessary to program the method flow slightly in the above-mentioned hardware description languages ​​and program it into the integrated circuit, and then it is easy to obtain the hardware circuit that implements the logic method flow.

[0102] The controller may be implemented in any suitable manner, for example, the controller may take the form of a microprocessor or processor and a computer-readable medium storing a computer-readable program code (e.g., software or firmware) executable by the (micro)processor, a logic gate, a switch, an application-specific integrated circuit (ASIC), a programmable logic controller, and an embedded microcontroller, examples of which include but are not limited to the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320, and the memory controller may also be implemented as part of the control logic of the memory. It is also known to those skilled in the art that, in addition to implementing the controller in a purely computer-readable program code manner, the controller may be implemented in the form of a logic gate, a switch, an application-specific integrated circuit, a programmable logic controller, and an embedded microcontroller by logically programming the method steps. Therefore, such a controller may be considered as a hardware component, and the devices for implementing various functions included therein may also be considered as structures within the hardware component. Or even, the devices for implementing various functions may be considered as both software modules for implementing the method and structures within the hardware component.

[0103] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.

[0104] For the convenience of description, the above device is described in various units according to their functions. Of course, when implementing the present application, the functions of each unit can be implemented in the same or multiple software and / or hardware.

[0105] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0106] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0107] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0108] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0109] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0110] Memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. Memory is an example of a computer-readable medium.

[0111] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disc read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined in this article, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0112] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0113] The present application may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present application may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.

[0114] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims

1. A service execution method, applied to a first server, comprising: Get the first service request for the IoT device; The first service request carries a device identifier of the IoT device; Sending a second service request to a second server; The second service request carries the device identification of the IoT device; the second service request is used by the second server to instruct the IoT device to execute the target service to obtain service execution result information; the second service request is also used by the second server to instruct the IoT device to obtain signature result information; The signature result information is obtained by signing the service execution result information using the device identification of the Internet of Things device; Receiving the service execution result information and the signature result information sent by the Internet of Things device; Based on the business execution result information and the signature result information, request the second server to perform transaction settlement.

2. The method according to claim 1, wherein obtaining the first service request for the IoT device comprises: A first service request is received, which is sent by an Internet of Things device or a user terminal in response to a user's request to use the Internet of Things device.

3. According to the method as claimed in claim 1, the first service request also carries a user identifier of a user requesting to use the Internet of Things device.

4. The method according to claim 3, wherein the second server is a server of the withholding payer; Before sending the second service request to the second server, the method further includes: Based on the user identifier, determining a withholding agreement number corresponding to the user identifier; The second service request also carries a debit agreement number corresponding to the user identifier.

5. The method according to claim 4, wherein the signature result information is obtained by signing the device identification of the IoT device and the debit agreement number; and requesting the second server to perform transaction settlement based on the business execution result information and the signature result information specifically comprises: Generate transaction data information based on the business execution result information; The transaction data information at least includes transaction amount information; The transaction data information and the signature result information are sent to the second server, so that the second server performs the transaction settlement corresponding to the transaction data information on the account corresponding to the withholding agreement number based on the withholding agreement number carried in the signature result information.

6. The method according to claim 1, wherein the signature result information is obtained by at least one of the following methods: The Internet of Things device signs the service execution result information using the device identification of the Internet of Things device to obtain the signature result information; Alternatively, the Internet of Things device sends the device identification of the Internet of Things device and the service execution result information to the second server; The second server signs the service execution result information using the device identification of the Internet of Things device to obtain the signature result information; The second server sends the signature result information to the Internet of Things device.

7. The method according to claim 1, wherein requesting the second server to perform transaction settlement based on the business execution result information and the signature result information specifically comprises: Generate transaction data information based on the business execution result information; The transaction data information and the signature result information are sent to the second server to request the second server to perform transaction settlement.

8. The method according to claim 1, wherein the IoT device is installed with a device-side business application corresponding to the first server and a payment withholding business program corresponding to the second server; The second business request is specifically used to sign the information carried in the second business request after being received by the payment withholding party business program to obtain the signature result information, and to instruct the device party business application to enable the Internet of Things device to execute the target business to obtain the business execution result information.

9. The method according to claim 8, wherein the device-side service application enables the IoT device to execute the target service to obtain the service execution result information, specifically comprising: The device-side service application sends a service execution instruction to the service switch on the IoT device; The service switch controls the IoT device to execute the target service in response to the service execution instruction; The service switch receives a service stop instruction issued based on a preset service stop rule; The service switch controls the IoT device to stop executing the target service in response to the service stop instruction; The service switch sends a service execution end notification to the device-side service application; The device-side service application generates service execution result information in response to the service execution end notification.

10. The method according to claim 1, after requesting the second server to perform transaction settlement based on the business execution result information and the signature result information, further comprising: receiving transaction settlement result information sent by the second server; The transaction settlement result information at least carries transaction identification information and transaction device information; The transaction device information is obtained by parsing the signature result information.

11. A service execution method, applied to a second server, comprising: Receiving a second service request for the Internet of Things device sent by the first server; The second service request carries a device identifier of the IoT device; Sending service execution instruction information to the IoT device according to the device identifier; The service execution instruction information is used to instruct the IoT device to execute the target service to obtain service execution result information; The service execution instruction information is also used to instruct the Internet of Things device to obtain signature result information; The signature result information is obtained by signing the service execution result information using the device identification of the Internet of Things device; receiving a transaction settlement request sent by the first server; the transaction settlement request carries the signature result information sent by the IoT device to the first server, and transaction data information generated based on the business execution result information sent by the IoT device to the first server; In response to the transaction settlement request, transaction settlement is performed based on the signature result information and the transaction data information.

12. The method according to claim 11, wherein the second service request also carries a debit agreement number; The withholding agreement number corresponds to the user identifier of the user requesting to execute the target business; The user identifier is carried in a first service request sent to the first server by the Internet of Things device or a user terminal of the user requesting to execute the target service.

13. The method according to claim 12, wherein the service execution instruction information is specifically used to sign the device identification of the IoT device and the debit agreement number to obtain signature result information; The responding to the transaction settlement request and performing transaction settlement based on the signature result information and the transaction data information specifically includes: Parse the signature result information to obtain the withholding agreement number; Execute a transaction settlement corresponding to the transaction data information on the account corresponding to the deduction agreement number.

14. The method according to claim 13, wherein in response to the transaction settlement request, the transaction settlement is performed based on the signature result information and the transaction data information, and thereafter, further comprising: Generate transaction settlement result information; The transaction settlement result information at least carries transaction identification information and transaction device information; The transaction device information is obtained by parsing the signature result information.

15. The method according to claim 14, after generating the transaction settlement result information, further comprising: The transaction settlement result information is sent to at least one of the first server and a user terminal requesting the target service.

16. The method according to claim 14, after sending the service execution instruction information to the IoT device according to the device identifier, further comprising: Recording a first association relationship between the service execution instruction information and the Internet of Things device; After the transaction settlement is performed based on the signature result information and the transaction data information in response to the transaction settlement request, the method further includes: Recording a second association relationship between the transaction identification information and the transaction device information; The first association relationship and the second association relationship are used to determine whether the transaction corresponding to the transaction identification information occurs on the Internet of Things device.

17. The method of claim 16, further comprising: Obtaining a service authenticity determination request for the IoT device; According to the preset business authenticity judgment rule, based on the first association relationship and the second association relationship, a business authenticity judgment result is obtained; the business authenticity judgment result is used to indicate whether the transaction corresponding to the transaction data information occurs on the Internet of Things device.

18. The method according to claim 11, wherein the IoT device is installed with a device-side business application corresponding to the first server and a payment withholding business program corresponding to the second server; The business execution instruction information is specifically used to sign the information carried in the business execution instruction information to obtain the signature result information after being received by the payment withholding party business program, and to instruct the device party business application to enable the Internet of Things device to execute the target business to obtain the business execution result information.

19. The method according to claim 18, wherein the device-side service application enables the IoT device to execute the target service to obtain the service execution result information, specifically comprising: The device-side service application sends a service execution instruction to the service switch on the IoT device; The service switch controls the IoT device to execute the target service in response to the service execution instruction; The service switch receives a service stop instruction issued based on a preset service stop rule; The service switch controls the IoT device to stop executing the target service in response to the service stop instruction; The service switch sends a service execution end notification to the device-side service application; The device-side service application generates service execution result information in response to the service execution end notification.

20. A business execution method, comprising: The first server obtains a first service request for the IoT device; The first service request carries a device identifier of the IoT device; The first server sends a second service request to the second server; the second service request carries a device identifier of the Internet of Things device; The second server sends service execution instruction information to the Internet of Things device according to the device identifier; The IoT device executes the target service based on the service execution instruction information to obtain service execution result information; The IoT device also obtains signature result information based on the service execution instruction information; The signature result information is obtained by signing the service execution result information using the device identification of the Internet of Things device; The Internet of Things device sends the service execution result information and the signature result information to the first server; The first server sends a transaction settlement request to the second server based on the business execution result information and the signature result information; The transaction settlement request carries the signature result information and transaction data information generated based on the business execution result information; The second server performs transaction settlement based on the signature result information and the transaction data information in response to the transaction settlement request.

21. A service execution device, applied to a first server, comprising: A first service request acquisition module, used to acquire a first service request for an IoT device; The first service request carries a device identifier of the IoT device; A second service request sending module is used to send a second service request to a second server; the second service request carries a device identifier of the IoT device; the second service request is used by the second server to instruct the IoT device to execute a target service to obtain service execution result information; the second service request is also used by the second server to instruct the IoT device to obtain signature result information; The signature result information is obtained by signing the service execution result information using the device identification of the Internet of Things device; An information receiving module, used to receive the service execution result information and the signature result information sent by the Internet of Things device; A transaction settlement request module is used to request the second server to perform transaction settlement based on the business execution result information and the signature result information, including: sending the signature result information to the second server.

22. A service execution device, applied to a second server, comprising: A second service request receiving module, used to receive a second service request for the Internet of Things device sent by the first server; The second service request carries a device identifier of the IoT device; A service execution instruction information sending module, used to send service execution instruction information to the Internet of Things device according to the device identifier; the service execution instruction information is used to instruct the Internet of Things device to execute the target service to obtain service execution result information; The service execution instruction information is also used to instruct the Internet of Things device to obtain signature result information; The signature result information is obtained by signing the service execution result information using the device identification of the Internet of Things device; a transaction settlement request receiving module, configured to receive a transaction settlement request sent by the first server; the transaction settlement request carries the signature result information sent by the IoT device to the first server, and transaction data information generated based on the business execution result information sent by the IoT device to the first server; A transaction settlement module is used to respond to the transaction settlement request and perform transaction settlement based on the signature result information and the transaction data information.

23. A business execution system, comprising a first server, a second server and an Internet of Things device; The first server is used to obtain a first service request for an Internet of Things device; the first service request carries a device identifier of the Internet of Things device; Sending a second service request to the second server; the second service request carries a device identifier of the Internet of Things device; The second server is used to send service execution instruction information to the Internet of Things device according to the device identifier; The IoT device is configured to execute a target service based on the service execution instruction information to obtain service execution result information; Acquire signature result information, where the signature result information is obtained by signing the service execution result information using the device identifier of the Internet of Things device; and send the service execution result information and the signature result information to the first server; The first server is further configured to send a transaction settlement request to the second server based on the business execution result information and the signature result information; the transaction settlement request carries the signature result information and transaction data information generated based on the business execution result information; The second server is further used to respond to the transaction settlement request and perform transaction settlement based on the signature result information and the transaction data information.

24. A service execution server, comprising: at least one processor; as well as, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can implement the service execution method according to any one of claims 1 to 20.

25. A computer-readable medium having computer-readable instructions stored thereon, wherein the computer-readable instructions can be executed by a processor to implement the service execution method according to any one of claims 1 to 20.

Citation Information

Patent Citations

  • Payment method, device and equipment

    CN111429126A

  • Data storage method and system of IOT equipment based on block chain

    CN112966044A

  • Cloud payment system

    KR1020170074657A

  • Service providing system and unit device

    US20130246281A1

  • Payment method and apparatus for device

    WO2020103563A1