Service platform switching method, device, system, terminal device and service platform
Patent Information
- Application Number
- CN202110869351.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-07-30
- Publication Date
- 2026-10-09
- Estimated Expiration
- 2041-07-30
AI Technical Summary
[0003]本发明实施例提供一种业务平台切换方法、装置、系统、终端设备及业务平台,用以解决现有技术中,终端和业务平台耦合性强的问题
[0222]本发明方案,提供一个物联网接入管理系统,并且设置物联网接入管理系统与至少一个终端设备和至少两个业务平台连接,根据第一终端设备发送的申请查询信息,向第一终端设备发送业务平台属性信息,可以实现第一终端设备查询不同的业务平台的属性信息,以便于后续根据业务平台的属性信息进行选择或者切换,通过接收所述第一终端设备根据所述业务平台属性信息发送的切换请求信息,根据所述切换请求信息以及所述业务平台属性信息,将与所述第一终端设备连接的第一业务平台切换为第二业务平台,可以实现终端设备与业务平台的解耦合,实现终端设备与业务平台的自由结合或者切换,提升产品的利用率。
Smart Images

Figure CN115696500B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of Internet of Things (IoT) technology, and in particular to a business platform switching method, apparatus, system, terminal device, and business platform. Background Technology
[0002] Terminals and business platforms can interact. In existing technologies, terminals typically support one business platform or support switchable business platforms that belong to the same party and have the same protocol. Furthermore, during the consumption process, consumers need to purchase products through a tightly coupled terminal and business platform, which increases consumption costs. Summary of the Invention
[0003] This invention provides a service platform switching method, apparatus, system, terminal device, and service platform to solve the problem of strong coupling between the terminal and the service platform in the prior art.
[0004] To address the aforementioned technical problems, the embodiments of the present invention provide the following technical solutions:
[0005] In a first aspect, embodiments of the present invention provide an IoT service platform switching method, applied to an IoT access management system, the method comprising:
[0006] When at least one terminal device and at least two business platforms successfully access the IoT access management system, the system receives the application query information sent by the first terminal device.
[0007] Based on the application query information, send the business platform attribute information to the first terminal device;
[0008] Receive a switching request information sent by the first terminal device based on the service platform attribute information;
[0009] Based on the switching request information and the service platform attribute information, the first service platform connected to the first terminal device is switched to the second service platform.
[0010] Optionally, after switching the first service platform connected to the first terminal device to the second service platform according to the switching request information and the service platform attribute information, the method further includes:
[0011] Based on the switching request information and the application query information, a service key is sent to the first terminal device and the second service platform respectively;
[0012] The service key is used to encrypt the first service data exchanged between the first terminal device and the second service platform.
[0013] Optionally, the switching request information includes: the service failure time;
[0014] The requested query information includes: the device identification information of the first terminal device;
[0015] The step of sending service keys to the first terminal device and the second service platform respectively based on the switching request information and the application query information includes:
[0016] The dispersion factor is obtained based on the platform identification information of the second business platform, the service failure time, the random number generated by the IoT access management system, and the device identification information;
[0017] The business key is obtained based on the dispersion factor;
[0018] The encrypted service key is sent to the first terminal device and the second service platform respectively.
[0019] Optionally, the switching request information includes: the service failure time;
[0020] After sending service keys to the first terminal device and the second service platform respectively based on the switching request information and the application query information, the method further includes:
[0021] If the absolute value of the difference between the first duration and the duration indicated by the service failure time is less than the first preset duration, a prompt message is sent to both the first terminal device and the second service platform. The first duration is the duration of service data interaction between the first terminal device and the second service platform; or
[0022] If the time difference between the first time and the service failure time is less than a first preset time value, a prompt message is sent to the first terminal device and the second service platform respectively. The first time is the time during which the first terminal device and the second service platform interact with the service data.
[0023] Optionally, after sending the service key to the first terminal device and the second service platform respectively according to the switching request information and the application query information, the method further includes:
[0024] At every second preset time interval, the second service data sent by the first terminal device is obtained, and the second service data is obtained by the first terminal device performing a hash operation on the first service data.
[0025] Optionally, after obtaining the second service data sent by the first terminal device, the method further includes:
[0026] After switching the second service platform connected to the first terminal device to the third service platform, data index information is sent to the second service platform;
[0027] Optionally, before receiving the application query information sent by the first terminal device when at least one terminal device and at least two service platforms have successfully accessed the IoT access management system, the method further includes:
[0028] Obtain device access request information sent by the at least one terminal device;
[0029] Based on the device access request information, device identification information is sent to each of the at least one terminal device;
[0030] The device identification information is used to indicate that the at least one terminal device has successfully accessed the Internet of Things access management system.
[0031] Optionally, the device access application information includes: a protocol template index number, a public key, and a data packet containing agreed-upon test data;
[0032] The step of sending device identification information to the at least one terminal device according to the device access application information includes:
[0033] Determine whether the protocol template corresponding to the protocol template index number can parse the data packet;
[0034] If the protocol template can parse the data packet, then device identification information is generated;
[0035] The device identification information is encrypted using the public key to obtain the encrypted device identification information;
[0036] The encrypted device identification information is sent to each of the at least one terminal device.
[0037] Optionally, before receiving the application query information sent by the first terminal device when at least one terminal device and at least two service platforms have successfully accessed the IoT access management system, the method further includes:
[0038] Obtain the platform access application information sent by the at least two business platforms respectively;
[0039] Based on the platform access application information, send platform identification information to each of the at least two business platforms;
[0040] The platform identification information is used to indicate that at least two business platforms have successfully accessed the IoT access management system.
[0041] Optionally, the platform access application information includes: protocol template index number, public key, and data packet with agreed test data;
[0042] The step of sending platform identification information to the at least two business platforms respectively based on the platform access application information includes:
[0043] Determine whether the protocol template corresponding to the protocol template index number can parse the data packet;
[0044] If the protocol template can parse the data packet, then platform identification information is generated;
[0045] The platform identification information is encrypted using the public key to obtain the encrypted platform identification information.
[0046] The encrypted platform identification information is sent to each of the at least two business platforms.
[0047] Optionally, the service platform attribute information includes: the service platform's Internet Protocol IP address and the service platform's protocol index number;
[0048] The step of receiving the switching request information sent by the first terminal device according to the service platform attribute information includes:
[0049] Based on the device identification information of the first terminal device and the preset correspondence between the device identification information and the service platform protocol index number, a target service platform capable of parsing the protocol of the first terminal device is determined, and the target service platform includes at least one service platform.
[0050] Send first information to the first terminal device, the first information including the business platform attribute information of the target business platform;
[0051] Obtain the switching request information sent by the first terminal device based on the first information, wherein the switching request information includes the first Internet Protocol IP of the second service platform, and the second service platform is one of the target service platforms.
[0052] Secondly, embodiments of the present invention provide an IoT service platform switching method, applied to a first terminal device, the method comprising:
[0053] If at least one terminal device and at least two business platforms successfully access the IoT access management system, send an application query information to the IoT access management system.
[0054] Receive business platform attribute information sent by the IoT access management system based on the application query information;
[0055] Based on the service platform attribute information, a switching request is sent to the IoT access management system so that the IoT access management system switches the first service platform connected to the first terminal device to the second service platform.
[0056] Optionally, after sending a switching request to the IoT access management system based on the service platform attribute information, so that the IoT access management system switches the first service platform connected to the first terminal device to the second service platform, the method further includes:
[0057] Receive the service key sent by the IoT access management system based on the switching request information and the application query information;
[0058] The service key is used to encrypt the first service data exchanged between the first terminal device and the second service platform.
[0059] Optionally, the switching request information includes: the service failure time;
[0060] The requested query information includes: the device identification information of the first terminal device;
[0061] The step of receiving the service key sent by the IoT access management system based on the switching request information and the application query information includes:
[0062] Receive the encrypted business key sent by the IoT access management system based on the switching request information and the application query information;
[0063] The service key is obtained by the IoT access management system based on a dispersion factor; the dispersion factor is obtained by the IoT access management system based on the platform identification information of the second service platform, the service failure time, a random number generated by the IoT access management system, and the device identification information.
[0064] Optionally, the switching request information includes: the service failure time;
[0065] After receiving the service key sent by the IoT access management system based on the switching request information and the application query information, the method further includes:
[0066] If the absolute value of the difference between the first duration and the duration indicated by the service failure time is less than the first preset duration, a prompt message is received from the IoT access management system, where the first duration is the duration of service data interaction between the first terminal device and the second service platform; or
[0067] If the time difference between the first time and the service failure time is less than a first preset time value, a prompt message sent by the IoT access management system is received, where the first time is the time during which the first terminal device and the second service platform interact with business data.
[0068] Optionally, after receiving the service key sent by the IoT access management system based on the switching request information and the application query information, the method further includes:
[0069] At every second preset time interval, the first business data is hashed to obtain the second business data;
[0070] The second service data is sent to the IoT access management system.
[0071] Optionally, before sending the application query information to the IoT access management system after at least one terminal device and at least two service platforms have successfully accessed the IoT access management system, the method further includes:
[0072] Send device access application information to the IoT access management system;
[0073] Receive device identification information sent by the IoT access management system based on the device access application information;
[0074] The device identification information is used to indicate that the at least one terminal device has successfully accessed the Internet of Things access management system.
[0075] Optionally, the device access application information includes: a protocol template index number, a public key, and a data packet containing agreed-upon test data;
[0076] The receipt of device identification information sent by the IoT access management system based on the access application information includes:
[0077] Receive encrypted device identification information sent by the IoT access management system;
[0078] The encrypted device identification information is obtained by the IoT access management system encrypting the device identification information based on the public key; the device identification information is generated by the IoT access management system when it determines that the protocol template corresponding to the protocol template index number can parse the data packet.
[0079] Optionally, the service platform attribute information includes: the service platform's Internet Protocol IP address and the service platform's protocol index number;
[0080] The step of sending a switching request to the IoT access management system based on the service platform attribute information includes:
[0081] Receive first information sent by the IoT access management system, the first information including business platform attribute information of the target business platform;
[0082] Based on the first information, a switching request is sent to the IoT access management system. The switching request includes the first Internet Protocol IP of the second business platform, and the second business platform is one of the target business platforms.
[0083] The target service platform is a service platform that the IoT access management system determines, based on the device identification information of the first terminal device and the preset correspondence between the device identification information and the service platform protocol index number, is capable of parsing the protocol of the first terminal device; the target service platform includes at least one service platform.
[0084] Thirdly, embodiments of the present invention provide an IoT service platform switching method, applied to a second service platform, the method comprising:
[0085] When at least one terminal device and at least two business platforms successfully access the IoT access management system, the device is connected to the first terminal device through the IoT access management system.
[0086] Wherein, the second service platform is the platform connected to the first terminal device after the IoT access management system switches the first service platform connected to the first terminal device according to the switching request information and the service platform attribute information; the switching request information is sent by the first terminal device to the IoT access management system according to the service platform attribute information; the service platform attribute information is sent by the IoT access management system to the first terminal device according to the application query information; the application query information is sent by the first terminal device to the IoT access management system.
[0087] Optionally, after connecting to the first terminal device through the IoT access management system, the method further includes:
[0088] Receive the service key sent by the IoT access management system based on the switching request information and the application query information;
[0089] The service key is used to encrypt the first service data exchanged between the first terminal device and the second service platform.
[0090] Optionally, the switching request information includes: the service failure time;
[0091] The step of receiving the service key sent by the IoT access management system based on the switching request information and the application query information includes:
[0092] Receive the encrypted business key sent by the IoT access management system based on the switching request information and the application query information;
[0093] The service key is obtained by the IoT access management system based on a dispersion factor; the dispersion factor is obtained by the IoT access management system based on the platform identification information of the second service platform, the service failure time, a random number generated by the IoT access management system, and the device identification information.
[0094] Optionally, the switching request information includes: the service failure time;
[0095] After receiving the service key sent by the IoT access management system based on the switching request information and the application query information, the method further includes:
[0096] If the absolute value of the difference between the first duration and the duration indicated by the service failure time is less than the first preset duration, a prompt message sent by the IoT access management system is received; or
[0097] If the time difference between the first time and the service failure time is less than a first preset time value, receive a prompt message sent by the IoT access management system;
[0098] Wherein, the first duration is the duration of business data interaction between the first terminal device and the second business platform;
[0099] The first time is the time during which the first terminal device and the second business platform interact with business data.
[0100] Optionally, after receiving the service key sent by the IoT access management system based on the switching request information and the application query information, the method further includes:
[0101] After switching the second service platform connected to the first terminal device to the third service platform, the system receives data index information sent by the IoT access management system.
[0102] Based on the data index information, third service data is sent to the IoT access management system, so that the IoT access management system, after verifying the correctness of the second service data based on the third service data, sends the second service data to the third service platform.
[0103] Optionally, before connecting to the first terminal device through the IoT access management system after at least one terminal device and at least two service platforms have successfully accessed the IoT access management system, the method further includes:
[0104] Send platform access application information to the IoT access management system;
[0105] Receive platform identification information sent by the IoT access management system based on the platform access application information;
[0106] The platform identification information is used to indicate that at least two business platforms have successfully accessed the IoT access management system.
[0107] Optionally, the platform access application information includes: protocol template index number, public key, and data packet with agreed test data;
[0108] The receipt of platform identification information sent by the IoT access management system based on the platform access application information includes:
[0109] Receive encrypted platform identification information sent by the IoT access management system;
[0110] The encrypted platform identification information is obtained by the IoT access management system encrypting the platform identification information based on the public key; the platform identification information is generated by the IoT access management system when it determines that the protocol template corresponding to the protocol template index number can parse the data packet.
[0111] Fourthly, embodiments of the present invention provide an IoT service platform switching device, applied to an IoT access management system, the device comprising:
[0112] The first receiving module is used to receive application query information sent by the first terminal device when at least one terminal device and at least two business platforms successfully access the Internet of Things access management system.
[0113] The first sending module is used to send business platform attribute information to the first terminal device according to the application query information;
[0114] The second receiving module is used to receive the switching request information sent by the first terminal device according to the service platform attribute information;
[0115] The switching module is used to switch the first business platform connected to the first terminal device to the second business platform according to the switching request information and the business platform attribute information.
[0116] Optionally, the device further includes:
[0117] The key sending module is used to send a service key to the first terminal device and the second service platform respectively according to the switching request information and the application query information;
[0118] The service key is used to encrypt the first service data exchanged between the first terminal device and the second service platform.
[0119] Optionally, the switching request information includes: the service failure time;
[0120] The requested query information includes: the device identification information of the first terminal device;
[0121] The key transmission module includes:
[0122] The first acquisition unit is used to acquire a dispersion factor based on the platform identification information of the second business platform, the service failure time, the random number generated by the IoT access management system, and the device identification information.
[0123] The second acquisition unit is used to acquire the business key based on the dispersion factor;
[0124] The first sending unit is used to send encrypted service keys to the first terminal device and the second service platform respectively.
[0125] Optionally, the switching request information includes: the service failure time;
[0126] The device further includes:
[0127] The notification message sending module is configured to send notification messages to the first terminal device and the second service platform respectively when the absolute value of the difference between the first duration and the duration indicated by the service failure time is less than a first preset duration, wherein the first duration is the duration of service data interaction between the first terminal device and the second service platform; or
[0128] If the time difference between the first time and the service failure time is less than a first preset time value, a prompt message is sent to the first terminal device and the second service platform respectively. The first time is the time during which the first terminal device and the second service platform interact with the service data.
[0129] Optionally, the device further includes:
[0130] The service data acquisition module is used to acquire second service data sent by the first terminal device at second preset time intervals; the second service data is obtained by the first terminal device performing a hash operation on the first service data.
[0131] Optionally, the device further includes:
[0132] The index information sending module is used to send data index information to the second service platform after switching the second service platform connected to the first terminal device to the third service platform;
[0133] A business data receiving module is used to receive third business data sent by the second business platform according to the data index information;
[0134] The first service data sending module is used to send the second service data to the third service platform after verifying the correctness of the second service data based on the third service data.
[0135] Optionally, the device further includes:
[0136] The first access request information acquisition module is used to acquire device access request information sent by the at least one terminal device respectively;
[0137] The first identification information sending module is used to send device identification information to the at least one terminal device according to the device access application information;
[0138] The device identification information is used to indicate that the at least one terminal device has successfully accessed the Internet of Things access management system.
[0139] Optionally, the device access application information includes: a protocol template index number, a public key, and a data packet containing agreed-upon test data;
[0140] The first identification information sending module includes:
[0141] The first judgment unit is used to determine whether the protocol template corresponding to the protocol template index number can parse the data packet;
[0142] The first generation unit is configured to generate device identification information if the protocol template can parse the data packet;
[0143] The first encryption unit is used to encrypt the device identification information using the public key to obtain the encrypted device identification information;
[0144] The first identifier sending unit is used to send the encrypted device identifier information to the at least one terminal device respectively.
[0145] Optionally, the device further includes:
[0146] The second access application information acquisition module is used to acquire platform access application information sent by the at least two service platforms respectively;
[0147] The second identification information sending module is used to send platform identification information to the at least two business platforms respectively according to the platform access application information;
[0148] The platform identification information is used to indicate that at least two business platforms have successfully accessed the IoT access management system.
[0149] Optionally, the platform access application information includes: protocol template index number, public key, and data packet with agreed test data;
[0150] The second identification information sending module includes:
[0151] The second judgment unit is used to determine whether the protocol template corresponding to the protocol template index number can parse the data packet;
[0152] The second generation unit is used to generate platform identification information if the protocol template can parse the data packet;
[0153] The second encryption unit is used to encrypt the platform identification information using the public key to obtain the encrypted platform identification information;
[0154] The second identifier sending unit is used to send the encrypted platform identifier information to the at least two service platforms respectively.
[0155] Optionally, the service platform attribute information includes: the service platform's Internet Protocol IP address and the service platform's protocol index number;
[0156] The second receiving module includes:
[0157] The first determining unit is configured to determine, based on the device identification information of the first terminal device and the preset correspondence between the device identification information and the service platform protocol index number, a target service platform capable of parsing the protocol of the first terminal device, wherein the target service platform includes at least one service platform.
[0158] The first information sending unit is used to send first information to the first terminal device, the first information including the business platform attribute information of the target business platform;
[0159] The first information acquisition unit is used to acquire the switching request information sent by the first terminal device according to the first information, wherein the switching request information includes the first Internet Protocol IP of the second service platform, and the second service platform is one of the target service platforms.
[0160] Fifthly, embodiments of the present invention provide an Internet of Things (IoT) service platform switching device, applied to a first terminal device, the device comprising:
[0161] The second sending module is used to send application query information to the Internet of Things access management system when at least one terminal device and at least two business platforms have successfully accessed the Internet of Things access management system.
[0162] The third receiving module is used to receive business platform attribute information sent by the IoT access management system based on the application query information;
[0163] The third sending module is used to send a switching request to the IoT access management system according to the service platform attribute information, so that the IoT access management system switches the first service platform connected to the first terminal device to the second service platform.
[0164] Optionally, the device further includes:
[0165] The first key receiving module is used to receive the business key sent by the IoT access management system according to the switching request information and the application query information;
[0166] The service key is used to encrypt the first service data exchanged between the first terminal device and the second service platform.
[0167] Optionally, the switching request information includes: the service failure time;
[0168] The requested query information includes: the device identification information of the first terminal device;
[0169] The first key receiving module includes:
[0170] The first key receiving unit is used to receive the encrypted business key sent by the Internet of Things access management system according to the switching request information and the application query information;
[0171] The service key is obtained by the IoT access management system based on a dispersion factor; the dispersion factor is obtained by the IoT access management system based on the platform identification information of the second service platform, the service failure time, a random number generated by the IoT access management system, and the device identification information.
[0172] Optionally, the switching request information includes: the service failure time;
[0173] The device further includes:
[0174] The first notification information receiving module is configured to receive a notification information sent by the IoT access management system when the absolute value of the difference between the first duration and the duration indicated by the service failure time is less than a first preset duration. The first duration is the duration of service data interaction between the first terminal device and the second service platform; or
[0175] If the time difference between the first time and the service failure time is less than a first preset time value, a prompt message sent by the IoT access management system is received, where the first time is the time during which the first terminal device and the second service platform interact with business data.
[0176] Optionally, the device further includes:
[0177] The calculation module is used to perform a hash operation on the first business data at intervals of a second preset time to obtain the second business data;
[0178] The second service data sending module is used to send the second service data to the IoT access management system.
[0179] Optionally, the device further includes:
[0180] The first access application information sending module is used to send device access application information to the Internet of Things access management system;
[0181] The first identifier receiving module is used to receive device identifier information sent by the Internet of Things access management system according to the device access application information;
[0182] The device identification information is used to indicate that the at least one terminal device has successfully accessed the Internet of Things access management system.
[0183] Optionally, the device access application information includes: a protocol template index number, a public key, and a data packet containing agreed-upon test data;
[0184] The first identifier receiving module includes:
[0185] The first identifier receiving unit is used to receive encrypted device identifier information sent by the Internet of Things access management system;
[0186] The encrypted device identification information is obtained by the IoT access management system encrypting the device identification information based on the public key; the device identification information is generated by the IoT access management system when it determines that the protocol template corresponding to the protocol template index number can parse the data packet.
[0187] Optionally, the service platform attribute information includes: the service platform's Internet Protocol IP address and the service platform's protocol index number;
[0188] The third sending module includes:
[0189] The first information receiving unit is used to receive first information sent by the Internet of Things access management system, the first information including business platform attribute information of the target business platform;
[0190] The first switching request information sending unit is configured to send switching request information to the Internet of Things access management system according to the first information, wherein the switching request information includes the first Internet Protocol IP of the second business platform, and the second business platform is one of the target business platforms;
[0191] The target service platform is a service platform that the IoT access management system determines, based on the device identification information of the first terminal device and the preset correspondence between the device identification information and the service platform protocol index number, is capable of parsing the protocol of the first terminal device; the target service platform includes at least one service platform.
[0192] Sixthly, embodiments of the present invention provide an IoT service platform switching device, applied to a second service platform, the device comprising:
[0193] The connection module is used to connect to the first terminal device through the IoT access management system when at least one terminal device and at least two business platforms have successfully accessed the IoT access management system.
[0194] Specifically, the IoT access management system switches the first service platform connected to the first terminal device to the second service platform based on the switching request information and the service platform attribute information; the switching request information is sent by the first terminal device to the IoT access management system based on the service platform attribute information; the service platform attribute information is sent by the IoT access management system to the first terminal device based on the application query information; and the application query information is sent by the first terminal device to the IoT access management system.
[0195] Optionally, the device further includes:
[0196] The second key receiving module is used to receive the business key sent by the IoT access management system according to the switching request information and the application query information;
[0197] The service key is used to encrypt the first service data exchanged between the first terminal device and the second service platform.
[0198] Optionally, the switching request information includes: the service failure time;
[0199] The second key receiving module includes:
[0200] The second key receiving unit is used to receive the encrypted business key sent by the IoT access management system according to the switching request information and the application query information;
[0201] The service key is obtained by the IoT access management system based on a dispersion factor; the dispersion factor is obtained by the IoT access management system based on the platform identification information of the second service platform, the service failure time, a random number generated by the IoT access management system, and the device identification information.
[0202] Optionally, the switching request information includes: the service failure time;
[0203] The device further includes:
[0204] The second notification information receiving module is configured to receive a notification information sent by the IoT access management system when the absolute value of the difference between the first duration and the duration indicated by the service failure time is less than a first preset duration. The first duration is the duration of service data interaction between the first terminal device and the second service platform; or
[0205] If the time difference between the first time and the service failure time is less than a first preset time value, a prompt message sent by the IoT access management system is received, where the first time is the time during which the first terminal device and the second service platform interact with business data.
[0206] Optionally, the device further includes:
[0207] The index information receiving module is used to receive data index information sent by the Internet of Things access management system after switching the second service platform connected to the first terminal device to the third service platform;
[0208] The third service data sending module is used to send third service data to the IoT access management system according to the data index information, so that the IoT access management system, after verifying the correctness of the second service data according to the third service data, sends the second service data to the third service platform.
[0209] Optionally, the device further includes:
[0210] The second access application information sending module is used to send platform access application information to the IoT access management system;
[0211] The second identifier receiving module is used to receive platform identifier information sent by the IoT access management system based on the platform access application information;
[0212] The platform identification information is used to indicate that at least two business platforms have successfully accessed the IoT access management system.
[0213] Optionally, the platform access application information includes: protocol template index number, public key, and data packet with agreed test data;
[0214] The second identifier receiving module includes:
[0215] The second identifier receiving unit is used to receive encrypted platform identifier information sent by the Internet of Things access management system;
[0216] The encrypted platform identification information is obtained by the IoT access management system encrypting the platform identification information based on the public key; the platform identification information is generated by the IoT access management system when it determines that the protocol template corresponding to the protocol template index number can parse the data packet.
[0217] In a seventh aspect, embodiments of the present invention also provide an Internet of Things (IoT) access management system, comprising: a processor, a memory, and a program stored in the memory and executable on the processor, wherein the program, when executed by the processor, implements the steps of the IoT service platform switching method as described in any one of the first aspects.
[0218] Eighthly, embodiments of the present invention provide a terminal device, the terminal device being a first terminal device, comprising: a processor, a memory, and a program stored in the memory and executable on the processor, wherein when the program is executed by the processor, it implements the steps of the IoT service platform switching method as described in any one of the second aspects.
[0219] In a ninth aspect, embodiments of the present invention provide a service platform, which is a second service platform, comprising: a processor, a memory, and a program stored in the memory and executable on the processor, wherein when the program is executed by the processor, it implements the steps of the IoT service platform switching method as described in any one of the third aspects.
[0220] In a tenth aspect, embodiments of the present invention provide a readable storage medium storing a program or instructions, which, when executed by a processor, implement the steps of the IoT service platform switching method described in any of the preceding claims.
[0221] The beneficial effects of this invention are:
[0222] This invention provides an IoT access management system, which is connected to at least one terminal device and at least two service platforms. Based on an application query sent by a first terminal device, service platform attribute information is sent to the first terminal device. This allows the first terminal device to query the attribute information of different service platforms, facilitating subsequent selection or switching based on the service platform's attribute information. By receiving a switching request sent by the first terminal device based on the service platform attribute information, and switching the first service platform connected to the first terminal device to a second service platform based on the switching request information and the service platform attribute information, the decoupling of the terminal device and the service platforms can be achieved, enabling free combination or switching between the terminal device and the service platforms, thus improving product utilization. Attached Figure Description
[0223] Figure 1 This is one of the flowcharts illustrating the IoT service platform switching method provided in this embodiment of the invention;
[0224] Figure 2 This diagram illustrates the architecture of the IoT access management system provided in this embodiment of the invention.
[0225] Figure 3 This is a schematic diagram of the structure of the terminal device provided in an embodiment of the present invention;
[0226] Figure 4 This illustrates one of the specific flowcharts of the IoT service platform switching method provided in this embodiment of the invention;
[0227] Figure 5 This is the second detailed flowchart illustrating the IoT service platform switching method provided in this embodiment of the invention.
[0228] Figure 6 The second flowchart illustrates the IoT service platform switching method provided in this embodiment of the invention.
[0229] Figure 7 The third flowchart illustrates the IoT service platform switching method provided in this embodiment of the invention.
[0230] Figure 8 This is one of the structural schematic diagrams of the IoT service platform switching device provided in an embodiment of the present invention;
[0231] Figure 9 This is the second schematic diagram of the structure of the IoT service platform switching device provided in this embodiment of the invention;
[0232] Figure 10 This is the third schematic diagram illustrating the structure of the IoT service platform switching device provided in this embodiment of the invention.
[0233] Figure 11 This is a schematic diagram illustrating the structure of the Internet of Things access management system provided in an embodiment of the present invention. Detailed Implementation
[0234] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be described in detail below with reference to the accompanying drawings and specific embodiments.
[0235] This invention addresses the problem of strong coupling and dependence between terminals and service platforms in the prior art by providing a service platform switching method, apparatus, system, terminal equipment, and service platform.
[0236] Before describing the embodiments of the present invention, some concepts in the following description will be explained.
[0237] Asymmetric encryption algorithms require two keys: a public key and a private key. The public and private keys are a pair; if data is encrypted using the public key, only the corresponding private key can decrypt it.
[0238] The characteristics of asymmetric cryptography are: complex algorithm strength and security dependent on the algorithm and key. However, due to its algorithmic complexity, its encryption and decryption speeds are slower than symmetric encryption and decryption. Symmetric cryptography uses only one key, which is not publicly disclosed; decryption requires the recipient to know the key. Therefore, ensuring its security is essentially ensuring the security of the key. Asymmetric cryptography, on the other hand, uses two keys, one of which is public, eliminating the need to transmit the key as in symmetric cryptography. This significantly increases security.
[0239] A digital signature (also known as a public-key digital signature) is a unique string of numbers that only the sender of the information can generate and that cannot be forged by others. This string also serves as valid proof of the authenticity of the information sent by the sender. It is similar to a physical signature written on paper, but it is implemented using public-key cryptography techniques and is used to authenticate digital information. A digital signature typically defines two complementary operations: one for signing and the other for verification. Digital signatures are an application of asymmetric key encryption and digital digest techniques.
[0240] A security chip, or Trusted Platform Module, is a device capable of independently generating, encrypting, and decrypting keys. It has its own processor and storage unit to store keys and feature data, providing encryption and security authentication services for computers. Encryption using a security chip means the key is stored in the hardware, making stolen data undecryptable, thus ensuring business privacy and data security.
[0241] The Industrial Internet Identifier Resolution System is a crucial component of the Industrial Internet network architecture, serving as the nerve center supporting interconnectivity within the Industrial Internet. Its function is similar to the Internet's Domain Name System (DNS). The Industrial Internet Identifier Resolution System assigns unique identities to items through methods such as barcodes, QR codes, and radio frequency identification tags. Objects obtain an Industrial Internet identifier through a corresponding application, and then resolve this identifier to retrieve relevant information about the object to which it belongs.
[0242] To prevent the entire system from collapsing if the master key is cracked, the master key needs to be distributed into several subkeys using a key distribution algorithm. The distribution factor is used as an output in the key distribution operation.
[0243] like Figure 1 As shown, this embodiment of the invention provides a method for switching IoT service platforms, applied to an IoT access management system. The method includes:
[0244] Step 101: If at least one terminal device and at least two business platforms successfully access the IoT access management system, receive the application query information sent by the first terminal device.
[0245] In this embodiment of the invention, an Internet of Things (IoT) access management system is provided. This IoT access management system is an open IoT access management system, such as... Figure 2As shown, the IoT access management system mainly includes the following functional modules: access management module, business platform information display module, business platform switching management module, and evidence storage module. Other parts of the IoT access management system also include a unified identifier management platform with application, registration, and resolution capabilities. The IoT access management system also connects to a neutral third-party security service platform (business platform) and terminal devices with proactive communication and security protection capabilities. Furthermore, the architecture comprising the IoT access management system, terminal devices, and the business platform also includes a security center module.
[0246] The IoT access management system implements the following functions:
[0247] Access Management: The access management module is responsible for verifying whether business platforms and terminal devices can access the open IoT access management system. The module determines access eligibility based on their qualifications and the compliance of the corresponding access protocol. Upon successful access, a unified identifier is assigned to the access object. This unified identifier should be a nationally / industry-assigned identifier with broad interpretability, such as an Industrial Internet identifier. In more detail: If a business platform / terminal device meets the relevant access verification qualification requirements and its protocol conforms to the protocols described in the access management protocol module library, then access is permitted. If the qualifications are met but the protocol is not supported, an application to update the protocol template can be submitted offline.
[0248] Business Platform Information Display: This module displays integrated data tables of accessible business platforms for terminal devices. Terminal devices can retrieve the required business platform information using appropriate query rules. Specifically, for business platforms that meet access management requirements, after access approval, the platform's Internet Protocol (IP) address is entered into the business platform information display according to attributes such as protocol type. Terminal devices can subsequently send requests to the business platform information display to obtain a set of business platform IP addresses that match the relevant attribute categories, and then select the appropriate IP address based on their specific needs.
[0249] Business Platform Switching Management: This module manages the switching of business platforms and the corresponding permission transfers based on requirements. In detail: After obtaining the corresponding business platform IP from the business platform information display according to business needs, business platform switching management is required. Switching management includes the following parts: authorization switching and negotiating the new business platform communication key; it may also include: exporting data from the original platform to the new business platform.
[0250] Evidence Preservation: In certain scenarios, data preservation is required to ensure that the business platform data has not been tampered with. For example, when exporting data from the original platform to a new business platform, the evidence preservation module ensures the authenticity and reliability of the original platform data.
[0251] The structural diagram of the terminal device is as follows: Figure 3 As shown, the terminal device needs to have active communication capabilities to complete communication with the relevant platform. The communication module can be a cellular module, such as a second-generation (2G), narrow-band (NB), or fourth-generation (4G) module. It can also be a short-range transmission module capable of accessing a gateway, such as ZigBee, Wireless Fidelity (WiFi), or a Bluetooth module. A security module with security protection capabilities is used for key storage, management, and cryptographic operations. This can be a security chip, a Subscriber Identity Module (SIM) card, or an on-chip security core (TrustZone). Using these components ensures that keys do not leave the corresponding components, and corresponding encryption and decryption keys can be specified through indexing. This ensures that the key and sensitive data storage are protected against physical attacks to a certain extent.
[0252] Other core components should include the main controller, general-purpose storage devices, and communication interfaces.
[0253] The main controller, depending on the specific scenario, can be a general-purpose microcontroller unit (MCU) for control. If security chips or other components are not used for password management and computation, the selected MCU should have an on-chip security core and the necessary hardware coprocessors for cryptographic operations, such as a true random number generator and coprocessors required for related algorithms. General-purpose storage devices are used to store data and firmware with low security requirements. The storage medium should be non-volatile and can be NOR / NAND flash memory, electrically erasable programmable read-only memory (EEPROM), ferroelectric random access memory (FRAM), etc. The communication interface, depending on specific business requirements, can be a Universal Asynchronous Receiver / Transmitter (UART), Serial Peripheral Interface (SPI), Inter-Integrated Circuit (IIC), Universal Serial Bus (USB), etc.
[0254] In this embodiment of the invention, the terminal device and the service platform submit an access application to the access management module of the Internet of Things access management system. After the access application is successful, the terminal device and the service platform obtain a unified identifier.
[0255] The business platform attribute information of the business platform that has successfully applied for access is entered into the business platform information display module of the IoT access management system.
[0256] The first terminal device is the terminal device that needs to switch business platforms. When the first terminal device needs to switch business platforms, it sends an application query to the business platform information display module to query the business platform attribute information that meets its own needs. The business platform attribute information includes the IP of the business platform.
[0257] Step 102: Based on the application query information, send the service platform attribute information to the first terminal device.
[0258] In this embodiment of the invention, the business platform information display module sends the IP address of the business platform that meets the needs of the first terminal device to the first terminal device based on the application query information.
[0259] Step 103: Receive the switching request information sent by the first terminal device based on the service platform attribute information.
[0260] In this embodiment of the invention, the first terminal device selects from the service platforms that meet its own needs, determines the IP of the second service platform, and sends the IP of the second service platform to the service switching management module of the Internet of Things access management system.
[0261] Step 104: Based on the switching request information and the service platform attribute information, switch the first service platform connected to the first terminal device to the second service platform.
[0262] In this embodiment of the invention, the service switching management module switches the first service platform connected to the first terminal device to the second service platform according to the IP address of the second service platform sent by the first terminal device. Optionally, if the first terminal device is not connected to the first service platform in the initial state, the service switching management module can also directly establish a connection between the first terminal device and the second service platform according to the IP address of the second service platform.
[0263] This invention provides an Internet of Things (IoT) access management system that enables terminal devices to break free from strong dependence on specific business platforms, allowing them to select or dynamically switch business platforms based on business needs, customer needs, or scenario requirements.
[0264] Optionally, after switching the first service platform connected to the first terminal device to the second service platform according to the switching request information and the service platform attribute information, the method further includes:
[0265] Based on the switching request information and the application query information, a service key is sent to the first terminal device and the second service platform respectively;
[0266] The service key is used to encrypt the first service data exchanged between the first terminal device and the second service platform.
[0267] In this embodiment of the invention, after the first terminal device establishes a connection with the second service platform through the Internet of Things access management system, the service switching management module issues a service key to the first terminal device and the second service platform to encrypt the service data exchanged between the first terminal device and the second service platform, thereby improving the security of data interaction between the terminal device and the service platform.
[0268] Optionally, the switching request information includes: the service failure time;
[0269] The requested query information includes: the device identification information of the first terminal device;
[0270] The step of sending service keys to the first terminal device and the second service platform respectively based on the switching request information and the application query information includes:
[0271] The dispersion factor is obtained based on the platform identification information of the second business platform, the service failure time, the random number generated by the IoT access management system, and the device identification information;
[0272] The business key is obtained based on the dispersion factor;
[0273] The encrypted service key is sent to the first terminal device and the second service platform respectively.
[0274] In this embodiment of the invention, when the first terminal device selects the second service platform after switching, it sends the encrypted switching request information to the IoT access management system. The switching request information includes: a service platform switching instruction, the IP address of the second service platform, the service expiration time, and other information. The IoT access management system sends an access request to the second service platform. If the request fails, it returns a failure message to the first terminal device. If the request succeeds, the service platform switching management module of the IoT access management system uses the device identifier of the first terminal device, the platform identifier of the second service platform, the service expiration time, and a random number generated by the IoT access management system as a dispersion factor to distribute the service key used for communication between the first terminal device and the second service platform, and sends it to the first terminal device and the second service platform.
[0275] It should be noted that the IoT access management system does not store the business key, but it does store the device identifier of the first terminal device, the platform identifier of the second business platform, the business service failure time, and a random number generated by the IoT access management system, which are used for business key recovery when necessary.
[0276] It should also be noted that at any time (even before the service expires), the terminal can switch to a new service platform and apply for the corresponding service key.
[0277] The business platform switching management module of the IoT access management system encrypts the business key using the public key corresponding to the first terminal device and sends it to the first terminal device, and encrypts the business key using the public key corresponding to the second business platform and sends it to the second business platform.
[0278] Optionally, the switching request information includes: the service failure time;
[0279] After sending service keys to the first terminal device and the second service platform respectively based on the switching request information and the application query information, the method further includes:
[0280] If the absolute value of the difference between the first duration and the duration indicated by the service failure time is less than the first preset duration, a prompt message is sent to both the first terminal device and the second service platform. The first duration is the duration of service data interaction between the first terminal device and the second service platform; or
[0281] If the time difference between the first time and the service failure time is less than a first preset time value, a prompt message is sent to the first terminal device and the second service platform respectively. The first time is the time during which the first terminal device and the second service platform interact with the service data.
[0282] In this embodiment of the invention, the first service data exchanged between the first terminal device and the second service platform is transmitted after being encrypted using a service key.
[0283] It should be noted that the service failure time can be a relative time, such as a preset duration, or an absolute time, such as a preset point in time.
[0284] If the service failure time is a preset duration, and the absolute value of the difference between the duration of business data interaction between the first terminal device and the second business platform and the duration indicated by the service failure time is less than the first preset duration, the service switching management module will send a prompt message (early warning message) to the first terminal device and the second business platform. For example, if the service failure time indicates that the duration of business data interaction between the first terminal device and the second business platform is 60 minutes, and the first preset duration is 10 minutes, then the service switching management module will send a prompt message to the first terminal device and the second business platform at the 50th minute of business data interaction.
[0285] If the service failure time is a preset time point, and the absolute value of the time difference between the time of business data interaction between the first terminal device and the second business platform and the service failure time is less than the first preset time value, the service switching management module will send a prompt message (warning message) to the first terminal device and the second business platform. For example, if the service failure time indicates that the time point when the business data interaction between the first terminal device and the second business platform ends is 12:00, and the first preset time value is 10 minutes, then when the time point when the business data interaction between the first terminal device and the second business platform is 11:50, the service switching management module will send a prompt message to the first terminal device and the second business platform.
[0286] It should be noted that when the service expiration time is approaching, the terminal device communicates with the IoT access management system, and the service platform switching management module will issue a warning message. However, it cannot control the interaction between the terminal device and the service platform. In other words, after the specified service expiration time has passed, the service platform switching management module will not (and cannot) cut off the interaction between the terminal device and the service platform. After the terminal device uploads the next switching instruction, the service platform switching management module will issue the next service key for the new interaction.
[0287] Optionally, after sending the service key to the first terminal device and the second service platform respectively according to the switching request information and the application query information, the method further includes:
[0288] At every second preset time interval, the second service data sent by the first terminal device is acquired. The second service data is obtained by the first terminal device performing a hash operation on the first service data.
[0289] In this embodiment of the invention, the first business data sent by the first terminal device to the second business platform is periodically hashed and then sent to the evidence storage module of the IoT access management system for evidence storage. Considering the resource consumption caused by the computation, the terminal device can specify the collection points for sampling evidence storage over a period of time according to its own needs. It is necessary to fully assess the randomness of the sampling to prevent the business platform from circumventing the protection provided by evidence storage by estimating the sampling period. One implementation method is to obtain the sampling points by acquiring true random numbers from the security module and converting them. For example, if evidence storage information needs to be reported at 24:00 every day, the first six digits of the random number represent the starting point of the evidence storage information, and the first six digits of the random number again represent the step size. If the sum of the starting point and the step size exceeds 24 hours, then the evidence storage will be for the period from the starting point to 24 hours. The business data for this period is then hashed.
[0290] The first terminal device reports the sampled evidence information, as well as the start time and step size information of the evidence storage portion.
[0291] Optionally, after obtaining the second service data sent by the first terminal device, the method further includes:
[0292] After switching the second service platform connected to the first terminal device to the third service platform, data index information is sent to the second service platform;
[0293] Receive third service data sent by the second service platform according to the data index information;
[0294] If the second service data is verified to be correct based on the third service data, the second service data is sent to the third service platform.
[0295] In this embodiment of the invention, when switching service platforms, it is necessary to import data from the original service platform. This can be achieved through a data storage module to verify the original service data. The IoT access management system sends an index to the original service platform. Based on the index, the original service platform calculates a hash of the service data and sends the hashed service data back to the IoT access management system. This hashed data is then compared with the data stored in the IoT access management system's data storage module to verify its authenticity. After verification, the data from the original service platform and the corresponding key are imported into the switched service platform, enabling the switched service platform to access the data from the original service platform.
[0296] Optionally, before receiving the application query information sent by the first terminal device when at least one terminal device and at least two service platforms have successfully accessed the IoT access management system, the method further includes:
[0297] Obtain device access request information sent by the at least one terminal device;
[0298] Based on the device access request information, device identification information is sent to each of the at least one terminal device;
[0299] The device identification information is used to indicate that the at least one terminal device has successfully accessed the Internet of Things access management system.
[0300] In this embodiment of the invention, the terminal device sends access application information to the Internet of Things access management system, and after the application is successful, it obtains the identification information sent by the Internet of Things access management system.
[0301] Optionally, the device access application information includes: a protocol template index number, a public key, and a data packet containing agreed-upon test data;
[0302] The step of sending device identification information to the at least one terminal device according to the device access application information includes:
[0303] Determine whether the protocol template corresponding to the protocol template index number can parse the data packet;
[0304] If the protocol template can parse the data packet, then device identification information is generated;
[0305] The device identification information is encrypted using the public key to obtain the encrypted device identification information;
[0306] The encrypted device identification information is sent to each of the at least one terminal device.
[0307] In this embodiment of the invention, the terminal device, through a secure channel and pre-configured encryption and signing public and private keys, submits the corresponding qualifications, a protocol template index number that meets the access requirements, a custom terminal identifier, an encryption public key, and a data packet containing agreed-upon test data to the access management module. The access management module verifies the qualifications and determines whether the protocol template indexed by the index number can parse the incoming data packet. If successful, the access management module sends the custom terminal identifier to the unified identifier management platform to apply for a unified identifier (such as an industrial internet identifier). After the unified identifier application is completed, the access management module encrypts the unified identifier using the corresponding public key and issues it to the terminal device.
[0308] Optionally, before receiving the application query information sent by the first terminal device when at least one terminal device and at least two service platforms have successfully accessed the IoT access management system, the method further includes:
[0309] Obtain the platform access application information sent by the at least two business platforms respectively;
[0310] Based on the platform access application information, send platform identification information to each of the at least two business platforms;
[0311] The platform identification information is used to indicate that at least two business platforms have successfully accessed the IoT access management system.
[0312] In this embodiment of the invention, the business platform sends access application information to the Internet of Things access management system, and after the application is successful, it obtains the identification information sent by the Internet of Things access management system.
[0313] Optionally, the platform access application information includes: protocol template index number, public key, and data packet with agreed test data;
[0314] The step of sending platform identification information to the at least two business platforms respectively based on the platform access application information includes:
[0315] Determine whether the protocol template corresponding to the protocol template index number can parse the data packet;
[0316] If the protocol template can parse the data packet, then platform identification information is generated;
[0317] The platform identification information is encrypted using the public key to obtain the encrypted platform identification information.
[0318] The encrypted platform identification information is sent to each of the at least two business platforms.
[0319] In this embodiment of the invention, the business platform, through a secure means and via pre-set encryption and signing public and private keys, submits its corresponding qualifications, a protocol template index number that meets the access requirements, a custom business platform identifier, an encryption public key, and a data packet containing agreed-upon test data to the access management module. The access management module verifies the qualifications and determines whether the protocol template indexed by the index number can parse the incoming data packet. If successful, the access management module sends the custom platform identifier to the unified identifier management platform to apply for a unified identifier (such as an industrial internet identifier). After the unified identifier application is completed, the access management module encrypts the unified identifier using the corresponding public key and issues it to the business platform.
[0320] It should be noted that terminal devices and business platforms need to be verified to have the capability to access the open IoT access management system. In addition to the relevant qualification information, the content sent must also include: its own encryption public key, used for subsequent encryption of business keys; a data packet with agreed-upon test data and a protocol module index number to verify whether the interaction protocol of the terminal device / business platform truly meets the protocol template; and custom identification information for applying for a unified identifier.
[0321] Optionally, the service platform attribute information includes: the service platform's Internet Protocol IP address and the service platform's protocol index number;
[0322] The step of receiving the switching request information sent by the first terminal device according to the service platform attribute information includes:
[0323] Based on the device identification information of the first terminal device and the preset correspondence between the device identification information and the service platform protocol index number, a target service platform capable of parsing the protocol of the first terminal device is determined, and the target service platform includes at least one service platform.
[0324] Send first information to the first terminal device, the first information including the business platform attribute information of the target business platform;
[0325] Obtain the switching request information sent by the first terminal device based on the first information, wherein the switching request information includes the first Internet Protocol IP of the second service platform, and the second service platform is one of the target service platforms.
[0326] In this embodiment of the invention, after the business platform completes the entire access management process, it will input the corresponding business platform attribute information into the business platform information display module for display (if the device terminal has no corresponding business requirements). The platform attribute information includes: business platform public key, business platform IP, business platform protocol index number, and other business attribute platform information such as business service fees and platform stability indicators.
[0327] The terminal device sends a corresponding protocol to the business platform information display module for self-querying. The sent protocol includes: the terminal's unified identification information, the command to query the business platform information display, and (optionally) the communication protocol index number. This information is encrypted and signed using an asymmetric key before being sent to the business platform information display module. It should be noted that when the business platform information display module is connected to a network (Web), the customer can directly enter the business platform's identifier to perform the query using the Web interface.
[0328] The business platform information display module determines the business platform whose terminal device protocols can be parsed based on the correspondence between the terminal identification information and the device identification information and business platform protocol index number registered in the access management module.
[0329] The business platform information display module distributes business platform attribute information, such as IP information and service fees, to terminal devices or displays it on the web. The terminal selects the optimal business platform IP that best suits its needs; this becomes the IP of the second business platform. The terminal then encrypts and signs the selected optimal business platform IP and informs the open IoT access management system, simultaneously notifying it of the business platform's service expiration time.
[0330] It should be noted that the business platform information display module shows the attribute information of business platforms that meet the access conditions, displayed in a recursive format of protocol type-category-public key-other information. This is because protocol compliance is a necessary / primary condition for business platform switching.
[0331] It should be noted that the key is stored in a security module (security center) with hardware security protection capabilities. The key never leaves the module, and the main control program can specify the required key through handle / index.
[0332] The following describes the IoT service platform switching method of the present invention based on a specific embodiment.
[0333] A typical use case involves switching between multiple business platforms throughout the entire lifecycle. For example, some instruments and equipment require support from production platforms, operation platforms, calibration platforms, and maintenance platforms during their lifecycle. The specific process for switching IoT business platforms is as follows: Figure 4 As shown, firstly, the terminal and the corresponding business platform apply for access to the open IoT access management system. During the production phase, the terminal sends the production platform IP information to the open IoT access management system. After the open IoT access management system obtains the production platform IP information, the terminal and the production platform interact. During the calibration phase, the terminal obtains the list of calibration platform IP information sent by the open IoT access management system. The terminal selects a calibration platform according to its needs and applies for data storage. During the usage phase, the terminal sends the usage platform IP information to the open IoT access management system. After the open IoT access management system obtains the usage platform IP information, the terminal and the usage platform interact.
[0334] The following describes the IoT service platform switching method of the present invention based on another specific embodiment.
[0335] Another typical use case is that consumers purchase corresponding business platform services for a certain period of time based on their needs. For example, in a smart agriculture scenario, a customer purchases a one-year big data analysis service for soil condition analysis. The soil-related condition information collected by the terminal is then uploaded to the corresponding big data analysis platform. Upon expiration, the customer may wish to purchase other big data analysis services at a lower price. The specific process for switching IoT business platforms is as follows: Figure 5 As shown, the terminal and the corresponding business platform apply for access to the open IoT access management system. The customer purchases big data service from big data analysis platform A for a period of one year. The terminal sends the IP information of big data analysis platform A to the open IoT access management system. After the open IoT access management system obtains the IP information of big data analysis platform A, the terminal interacts with analysis platform A and applies for data storage based on the customized sampling points. After the one-year period expires, the customer purchases big data service from big data analysis platform B. The terminal sends the IP information of big data analysis platform B and the corresponding business key to the open IoT access management system. If raw data import is required, the terminal synchronizes the business key used to communicate with big data analysis platform A to big data analysis platform B. Big data analysis platform B obtains the full amount of data from big data platform A encrypted with the aforementioned key. After verifying the data according to the stored data of the customized sampling points, the data is imported into big data platform B.
[0336] With the IoT service platform switching method provided by the embodiments of the present invention, service platform designers will not need to pay too much attention to the terminal design. They can complete the protocol docking with the corresponding terminal side by using the generalized protocol that conforms to the access management corresponding protocol template in the open IoT access management system. Similarly, device terminal designers also do not need to pay too much attention to the platform design. They can complete the protocol docking with the corresponding service platform side by using the generalized protocol that conforms to the access management corresponding protocol template in the open IoT access management system.
[0337] The IoT business platform switching method provided by this invention allows developers on both the platform and device terminal sides to focus entirely on their respective parts, resulting in good overall versatility. Consumers no longer need to purchase products through a tightly coupled platform and terminal device model; they can independently choose the combination of device and business platform, and dynamically switch business platforms. This offers several advantages, including increasing consumer choice, promoting healthy competition among device and platform manufacturers, improving product utilization, and reducing consumer purchase costs.
[0338] The IoT business platform switching method provided in this embodiment of the invention ensures that the identity of the object (terminal device, business platform) that meets the access review is trustworthy and meets the communication protocol requirements, and ensures that different terminal devices and different business platforms can interact with each other under the same protocol template.
[0339] In this embodiment of the invention, data switching management, in addition to access control, uses the identifiers of the interacting terminal and the business platform as a dispersion factor to ensure the trustworthiness of the identities of both parties. The switching management module provides a set of random numbers as part of the dispersion factor to ensure confidentiality. The dispersed business keys are encrypted and distributed using their respective asymmetric public keys to ensure that data is not leaked. The switching management module saves the corresponding dispersion factor to ensure that the business keys of the terminal and the business platform can be recovered if lost.
[0340] This invention implements data notarization, ensuring that modifications to stored data on legacy business platforms will be detected by the notarization module during verification. It uses random sampling points calculated via random numbers to select the notarization period, reducing resource consumption caused by full notarization computation on terminal devices.
[0341] This invention implements a mechanism for displaying attribute information of accessible business platforms. Terminals can select the business platform to access based on their business needs, and all displayed business platforms have undergone access review. This ensures flexible switching and secure reliability of business platforms.
[0342] like Figure 6 As shown, this embodiment of the invention provides an IoT service platform switching method, applied to a first terminal device, the method comprising:
[0343] Step 601: If at least one terminal device and at least two business platforms have successfully accessed the IoT access management system, send an application query message to the IoT access management system.
[0344] Step 602: Receive the business platform attribute information sent by the IoT access management system based on the application query information;
[0345] Step 603: Based on the service platform attribute information, send a switching request to the IoT access management system so that the IoT access management system switches the first service platform connected to the first terminal device to the second service platform.
[0346] In this embodiment of the invention, an IoT access management system sends service platform attribute information to a first terminal device based on the application query information sent by the first terminal device. This allows the first terminal device to query the attribute information of different service platforms, facilitating subsequent selection or switching based on the service platform attribute information. By receiving a switching request from the first terminal device based on the service platform attribute information, and switching the first service platform connected to the first terminal device to a second service platform based on the switching request information and the service platform attribute information, the decoupling of the terminal device and the service platform can be achieved, enabling free combination or switching between the terminal device and the service platform, thereby improving product utilization.
[0347] Optionally, after sending a switching request to the IoT access management system based on the service platform attribute information, so that the IoT access management system switches the first service platform connected to the first terminal device to the second service platform, the method further includes:
[0348] Receive the service key sent by the IoT access management system based on the switching request information and the application query information;
[0349] The service key is used to encrypt the first service data exchanged between the first terminal device and the second service platform.
[0350] Optionally, the switching request information includes: the service failure time;
[0351] The requested query information includes: the device identification information of the first terminal device;
[0352] The step of receiving the service key sent by the IoT access management system based on the switching request information and the application query information includes:
[0353] Receive the encrypted business key sent by the IoT access management system based on the switching request information and the application query information;
[0354] The service key is obtained by the IoT access management system based on a dispersion factor; the dispersion factor is obtained by the IoT access management system based on the platform identification information of the second service platform, the service failure time, a random number generated by the IoT access management system, and the device identification information.
[0355] Optionally, the switching request information includes: the service failure time;
[0356] After receiving the service key sent by the IoT access management system based on the switching request information and the application query information, the method further includes:
[0357] If the absolute value of the difference between the first duration and the duration indicated by the service failure time is less than the first preset duration, a prompt message sent by the IoT access management system is received, where the first duration is the duration of service data interaction between the first terminal device and the second service platform; or
[0358] If the time difference between the first time and the service failure time is less than a first preset time value, the system receives a prompt message from the IoT access management system, where the first time is the time during which the first terminal device and the second service platform interact with business data.
[0359] Optionally, after receiving the service key sent by the IoT access management system based on the switching request information and the application query information, the method further includes:
[0360] At every second preset time interval, the first business data is hashed to obtain the second business data;
[0361] The second service data is sent to the IoT access management system.
[0362] Optionally, before sending the application query information to the IoT access management system after at least one terminal device and at least two service platforms have successfully accessed the IoT access management system, the method further includes:
[0363] Send device access application information to the IoT access management system;
[0364] Receive device identification information sent by the IoT access management system based on the device access application information;
[0365] The device identification information is used to indicate that the at least one terminal device has successfully accessed the Internet of Things access management system.
[0366] Optionally, the device access application information includes: a protocol template index number, a public key, and a data packet containing agreed-upon test data;
[0367] The receipt of device identification information sent by the IoT access management system based on the access application information includes:
[0368] Receive encrypted device identification information sent by the IoT access management system;
[0369] The encrypted device identification information is obtained by the IoT access management system encrypting the device identification information based on the public key; the device identification information is generated by the IoT access management system when it determines that the protocol template corresponding to the protocol template index number can parse the data packet.
[0370] Optionally, the service platform attribute information includes: the service platform's Internet Protocol IP address and the service platform's protocol index number;
[0371] The step of sending a switching request to the IoT access management system based on the service platform attribute information includes:
[0372] Receive first information sent by the IoT access management system, the first information including business platform attribute information of the target business platform;
[0373] Based on the first information, a switching request is sent to the IoT access management system. The switching request includes the first Internet Protocol IP of the second business platform, and the second business platform is one of the target business platforms.
[0374] The target service platform is a service platform that the IoT access management system determines, based on the device identification information of the first terminal device and the preset correspondence between the device identification information and the service platform protocol index number, is capable of parsing the protocol of the first terminal device; the target service platform includes at least one service platform.
[0375] like Figure 7 As shown, this embodiment of the invention provides a method for switching IoT service platforms, applied to a second service platform. The method includes:
[0376] Step 701: If at least one terminal device and at least two business platforms successfully access the IoT access management system, connect to the first terminal device through the IoT access management system;
[0377] Wherein, the second service platform is the platform connected to the first terminal device after the IoT access management system switches the first service platform connected to the first terminal device according to the switching request information and the service platform attribute information; the switching request information is sent by the first terminal device to the IoT access management system according to the service platform attribute information; the service platform attribute information is sent by the IoT access management system to the first terminal device according to the application query information; the application query information is sent by the first terminal device to the IoT access management system.
[0378] In this embodiment of the invention, an IoT access management system sends service platform attribute information to a first terminal device based on the application query information sent by the first terminal device. This allows the first terminal device to query the attribute information of different service platforms, facilitating subsequent selection or switching based on the service platform attribute information. By receiving a switching request from the first terminal device based on the service platform attribute information, and switching the first service platform connected to the first terminal device to a second service platform based on the switching request information and the service platform attribute information, the decoupling of the terminal device and the service platform can be achieved, enabling free combination or switching between the terminal device and the service platform, thereby improving product utilization.
[0379] Optionally, after connecting to the first terminal device through the IoT access management system, the method further includes:
[0380] Receive the service key sent by the IoT access management system based on the switching request information and the application query information;
[0381] The service key is used to encrypt the first service data exchanged between the first terminal device and the second service platform.
[0382] Optionally, the switching request information includes: the service failure time;
[0383] The step of receiving the service key sent by the IoT access management system based on the switching request information and the application query information includes:
[0384] Receive the encrypted business key sent by the IoT access management system based on the switching request information and the application query information;
[0385] The service key is obtained by the IoT access management system based on a dispersion factor; the dispersion factor is obtained by the IoT access management system based on the platform identification information of the second service platform, the service failure time, a random number generated by the IoT access management system, and the device identification information.
[0386] Optionally, the switching request information includes: the service failure time;
[0387] After receiving the service key sent by the IoT access management system based on the switching request information and the application query information, the method further includes:
[0388] If the absolute value of the difference between the first duration and the duration indicated by the service failure time is less than the first preset duration, a prompt message sent by the IoT access management system is received; or
[0389] If the time difference between the first time and the service failure time is less than a first preset time value, receive a prompt message sent by the IoT access management system;
[0390] Wherein, the first duration is the duration of business data interaction between the first terminal device and the second business platform;
[0391] The first time is the time during which the first terminal device and the second business platform interact with business data.
[0392] Optionally, after receiving the service key sent by the IoT access management system based on the switching request information and the application query information, the method further includes:
[0393] After switching the second service platform connected to the first terminal device to the third service platform, the system receives data index information sent by the IoT access management system.
[0394] Based on the data index information, third service data is sent to the IoT access management system, so that the IoT access management system, after verifying the correctness of the second service data based on the third service data, sends the second service data to the third service platform.
[0395] Optionally, before connecting to the first terminal device through the IoT access management system after at least one terminal device and at least two service platforms have successfully accessed the IoT access management system, the method further includes:
[0396] Send platform access application information to the IoT access management system;
[0397] Receive platform identification information sent by the IoT access management system based on the platform access application information;
[0398] The platform identification information is used to indicate that at least two business platforms have successfully accessed the IoT access management system.
[0399] Optionally, the platform access application information includes: protocol template index number, public key, and data packet with agreed test data;
[0400] The receipt of platform identification information sent by the IoT access management system based on the platform access application information includes:
[0401] Receive encrypted platform identification information sent by the IoT access management system;
[0402] The encrypted platform identification information is obtained by the IoT access management system encrypting the platform identification information based on the public key; the platform identification information is generated by the IoT access management system when it determines that the protocol template corresponding to the protocol template index number can parse the data packet.
[0403] like Figure 8 As shown, this embodiment of the invention provides an IoT service platform switching device, applied to an IoT access management system, the device comprising:
[0404] The first receiving module 801 is used to receive application query information sent by the first terminal device when at least one terminal device and at least two service platforms successfully access the Internet of Things access management system.
[0405] The first sending module 802 is used to send service platform attribute information to the first terminal device according to the application query information;
[0406] The second receiving module 803 is used to receive the switching request information sent by the first terminal device according to the service platform attribute information;
[0407] The switching module 804 is used to switch the first service platform connected to the first terminal device to the second service platform according to the switching request information and the service platform attribute information.
[0408] In this embodiment of the invention, the IoT access management system sends service platform attribute information to the first terminal device based on the application query information sent by the first terminal device. This allows the first terminal device to query the attribute information of different service platforms, facilitating subsequent selection or switching based on the service platform attribute information. By receiving the switching request information sent by the first terminal device based on the service platform attribute information, and switching the first service platform connected to the first terminal device to a second service platform based on the switching request information and the service platform attribute information, the decoupling of the terminal device and the service platform can be achieved, enabling free combination or switching between the terminal device and the service platform, thereby improving product utilization.
[0409] Optionally, the device further includes:
[0410] The key sending module is used to send a service key to the first terminal device and the second service platform respectively according to the switching request information and the application query information;
[0411] The service key is used to encrypt the first service data exchanged between the first terminal device and the second service platform.
[0412] Optionally, the switching request information includes: the service failure time;
[0413] The requested query information includes: the device identification information of the first terminal device;
[0414] The key transmission module includes:
[0415] The first acquisition unit is used to acquire a dispersion factor based on the platform identification information of the second business platform, the service failure time, the random number generated by the IoT access management system, and the device identification information.
[0416] The second acquisition unit is used to acquire the business key based on the dispersion factor;
[0417] The first sending unit is used to send encrypted service keys to the first terminal device and the second service platform respectively.
[0418] Optionally, the switching request information includes: the service failure time;
[0419] The device further includes:
[0420] The notification message sending module is configured to send notification messages to the first terminal device and the second service platform respectively when the absolute value of the difference between the first duration and the duration indicated by the service failure time is less than a first preset duration, wherein the first duration is the duration of service data interaction between the first terminal device and the second service platform; or
[0421] If the time difference between the first time and the service failure time is less than a first preset time value, a prompt message is sent to the first terminal device and the second service platform respectively. The first time is the time during which the first terminal device and the second service platform interact with the service data.
[0422] Optionally, the device further includes:
[0423] The service data acquisition module is used to acquire second service data sent by the first terminal device at second preset time intervals; the second service data is obtained by the first terminal device performing a hash operation on the first service data.
[0424] Optionally, the device further includes:
[0425] The index information sending module is used to send data index information to the second service platform after switching the second service platform connected to the first terminal device to the third service platform;
[0426] A business data receiving module is used to receive third business data sent by the second business platform according to the data index information;
[0427] The first service data sending module is used to send the second service data to the third service platform after verifying the correctness of the second service data based on the third service data.
[0428] Optionally, the device further includes:
[0429] The first access request information acquisition module is used to acquire device access request information sent by the at least one terminal device respectively;
[0430] The first identification information sending module is used to send device identification information to the at least one terminal device according to the device access application information;
[0431] The device identification information is used to indicate that the at least one terminal device has successfully accessed the Internet of Things access management system.
[0432] Optionally, the device access application information includes: a protocol template index number, a public key, and a data packet containing agreed-upon test data;
[0433] The first identification information sending module includes:
[0434] The first judgment unit is used to determine whether the protocol template corresponding to the protocol template index number can parse the data packet;
[0435] The first generation unit is configured to generate device identification information if the protocol template can parse the data packet;
[0436] The first encryption unit is used to encrypt the device identification information using the public key to obtain the encrypted device identification information;
[0437] The first identifier sending unit is used to send the encrypted device identifier information to the at least one terminal device respectively.
[0438] Optionally, the device further includes:
[0439] The second access application information acquisition module is used to acquire platform access application information sent by the at least two service platforms respectively;
[0440] The second identification information sending module is used to send platform identification information to the at least two business platforms respectively according to the platform access application information;
[0441] The platform identification information is used to indicate that at least two business platforms have successfully accessed the IoT access management system.
[0442] Optionally, the platform access application information includes: protocol template index number, public key, and data packet with agreed test data;
[0443] The second identification information sending module includes:
[0444] The second judgment unit is used to determine whether the protocol template corresponding to the protocol template index number can parse the data packet;
[0445] The second generation unit is used to generate platform identification information if the protocol template can parse the data packet;
[0446] The second encryption unit is used to encrypt the platform identification information using the public key to obtain the encrypted platform identification information;
[0447] The second identifier sending unit is used to send the encrypted platform identifier information to the at least two service platforms respectively.
[0448] Optionally, the service platform attribute information includes: the service platform's Internet Protocol IP address and the service platform's protocol index number;
[0449] The second receiving module 803 includes:
[0450] The first determining unit is configured to determine, based on the device identification information of the first terminal device and the preset correspondence between the device identification information and the service platform protocol index number, a target service platform capable of parsing the protocol of the first terminal device, wherein the target service platform includes at least one service platform.
[0451] The first information sending unit is used to send first information to the first terminal device, the first information including the business platform attribute information of the target business platform;
[0452] The first information acquisition unit is used to acquire the switching request information sent by the first terminal device according to the first information, wherein the switching request information includes the first Internet Protocol IP of the second service platform, and the second service platform is one of the target service platforms.
[0453] It should be noted that the IoT service platform switching device provided in this embodiment of the invention is a device capable of executing the above-described IoT service platform switching method applied to the IoT access management system. Therefore, all embodiments of the above-described IoT service platform switching method applied to the IoT access management system are applicable to this device and can achieve the same or similar technical effects.
[0454] like Figure 9 As shown, this embodiment of the invention provides an IoT service platform switching device, applied to a first terminal device, the device comprising:
[0455] The second sending module 901 is used to send application query information to the Internet of Things access management system when at least one terminal device and at least two service platforms have successfully accessed the Internet of Things access management system.
[0456] The third receiving module 902 is used to receive business platform attribute information sent by the Internet of Things access management system based on the application query information;
[0457] The third sending module 903 is used to send a switching request to the IoT access management system according to the service platform attribute information, so that the IoT access management system switches the first service platform connected to the first terminal device to the second service platform.
[0458] In this embodiment of the invention, the IoT access management system sends service platform attribute information to the first terminal device based on the application query information sent by the first terminal device. This allows the first terminal device to query the attribute information of different service platforms, facilitating subsequent selection or switching based on the service platform attribute information. By receiving the switching request information sent by the first terminal device based on the service platform attribute information, and switching the first service platform connected to the first terminal device to a second service platform based on the switching request information and the service platform attribute information, the decoupling of the terminal device and the service platform can be achieved, enabling free combination or switching between the terminal device and the service platform, thereby improving product utilization.
[0459] Optionally, the device further includes:
[0460] The first key receiving module is used to receive the business key sent by the IoT access management system according to the switching request information and the application query information;
[0461] The service key is used to encrypt the first service data exchanged between the first terminal device and the second service platform.
[0462] Optionally, the switching request information includes: the service failure time;
[0463] The requested query information includes: the device identification information of the first terminal device;
[0464] The first key receiving module includes:
[0465] The first key receiving unit is used to receive the encrypted business key sent by the Internet of Things access management system according to the switching request information and the application query information;
[0466] The service key is obtained by the IoT access management system based on a dispersion factor; the dispersion factor is obtained by the IoT access management system based on the platform identification information of the second service platform, the service failure time, a random number generated by the IoT access management system, and the device identification information.
[0467] Optionally, the switching request information includes: the service failure time;
[0468] The device further includes:
[0469] The first notification information receiving module is configured to receive a notification information sent by the IoT access management system when the absolute value of the difference between the first duration and the duration indicated by the service failure time is less than a first preset duration. The first duration is the duration of service data interaction between the first terminal device and the second service platform; or
[0470] If the time difference between the first time and the service failure time is less than a first preset time value, the system receives a prompt message from the IoT access management system, where the first time is the time during which the first terminal device and the second service platform interact with business data.
[0471] Optionally, the device further includes:
[0472] The calculation module is used to perform a hash operation on the first business data at intervals of a second preset time to obtain the second business data;
[0473] The second service data sending module is used to send the second service data to the IoT access management system.
[0474] Optionally, the device further includes:
[0475] The first access application information sending module is used to send device access application information to the Internet of Things access management system;
[0476] The first identifier receiving module is used to receive device identifier information sent by the Internet of Things access management system according to the device access application information;
[0477] The device identification information is used to indicate that the at least one terminal device has successfully accessed the Internet of Things access management system.
[0478] Optionally, the device access application information includes: a protocol template index number, a public key, and a data packet containing agreed-upon test data;
[0479] The first identifier receiving module includes:
[0480] The first identifier receiving unit is used to receive encrypted device identifier information sent by the Internet of Things access management system;
[0481] The encrypted device identification information is obtained by the IoT access management system encrypting the device identification information based on the public key; the device identification information is generated by the IoT access management system when it determines that the protocol template corresponding to the protocol template index number can parse the data packet.
[0482] Optionally, the service platform attribute information includes: the service platform's Internet Protocol IP address and the service platform's protocol index number;
[0483] The third transmitting module 903 includes:
[0484] The first information receiving unit is used to receive first information sent by the Internet of Things access management system, the first information including business platform attribute information of the target business platform;
[0485] The first switching request information sending unit is configured to send switching request information to the Internet of Things access management system according to the first information, wherein the switching request information includes the first Internet Protocol IP of the second business platform, and the second business platform is one of the target business platforms;
[0486] The target service platform is a service platform that the IoT access management system determines, based on the device identification information of the first terminal device and the preset correspondence between the device identification information and the service platform protocol index number, is capable of parsing the protocol of the first terminal device; the target service platform includes at least one service platform.
[0487] It should be noted that the IoT service platform switching device provided in this embodiment of the invention is a device capable of executing the above-described IoT service platform switching method applied to the first terminal device. Therefore, all embodiments of the above-described IoT service platform switching method applied to the first terminal device are applicable to this device and can achieve the same or similar technical effects.
[0488] like Figure 10 As shown, this embodiment of the invention provides an IoT service platform switching device, applied to a second service platform, the device comprising:
[0489] The connection module 1001 is used to connect to the first terminal device through the Internet of Things access management system when at least one terminal device and at least two business platforms have successfully accessed the Internet of Things access management system.
[0490] Specifically, the IoT access management system switches the first service platform connected to the first terminal device to the second service platform based on the switching request information and the service platform attribute information; the switching request information is sent by the first terminal device to the IoT access management system based on the service platform attribute information; the service platform attribute information is sent by the IoT access management system to the first terminal device based on the application query information; and the application query information is sent by the first terminal device to the IoT access management system.
[0491] In this embodiment of the invention, the IoT access management system sends service platform attribute information to the first terminal device based on the application query information sent by the first terminal device. This allows the first terminal device to query the attribute information of different service platforms, facilitating subsequent selection or switching based on the service platform attribute information. By receiving the switching request information sent by the first terminal device based on the service platform attribute information, and switching the first service platform connected to the first terminal device to a second service platform based on the switching request information and the service platform attribute information, the decoupling of the terminal device and the service platform can be achieved, enabling free combination or switching between the terminal device and the service platform, thereby improving product utilization.
[0492] Optionally, the device further includes:
[0493] The second key receiving module is used to receive the business key sent by the IoT access management system according to the switching request information and the application query information;
[0494] The service key is used to encrypt the first service data exchanged between the first terminal device and the second service platform.
[0495] Optionally, the switching request information includes: the service failure time;
[0496] The second key receiving module includes:
[0497] The second key receiving unit is used to receive the encrypted business key sent by the IoT access management system according to the switching request information and the application query information;
[0498] The service key is obtained by the IoT access management system based on a dispersion factor; the dispersion factor is obtained by the IoT access management system based on the platform identification information of the second service platform, the service failure time, a random number generated by the IoT access management system, and the device identification information.
[0499] Optionally, the switching request information includes: the service failure time;
[0500] The device further includes:
[0501] The second notification information receiving module is configured to receive a notification information sent by the IoT access management system when the absolute value of the difference between the first duration and the duration indicated by the service failure time is less than a first preset duration. The first duration is the duration of service data interaction between the first terminal device and the second service platform; or
[0502] If the time difference between the first time and the service failure time is less than a first preset time value, the system receives a prompt message from the IoT access management system, where the first time is the time during which the first terminal device and the second service platform interact with business data.
[0503] Optionally, the device further includes:
[0504] The index information receiving module is used to receive data index information sent by the Internet of Things access management system after switching the second service platform connected to the first terminal device to the third service platform;
[0505] The third service data sending module is used to send third service data to the IoT access management system according to the data index information, so that the IoT access management system, after verifying the correctness of the second service data according to the third service data, sends the second service data to the third service platform.
[0506] Optionally, the device further includes:
[0507] The second access application information sending module is used to send platform access application information to the IoT access management system.
[0508] The second identifier receiving module is used to receive platform identifier information sent by the IoT access management system based on the platform access application information;
[0509] The platform identification information is used to indicate that at least two business platforms have successfully accessed the IoT access management system.
[0510] Optionally, the platform access application information includes: protocol template index number, public key, and data packet with agreed test data;
[0511] The second identifier receiving module includes:
[0512] The second identifier receiving unit is used to receive encrypted platform identifier information sent by the Internet of Things access management system;
[0513] The encrypted platform identification information is obtained by the IoT access management system encrypting the platform identification information based on the public key; the platform identification information is generated by the IoT access management system when it determines that the protocol template corresponding to the protocol template index number can parse the data packet.
[0514] It should be noted that the IoT service platform switching device provided in this embodiment of the invention is a device capable of executing the above-described IoT service platform switching method applied to the second service platform. Therefore, all embodiments of the above-described IoT service platform switching method applied to the second service platform are applicable to this device and can achieve the same or similar technical effects.
[0515] like Figure 11 As shown, this embodiment of the invention also provides an Internet of Things (IoT) access management system, including: a processor 1100; and a memory 1110 connected to the processor 1100 via a bus interface. The memory 1110 is used to store programs and data used by the processor 1100 when performing operations, and the processor 1100 calls and executes the programs and data stored in the memory 1110.
[0516] The IoT access management system also includes a transceiver 1120, which is connected to a bus interface and is used to receive and send data under the control of the processor 1100; the processor 1100 is used to read the program in the memory 1110.
[0517] Specifically, the transceiver 1120 is configured to: receive application query information sent by a first terminal device when at least one terminal device and at least two service platforms have successfully accessed the Internet of Things access management system; send service platform attribute information to the first terminal device based on the application query information; and receive switching request information sent by the first terminal device based on the service platform attribute information.
[0518] The processor 1100 is used to switch the first service platform connected to the first terminal device to the second service platform according to the switching request information and the service platform attribute information.
[0519] Optionally, the transceiver 1120 is further configured to send a service key to the first terminal device and the second service platform respectively, based on the switching request information and the application query information;
[0520] The service key is used to encrypt the first service data exchanged between the first terminal device and the second service platform.
[0521] Optionally, the switching request information includes: the service failure time;
[0522] The requested query information includes: the device identification information of the first terminal device;
[0523] The processor 1100 is specifically used to obtain a dispersion factor based on the platform identification information of the second service platform, the service failure time, the random number generated by the IoT access management system, and the device identification information; and to obtain the service key based on the dispersion factor.
[0524] The transceiver 1120 is specifically used to send encrypted service keys to the first terminal device and the second service platform, respectively.
[0525] Optionally, the switching request information includes: the service failure time;
[0526] The transceiver 1120 is further configured to, when the absolute value of the difference between the first duration and the duration indicated by the service failure time is less than a first preset duration, send a prompt message to the first terminal device and the second service platform respectively, wherein the first duration is the duration of service data interaction between the first terminal device and the second service platform; or
[0527] If the time difference between the first time and the service failure time is less than a first preset time value, a prompt message is sent to the first terminal device and the second service platform respectively. The first time is the time during which the first terminal device and the second service platform interact with the service data.
[0528] Optionally, the transceiver 1120 is further configured to acquire second service data sent by the first terminal device at second preset time intervals, wherein the second service data is obtained by the first terminal device performing a hash operation on the first service data.
[0529] Optionally, the transceiver 1120 is further configured to: send data index information to the second service platform after switching the second service platform connected to the first terminal device to the third service platform; receive third service data sent by the second service platform according to the data index information; and, if the second service data is verified to be correct according to the third service data, send the second service data to the third service platform.
[0530] Optionally, the transceiver 1120 is further configured to: acquire device access request information sent by the at least one terminal device respectively; and, according to the device access request information, send device identification information to the at least one terminal device respectively;
[0531] The device identification information is used to indicate that the at least one terminal device has successfully accessed the Internet of Things access management system.
[0532] Optionally, the device access application information includes: a protocol template index number, a public key, and a data packet containing agreed-upon test data;
[0533] The processor 1100 is specifically used to: determine whether the protocol template corresponding to the protocol template index number can parse the data packet; and if the protocol template can parse the data packet, generate device identification information; and encrypt the device identification information using the public key to obtain encrypted device identification information.
[0534] The transceiver 1120 is specifically used to send the encrypted device identification information to the at least one terminal device respectively.
[0535] Optionally, the transceiver 1120 is further configured to: acquire platform access application information sent by the at least two service platforms respectively; and, according to the platform access application information, send platform identification information to the at least two service platforms respectively;
[0536] The platform identification information is used to indicate that at least two business platforms have successfully accessed the IoT access management system.
[0537] Optionally, the platform access application information includes: protocol template index number, public key, and data packet with agreed test data;
[0538] The processor 1100 is specifically used to: determine whether the protocol template corresponding to the protocol template index number can parse the data packet; and if the protocol template can parse the data packet, generate platform identification information; and encrypt the platform identification information using the public key to obtain encrypted platform identification information.
[0539] The transceiver 1120 is specifically used to send the encrypted platform identification information to the at least two service platforms respectively.
[0540] Optionally, the service platform attribute information includes: the service platform's Internet Protocol IP address and the service platform's protocol index number;
[0541] The processor 1100 is specifically used to determine, based on the device identification information of the first terminal device and the preset correspondence between the device identification information and the service platform protocol index number, a target service platform capable of parsing the protocol of the first terminal device, wherein the target service platform includes at least one service platform.
[0542] The transceiver 1120 is specifically used to send first information to the first terminal device, the first information including service platform attribute information of the target service platform; and to obtain switching request information sent by the first terminal device according to the first information, the switching request information including a first Internet Protocol IP of the second service platform, the second service platform being one of the target service platforms.
[0543] Among them, Figure 11 In this context, the bus architecture can include any number of interconnected buses and bridges, specifically linking various circuits together, represented by one or more processors (processor 1100) and memory (memory 1110). The bus architecture can also link various other circuits, such as peripheral devices, voltage regulators, and power management circuits, which are well known in the art and therefore will not be described further herein. The bus interface provides an interface. The transceiver 1120 can be multiple components, including transmitters and transceivers, providing a unit for communicating with various other devices over a transmission medium. For different terminals, the user interface 1130 can also be an interface capable of connecting external or internal devices, including but not limited to keypads, displays, speakers, microphones, joysticks, etc. The processor 1100 is responsible for managing the bus architecture and general processing, and the memory 1110 can store data used by the processor 1100 during operation.
[0544] This invention also provides a terminal device, which is a first terminal device, comprising: a processor; and a memory connected to the processor via a bus interface, the memory being used to store programs and data used by the processor during operation, and the processor calling and executing the programs and data stored in the memory.
[0545] The terminal device further includes a transceiver connected to a bus interface for receiving and sending data under the control of a processor; the processor is used to read programs from memory.
[0546] It should be noted that the structure of the terminal device provided in the embodiments of the present invention is different from that of the terminal device provided in the present invention. Figure 11 The structure of the IoT access management system shown is similar.
[0547] Specifically, the transceiver is configured to: send application query information to the IoT access management system when at least one terminal device and at least two service platforms have successfully accessed the IoT access management system; receive service platform attribute information sent by the IoT access management system based on the application query information; and send a switching request information to the IoT access management system based on the service platform attribute information, so that the IoT access management system switches the first service platform connected to the first terminal device to the second service platform.
[0548] Optionally, the transceiver is further configured to receive a service key sent by the IoT access management system based on the switching request information and the application query information;
[0549] The service key is used to encrypt the first service data exchanged between the first terminal device and the second service platform.
[0550] Optionally, the switching request information includes: the service failure time;
[0551] The requested query information includes: the device identification information of the first terminal device;
[0552] The transceiver is specifically used to receive an encrypted business key sent by the IoT access management system based on the switching request information and the application query information.
[0553] The service key is obtained by the IoT access management system based on a dispersion factor; the dispersion factor is obtained by the IoT access management system based on the platform identification information of the second service platform, the service failure time, a random number generated by the IoT access management system, and the device identification information.
[0554] Optionally, the switching request information includes: the service failure time;
[0555] The transceiver is further configured to receive a notification message sent by the IoT access management system when the absolute value of the difference between the first duration and the duration indicated by the service failure time is less than a first preset duration, wherein the first duration is the duration of service data interaction between the first terminal device and the second service platform; or
[0556] If the time difference between the first time and the service failure time is less than a first preset time value, the system receives a prompt message from the IoT access management system, where the first time is the time during which the first terminal device and the second service platform interact with business data.
[0557] Optionally, the processor is further configured to perform a hash operation on the first service data at second preset time intervals to obtain second service data.
[0558] The transceiver is also used to send the second service data to the Internet of Things access management system.
[0559] Optionally, the transceiver is further configured to send device access application information to the IoT access management system; and receive device identification information sent by the IoT access management system based on the device access application information.
[0560] The device identification information is used to indicate that the at least one terminal device has successfully accessed the Internet of Things access management system.
[0561] Optionally, the device access application information includes: a protocol template index number, a public key, and a data packet containing agreed-upon test data;
[0562] The transceiver is specifically used to receive encrypted device identification information sent by the Internet of Things access management system;
[0563] The encrypted device identification information is obtained by the IoT access management system encrypting the device identification information based on the public key; the device identification information is generated by the IoT access management system when it determines that the protocol template corresponding to the protocol template index number can parse the data packet.
[0564] Optionally, the service platform attribute information includes: the service platform's Internet Protocol IP address and the service platform's protocol index number;
[0565] The transceiver is specifically used to receive first information sent by the IoT access management system, the first information including business platform attribute information of the target business platform; and to send a switching request to the IoT access management system according to the first information, the switching request including a first Internet Protocol IP of the second business platform, the second business platform being one of the target business platforms;
[0566] The target service platform is a service platform that the IoT access management system determines, based on the device identification information of the first terminal device and the preset correspondence between the device identification information and the service platform protocol index number, is capable of parsing the protocol of the first terminal device; the target service platform includes at least one service platform.
[0567] This invention provides a service platform, which is a second service platform, including a processor; and a memory connected to the processor via a bus interface, the memory being used to store programs and data used by the processor during operation, and the processor calling and executing the programs and data stored in the memory.
[0568] The service platform also includes a transceiver connected to a bus interface for receiving and sending data under the control of a processor; the processor is used to read programs from memory.
[0569] It should be noted that the structure of the business platform provided in this embodiment of the invention is different from that of the traditional business platform. Figure 11 The structure of the IoT access management system shown is similar.
[0570] Specifically, the processor is used to connect to the first terminal device through the IoT access management system when at least one terminal device and at least two service platforms have successfully accessed the IoT access management system.
[0571] Wherein, the second service platform is the platform connected to the first terminal device after the IoT access management system switches the first service platform connected to the first terminal device according to the switching request information and the service platform attribute information; the switching request information is sent by the first terminal device to the IoT access management system according to the service platform attribute information; the service platform attribute information is sent by the IoT access management system to the first terminal device according to the application query information; the application query information is sent by the first terminal device to the IoT access management system.
[0572] Optionally, the transceiver is used to receive a service key sent by the IoT access management system based on the switching request information and the application query information;
[0573] The service key is used to encrypt the first service data exchanged between the first terminal device and the second service platform.
[0574] Optionally, the switching request information includes: the service failure time;
[0575] The transceiver is specifically used to receive an encrypted business key sent by the IoT access management system based on the switching request information and the application query information.
[0576] The service key is obtained by the IoT access management system based on a dispersion factor; the dispersion factor is obtained by the IoT access management system based on the platform identification information of the second service platform, the service failure time, a random number generated by the IoT access management system, and the device identification information.
[0577] Optionally, the switching request information includes: the service failure time;
[0578] The transceiver is further configured to receive a notification message sent by the IoT access management system when the absolute value of the difference between the first duration and the duration indicated by the service failure time is less than a first preset duration, wherein the first duration is the duration of service data interaction between the first terminal device and the second service platform; or
[0579] If the time difference between the first time and the service failure time is less than a first preset time value, the system receives a prompt message from the IoT access management system, where the first time is the time during which the first terminal device and the second service platform interact with business data.
[0580] Optionally, the transceiver is further configured to: receive data index information sent by the IoT access management system after switching the second service platform connected to the first terminal device to the third service platform; and send third service data to the IoT access management system according to the data index information, so that the IoT access management system, after verifying the correctness of the second service data according to the third service data, sends the second service data to the third service platform.
[0581] Optionally, the transceiver is further configured to send platform access application information to the IoT access management system; and receive platform identification information sent by the IoT access management system based on the platform access application information;
[0582] The platform identification information is used to indicate that at least two business platforms have successfully accessed the IoT access management system.
[0583] Optionally, the platform access application information includes: protocol template index number, public key, and data packet with agreed test data;
[0584] The transceiver is specifically used to receive encrypted platform identification information sent by the IoT access management system;
[0585] The encrypted platform identification information is obtained by the IoT access management system encrypting the platform identification information based on the public key; the platform identification information is generated by the IoT access management system when it determines that the protocol template corresponding to the protocol template index number can parse the data packet.
[0586] This invention also provides a readable storage medium storing a program or instructions, which, when executed by a processor, implement the steps of the IoT service platform switching method described in any of the preceding embodiments.
[0587] Furthermore, it should be noted that in the apparatus and method of the present invention, it is obvious that the components or steps can be decomposed and / or recombined. These decompositions and / or recombinations should be considered equivalent solutions of the present invention. Moreover, the steps performing the above-described series of processes can naturally be executed in the order described, but are not necessarily required to be executed in chronological order; some steps can be executed in parallel or independently of each other. Those skilled in the art will understand that all or any step or component of the method and apparatus of the present invention can be implemented in any computing device (including processors, storage media, etc.) or network of computing devices, in hardware, firmware, software, or a combination thereof. This is something that those skilled in the art can achieve by using their basic programming skills after reading the description of the present invention.
[0588] Therefore, the object of the present invention can also be achieved by running a program or a set of programs on any computing device. The computing device can be a known general-purpose device. Therefore, the object of the present invention can also be achieved simply by providing a program product containing program code implementing the method or apparatus. That is, such a program product also constitutes the present invention, and the storage medium storing such a program product also constitutes the present invention. Obviously, the storage medium can be any known storage medium or any storage medium developed in the future. It should also be noted that in the apparatus and method of the present invention, it is obvious that the components or steps can be decomposed and / or recombined. These decompositions and / or recombinations should be considered equivalent to the present invention. Furthermore, the steps performing the above series of processes can naturally be performed in the order described, but are not necessarily required to be performed in chronological order. Some steps can be performed in parallel or independently of each other.
[0589] The above describes the preferred embodiments of the present invention. It should be noted that those skilled in the art can make various improvements and modifications without departing from the principles of the present invention, and these improvements and modifications are also within the scope of protection of the present invention.
Claims
1. A method for switching IoT business platforms, characterized in that, The method, applied to an IoT access management system, includes: When at least one terminal device and at least two business platforms successfully access the IoT access management system, the system receives the application query information sent by the first terminal device. Based on the application query information, send the business platform attribute information to the first terminal device; Receive a switching request information sent by the first terminal device based on the service platform attribute information; Based on the switching request information and the service platform attribute information, the first service platform connected to the first terminal device is switched to the second service platform; At every second preset time interval, the second service data sent by the first terminal device is obtained. The second service data is obtained by the first terminal device performing a hash operation on the first service data that is exchanged between the first terminal device and the second service platform. After switching the second service platform connected to the first terminal device to the third service platform, the data index information of the first service data is sent to the second service platform; Receive third service data sent by the second service platform after performing a hash operation on the first service data according to the data index information; If the second service data is verified to be correct based on the third service data, the second service data is sent to the third service platform.
2. The IoT service platform switching method according to claim 1, characterized in that, After switching the first service platform connected to the first terminal device to the second service platform based on the switching request information and the service platform attribute information, the method further includes: Based on the switching request information and the application query information, a service key is sent to the first terminal device and the second service platform respectively; The business key is used to encrypt the first business data.
3. The IoT service platform switching method according to claim 2, characterized in that, The switching request information includes: the service failure time; The requested query information includes: the device identification information of the first terminal device; The step of sending service keys to the first terminal device and the second service platform respectively based on the switching request information and the application query information includes: The dispersion factor is obtained based on the platform identification information of the second business platform, the service failure time, the random number generated by the IoT access management system, and the device identification information; The business key is obtained based on the dispersion factor; The encrypted service key is sent to the first terminal device and the second service platform respectively.
4. The IoT service platform switching method according to claim 2, characterized in that, The switching request information includes: the service failure time; After sending service keys to the first terminal device and the second service platform respectively based on the switching request information and the application query information, the method further includes: If the absolute value of the difference between the first duration and the duration indicated by the service failure time is less than the first preset duration, a prompt message is sent to both the first terminal device and the second service platform. The first duration is the duration of service data interaction between the first terminal device and the second service platform; or If the time difference between the first time and the service failure time is less than a first preset time value, a prompt message is sent to the first terminal device and the second service platform respectively. The first time is the time during which the first terminal device and the second service platform interact with the service data.
5. The IoT service platform switching method according to claim 1, characterized in that, Before receiving the application query information sent by the first terminal device when at least one terminal device and at least two service platforms have successfully accessed the IoT access management system, the method further includes: Obtain device access request information sent by the at least one terminal device; Based on the device access request information, device identification information is sent to each of the at least one terminal device; The device identification information is used to indicate that the at least one terminal device has successfully accessed the Internet of Things access management system.
6. The IoT service platform switching method according to claim 5, characterized in that, The device access application information includes: protocol template index number, public key, and data packet with agreed test data; The step of sending device identification information to the at least one terminal device according to the device access application information includes: Determine whether the protocol template corresponding to the protocol template index number can parse the data packet; If the protocol template can parse the data packet, then device identification information is generated; The device identification information is encrypted using the public key to obtain the encrypted device identification information; The encrypted device identification information is sent to each of the at least one terminal device.
7. The IoT service platform switching method according to claim 1, characterized in that, Before receiving the application query information sent by the first terminal device when at least one terminal device and at least two service platforms have successfully accessed the IoT access management system, the method further includes: Obtain the platform access application information sent by the at least two business platforms respectively; Based on the platform access application information, send platform identification information to each of the at least two business platforms; The platform identification information is used to indicate that at least two business platforms have successfully accessed the IoT access management system.
8. The IoT service platform switching method according to claim 7, characterized in that, The platform access application information includes: protocol template index number, public key, and data packet with agreed test data; The step of sending platform identification information to the at least two business platforms respectively based on the platform access application information includes: Determine whether the protocol template corresponding to the protocol template index number can parse the data packet; If the protocol template can parse the data packet, then platform identification information is generated; The platform identification information is encrypted using the public key to obtain the encrypted platform identification information. The encrypted platform identification information is sent to each of the at least two business platforms.
9. The IoT service platform switching method according to claim 1, characterized in that, The service platform attribute information includes: the service platform's Internet Protocol IP address and the service platform's protocol index number; The step of receiving the switching request information sent by the first terminal device according to the service platform attribute information includes: Based on the device identification information of the first terminal device and the preset correspondence between the device identification information and the service platform protocol index number, a target service platform capable of parsing the protocol of the first terminal device is determined, and the target service platform includes at least one service platform. Send first information to the first terminal device, the first information including the business platform attribute information of the target business platform; Obtain the switching request information sent by the first terminal device based on the first information, wherein the switching request information includes the first Internet Protocol IP of the second service platform, and the second service platform is one of the target service platforms.
10. A method for switching IoT business platforms, characterized in that, Applied to a first terminal device, the method includes: If at least one terminal device and at least two business platforms successfully access the IoT access management system, send an application query information to the IoT access management system. Receive business platform attribute information sent by the IoT access management system based on the application query information; Based on the service platform attribute information, a switching request is sent to the IoT access management system so that the IoT access management system switches the first service platform connected to the first terminal device to the second service platform. At every second preset time interval, hash operation is performed on the first business data that is interacted between the first terminal device and the second business platform to obtain the second business data; The IoT access management system sends the second service data to the IoT access management system. After switching the second service platform connected to the first terminal device to the third service platform, the IoT access management system sends the data index information of the first service data to the second service platform, receives the third service data sent by the second service platform after performing a hash operation on the first service data according to the data index information, and sends the second service data to the third service platform after verifying that the second service data is correct according to the third service data.
11. The IoT service platform switching method according to claim 10, characterized in that, After sending a switching request to the IoT access management system based on the service platform attribute information, so that the IoT access management system switches the first service platform connected to the first terminal device to the second service platform, the method further includes: Receive the service key sent by the IoT access management system based on the switching request information and the application query information; The business key is used to encrypt the first business data.
12. The IoT service platform switching method according to claim 11, characterized in that, The switching request information includes: the service failure time; The requested query information includes: the device identification information of the first terminal device; The step of receiving the service key sent by the IoT access management system based on the switching request information and the application query information includes: Receive the encrypted business key sent by the IoT access management system based on the switching request information and the application query information; The service key is obtained by the IoT access management system based on a dispersion factor; the dispersion factor is obtained by the IoT access management system based on the platform identification information of the second service platform, the service failure time, a random number generated by the IoT access management system, and the device identification information.
13. The IoT service platform switching method according to claim 11, characterized in that, The switching request information includes: the service failure time; After receiving the service key sent by the IoT access management system based on the switching request information and the application query information, the method further includes: If the absolute value of the difference between the first duration and the duration indicated by the service failure time is less than the first preset duration, a prompt message is received from the IoT access management system, where the first duration is the duration of service data interaction between the first terminal device and the second service platform; or If the time difference between the first time and the service failure time is less than a first preset time value, a prompt message sent by the IoT access management system is received, where the first time is the time during which the first terminal device and the second service platform interact with business data.
14. The IoT service platform switching method according to claim 10, characterized in that, Before sending an application query to the IoT access management system after at least one terminal device and at least two service platforms have successfully accessed the system, the method further includes: Send device access application information to the IoT access management system; Receive device identification information sent by the IoT access management system based on the device access application information; The device identification information is used to indicate that the at least one terminal device has successfully accessed the Internet of Things access management system.
15. The IoT service platform switching method according to claim 14, characterized in that, The device access application information includes: protocol template index number, public key, and data packet with agreed test data; The receipt of device identification information sent by the IoT access management system based on the access application information includes: Receive encrypted device identification information sent by the IoT access management system; The encrypted device identification information is obtained by the IoT access management system encrypting the device identification information based on the public key; the device identification information is generated by the IoT access management system when it determines that the protocol template corresponding to the protocol template index number can parse the data packet.
16. The IoT service platform switching method according to claim 10, characterized in that, The service platform attribute information includes: the service platform's Internet Protocol IP address and the service platform's protocol index number; The step of sending a switching request to the IoT access management system based on the service platform attribute information includes: Receive first information sent by the IoT access management system, the first information including business platform attribute information of the target business platform; Based on the first information, a switching request is sent to the IoT access management system. The switching request includes the first Internet Protocol IP of the second business platform, and the second business platform is one of the target business platforms. The target service platform is a service platform that the IoT access management system determines, based on the device identification information of the first terminal device and the preset correspondence between the device identification information and the service platform protocol index number, is capable of parsing the protocol of the first terminal device; the target service platform includes at least one service platform.
17. A method for switching IoT service platforms, characterized in that, Applied to a second business platform, the method includes: When at least one terminal device and at least two business platforms successfully access the IoT access management system, the device is connected to the first terminal device through the IoT access management system. Wherein, the second service platform is the platform connected to the first terminal device after the IoT access management system switches the first service platform connected to the first terminal device according to the switching request information and the service platform attribute information; the switching request information is sent by the first terminal device to the IoT access management system according to the service platform attribute information; the service platform attribute information is sent by the IoT access management system to the first terminal device according to the application query information; the application query information is sent by the first terminal device to the IoT access management system. After switching the second service platform connected to the first terminal device to the third service platform, the system receives data index information of the first service data that is interacted between the first terminal device and the second service platform, sent by the IoT access management system. Based on the data index information, after performing a hash operation on the first service data, the third service data is sent to the IoT access management system. This allows the IoT access management system to send the second service data to the third service platform after verifying the correctness of the second service data based on the third service data. The second service data is obtained by the first terminal device performing a hash operation on the first service data at second preset time intervals.
18. The IoT service platform switching method according to claim 17, characterized in that, After connecting to the first terminal device through the IoT access management system, the method further includes: Receive the service key sent by the IoT access management system based on the switching request information and the application query information; The business key is used to encrypt the first business data.
19. The IoT service platform switching method according to claim 18, characterized in that, The switching request information includes: the service failure time; The step of receiving the service key sent by the IoT access management system based on the switching request information and the application query information includes: Receive the encrypted business key sent by the IoT access management system based on the switching request information and the application query information; The service key is obtained by the IoT access management system based on a dispersion factor; the dispersion factor is obtained by the IoT access management system based on the platform identification information of the second service platform, the service failure time, a random number generated by the IoT access management system, and the device identification information.
20. The IoT service platform switching method according to claim 18, characterized in that, The switching request information includes: the service failure time; After receiving the service key sent by the IoT access management system based on the switching request information and the application query information, the method further includes: If the absolute value of the difference between the first duration and the duration indicated by the service failure time is less than the first preset duration, a prompt message is received from the IoT access management system, where the first duration is the duration of service data interaction between the first terminal device and the second service platform; or If the time difference between the first time and the service failure time is less than a first preset time value, a prompt message sent by the IoT access management system is received, where the first time is the time during which the first terminal device and the second service platform interact with business data.
21. The IoT service platform switching method according to claim 17, characterized in that, Before connecting to the first terminal device through the IoT access management system, in the case where at least one terminal device and at least two service platforms have successfully accessed the IoT access management system, the method further includes: Send platform access application information to the IoT access management system; Receive platform identification information sent by the IoT access management system based on the platform access application information; The platform identification information is used to indicate that at least two business platforms have successfully accessed the IoT access management system.
22. The IoT service platform switching method according to claim 21, characterized in that, The platform access application information includes: protocol template index number, public key, and data packet with agreed test data; The receipt of platform identification information sent by the IoT access management system based on the platform access application information includes: Receive encrypted platform identification information sent by the IoT access management system; The encrypted platform identification information is obtained by the IoT access management system encrypting the platform identification information based on the public key; the platform identification information is generated by the IoT access management system when it determines that the protocol template corresponding to the protocol template index number can parse the data packet.
23. An Internet of Things (IoT) service platform switching device, characterized in that, The device, used in an Internet of Things (IoT) access management system, includes: The first receiving module is used to receive application query information sent by the first terminal device when at least one terminal device and at least two business platforms successfully access the Internet of Things access management system. The first sending module is used to send business platform attribute information to the first terminal device according to the application query information; The second receiving module is used to receive the switching request information sent by the first terminal device according to the service platform attribute information; The switching module is used to switch the first service platform connected to the first terminal device to the second service platform according to the switching request information and the service platform attribute information. At every second preset time interval, the second service data sent by the first terminal device is obtained. The second service data is obtained by the first terminal device performing a hash operation on the first service data that is exchanged between the first terminal device and the second service platform. After switching the second service platform connected to the first terminal device to the third service platform, the data index information of the first service data is sent to the second service platform; Receive third service data sent by the second service platform after performing a hash operation on the first service data according to the data index information; If the second service data is verified to be correct based on the third service data, the second service data is sent to the third service platform.
24. An Internet of Things (IoT) service platform switching device, characterized in that, Applied to a first terminal device, the device includes: The second sending module is used to send application query information to the Internet of Things access management system when at least one terminal device and at least two business platforms have successfully accessed the Internet of Things access management system. The third receiving module is used to receive business platform attribute information sent by the IoT access management system based on the application query information; The third sending module is used to send a switching request to the IoT access management system according to the service platform attribute information, so that the IoT access management system switches the first service platform connected to the first terminal device to the second service platform. At every second preset time interval, hash operation is performed on the first business data that is interacted between the first terminal device and the second business platform to obtain the second business data; The IoT access management system sends the second service data to the IoT access management system. After switching the second service platform connected to the first terminal device to the third service platform, the IoT access management system sends the data index information of the first service data to the second service platform, receives the third service data sent by the second service platform after performing a hash operation on the first service data according to the data index information, and sends the second service data to the third service platform after verifying that the second service data is correct according to the third service data.
25. An Internet of Things (IoT) service platform switching device, characterized in that, The device, applied to a second business platform, includes: The connection module is used to connect to the first terminal device through the IoT access management system when at least one terminal device and at least two business platforms have successfully accessed the IoT access management system. Specifically, the IoT access management system switches the first service platform connected to the first terminal device to the second service platform based on the switching request information and the service platform attribute information; the switching request information is sent by the first terminal device to the IoT access management system based on the service platform attribute information; the service platform attribute information is sent by the IoT access management system to the first terminal device based on the application query information; and the application query information is sent by the first terminal device to the IoT access management system. After switching the second service platform connected to the first terminal device to the third service platform, the system receives data index information of the first service data that is interacted between the first terminal device and the second service platform, sent by the IoT access management system. Based on the data index information, after performing a hash operation on the first service data, the third service data is sent to the IoT access management system. This allows the IoT access management system to send the second service data to the third service platform after verifying the correctness of the second service data based on the third service data. The second service data is obtained by performing a hash operation on the first service data that the first terminal device interacts with the second service platform at second preset time intervals.
26. An Internet of Things (IoT) access management system, characterized in that, include: A processor, a memory, and a program stored in the memory and executable on the processor, wherein the program, when executed by the processor, implements the steps of the IoT service platform switching method as described in any one of claims 1 to 9.
27. A terminal device, wherein the terminal device is a first terminal device, characterized in that, include: A processor, a memory, and a program stored in the memory and executable on the processor, wherein the program, when executed by the processor, implements the steps of the IoT service platform switching method as described in any one of claims 10 to 16.
28. A business platform, wherein the business platform is a second business platform, characterized in that, include: A processor, a memory, and a program stored in the memory and executable on the processor, wherein the program, when executed by the processor, implements the steps of the IoT service platform switching method as described in any one of claims 17 to 22.
29. A readable storage medium, characterized in that, The readable storage medium stores a program or instructions that, when executed by a processor, implement the steps of the IoT service platform switching method as described in any one of claims 1 to 22.
Citation Information
Patent Citations
Method and apparatus for playing medium stream as well as user terminal
CN101252780A
Internet of things system and management method thereof
CN103188648A
SE (secure element) key management method, service platform, management platform and system
CN103313241A
Method and apparatus for registering devices on Internet of things platform
CN104967595A
Methods and equipment for switching platform
CN109348523A