Internet of things platform terminal authentication method and apparatus, and device and medium
By creating a public authentication model and generating a public authentication key on the Internet of Things platform, the problem that terminal manufacturers cannot record terminal products in advance and the complex authentication process is solved, and a simplified authentication process and reduced communication costs are achieved.
Patent Information
- Application Number
- PCT/CN2024/122860
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-08-28
- Filing Date
- 2024-09-30
- Publication Date
- 2025-03-06
AI Technical Summary
Terminal manufacturers cannot record terminal products in advance, and the terminal product certification process is complicated, resulting in excessive communication costs.
Receive the public authentication model creation request for the terminal product to be authenticated through the Internet of Things platform, create a public authentication model and generate a public authentication key. The terminal manufacturer can directly burn the key to the terminal device, and the user can use the key generated by the platform to verify and log in after privatization.
It solves the problem that terminal manufacturers cannot prepare stocks in advance and the user authentication process is complex, reduces communication costs, and simplifies the certification process of terminal products.
Smart Images

Figure CN2024122860_06032025_PF_FP_ABST
Abstract
Description
An Internet of Things platform terminal authentication method, device, equipment and medium Technical Field
[0001] The present invention relates to the technical field of Internet of Things, and in particular to a method, apparatus, device and medium for public authentication of Internet of Things platform terminals. Background Art
[0002] With the development of science and technology, the proportion of the Internet of Things in people's lives has gradually increased. The interaction between the Internet of Things system, terminal manufacturers and users is the main function of the Internet of Things. After users purchase terminal products produced by terminal manufacturers offline, they generate the key of the terminal product through the Internet of Things and send it to the terminal manufacturer. The terminal manufacturer burns the terminal product according to the key and device ID and other information, and then delivers the terminal product to the user. The user needs to embed the terminal product into a module such as Bluetooth and modify the terminal product's authentication and other complex operations before adding the device to the user's account. This process will cause the terminal manufacturer to contact the user before obtaining the key for the terminal product to be connected, resulting in the terminal manufacturer being unable to prepare goods in advance, and the user's terminal product authentication process is complicated and requires high communication costs.
[0003] Summary of the Invention
[0004] The embodiments of the present invention provide a method, apparatus, device and medium for public authentication of terminals on an Internet of Things platform, aiming to solve the problems that terminal manufacturers cannot pre-program terminal products, the terminal product authentication process is complicated and the communication cost is too high.
[0005] In the first aspect, an embodiment of the present invention provides a public authentication method for an Internet of Things platform terminal, which includes: receiving a public authentication model creation request for a terminal product to be authenticated, creating the public authentication model corresponding to the terminal product to be authenticated, wherein the public authentication model contains public product information of the terminal product to be authenticated; generating a public authentication key of the terminal product to be authenticated based on the public product information; if a creation request for a privatized product model of the terminal product to be authenticated is received, creating the privatized product model corresponding to the terminal product to be authenticated, and obtaining the public product information of the terminal product to be authenticated from the public authentication model, and reusing the public product information into the privatized product model; if a login request for the terminal product to be authenticated is received, verification is performed based on the key carried in the login request and the public authentication key to complete the login of the terminal product to be authenticated.
[0006] In the second aspect, an embodiment of the present invention further provides a public authentication device for an Internet of Things platform terminal, which includes: a creation unit, used to receive a public authentication model creation request for a terminal product to be authenticated, and create the public authentication model corresponding to the terminal product to be authenticated, wherein the public authentication model contains the public product information of the terminal product to be authenticated; a generation unit, used to generate a public authentication key of the terminal product to be authenticated based on the public product information; a private unit, used to create the privatized product model corresponding to the terminal product to be authenticated if a creation request for a privatized product model of the terminal product to be authenticated is received, and obtain the public product information of the terminal product to be authenticated from the public authentication model, and reuse the public product information into the privatized product model; a verification unit, used to verify the login request of the terminal product to be authenticated based on the key carried in the login request and the public authentication key to complete the login of the terminal product to be authenticated.
[0007] In a third aspect, an embodiment of the present invention further provides a computer device, which includes a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the above method when executing the computer program.
[0008] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, wherein the storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the above method can be implemented.
[0009] An embodiment of the present invention provides a method, apparatus, device, and medium for public authentication of an Internet of Things platform terminal. The method comprises: receiving a request to create a public authentication model for a terminal product to be authenticated, creating the public authentication model corresponding to the terminal product to be authenticated, wherein the public authentication model includes public product information of the terminal product to be authenticated; generating a public authentication key for the terminal product to be authenticated based on the public product information; if a request to create a private product model for the terminal product to be authenticated is received, creating the private product model corresponding to the terminal product to be authenticated, obtaining the public product information of the terminal product to be authenticated from the public authentication model, and reusing the public product information into the private product model; if a login request for the terminal product to be authenticated is received, performing verification based on the key carried in the login request and the public authentication key to complete the login of the terminal product to be authenticated. The embodiment of the present invention creates a public authentication model based on the terminal product to be authenticated to obtain public product information, and generates a public authentication key based on the public product information, so that the terminal manufacturer can directly burn the public authentication key into the terminal device. After purchasing the terminal device and completing privatization, the device user can verify and log in based on the key burned into the terminal product and the public authentication key generated in the platform, which solves the problems of the cumbersome docking process between terminal manufacturers and terminal users, the inability of terminal manufacturers to burn and prepare stocks in advance, and the complexity of the user authentication device process. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0011] FIG1 is a schematic diagram of a flow chart of an Internet of Things platform terminal authentication method provided by an embodiment of the present invention;
[0012] FIG2 is a schematic diagram of a sub-process of an Internet of Things platform terminal authentication method provided by an embodiment of the present invention;
[0013] FIG3 is a schematic diagram of a sub-process of an Internet of Things platform terminal authentication method provided by an embodiment of the present invention;
[0014] FIG4 is a schematic diagram of a sub-process of an Internet of Things platform terminal authentication method provided by an embodiment of the present invention;
[0015] FIG5 is a schematic diagram of a sub-process of an Internet of Things platform terminal authentication method provided by an embodiment of the present invention;
[0016] FIG6 is a schematic diagram of a sub-process of an Internet of Things platform terminal authentication method provided by an embodiment of the present invention;
[0017] FIG7 is a schematic block diagram of an Internet of Things platform terminal authentication device provided by an embodiment of the present invention;
[0018] FIG8 is a schematic block diagram of a computer device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0019] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of them. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present invention without making any creative efforts shall fall within the scope of protection of the present invention.
[0020] It will be understood that when used in this specification and the appended claims, the terms “comprises” and “comprising” indicate the presence of described features, integers, steps, operations, elements and / or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or groups thereof.
[0021] It should also be understood that the terminology used in this specification is for the purpose of describing particular embodiments only and is not intended to limit the present invention. As used in the specification and appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms unless the context clearly indicates otherwise.
[0022] It should be further understood that the term "and / or" used in the present description and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
[0023] Figure 1 is a flow chart of an Internet of Things platform terminal authentication method provided by an embodiment of the present invention. As shown in the figure, the method includes the following steps S110-S140.
[0024] S110: Receive a public authentication model creation request of a terminal product to be authenticated, and create the public authentication model corresponding to the terminal product to be authenticated, wherein the public authentication model includes public product information of the terminal product to be authenticated.
[0025] In this embodiment, the terminal product to be authenticated is a terminal product that has not been authenticated and logged in on the platform. The public authentication model is a public model that the terminal manufacturer stores for the terminal product in the Internet of Things platform. When receiving a public authentication model creation request for the terminal product to be authenticated, the public authentication model corresponding to the terminal product to be authenticated is created. The public authentication model corresponding to the terminal product to be authenticated can be created based on attributes such as the industry type, terminal communication protocol type, terminal authentication method, data encryption method, name, whether it is transparent transmission, whether there is a physical model, and the terminal manufacturer name, terminal model, and terminal type of the terminal product to be authenticated. For example, if the industry to be authenticated is the Internet of Things, the terminal manufacturer name is A, and the terminal model is X55LP, then the public authentication model created is named "Internet of Things-A-X55LP", and if there are terminal products of the same type in the future, they can also be stored in the public authentication model of the name. After creating the public authentication model, the public product information of the terminal product to be authenticated can be stored in the public authentication model. This public product information includes valid information such as tenant information, device information, product information, and device function settings of the terminal product to be authenticated. By establishing the public authentication model corresponding to the terminal product to be authenticated, the information of the terminal manufacturer's terminal product to be authenticated can be publicly stored in the platform, facilitating subsequent platform access to the terminal product information.
[0026] In one embodiment, as shown in FIG2 , step S110 further includes steps S111 - S112 .
[0027] S111. Obtaining preset attribute information and preset type information of the terminal product to be authenticated;
[0028] S112: Create the public authentication model according to the preset attribute information and the preset type information.
[0029] In this embodiment, the preset attribute information and preset type information are information set for the terminal product to be authenticated by the terminal manufacturer when the terminal product to be authenticated is manufactured. The preset attribute information refers to essential properties of the terminal product to be authenticated, such as the industry type, terminal communication protocol type, terminal authentication method, data encryption method, name, whether transparent transmission is enabled, and whether a physical model is present. The preset type information refers to the category of information such as the properties and characteristics of the terminal product to which the preset attribute information belongs. For example, the terminal manufacturer name, terminal model, and terminal type of the terminal product to be authenticated are all preset type information of the terminal product to be authenticated. Based on the information of the terminal product to be authenticated entered by the terminal manufacturer, the preset attribute information and preset type information of the terminal product to be authenticated are obtained, and the public authentication model can be created based on the preset attribute information and preset type information. For example, if the industry of the terminal product to be authenticated is the Internet of Things, the terminal manufacturer name is A, and the terminal model is X55LP, then the created public authentication model is named "Internet of Things-A-X55LP". After the public authentication model is created, the information of the terminal product to be authenticated can be stored in the public authentication model. By creating the public authentication model, the terminal product to be authenticated privately owned by the terminal manufacturer can be stored in the platform, making it easier for the platform to call the information of the terminal product to be authenticated.
[0030] S120: Generate a public authentication key for the terminal product to be authenticated according to the public product information.
[0031] In this embodiment, the public authentication key is a key generated by the platform based on the public product information to verify the terminal product to be authenticated. The public authentication key is stored in the platform and sent to the terminal manufacturer. Specifically, the terminal manufacturer can independently choose the method of generating the public authentication key. The public authentication key can be generated by calling the preset automation interface according to the method of generating the public authentication key selected by the terminal manufacturer. For example, if the terminal manufacturer chooses to generate the key based on the tenant information and product information in the public product information, the public authentication key is generated through the preset automation interface and the tenant information and product information. By generating the public authentication key of the terminal product to be authenticated based on the public product information, the public authentication key can be automatically generated, and the public authentication key can be sent to the terminal manufacturer after generation, completing the automation interface docking to realize the batch generation of public authentication keys and the terminal production line docking, and facilitating the subsequent authentication of the device to be authenticated.
[0032] In one embodiment, as shown in FIG3 , step S120 further includes steps S121 - S122 .
[0033] S121. Obtain tenant information and product information from the public product information;
[0034] S122: Generate the public authentication key according to the tenant information and the product information.
[0035] In this embodiment, the tenant information is the basic information of the buyer who purchased the terminal product. The terminal manufacturer can input the model information of the terminal product to be authenticated and the model information of the terminal manufacturer to query the number information of the model to be authenticated in the public authentication model, wherein the number information is unique. After obtaining the number information, a method of producing a public authentication key for the terminal product to be authenticated to which the number information belongs is selected. If the terminal manufacturer chooses to generate the public authentication key based on the tenant information and product information in the public product information, the tenant information and product information in the public product information are obtained, and then the public authentication key can be produced through a preset automated interface. Producing the public authentication key through the automated interface can achieve rapid batch production of terminal keys.
[0036] In one embodiment, as shown in FIG4 , step S120 further includes steps S123 - S124 .
[0037] S123. Obtain tenant information, product information, and device information from the public product information;
[0038] S124. Generate the public authentication key according to the tenant information, the product information, and the device information.
[0039] In this embodiment, the device information refers to the hardware information associated with the terminal product to be authenticated. If the terminal manufacturer chooses to generate the public authentication key based on the tenant information and product information in the public product information, the tenant information, product information, and device information in the public product information of the module to be authenticated in the public authentication model are obtained. The public authentication key is generated based on the automation interface and the tenant information, product information, and device information. The public authentication key is stored in the platform and sent to the terminal manufacturer. The terminal manufacturer can then burn the public authentication key into the terminal product to facilitate subsequent key verification.
[0040] S130. If a request for creating a private product model of the terminal product to be authenticated is received, create the private product model corresponding to the terminal product to be authenticated, obtain the public product information of the terminal product to be authenticated from the public authentication model, and reuse the public product information into the private product model.
[0041] In this embodiment, the private product model is a model on the platform in which the terminal user stores the terminal product information. After purchasing the terminal product to be authenticated, the terminal user privatizes the terminal product to be authenticated into a private model through the platform, creating the private product model in the terminal user's private model. Upon receiving a request to create a private product model for the terminal product to be authenticated, the platform can create the private product model based on the product and device information of the terminal product to be authenticated, or it can copy the corresponding public authentication model to complete the creation of the private product model. After creating the private product model, the platform retrieves the public product information of the terminal product to be authenticated from the public authentication model stored on the platform, and reuses the public product information in the private product model. By creating the private product model corresponding to the terminal product to be authenticated, retrieving the public product information of the terminal product to be authenticated from the public authentication model, and reusing the public product information in the private product model, the terminal user can reduce the workload of creating and debugging the connection between the terminal product and the platform, thereby improving connection efficiency.
[0042] In one embodiment, as shown in FIG5 , step S130 further includes steps S131 - S132 .
[0043] S131. Query the corresponding public product information according to the model information of the terminal product to be authenticated carried in the creation request;
[0044] S132. Reuse the corresponding public product information into the privatized product model according to a preset reuse function.
[0045] In this embodiment, the preset multiplexing function is a multiplexing interface pre-set by the platform, wherein the multiplexing refers to directly copying the public authentication model and the public product information of the terminal to be authenticated therein into a new model. If a creation request for a private product model of the terminal product to be authenticated is received, the creation request is parsed, the model information of the terminal product to be authenticated carried in the creation request is obtained, and the public product information in the public authentication model to which the terminal product to be authenticated belongs is queried based on the model information. The public product information is reused through the preset multiplexing function, and the reused public product information is stored in the private product model. The multiplexing method of reusing the corresponding public product information into the private product model according to the preset multiplexing function rationalizes and simplifies the private product model creation process, which can reduce the workload of the terminal user in creating and debugging the connection between the device and the platform, and improve the connection efficiency.
[0046] In this embodiment, the method further includes determining whether the private product model for the terminal product to be authenticated exists in the terminal user's private model; if the private product model does not exist in the private model, creating the private product model corresponding to the terminal product to be authenticated. The private model is a model under the terminal user's private account. The private model may store the terminal product purchased by the terminal user. Upon receiving a request to create a private product model for the terminal product to be authenticated, the method first determines whether the private model for the terminal product to be authenticated has already been created in the private model based on the product information and device information of the terminal product to be authenticated carried in the creation request. If the private model for the terminal product to be authenticated already exists in the private model, a prompt indicates that the device already exists. If not, the method creates the private product model corresponding to the terminal product to be authenticated. The private product model may be created based on the product information and device information of the terminal product to be authenticated, or the public authentication model may be copied to complete the creation of the private product model. By determining whether the private product model for the terminal product to be authenticated exists in the private model, duplicate creation of private product models is avoided, reducing redundant information.
[0047] S140: If a login request of the terminal product to be authenticated is received, verification is performed based on the key carried in the login request and the public authentication key to complete the login of the terminal product to be authenticated.
[0048] In this embodiment, the key carried in the login request is a key burned into the terminal device by the terminal manufacturer. Specifically, the terminal manufacturer obtains the public authentication key of the terminal product to be authenticated, generated by the platform based on the public product information, and burns the public authentication key into the terminal product to be authenticated. When the terminal user purchases the terminal product to be authenticated and logs into the platform through the terminal product to be authenticated, they send a login request. Upon receiving the login request from the terminal product to be authenticated, the platform verifies the key burned into the terminal product by the terminal manufacturer carried in the login request with the public authentication key generated by the platform. If the key matches the public authentication key in the platform, the login of the terminal product to be authenticated is completed, and routine operations such as reporting terminal product data can be performed through the platform. By verifying the key carried in the login request with the public authentication key to complete the login of the terminal product to be authenticated, the problem of the terminal user having to modify the burned-in key via the Bluetooth module before logging in in the terminal product transfer scenario can be solved. This facilitates the transfer and management of terminal products at any time, simplifies the operation, and reduces the terminal cost of the burning.
[0049] In one embodiment, as shown in FIG6 , step S140 further includes steps S141 - S142 .
[0050] S141. Query the public authentication key of the terminal product to be authenticated;
[0051] S142: Verify the key carried in the login request and the corresponding public authentication key through a preset public authentication channel.
[0052] In this embodiment, the preset public authentication channel is a public authentication interface set up by the platform. Through this public authentication channel, the key carried in the login request is verified to be consistent with the corresponding public authentication key. The public authentication key stored on the platform by the terminal product to be authenticated is queried, the login request is parsed, and the key carried in the login request is retrieved. The key carried in the login request is the key burned into the terminal product to be authenticated by the terminal manufacturer after obtaining the public authentication key. This key is then verified against the retrieved public authentication key through the preset public authentication channel. If the verification passes, the terminal product to be authenticated is authenticated and can perform routine operations such as reporting terminal data on the IoT platform. It should be noted that the terminal product to be authenticated must undergo the aforementioned authentication method each time it logs into the platform. By verifying the key carried in the login request against the corresponding public authentication key through the preset public authentication channel, automated login of the terminal device to be authenticated is completed, resolving issues such as the difficulty and complexity of terminal users authenticating the device to be authenticated.
[0053] Figure 7 is a schematic block diagram of an IoT platform terminal public authentication device 200 provided in accordance with an embodiment of the present invention. As shown in Figure 7 , corresponding to the IoT platform terminal authentication method described above, the present invention further provides an IoT platform terminal public authentication device. This IoT platform terminal authentication device includes a unit for executing the IoT platform terminal authentication method described above. This device can be configured in a terminal such as a desktop computer, tablet computer, or laptop computer. Specifically, referring to Figure 7 , this IoT platform terminal authentication device includes a creation unit 210, a generation unit 220, a private unit 230, and a verification unit 240.
[0054] The creation unit 210 is configured to receive a public authentication model creation request of a terminal product to be authenticated, and create the public authentication model corresponding to the terminal product to be authenticated, wherein the public authentication model includes public product information of the terminal product to be authenticated.
[0055] In one embodiment, the creation unit 210 includes an acquisition unit and a creation sub-unit.
[0056] An acquiring unit, configured to acquire preset attribute information and preset type information of the terminal product to be authenticated;
[0057] A creating subunit is used to create the public authentication model according to the preset attribute information and the preset type information.
[0058] The generating unit 220 is configured to generate a public authentication key of the terminal product to be authenticated according to the public product information.
[0059] In one embodiment, the generating unit 220 includes a first acquiring unit and a first generating unit.
[0060] A first acquiring unit, configured to acquire tenant information and product information from the public product information;
[0061] The first generating unit is configured to generate the public authentication key according to the tenant information and the product information.
[0062] In one embodiment, the generating unit 220 includes a second acquiring unit and a second generating unit.
[0063] A second acquiring unit is configured to acquire tenant information, product information, and device information from the public product information;
[0064] The second generating unit is configured to generate the public authentication key according to the tenant information, the product information, and the device information.
[0065] The private unit 230 is used to create the private product model corresponding to the terminal product to be authenticated upon receiving a request to create a private product model of the terminal product to be authenticated, and obtain the public product information of the terminal product to be authenticated from the public authentication model, and reuse the public product information into the private product model.
[0066] In one embodiment, the private unit 230 includes a query unit and a multiplexing unit.
[0067] A query unit, configured to query the public product information corresponding to the model information of the terminal product to be authenticated carried in the creation request;
[0068] The multiplexing unit is used to multiplex the corresponding public product information into the privatized product model according to a preset multiplexing function.
[0069] In one embodiment, the private unit 230 includes a determination unit and a private sub-unit.
[0070] A judging unit, configured to judge whether the private model of the terminal user contains the privatized product model corresponding to the terminal product to be authenticated;
[0071] The private subunit is configured to create the privatized product model corresponding to the terminal product to be authenticated if the privatized product model does not exist in the private model.
[0072] The verification unit 240 is configured to, upon receiving a login request from the terminal product to be authenticated, perform verification based on the key carried in the login request and the public authentication key to complete the login of the terminal product to be authenticated.
[0073] In one embodiment, the verification unit 240 includes a key acquisition unit and a verification sub-unit.
[0074] A key acquisition unit, configured to query the public authentication key of the terminal product to be authenticated;
[0075] The verification subunit is used to verify the key carried in the login request and the corresponding public authentication key through a preset public authentication channel.
[0076] It should be noted that those skilled in the art can clearly understand that the specific implementation process of the above-mentioned Internet of Things platform terminal authentication device 200 and each unit can refer to the corresponding description in the aforementioned method embodiment. For the convenience and brevity of description, it will not be repeated here.
[0077] The above-mentioned Internet of Things platform terminal authentication device can be implemented in the form of a computer program, which can be run on a computer device as shown in Figure 8.
[0078] Please refer to Figure 8, which is a schematic block diagram of a computer device provided in an embodiment of the present application. The computer device 500 can be a terminal or a server. The terminal can be a smart phone, tablet computer, laptop computer, desktop computer, personal digital assistant, wearable device, or other electronic device with communication capabilities. The server can be a standalone server or a server cluster consisting of multiple servers.
[0079] 8 , the computer device 500 includes a processor 502 , a memory, and a network interface 505 connected via a system bus 501 , wherein the memory may include a non-volatile storage medium 503 and an internal memory 504 .
[0080] The non-volatile storage medium 503 can store an operating system 5031 and a computer program 5032. The computer program 5032 includes program instructions, which, when executed, can enable the processor 502 to perform a public authentication method for an Internet of Things platform terminal.
[0081] The processor 502 is used to provide computing and control capabilities to support the operation of the entire computer device 500.
[0082] The internal memory 504 provides an environment for the operation of the computer program 5032 in the non-volatile storage medium 503. When the computer program 5032 is executed by the processor 502, the processor 502 can execute a public authentication method for an Internet of Things platform terminal.
[0083] The network interface 505 is used to communicate with other devices over a network. Those skilled in the art will appreciate that the structure shown in FIG8 is merely a block diagram of a portion of the structure related to the present invention, and does not limit the computer device 500 to which the present invention is applied. A specific computer device 500 may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.
[0084] The processor 502 is configured to run a computer program 5032 stored in the memory to implement the steps of the above method.
[0085] It should be understood that in the embodiment of the present application, the processor 502 may be a central processing unit (CPU), and the processor 502 may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor, etc.
[0086] Those skilled in the art will appreciate that all or part of the steps in the method of the above-described embodiment can be implemented by instructing the relevant hardware through a computer program. The computer program includes program instructions, which can be stored in a storage medium that is computer-readable. The program instructions are executed by at least one processor in the computer system to implement the steps in the method of the above-described embodiment.
[0087] Therefore, the present invention also provides a storage medium. The storage medium may be a computer-readable storage medium. The storage medium stores a computer program, wherein the computer program includes program instructions. When the program instructions are executed by a processor, the processor performs the steps of the above method.
[0088] The storage medium may be any computer-readable storage medium that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a magnetic disk, or an optical disk.
[0089] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the above description has generally described the composition and steps of each example according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0090] In the several embodiments provided herein, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the various units is merely a logical functional division, and actual implementation may employ other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be omitted or not implemented.
[0091] The steps in the methods of the embodiments of the present invention may be adjusted in order, combined, or deleted as needed. The units in the devices of the embodiments of the present invention may be combined, divided, or deleted as needed. Furthermore, the functional units in the various embodiments of the present invention may be integrated into a single processing unit, each unit may exist physically separately, or two or more units may be integrated into a single unit.
[0092] If this integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the existing technology, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes a number of instructions for causing a computer device (which can be a personal computer, terminal, or network device, etc.) to execute all or part of the steps of the method described in various embodiments of the present invention.
[0093] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in the present invention, and such modifications or substitutions are intended to be within the scope of protection of the present invention. Therefore, the scope of protection of the present invention shall be subject to the scope of protection of the claims.
Claims
1. A public authentication method for an Internet of Things platform terminal, characterized in that: include: Receiving a request for creating a public authentication model of a terminal product to be authenticated, and creating the public authentication model corresponding to the terminal product to be authenticated, wherein the public authentication model contains public product information of the terminal product to be authenticated; Generate a public authentication key of the terminal product to be authenticated according to the public product information; If a request for creating a private product model of the terminal product to be authenticated is received, creating the private product model corresponding to the terminal product to be authenticated, obtaining the public product information of the terminal product to be authenticated from the public authentication model, and multiplexing the public product information into the private product model; If a login request of the terminal product to be authenticated is received, verification is performed based on the key carried in the login request and the public authentication key to complete the login of the terminal product to be authenticated.
2. The method according to claim 1, characterized in that The step of creating the public authentication model corresponding to the terminal product to be authenticated includes: Acquire preset attribute information and preset type information of the terminal product to be authenticated; The public authentication model is created according to the preset attribute information and the preset type information.
3. The method according to claim 1, characterized in that: The step of generating a public authentication key of the terminal product to be authenticated according to the public product information comprises: Obtain tenant information and product information from the public product information; The public authentication key is generated according to the tenant information and the product information.
4. The method according to claim 1, characterized in that The step of generating a public authentication key of the terminal product to be authenticated according to the public product information further includes: Obtain tenant information, product information, and device information from the public product information; The public authentication key is generated according to the tenant information, the product information and the device information.
5. The method according to claim 1, characterized in that The step of acquiring the public product information of the terminal product to be authenticated from the public authentication model and reusing the public product information into the privatized product model includes: Querying the corresponding public product information according to the model information of the terminal product to be authenticated carried in the creation request; The corresponding public product information is reused into the privatized product model according to a preset reuse function.
6. The method according to claim 1, characterized in that The step of verifying the public authentication key according to the key carried in the login request to complete the login of the terminal product to be authenticated includes: Querying the public authentication key of the terminal product to be authenticated; The key carried in the login request and the corresponding public authentication key are verified through a preset public authentication channel.
7. The method according to claim 1, characterized in that If a request for creating a privatized product model of the terminal product to be authenticated is received, the step of creating the privatized product model corresponding to the terminal product to be authenticated further includes: Determining whether the privatized product model corresponding to the terminal product to be authenticated exists in the private model of the terminal user; If the privatized product model does not exist in the private model, the privatized product model corresponding to the terminal product to be authenticated is created.
8. A public authentication device for an Internet of Things platform terminal, characterized in that: include: A creating unit, configured to receive a request for creating a public authentication model of a terminal product to be authenticated, and create the public authentication model corresponding to the terminal product to be authenticated, wherein the public authentication model contains public product information of the terminal product to be authenticated; A generating unit, configured to generate a public authentication key of the terminal product to be authenticated according to the public product information; The private unit is configured to, upon receiving a request to create a privatized product model of the terminal product to be authenticated, create the privatized product model corresponding to the terminal product to be authenticated, obtain the public product information of the terminal product to be authenticated from the public authentication model, and reuse the public product information into the privatized product model; The verification unit is used for, upon receiving a login request of the terminal product to be authenticated, performing verification according to the key carried in the login request and the public authentication key to complete the login of the terminal product to be authenticated.
9. A computer device, characterized in that: The computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the method according to any one of claims 1 to 7 when executing the computer program.
10. A storage medium, characterized in that: The storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the method according to any one of claims 1 to 7 can be implemented.
Citation Information
Patent Citations
Product key burning method, system and device, terminal equipment and storage medium
CN114297685A
Internet of Things platform terminal authentication method, device, equipment and medium
CN116980223A
Computer platforms and their methods of operation
US7461249B1
Digital content delivery
WO2015153373A1