CN111917758A - Method and device for accessing Internet of things platform, computer equipment and storage medium - Google Patents
Method and device for accessing Internet of things platform, computer equipment and storage medium Download PDFInfo
- Publication number
- CN111917758A CN111917758A CN202010732482.5A CN202010732482A CN111917758A CN 111917758 A CN111917758 A CN 111917758A CN 202010732482 A CN202010732482 A CN 202010732482A CN 111917758 A CN111917758 A CN 111917758A
- Authority
- CN
- China
- Prior art keywords
- equipment
- accessed
- internet
- information
- product
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/083—Network architectures or network communication protocols for network security for authentication of entities using passwords
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Engineering & Computer Science (AREA)
- Computing Systems (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- General Engineering & Computer Science (AREA)
- Telephonic Communication Services (AREA)
- Computer And Data Communications (AREA)
Abstract
The application relates to a method and a device for accessing an Internet of things platform, computer equipment and a storage medium. The method comprises the following steps: acquiring product information; generating a corresponding first product key according to the product information, wherein the first product key is used for burning into the target equipment; receiving registration information of the equipment to be accessed, wherein the registration information comprises a second product key of the equipment to be accessed, and verifying whether the second product key is matched with the first product key; and when the second product key is matched with the first product key, determining that the equipment to be accessed is the target equipment, and receiving reported data sent by the equipment to be accessed. Only according to the comparison between the second product key in the target equipment and the first product key stored in the Internet of things platform, whether the target equipment is allowed to access the Internet of things platform can be judged, equipment information of the equipment does not need to be led into the Internet of things platform in advance, the step of accessing the equipment into the Internet of things platform is simplified, and the access efficiency of the equipment is improved.
Description
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for accessing an internet of things platform, a computer device, and a storage medium.
Background
The Internet of things platform provides connection communication capability for Internet of things equipment, and provides an Application Programming Interface (API) for an Application service so as to meet development requirements of Application systems in various industries; and the equipment of the Internet of things is connected downwards to support the access and management of the equipment of the Internet of things.
The existing internet of things platform generally creates a product and imports device information of a device into product information of a corresponding type, the existing internet of things platform only accepts an access request sent by the device importing the device information into the internet of things platform, and a device which does not extract the device information and imports the device information into the internet of things platform cannot be accessed into the internet of things platform.
The existing Internet of things platform mainly aims at the access of different industries and different types of products, but the product access steps are complicated due to more product types, the development difficulty is higher, and the access efficiency of Internet of things equipment is seriously influenced.
Disclosure of Invention
In order to solve the technical problem, the application provides a method, a device, computer equipment and a storage medium for accessing an internet of things platform.
In a first aspect, the present application provides a method for accessing an internet of things platform, which is applied to the internet of things platform, and the method includes:
acquiring product information, wherein the product information comprises a product type and a product model;
generating a corresponding first product key according to the product information, wherein the first product key is used for burning into target equipment;
receiving registration information of equipment to be accessed, wherein the registration information comprises a second product key of the equipment to be accessed, and verifying whether the second product key is matched with the first product key;
and when the second product key is matched with the first product key, determining that the equipment to be accessed is the target equipment, and receiving reported data sent by the equipment to be accessed.
In a second aspect, the present application provides a method for accessing an internet of things platform, which is applied to an internet of things device, and the method includes:
sending registration information to an Internet of things platform;
when a state modification instruction sent by the Internet of things platform is received, executing the state modification instruction, wherein the state modification instruction is used for modifying state information from unregistered state to registered state;
and sending reported data to the Internet of things platform.
In a third aspect, the present application provides a device for accessing a platform of an internet of things, which is applied to the platform of the internet of things, and includes:
the information acquisition module is used for acquiring product information, and the product information comprises product types and product models;
the product key generation module is used for generating a corresponding first product key according to the product information, and the first product key is used for burning into target equipment;
the information receiving module is used for receiving registration information of the equipment to be accessed, wherein the registration information comprises a second product key of the equipment to be accessed, and verifying whether the second product key is matched with the first product key;
and the connection module is used for judging that the equipment to be accessed is the target equipment and receiving the reported data sent by the equipment to be accessed when the second product key is matched with the first product key.
In a fourth aspect, the application provides a device for accessing a platform of an internet of things, which is applied to an internet of things device, and includes:
the information sending module is used for sending the registration information to the Internet of things platform;
the execution module is used for executing the state modification instruction when receiving the state modification instruction sent by the Internet of things platform, wherein the state modification instruction is used for modifying state information from unregistered state to registered state;
and the data reporting module is used for sending the reported data to the Internet of things platform.
A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the following steps when executing the computer program:
acquiring product information, wherein the product information comprises a product type and a product model;
generating a corresponding first product key according to the product information, wherein the first product key is used for burning into target equipment;
receiving registration information of equipment to be accessed, wherein the registration information comprises a second product key of the equipment to be accessed, and verifying whether the second product key is matched with the first product key;
and when the second product key is matched with the first product key, determining that the equipment to be accessed is the target equipment, and receiving reported data sent by the equipment to be accessed.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
acquiring product information, wherein the product information comprises a product type and a product model;
generating a corresponding first product key according to the product information, wherein the first product key is used for burning into target equipment;
receiving registration information of equipment to be accessed, wherein the registration information comprises a second product key of the equipment to be accessed, and verifying whether the second product key is matched with the first product key;
and when the second product key is matched with the first product key, determining that the equipment to be accessed is the target equipment, and receiving reported data sent by the equipment to be accessed.
The method, the device, the computer equipment and the storage medium for accessing the platform of the internet of things comprise the following steps: acquiring product information, wherein the product information comprises a product type and a product model; generating a corresponding first product key according to the product information, wherein the first product key is used for burning into target equipment; receiving registration information of equipment to be accessed, wherein the registration information comprises a second product key of the equipment to be accessed, and verifying whether the second product key is matched with the first product key; and when the second product key is matched with the first product key, determining that the equipment to be accessed is the target equipment, and receiving reported data sent by the equipment to be accessed. Only according to the comparison between the second product key in the target equipment and the first product key stored in the Internet of things platform, whether the target equipment is allowed to access the Internet of things platform can be judged, equipment information of the equipment does not need to be led into the Internet of things platform in advance, the step of accessing the equipment into the Internet of things platform is simplified, and the access efficiency of the equipment is improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive exercise.
FIG. 1 is a diagram of an application environment of a method for accessing an Internet of things platform in one embodiment;
fig. 2 is a platform-side flow diagram of a method for accessing an internet of things platform in one embodiment;
fig. 3 is a schematic flow chart of a device side of a method for accessing an internet of things platform in an embodiment;
FIG. 4 is a block diagram of a platform side architecture of a device accessing an Internet of things platform in one embodiment;
fig. 5 is a block diagram of an equipment side structure of a device accessing an internet of things platform in one embodiment;
FIG. 6 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Fig. 1 is an application environment diagram of a method for accessing an internet of things platform in an embodiment. Referring to fig. 1, the method for accessing the internet of things platform is applied to an internet of things system. The internet of things system comprises a terminal 110, an internet of things platform 120 and an internet of things device 130. The terminal 110, the server 120 and the internet of things device 130 are connected through a network. The internet of things platform may specifically be an IOT platform, the terminal 110 may specifically be a desktop terminal or a mobile terminal, and the mobile terminal may specifically be at least one of a mobile phone, a tablet computer, a notebook computer, and the like. The internet of things device 130 is a device at least comprising a bar code, a radio frequency identification technology, a sensor, a global positioning system and a laser scanner.
In an embodiment, fig. 2 is a flowchart illustrating a method for accessing an internet of things platform in an embodiment, and referring to fig. 2, a method for accessing an internet of things platform is provided. The embodiment is mainly exemplified by applying the method to the internet of things platform 120 in fig. 1, and the method for accessing the internet of things platform specifically includes the following steps:
step S210, product information is acquired.
In the present embodiment, the product information includes a product category and a product model.
Specifically, product information input into the platform of the internet of things by a user is received, a product is created according to the product information, the product information specifically comprises but not limited to parameters such as a product category, a product model, a product name, a node type, a network access certificate, a networking mode and the like, and a plurality of devices with a common product category are included under the product.
Step S220, a corresponding first product key is generated according to the product information.
In this embodiment, the first product key is used for burning into the target device.
In this embodiment, the product key refers to an identifier generated according to a product model in the product information, the product model corresponds to the product key one to one, and the product key of each target device is the first product key. The product key may specifically be a product key (activation verification code), the product key is used for being burned into the target device, and is used as the activation verification code for accessing the target device to the internet of things platform, and the target device is one or more pieces of internet of things devices that can access the internet of things platform and belong to a specific product.
Step S230, receiving registration information of the device to be accessed.
In this specific embodiment, the device to be accessed may specifically be one or more internet of things devices, and the registration information includes device information of the device to be accessed, a second product key, and the like.
Step S240, verifying whether the second product key matches the first product key.
Specifically, a second product key of the device to be accessed is matched with a first product key of the internet of things platform, and whether the second product key of the device to be accessed is consistent with an activation verification code of a specific product in the internet of things platform is judged.
And step S250, when the second product key is matched with the first product key, determining that the equipment to be accessed is the target equipment, and receiving the reported data sent by the equipment to be accessed.
Specifically, when the second product key is matched with the first product key, that is, the second product key of the device to be accessed is consistent with the activation verification code of the accessible internet of things platform, it is determined that the device to be accessed is a target device belonging to a specific product in the internet of things platform, and the device to be accessed is accessed into the internet of things platform through a message protocol, where the message protocol may be, but is not limited to, an MQTT protocol, an HTTP protocol, or a COAP protocol, and the device accessed into the internet of things platform sends reported data to the internet of things platform in real time, and the reported data includes device attributes, event data, and/or the like.
In one embodiment, the device information is stored, a state modification instruction is sent to the device to be accessed, the device to be accessed executes the state modification instruction, and the state modification instruction is used for modifying the state information of the device to be accessed into the registered state; and receiving reported data sent by the registered equipment to be accessed according to the state information.
Specifically, the device information includes, but is not limited to, a device identifier, a device code, a communication address, and the like, and when it is determined that a second product key of the device to be accessed matches the first product key, the internet of things platform stores the device information sent by the device to be accessed in a classified manner in a corresponding data table, and returns a state modification instruction to the device to be accessed, so that the device to be accessed modifies the state information into a registered state, indicating that the device to be accessed can access the internet of things platform, and sends reported data to the internet of things platform, and the internet of things platform collects the reported data and visually displays the reported data.
In one embodiment, when the second product key is not matched with the first product key, it is determined that the device to be accessed is not the target device, and the device to be accessed is denied to receive the reported data sent by the device to be accessed.
Specifically, when the second product key is not matched with the first product key, the second product key of the device to be accessed is inconsistent with the activation verification code of the accessible internet of things platform, which indicates that the device to be accessed does not belong to a specific product in the internet of things platform and cannot be accessed to the internet of things platform, and then the internet of things platform cannot receive the reported data sent by the device.
In one embodiment, a control instruction sent by an application service is received; determining corresponding equipment to be controlled according to the product information and the equipment identification carried by the control instruction; and sending a control instruction to the equipment to be controlled, and enabling the equipment to be controlled to execute the control instruction.
Specifically, the equipment to be controlled is any one or more pieces of internet of things equipment which is registered and accessed to the internet of things platform, the internet of things platform provides an API (application programming interface) upwards for application service to receive a control instruction sent by the terminal, the control instruction carries product information and equipment identification of the equipment to be controlled, the internet of things platform accurately determines the equipment to be controlled according to the product information and the equipment identification, the control instruction is issued to the equipment to be controlled, the equipment to be controlled executes corresponding actions according to the control instruction, and therefore the terminal remotely controls the internet of things equipment through the internet of things platform.
In an embodiment, fig. 3 is a schematic device-side flow diagram of a method for accessing an internet of things platform in an embodiment, and referring to fig. 3, the embodiment provides a method for accessing an internet of things platform, which is applied to an internet of things device, and the method includes:
and step S310, sending the registration information to the Internet of things platform.
In this embodiment, the registration information includes device information of the internet of things device and a second product key, where the second product key is used for matching with a first product key of the internet of things platform, and determining whether the internet of things device is a device that can access the internet of things platform, and if the matching between the first product key and the second product key fails, the internet of things platform cannot allow the internet of things device to access the internet of things platform; if the first product key is successfully matched with the second product key, the internet of things equipment can be accessed to the internet of things platform, and the fact that the internet of things equipment belongs to a specific product in the internet of things platform is indicated.
Step S320, when a state modification instruction sent by the Internet of things platform is received, executing the state modification instruction, wherein the state modification instruction is used for modifying the state information from unregistered state to registered state.
In this embodiment, when the first product key and the second product key are successfully matched, the internet of things platform returns a state modification instruction to the device, and the device modifies the state information to be registered, which indicates that the internet of things device has successfully accessed the internet of things platform.
And step S330, sending the reported data to the Internet of things platform.
Specifically, the reported data comprises reported data including device attributes, event data and the like, before the internet of things device sends registration information, the internet of things device first acquires state information of the internet of things device, and if the state information of the internet of things device is registered, the internet of things device does not need to send the registration information to the internet of things platform, and the reported data can be directly sent to the internet of things platform; and if the state information of the Internet of things equipment is unregistered, sending registration information to the Internet of things platform for access, and sending the reported data after the Internet of things equipment is accessed to the Internet of things platform.
Fig. 2 and fig. 3 are respectively schematic flow charts of a method for accessing an internet of things platform in one embodiment. It should be understood that although the steps in the flowcharts of fig. 2 and 3 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2 and 3 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performing the sub-steps or stages is not necessarily sequential, but may be performed alternately or alternately with other steps or at least some of the sub-steps or stages of other steps.
In an embodiment, fig. 4 is a block diagram of a platform end structure of a device accessing a platform of an internet of things in an embodiment, and as shown in fig. 4, there is provided a device accessing a platform of an internet of things, including:
an information obtaining module 410, configured to obtain product information, where the product information includes a product category and a product model;
a product key generation module 420, configured to generate a corresponding first product key according to the product information, where the first product key is used for burning into the target device;
the information receiving module 430 is configured to receive registration information of the device to be accessed, where the registration information includes a second product key of the device to be accessed;
a verification module 440 for verifying whether the second product key matches the first product key
The connection module 450 is configured to determine that the device to be accessed is the target device and receive the report data sent by the device to be accessed when the second product key matches the first product key.
In one embodiment, the registration information further includes device information of the device to be accessed, and the connection module 450 includes:
the storage module is used for storing the equipment information and sending a state modification instruction to the equipment to be accessed to enable the equipment to be accessed to execute the state modification instruction, and the state modification instruction is used for modifying the state information of the equipment to be accessed into the registered state;
and the receiving module is used for receiving the reported data sent by the registered equipment to be accessed with the state information.
In one embodiment, the apparatus further comprises:
and the access refusing module is used for judging that the equipment to be accessed is not the target equipment when the second product key is not matched with the first product key, and refusing to receive the reported data sent by the equipment to be accessed.
In one embodiment, the apparatus further comprises:
the instruction receiving module is used for receiving a control instruction sent by the application service;
the determining module is used for determining the corresponding equipment to be controlled according to the product information and the equipment identification carried by the control instruction;
and the instruction generating module is used for sending the control instruction to the equipment to be controlled and enabling the equipment to be controlled to execute the control instruction.
In an embodiment, fig. 5 is a structural block diagram of an equipment end of a device accessing an internet of things platform in an embodiment, and referring to fig. 5, the embodiment provides a device accessing an internet of things platform, which is applied to an internet of things device, and the device includes:
an information sending module 510, configured to send registration information to an internet of things platform;
the execution module 520 is configured to execute a state modification instruction when receiving the state modification instruction sent by the internet of things platform, where the state modification instruction is used to modify state information from unregistered state to registered state;
and a data reporting module 530, configured to send the reported data to the internet of things platform.
FIG. 6 is a diagram illustrating an internal structure of a computer device in one embodiment. The computer device may specifically be the internet of things platform 120 (or the internet of things device 130, the terminal 110) in fig. 1. As shown in fig. 6, the computer apparatus includes a processor, a memory, a network interface, an input device, and a display screen connected through a system bus. Wherein the memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system and also stores a computer program, and when the computer program is executed by a processor, the computer program can enable the processor to realize a method for accessing to the platform of the internet of things. The internal memory may also store a computer program, and when the computer program is executed by the processor, the computer program may cause the processor to execute a method for accessing a platform of the internet of things. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 6 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, the apparatus for accessing an internet of things platform provided by the present application may be implemented in the form of a computer program, and the computer program may be run on a computer device as shown in fig. 6. The memory of the computer device may store various program modules constituting the apparatus for accessing the internet of things platform, such as the information obtaining module 410, the product key generating module 420, the information receiving module 430 and the connection module 450 shown in fig. 4. The computer program formed by the program modules enables the processor to execute the steps of the method for accessing the platform of the internet of things of the embodiments of the application described in the specification.
The computer device shown in fig. 6 may perform the step of obtaining product information through the information obtaining module 410 in the apparatus accessing the internet of things platform shown in fig. 4, where the product information includes a product category and a product model. The computer device may generate a corresponding first product key according to the product information through the product key generation module 420, where the first product key is used for burning into the target device. The computer device may perform receiving registration information of the device to be accessed through the information receiving module 430, where the registration information includes a second product key of the device to be accessed, and verifying whether the second product key matches the first product key. The computer device may execute, through the connection module 450, when the second product key matches the first product key, determining that the device to be accessed is the target device, and receiving the report data sent by the device to be accessed.
The computer device shown in fig. 6 may perform sending of the registration information to the internet of things platform through the information sending module 510 in the apparatus accessing the internet of things platform shown in fig. 5. The computer device may execute, through the execution module 520, a state modification instruction when receiving the state modification instruction sent by the internet of things platform, where the state modification instruction is used to modify state information from unregistered to registered. The computer device can send the reported data to the internet of things platform through the data reporting module 530.
In one embodiment, a computer device is provided, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor, and when the processor executes the computer program, the steps in any one of the above-mentioned embodiments of the method for accessing the internet of things platform are implemented.
In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, which, when being executed by a processor, realizes the steps of any one of the above-mentioned methods for accessing an internet of things platform.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by instructing the relevant hardware through a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
It is noted that, in this document, relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The foregoing are merely exemplary embodiments of the present invention, which enable those skilled in the art to understand or practice the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (10)
1. A method for accessing to an Internet of things platform is applied to the Internet of things platform, and comprises the following steps:
acquiring product information, wherein the product information comprises a product type and a product model;
generating a corresponding first product key according to the product information, wherein the first product key is used for burning into target equipment;
receiving registration information of equipment to be accessed, wherein the registration information comprises a second product key of the equipment to be accessed;
verifying whether the second product key matches the first product key;
and when the second product key is matched with the first product key, determining that the equipment to be accessed is the target equipment, and receiving reported data sent by the equipment to be accessed.
2. The method of claim 1, wherein the registration information further includes device information of the device to be accessed, and the receiving the report data sent by the device to be accessed includes:
storing the device information, and sending a state modification instruction to the device to be accessed, so that the device to be accessed executes the state modification instruction, wherein the state modification instruction is used for modifying the state information of the device to be accessed into the registered state;
and receiving reported data sent by the registered equipment to be accessed according to the state information.
3. The method of claim 1, further comprising:
and when the second product key is not matched with the first product key, judging that the equipment to be accessed is not the target equipment, and refusing to receive the reported data sent by the equipment to be accessed.
4. The method of claim 1, further comprising:
receiving a control instruction sent by an application service;
determining corresponding equipment to be controlled according to the product information and the equipment identification carried by the control instruction;
and sending the control instruction to the equipment to be controlled, and enabling the equipment to be controlled to execute the control instruction.
5. A method for accessing to an Internet of things platform is applied to Internet of things equipment, and comprises the following steps:
sending registration information to an Internet of things platform;
when a state modification instruction sent by the Internet of things platform is received, executing the state modification instruction, wherein the state modification instruction is used for modifying state information from unregistered state to registered state;
and sending reported data to the Internet of things platform.
6. The utility model provides an access device of thing networking platform which characterized in that is applied to thing networking platform, the device includes:
the information acquisition module is used for acquiring product information, and the product information comprises product types and product models;
the product key generation module is used for generating a corresponding first product key according to the product information, and the first product key is used for burning into target equipment;
the information receiving module is used for receiving registration information of the equipment to be accessed, and the registration information comprises a second product key of the equipment to be accessed;
the verification module is used for verifying whether the second product key is matched with the first product key;
and the connection module is used for judging that the equipment to be accessed is the target equipment and receiving the reported data sent by the equipment to be accessed when the second product key is matched with the first product key.
7. The apparatus of claim 6, wherein the registration information further includes device information of the device to be accessed, and wherein the connection module comprises:
the storage module is used for storing the equipment information and sending a state modification instruction to the equipment to be accessed to enable the equipment to be accessed to execute the state modification instruction, wherein the state modification instruction is used for modifying the state information of the equipment to be accessed into the registered state;
and the receiving module is used for receiving the reported data sent by the registered equipment to be accessed with the state information.
8. The utility model provides an access device of thing networking platform which characterized in that is applied to thing networking equipment, the device includes:
the information sending module is used for sending the registration information to the Internet of things platform;
the execution module is used for executing the state modification instruction when receiving the state modification instruction sent by the Internet of things platform, wherein the state modification instruction is used for modifying state information from unregistered state to registered state;
and the data reporting module is used for sending the reported data to the Internet of things platform.
9. A computer-readable storage medium, characterized in that the computer storage medium stores a computer program comprising program instructions that, when executed by a processor, cause the processor to perform the method according to any of claims 1-5.
10. An apparatus comprising a processor, an input device, an output device, and a memory, the processor, the input device, the output device, and the memory being interconnected, wherein the memory is configured to store application program code, and wherein the processor is configured to invoke the program code to perform the method of any of claims 1-5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010732482.5A CN111917758B (en) | 2020-07-27 | 2020-07-27 | Method, device, computer equipment and storage medium for accessing Internet of things platform |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010732482.5A CN111917758B (en) | 2020-07-27 | 2020-07-27 | Method, device, computer equipment and storage medium for accessing Internet of things platform |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111917758A true CN111917758A (en) | 2020-11-10 |
CN111917758B CN111917758B (en) | 2023-06-09 |
Family
ID=73280126
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010732482.5A Active CN111917758B (en) | 2020-07-27 | 2020-07-27 | Method, device, computer equipment and storage medium for accessing Internet of things platform |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111917758B (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112511653A (en) * | 2021-02-03 | 2021-03-16 | 武汉慧联无限科技有限公司 | Service authority activation method, configuration method and registration method of Internet of things equipment |
CN112565380A (en) * | 2020-11-30 | 2021-03-26 | 上海瑞眼科技有限公司 | Fire-fighting Internet of things data access method and system |
CN113162917A (en) * | 2021-03-24 | 2021-07-23 | 杭州安恒信息技术股份有限公司 | Internet of things equipment access method, system, device and storage medium |
CN113206886A (en) * | 2021-05-08 | 2021-08-03 | 深圳市信锐网科技术有限公司 | Method, device, equipment and medium for accessing equipment to Internet of things platform |
CN113839992A (en) * | 2021-08-31 | 2021-12-24 | 青岛海尔科技有限公司 | Equipment control method and device |
CN114826687A (en) * | 2022-03-30 | 2022-07-29 | 杭州博联智能科技股份有限公司 | Method, system, device and medium for edge gateway to access cloud platform |
CN115022365A (en) * | 2022-05-31 | 2022-09-06 | 新奥数能科技有限公司 | DTU equipment access method and device, electronic equipment and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB201704640D0 (en) * | 2017-03-23 | 2017-05-10 | Taberner Neil | Sceure transfer of data between internet of things devices |
CN107580054A (en) * | 2017-09-08 | 2018-01-12 | 深圳市智物联网络有限公司 | Industrial equipment Reverse Turning Control method and system based on Internet of Things |
CN110099065A (en) * | 2019-05-10 | 2019-08-06 | 北京百度网讯科技有限公司 | Internet of things equipment and authentication method, Cloud Server, processing equipment, readable medium |
CN110740424A (en) * | 2019-10-28 | 2020-01-31 | 杭州涂鸦信息技术有限公司 | networking method and system, readable storage medium and device |
CN110995308A (en) * | 2019-11-22 | 2020-04-10 | 宁波伊士通控制技术有限公司 | Terminal data acquisition system and acquisition method thereof |
CN111092949A (en) * | 2019-12-20 | 2020-05-01 | 北京百度网讯科技有限公司 | Method and device for registering equipment |
-
2020
- 2020-07-27 CN CN202010732482.5A patent/CN111917758B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB201704640D0 (en) * | 2017-03-23 | 2017-05-10 | Taberner Neil | Sceure transfer of data between internet of things devices |
CN107580054A (en) * | 2017-09-08 | 2018-01-12 | 深圳市智物联网络有限公司 | Industrial equipment Reverse Turning Control method and system based on Internet of Things |
CN110099065A (en) * | 2019-05-10 | 2019-08-06 | 北京百度网讯科技有限公司 | Internet of things equipment and authentication method, Cloud Server, processing equipment, readable medium |
CN110740424A (en) * | 2019-10-28 | 2020-01-31 | 杭州涂鸦信息技术有限公司 | networking method and system, readable storage medium and device |
CN110995308A (en) * | 2019-11-22 | 2020-04-10 | 宁波伊士通控制技术有限公司 | Terminal data acquisition system and acquisition method thereof |
CN111092949A (en) * | 2019-12-20 | 2020-05-01 | 北京百度网讯科技有限公司 | Method and device for registering equipment |
Non-Patent Citations (1)
Title |
---|
张玉杰等: "面向物联网系统历史数据服务的设计与实现", 《陕西科技大学学报》 * |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112565380A (en) * | 2020-11-30 | 2021-03-26 | 上海瑞眼科技有限公司 | Fire-fighting Internet of things data access method and system |
CN112511653A (en) * | 2021-02-03 | 2021-03-16 | 武汉慧联无限科技有限公司 | Service authority activation method, configuration method and registration method of Internet of things equipment |
CN112511653B (en) * | 2021-02-03 | 2021-05-07 | 武汉慧联无限科技有限公司 | Service authority activation method, configuration method and registration method of Internet of things equipment |
CN113162917A (en) * | 2021-03-24 | 2021-07-23 | 杭州安恒信息技术股份有限公司 | Internet of things equipment access method, system, device and storage medium |
CN113206886A (en) * | 2021-05-08 | 2021-08-03 | 深圳市信锐网科技术有限公司 | Method, device, equipment and medium for accessing equipment to Internet of things platform |
CN113839992A (en) * | 2021-08-31 | 2021-12-24 | 青岛海尔科技有限公司 | Equipment control method and device |
CN113839992B (en) * | 2021-08-31 | 2023-09-19 | 青岛海尔科技有限公司 | Equipment control method and device |
CN114826687A (en) * | 2022-03-30 | 2022-07-29 | 杭州博联智能科技股份有限公司 | Method, system, device and medium for edge gateway to access cloud platform |
CN115022365A (en) * | 2022-05-31 | 2022-09-06 | 新奥数能科技有限公司 | DTU equipment access method and device, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN111917758B (en) | 2023-06-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111917758A (en) | Method and device for accessing Internet of things platform, computer equipment and storage medium | |
CN108153670B (en) | Interface testing method and device and electronic equipment | |
CN109474578B (en) | Message checking method, device, computer equipment and storage medium | |
CN110008118B (en) | Page data testing method and device, computer equipment and storage medium | |
CN110620812B (en) | Interactive information pushing method and device, computer equipment and storage medium | |
CN109726108B (en) | Front-end code testing method, device, system and medium based on analog data | |
CN113448862B (en) | Software version testing method and device and computer equipment | |
CN108418797B (en) | Webpage access method and device, computer equipment and storage medium | |
CN113326081A (en) | Static resource processing method and device, computer equipment and storage medium | |
WO2021031905A1 (en) | Data management method, apparatus, device and system and computer-readable storage medium | |
CN110909013A (en) | Service list generation method, device, equipment and computer readable storage medium | |
CN111400777A (en) | Network storage system, user authentication method, device and equipment | |
CN112835808A (en) | Interface testing method and device, computer equipment and storage medium | |
CN115454420A (en) | Artificial intelligence algorithm model deployment system, method, equipment and storage medium | |
CN110515924B (en) | Database operation logic verification method, device, equipment and readable storage medium | |
CN116257438A (en) | Updating method of interface test case and related equipment | |
CN111222153A (en) | Application program authority management method and device and storage medium | |
CN111984520A (en) | Buried point testing method, computer device and computer-readable storage medium | |
JP7008636B2 (en) | How to check for phone number changes, devices, and systems | |
CN112559352A (en) | Interface test method, device, equipment and storage medium | |
CN109992298B (en) | Examination and approval platform expansion method and device, examination and approval platform and readable storage medium | |
CN109711124B (en) | Method, apparatus, computer device and storage medium for managing mobile device | |
CN110912959B (en) | Equipment access method and device, management and control system and electronic equipment | |
CN113326506A (en) | Applet monitoring method and device | |
CN113076112A (en) | Database deployment method and device and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20230511 Address after: 518031 room 1071, 10th floor, East Building, Xinghua building, No. 2018, Shennan Middle Road, Huaqiangbei street, Futian District, Shenzhen, Guangdong Province Applicant after: SHENZHEN BREO TECHNOLOGY Co.,Ltd. Address before: Room 1905, 19th Floor, Hisense South Building, No. 1777 Chuangye Road, Ulan Coast Community, Yuehai Street, Nanshan District, Shenzhen City, Guangdong Province, 518052 Applicant before: Shenzhen Micro Control Technology Co.,Ltd. |
|
TA01 | Transfer of patent application right | ||
GR01 | Patent grant | ||
GR01 | Patent grant |