CN114265824A - Internet of things equipment integration method based on mapping file - Google Patents

Internet of things equipment integration method based on mapping file Download PDF

Info

Publication number
CN114265824A
CN114265824A CN202111616597.9A CN202111616597A CN114265824A CN 114265824 A CN114265824 A CN 114265824A CN 202111616597 A CN202111616597 A CN 202111616597A CN 114265824 A CN114265824 A CN 114265824A
Authority
CN
China
Prior art keywords
equipment
mapping file
data
internet
things
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
Application number
CN202111616597.9A
Other languages
Chinese (zh)
Other versions
CN114265824B (en
Inventor
夏禹
苏智
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhonghe Space Beijing Technology Co ltd
Original Assignee
Zhonghe Space Beijing Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhonghe Space Beijing Technology Co ltd filed Critical Zhonghe Space Beijing Technology Co ltd
Priority to CN202111616597.9A priority Critical patent/CN114265824B/en
Publication of CN114265824A publication Critical patent/CN114265824A/en
Application granted granted Critical
Publication of CN114265824B publication Critical patent/CN114265824B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention relates to an Internet of things equipment integration method based on a mapping file, belongs to the technical field of intelligent Internet of things construction, and solves the problems of poor flexibility and poor expandability of the existing Internet of things equipment integration mode. An Internet of things equipment integration method based on a mapping file comprises the following steps: storing the mapping file into a cloud file system; when the mapping file analysis system monitors that a mapping file is newly added in the cloud file system, the mapping file analysis is executed: analyzing each item of content from the mapping file; sending the analyzed data format to a form system so that the form system can obtain a form template matched with the data format; acquiring equipment target data of the Internet of things equipment according to the analyzed access interface configuration information and the equipment identification information, and sending the equipment target data to a form system; the form system stores the device target data to the form template.

Description

Internet of things equipment integration method based on mapping file
Technical Field
The invention relates to the technical field of intelligent Internet of things construction, in particular to an Internet of things equipment integration method based on a mapping file.
Background
In the field of intelligent Internet of things construction, hardware equipment with a networking function is various in types. A huge device group comes from different hardware manufacturers, and each device group has a unique software environment and a unique data background. But overall, the method for accessing the internet of things device by a general user is similar, and a basic system model for accessing the internet of things device is shown in fig. 1. In this system model, three components are mentioned:
1. internet of things equipment located in specific equipment installation environment
2. Internet-based [ device access data platform ] is generally provided by device manufacturers
3. Device access operation interface for end user
Internet of things (lot) devices produced by device manufacturers are immutable objects with fixed functions and provided to users as final stable products. Although most devices are purchased and then put into use, and there may be processes for device installation and maintenance in a particular environment, these matters are generally relatively well-defined entity elements either because of their simplicity, their discretion by the user, or their responsibility within the manufacturer's lot of devices.
In the process that an end user accesses the equipment of the Internet of things, the actual end is directly faced with an equipment access operation interface; before the interface is contacted, an internet-based [ device access data platform ] is generally needed to realize basic function management of the target device. The two elements are the most different from the device in that the device is a physically present entity, and the two are software services in nature.
Admittedly, equipment manufacturers can take the equipment access data platform and the equipment access operation interface as the functions matched with the Internet of things equipment products, or directly or indirectly provide the functions for users, so as to achieve the closed loop of the Internet of things system; however, in this link, the [ device access operation interface ] that the end user contacts is not provided only by the manufacturer. In the prior art, a closed loop of an internet of things system can be formed in various ways, and a main implementation manner is shown in fig. 2.
In the practical application process, one user may need to purchase various physical devices, which is inevitable; but as a software service, it is not as simple as "more and better". The situation for this problem is: under the environment of a single Internet of things device, a device manufacturer can directly provide a device access operation interface for an end user, and the requirement of a single device user can be generally met; even though the user uses a plurality of or a plurality of devices, the devices are provided by the same manufacturer, so the device access operation interface provided by the device manufacturer can also incorporate the devices. The schematic diagram of the situation that the simultaneous existence of multiple internet of things devices from different manufacturers makes the end user face a plurality of devices to access the operation interface is shown in fig. 3. If the internet of things device environment where the user is located is not a single device any longer, not only the devices of one manufacturer but also multiple types of devices from different device manufacturers, in order to access multiple internet of things devices operating in the same device installation environment, the user may need to simultaneously contact and use multiple different sets of devices (device access operation interfaces), which undoubtedly brings great inconvenience to the daily use of the user. In this case, a "unified" device access operation interface is required to be the most desirable target for such users.
The method provides a uniform equipment access operation interface for the management of various Internet of things equipment of multiple manufacturers by an end user, and can be started from the following modes:
1. the user self-develops an interface meeting the self-demand based on the SDK provided by the manufacturer (the application technology threshold of the user is raised)
2. Seeking to concentrate on the integrator of the integrated service, to make a customized service to assist the solution (the user needs to pay extra high funds)
3. An existing and flexibly extensible integration platform is sought to carry out relatively simple self-defined integration so as to achieve the aim (the user needs to pay extra and less funds to achieve the aim)
The common point of the three modes is that the equipment access operation interface originally provided by the manufacturer is not used, and the equipment access operation interface is customized through different channels. Only by doing so can the problem be solved how the access operations from devices of different vendors are "unified". The users self-research and search integrators, which are essentially the same, need someone to integrate devices of different manufacturers, or do the integration by themselves or spend money for a person, and the result is that the end users pay more cost. And an existing 'integration platform' technically unifies the work, reusability of development investment is improved, and an end user only needs to spend little cost, namely the end user is customized compared with self-research and all entrusted integration merchants, which is undoubtedly the most friendly scheme for the end user. However, how to obtain an internet of things device integration mode with strong flexibility and strong expansibility is an urgent problem to be solved.
Disclosure of Invention
In view of the foregoing analysis, embodiments of the present invention provide an internet of things device integration method based on a mapping file, so as to solve the problems of poor flexibility and poor expandability of the existing internet of things device integration method.
The invention discloses an Internet of things equipment integration method based on a mapping file, which comprises the following steps:
storing the mapping file into a cloud file system; one mapping file indicates equipment access interface information of a single internet of things equipment, wherein the equipment access interface information comprises access interface configuration information, equipment identification information and a data format of an access interface;
when the mapping file analysis system monitors that a mapping file is newly added in the cloud file system, executing the mapping file analysis, wherein the mapping file analysis comprises the following steps:
analyzing each item of content from the mapping file;
sending the analyzed data format to a form system so that the form system can obtain a form template matched with the data format;
acquiring equipment target data of the Internet of things equipment according to the analyzed access interface configuration information and the equipment identification information, and sending the equipment target data to a form system;
the form system stores the device target data to the form template;
the device identification information includes a device type unique identifier and a device unique identifier.
On the basis of the scheme, the following improvements are made:
furthermore, each item of content in the mapping file is organized according to an agreed format;
parsing the contents from the mapping file by performing the following operations:
carrying out format verification on the mapping file according to the agreed format;
if the format passes the verification, analyzing each content in the mapping file;
otherwise, prompting to report error and stopping the analysis of the mapping file.
Further, after analyzing each item of content from the mapping file, the following steps are also executed:
judging whether the Internet of things equipment is in an effective state or not based on the analyzed equipment identification information, and if so, sending the analyzed data format to a form system;
otherwise, the mapping file analysis is interrupted.
Further, the data format of the access interface includes:
the data structure is used for describing key fields related to the device target data of the Internet of things device;
and the data structure unique identifier is used for uniquely identifying the data structure based on the equipment type unique identifier.
Further, the form system obtains a form template that matches the data format by performing the following operations:
the form system inquires whether a form template with the same data structure unique identifier is stored in the form system according to the data structure unique identifier,
if the form template is stored, recording the form template as a form template matched with the data format;
and if not, creating a new form template according to the unique identifier of the data structure, setting key fields in the new form template according to the data structure, and recording the form template with the set key fields as the form template matched with the data format.
Further, the access interface configuration information comprises an access interface address and security verification information;
the mapping file analysis system acquires the equipment target data of the Internet of things equipment by executing the following operations:
reading the access interface address and linking to an equipment access interface platform;
generating a device interface request using the security authentication information and the device unique identifier; the equipment interface request is used for inquiring equipment data of current Internet of things equipment;
if the equipment interface request is successful, the mapping file analysis system acquires the equipment data from the equipment access interface platform and extracts the equipment target data from the equipment data.
Further, if the device interface request is wrong and the device is not present or the authority is invalid, marking the current internet of things device as an invalid state, and interrupting the analysis of the mapping file;
otherwise, marking the current Internet of things equipment in an offline state, and taking the obtained latest equipment data of the current Internet of things equipment in the offline state as the equipment target data.
Further, the access interface configuration information further includes the following options: specifying device data parameters;
the obtaining of the device target data of the internet of things device according to the access interface configuration information further includes:
if the access interface configuration information does not include the specified equipment data parameters, directly extracting the latest data in the equipment data as equipment target data;
and if not, extracting the equipment data meeting the parameter requirement of the specified equipment data as the equipment target data.
Further, the device access interface information also includes an access cycle;
the form system stores the equipment target data into the form template and then feeds back the equipment target data to a mapping file analysis system to finish equipment target data storage; the mapping file analysis system receives the data storage of the device target which is fed back by the form system and is completed, judges whether a next access cycle exists or not,
if yes, jumping to the step of judging whether the Internet of things equipment is in an effective state or not when the next access cycle is reached;
otherwise, the access interface data processing is completed.
Further, when the mapping file analysis system monitors that the mapping file stored in the cloud file system is deleted, the analysis of the deleted mapping file is stopped.
Compared with the prior art, the invention can realize at least one of the following beneficial effects:
the method for integrating the Internet of things equipment based on the mapping file provided by the embodiment of the invention has the following beneficial effects:
1. the flexibility and the expandability are strong; by designing a mapping file for indicating the equipment access interface information of the single Internet of things equipment and utilizing a mapping file analysis system, the equipment target data of the Internet of things equipment can be acquired, and the acquired equipment target data is stored in a form system. Therefore, the integration method in the embodiment has strong flexibility and expandability.
2. The mapping file is convenient to manage;
on one hand, a uniform mapping file organization format is set, so that different equipment manufacturers can conveniently generate the mapping file of the Internet of things equipment according to an agreed format;
on the other hand, the internet of things equipment can be managed in a file form, specifically, a mapping file is uploaded and stored, namely, the connection with the internet of things equipment indicated by the mapping file is established; deleting a mapping file, namely disconnecting the connection with the Internet of things equipment indicated by the mapping file;
3. by enriching the content of the mapping file and fully utilizing the mapping file in the working process of realizing the acquisition and storage of the equipment target data by the cooperation of the mapping file analysis system and the form system, the confirmation of the effective/invalid state of the equipment, the confirmation of the offline/online state of the equipment and the confirmation of whether the equipment target data needs early warning can be realized, so that the function of the visual integrated system of the equipment of the Internet of things is enriched. It should be noted that after the device target data is acquired, based on the device target data, subsequent work such as device target data analysis processing and visual display can be executed, so that functions and use scenes of the visual integrated system of the internet of things device are effectively expanded;
4. the implementation process is simple and efficient, and the access cost of the Internet of things equipment can be reduced to the greatest extent; in addition, the integration method has high customization degree, and can achieve the best integration effect under the condition of lower cost.
In the invention, the technical schemes can be combined with each other to realize more preferable combination schemes. Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and drawings.
Drawings
The drawings are only for purposes of illustrating particular embodiments and are not to be construed as limiting the invention, wherein like reference numerals are used to designate like parts throughout.
FIG. 1 is a basic system model for accessing Internet of things devices;
FIG. 2 is a main implementation of forming a closed loop of the "Internet of things" system;
FIG. 3 is a schematic diagram of a situation where multiple types of Internet of things devices from different vendors coexist, so that an end user is confronted with a plurality of devices to access an operation interface;
fig. 4 is a flowchart of an internet of things device integration method based on a mapping file according to an embodiment of the present invention;
fig. 5 is a flowchart of a work flow of the mapping file analyzing system and the form system cooperatively achieving device target data acquisition and storage.
Detailed Description
The accompanying drawings, which are incorporated in and constitute a part of this application, illustrate preferred embodiments of the invention and together with the description, serve to explain the principles of the invention and not to limit the scope of the invention.
The invention discloses a specific embodiment of an Internet of things equipment integration method based on a mapping file, wherein the flow chart of the integration method is shown in figure 4, and the integration method comprises the following steps:
step S1: storing the mapping file into a cloud file system;
the mapping file is the core for implementing the scheme in this embodiment, and therefore, the following description is first made for the mapping file:
in this embodiment, one mapping file indicates device access interface information of a single internet of things device. When a manufacturer of the internet of things equipment wants to access the internet of things equipment through the equipment access data platform, equipment access interface information needs to be recorded: the manufacturer must cooperate with the parameters of the internet-of-things device to connect to the corresponding internet-of-things device according to a given network data interface (possibly with corresponding network protocol information). In the mapping file, the manufacturer needs to record the device access interface information. In order to enable different internet of things devices produced by different manufacturers to uniformly record device access interface information in a relatively simple and uniform manner, the device access interface information in the mapping file must also be provided in a uniform and agreed format (for example, in JSON text), and includes the following contents:
1. accessing interface configuration information, including: the following necessary options: accessing the interface address and the security verification information; optional items: specifying device data parameters; wherein the content of the first and second substances,
the access interface addresses must be unified in a relatively universal and secure network protocol (e.g., https post); the equipment access interface platform of the equipment of the Internet of things can be linked through the access interface address.
The security verification information is used for accessing the device access interface platform, and illustratively, the security verification information may be a user access key, or an access token is generated based on the security verification information and the device unique identifier, so as to improve the access efficiency of the device access interface platform;
specifying device data parameters indicating parameter requirements for device target data that needs to be extracted, e.g., collecting data for a certain period of time, collecting data that exceeds a certain threshold, etc.
2. The equipment identification information comprises an equipment type unique identifier and an equipment unique identifier; wherein the content of the first and second substances,
the unique equipment type identifier is used for uniquely identifying the equipment type of the current Internet of things equipment;
the unique equipment identifier is used for uniquely identifying the identification information of the equipment of the Internet of things equipment under the current equipment type;
the unique device type identifier and the unique device identifier are uniquely set by a manufacturer, and one piece of Internet of things device can be distinguished from other pieces of Internet of things device through the unique device type identifier and the unique device identifier.
3. A data format for an access interface comprising:
the data structure is used for describing key fields related to the device target data of the Internet of things device;
and the data structure unique identifier is used for uniquely identifying the data structure based on the equipment type unique identifier.
In addition, to further extend the functionality of the integration method, the device access interface information may further include the following:
4. data state alarm information; the data state alarm information comprises alarm fields and alarm conditions of each alarm field; wherein the content of the first and second substances,
setting one or more key fields in the data structure as the alert field;
setting corresponding alarm conditions for each alarm field;
5. an access cycle;
the mapping file analyzing system periodically analyzes the mapping file according to the access period;
the device access interface information is information provided by a hardware manufacturer to create a corresponding "mapping file" for the device. The contents in the device access interface information are organized by some relatively simple structure (e.g. a text file in JSON format) to facilitate filling out by hardware manufacturers. That is, the contents in the mapping file are organized according to a convention format.
Here, the following description is also made of the mapping file stored in the cloud file system:
a mapping file of the Internet of things equipment is used as a computer file, and a file system is needed to manage the mapping file at a file level in the whole system. Because the internet of things device connection must pass through the internet to realize the functions of the internet of things device connection, the file system must also be a cloud file system. In the cloud file system, a device mapping file represents an actual physical hardware device — as long as an end user uploads and stores a valid device mapping file to a cloud disk, the end user can interface and manage access to the hardware device in the cloud file system (unless the device corresponding to the mapping file is offline or the data of the mapping file is incorrect).
As a cloud file system, the system has a basic file management function. Meanwhile, the file online display function is also supported: namely, the file is directly opened in the cloud file system without downloading. In the method, the management platform integrates the butted hardware equipment as if managing each file in the file system:
uploading and storing a mapping file, namely establishing connection with the Internet of things equipment indicated by the mapping file;
deleting a mapping file, namely disconnecting the connection with the Internet of things equipment indicated by the mapping file;
and opening a mapping file, opening a console of the equipment, and performing real-time control (the mapping file needs to contain a corresponding interface).
Step S2: when the mapping file analysis system monitors that a mapping file is newly added in the cloud file system, executing the mapping file analysis, wherein the mapping file analysis comprises the following steps:
step S21: analyzing each item of content from the mapping file; specifically, the following is performed:
carrying out format verification on the mapping file according to the agreed format;
if the format passes the verification, analyzing each content in the mapping file;
otherwise, prompting to report error and stopping the analysis of the mapping file.
Preferably, after parsing each item of content from the mapping file, further performing:
judging whether the Internet of things equipment is in an effective state or not based on the analyzed equipment identification information, and if so, sending the analyzed data format to a form system;
otherwise, the mapping file analysis is interrupted.
Step S22: sending the analyzed data format to a form system so that the form system can obtain a form template matched with the data format;
the form is a system which can design a template of a form field, and then form instance data according to the form template to form a form with an uncertain data format. The form system is a common software system, and can well support various data, especially in the process of integrating internet of things devices, when various different devices face and the device data with different data structures needs to be stored, the form system is very necessary. The custom form in the form system needs to support the data types (character strings, integers, floating point numbers, enumerated values, embedded pictures, embedded sound files and the like) of common equipment state information, and supports format matching search form templates (used for corresponding interface requests and storage of different equipment data), and under a specific form template, data addition, deletion, modification and check of form instance data (forms) are performed, and the state information of each equipment is acquired and recorded in real time in cooperation with the equipment access interface analysis function in the mapping file analysis system.
The process of sending the analyzed data format to the form system is simple and is not explained too much. Here, the following implementation process of the form system to obtain the form template matching the data format is mainly described:
the form system inquires whether a form template with the same data structure unique identifier is stored in the form system according to the data structure unique identifier,
if the form template is stored, recording the form template as a form template matched with the data format;
and if not, creating a new form template according to the unique identifier of the data structure, setting key fields in the new form template according to the data structure, and recording the form template with the set key fields as the form template matched with the data format.
Step S23: acquiring equipment target data of the Internet of things equipment according to the analyzed access interface configuration information and the equipment identification information, and sending the equipment target data to a form system; in particular, the amount of the solvent to be used,
step S231: reading the access interface address and linking to an equipment access interface platform;
step S232: generating a device interface request using the security authentication information and the device unique identifier; the equipment interface request is used for inquiring equipment data of current Internet of things equipment;
if the equipment interface request is successful, the mapping file analysis system acquires the equipment data from the equipment access interface platform and extracts the equipment target data from the equipment data;
if the equipment interface request is wrong and the equipment is not available or the authority is invalid, marking the current Internet of things equipment as an invalid state, and interrupting the analysis of the mapping file;
otherwise, marking the current Internet of things equipment in an offline state, and taking the obtained latest equipment data of the current Internet of things equipment in the offline state as the equipment target data.
In addition, the obtaining of the device target data of the internet of things device according to the access interface configuration information further includes:
if the access interface configuration information does not include the specified equipment data parameters, directly extracting the latest data in the equipment data as equipment target data;
and if not, extracting the equipment data meeting the parameter requirement of the specified equipment data as the equipment target data.
Step S3: the form system stores the device target data to the form template.
Here, it should be noted that: and if the equipment access interface information also comprises data state alarm information and the equipment target data stored in the form template accords with the alarm condition, the form system also generates corresponding alarm information.
Step S4: the form system stores the equipment target data into the form template and then feeds back the equipment target data to a mapping file analysis system to finish equipment target data storage; the mapping file analysis system receives the data storage of the device target which is fed back by the form system and is completed, judges whether a next access cycle exists or not,
if yes, jumping to the step of judging whether the Internet of things equipment is in an effective state or not when the next access cycle is reached;
otherwise, the access interface data processing is completed.
Step S5: when the mapping file analysis system monitors that the mapping file stored in the cloud file system is deleted, the analysis of the deleted mapping file is stopped.
In this embodiment, a working flow chart of the mapping file analysis system and the form system cooperating to achieve the device target data acquisition and storage is shown in fig. 5, where the working flow chart describes in detail the whole process of the mapping file analysis system acquiring and storing one piece of device target data to the form system according to the device access interface information. Next, the work flow diagram in fig. 5 will be described in text:
step 5-1: when the access cycle loop entry is reached, the mapping file analysis system judges whether the Internet of things equipment is in an effective state or not (it needs to be explained that the default Internet of things equipment is in the effective state, but the Internet of things equipment may be marked as an invalid state in the process of analyzing equipment target data associated with the mapping file)
If yes, continuing to execute the mapping file analysis; performing step 5-2;
otherwise, the mapping file analysis is interrupted.
Step 5-2: the mapping file analysis system sends the analyzed data format to a form system;
step 5-3: the form system is based on obtaining a form template that matches the data format; in particular, the amount of the solvent to be used,
the form system inquires whether a form template with the same unique data structure identifier is stored in the form system according to the unique data structure identifier,
if the form template is stored, recording the form template as a form template matched with the data format;
if not, a new form template is created according to the unique identifier of the data structure; setting key fields in the new form template according to the data structure, and recording the form template with the set key fields as the form template matched with the data format;
meanwhile, if the equipment access interface information comprises data state alarm information, one or more key fields in the form template are set as alarm fields according to the data state alarm information;
after the complete information of the form template is obtained, recording the form template as a form template corresponding to the Internet of things equipment; feeding back the data format of the equipment to the mapping file analysis system;
step 5-4: after receiving the feedback and finishing the processing of the equipment data format, the mapping file analysis system starts to acquire equipment target data; in particular, the amount of the solvent to be used,
reading the access interface address and linking to an equipment access interface platform;
generating a device interface request using the security authentication information and the device unique identifier; the equipment interface request is used for inquiring equipment data of current Internet of things equipment;
if the equipment interface request is successful, the mapping file analysis system acquires the equipment data from the equipment access interface platform and extracts the equipment target data from the equipment data;
if the equipment interface request is wrong and the equipment is not available or the authority is invalid, marking the current Internet of things equipment as an invalid state, and interrupting the analysis of the mapping file;
otherwise, marking the current Internet of things equipment in an offline state, and taking the obtained latest equipment data of the current Internet of things equipment in the offline state as the equipment target data;
step 5-5: after the acquisition of the equipment target data is completed, the equipment target data is stored in a form template corresponding to the Internet of things equipment;
creating a new form instance in the form template, and recording device target data (in some cases, the latest state of the device, namely the latest data in the device data) in the created form instance;
if a certain field of the form is an alarm field and the data of the field in the form example gives an alarm, generating an alarm message, then completing recording and creating corresponding return data;
otherwise, directly completing the recording and creating corresponding return data;
and 5-6: feeding back the returned data to a mapping file analysis system to complete the closed loop of storing the data to the form;
meanwhile, or the returned data contains alarm information, and the mapping file analysis system can also send the alarm information through a message system;
and 5-7: the mapped file parsing system also determines whether there is a next access cycle,
if yes, the access cycle loop exit is reached, and the next access cycle is waited to arrive; after the next access cycle comes, jumping to the step 5-1;
if not, the processing of the access interface data is finished.
In addition, it should be noted that after step 5-4 is executed, the internet of things device may be in an online or offline state under an effective condition, and the device online or offline state corresponding to the current device target data may also be synchronized into the form template, so as to obtain clearer and more complete device data information. Therefore, by fully utilizing the interactive process of the mapping file analysis system and the form system, a lot of valuable information can be obtained. In addition, after the device target data is acquired, based on the device target data, subsequent work such as device target data analysis processing and visual display can be executed, and therefore functions and use scenes of the Internet of things device integration method are effectively expanded.
Those skilled in the art will appreciate that all or part of the flow of the method implementing the above embodiments may be implemented by a computer program, which is stored in a computer readable storage medium, to instruct related hardware. The computer readable storage medium is a magnetic disk, an optical disk, a read-only memory or a random access memory.
The above description is only for the preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention.

Claims (10)

1. An Internet of things equipment integration method based on a mapping file is characterized by comprising the following steps:
storing the mapping file into a cloud file system; one mapping file indicates equipment access interface information of a single internet of things equipment, wherein the equipment access interface information comprises access interface configuration information, equipment identification information and a data format of an access interface;
when the mapping file analysis system monitors that a mapping file is newly added in the cloud file system, executing the mapping file analysis, wherein the mapping file analysis comprises the following steps:
analyzing each item of content from the mapping file;
sending the analyzed data format to a form system so that the form system can obtain a form template matched with the data format;
acquiring equipment target data of the Internet of things equipment according to the analyzed access interface configuration information and the equipment identification information, and sending the equipment target data to a form system;
the form system stores the device target data to the form template;
the device identification information includes a device type unique identifier and a device unique identifier.
2. The Internet of things equipment integration method based on the mapping file as claimed in claim 1, wherein each item of content in the mapping file is organized according to an agreed format;
parsing the contents from the mapping file by performing the following operations:
carrying out format verification on the mapping file according to the agreed format;
if the format passes the verification, analyzing each content in the mapping file;
otherwise, prompting to report error and stopping the analysis of the mapping file.
3. The method for integrating devices of the internet of things based on the mapping file as claimed in claim 1, wherein after parsing the mapping file, further performing:
judging whether the Internet of things equipment is in a valid state or not based on the analyzed equipment identification information,
if yes, sending the analyzed data format to a form system;
otherwise, the mapping file analysis is interrupted.
4. The mapping file-based internet of things device integration method according to claim 1, wherein the data format of the access interface comprises:
the data structure is used for describing key fields related to the device target data of the Internet of things device;
and the data structure unique identifier is used for uniquely identifying the data structure based on the equipment type unique identifier.
5. The mapping file-based Internet of things device integration method as claimed in claim 4, wherein the form system obtains the form template matched with the data format by performing the following operations:
the form system inquires whether a form template with the same data structure unique identifier is stored in the form system according to the data structure unique identifier,
if the form template is stored, recording the form template as a form template matched with the data format;
and if not, creating a new form template according to the unique identifier of the data structure, setting key fields in the new form template according to the data structure, and recording the form template with the set key fields as the form template matched with the data format.
6. The mapping file-based Internet of things device integration method according to any one of claims 1-5, wherein the access interface configuration information comprises an access interface address and security verification information;
the mapping file analysis system acquires the equipment target data of the Internet of things equipment by executing the following operations:
reading the access interface address and linking to an equipment access interface platform;
generating a device interface request using the security authentication information and the device unique identifier; the equipment interface request is used for inquiring equipment data of current Internet of things equipment;
if the equipment interface request is successful, the mapping file analysis system acquires the equipment data from the equipment access interface platform and extracts the equipment target data from the equipment data.
7. The mapping file-based Internet of things device integration method of claim 6,
if the equipment interface request is wrong and the equipment is not available or the authority is invalid, marking the current Internet of things equipment as an invalid state, and interrupting the analysis of the mapping file;
otherwise, marking the current Internet of things equipment in an offline state, and taking the obtained latest equipment data of the current Internet of things equipment in the offline state as the equipment target data.
8. The mapping file-based internet of things device integration method as claimed in claim 6, wherein the access interface configuration information further comprises the following options: specifying device data parameters;
the obtaining of the device target data of the internet of things device according to the access interface configuration information further includes:
if the access interface configuration information does not include the specified equipment data parameters, directly extracting the latest data in the equipment data as equipment target data;
and if not, extracting the equipment data meeting the parameter requirement of the specified equipment data as the equipment target data.
9. The mapping file-based Internet of things device integration method according to claim 3, wherein the device access interface information further includes an access period;
the form system stores the equipment target data into the form template and then feeds back the equipment target data to a mapping file analysis system to finish equipment target data storage; the mapping file analysis system receives the data storage of the device target which is fed back by the form system and is completed, judges whether a next access cycle exists or not,
if yes, jumping to the step of judging whether the Internet of things equipment is in an effective state or not when the next access cycle is reached;
otherwise, the access interface data processing is completed.
10. The mapping file-based internet of things device integration method according to claim 9, wherein when the mapping file parsing system monitors that the mapping file stored in the cloud file system is deleted, the parsing of the deleted mapping file is stopped.
CN202111616597.9A 2021-12-27 2021-12-27 Internet of things equipment integration method based on mapping file Active CN114265824B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111616597.9A CN114265824B (en) 2021-12-27 2021-12-27 Internet of things equipment integration method based on mapping file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111616597.9A CN114265824B (en) 2021-12-27 2021-12-27 Internet of things equipment integration method based on mapping file

Publications (2)

Publication Number Publication Date
CN114265824A true CN114265824A (en) 2022-04-01
CN114265824B CN114265824B (en) 2022-07-01

Family

ID=80830624

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111616597.9A Active CN114265824B (en) 2021-12-27 2021-12-27 Internet of things equipment integration method based on mapping file

Country Status (1)

Country Link
CN (1) CN114265824B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102946423A (en) * 2012-10-31 2013-02-27 中国运载火箭技术研究院 Data mapping and pushing system and method based on distributed system architecture
US20170083534A1 (en) * 2015-09-23 2017-03-23 Smugmug, Inc. Multi-device upload integration application
CN108255905A (en) * 2017-05-04 2018-07-06 平安科技(深圳)有限公司 Interface calls data processing method, device and computer equipment
CN110765112A (en) * 2019-10-29 2020-02-07 国网电子商务有限公司 Energy equipment data association method and system based on Internet of things identification technology
WO2020123684A1 (en) * 2018-12-11 2020-06-18 block.one Systems and methods for creating a verified digital association
CN111935223A (en) * 2020-07-08 2020-11-13 吴静昱 Internet of things equipment processing method based on 5G and cloud computing center
CN112379997A (en) * 2020-10-16 2021-02-19 浪潮通用软件有限公司 Server-side equipment integrated control method
CN113377850A (en) * 2021-06-09 2021-09-10 深圳前海墨斯科技有限公司 Big data technology platform of cognitive Internet of things

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102946423A (en) * 2012-10-31 2013-02-27 中国运载火箭技术研究院 Data mapping and pushing system and method based on distributed system architecture
US20170083534A1 (en) * 2015-09-23 2017-03-23 Smugmug, Inc. Multi-device upload integration application
CN108255905A (en) * 2017-05-04 2018-07-06 平安科技(深圳)有限公司 Interface calls data processing method, device and computer equipment
WO2020123684A1 (en) * 2018-12-11 2020-06-18 block.one Systems and methods for creating a verified digital association
CN110765112A (en) * 2019-10-29 2020-02-07 国网电子商务有限公司 Energy equipment data association method and system based on Internet of things identification technology
CN111935223A (en) * 2020-07-08 2020-11-13 吴静昱 Internet of things equipment processing method based on 5G and cloud computing center
CN112379997A (en) * 2020-10-16 2021-02-19 浪潮通用软件有限公司 Server-side equipment integrated control method
CN113377850A (en) * 2021-06-09 2021-09-10 深圳前海墨斯科技有限公司 Big data technology platform of cognitive Internet of things

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
丁野: "安防设备集成信息管理平台的设计与实现", 《中国优秀博硕士学位论文全文数据库(硕士) 信息科技辑》, 15 January 2020 (2020-01-15) *
胡先涛,张林勇: "某集团物联网集成平台设计", 《智能建筑与智慧城市》, 25 September 2014 (2014-09-25) *

Also Published As

Publication number Publication date
CN114265824B (en) 2022-07-01

Similar Documents

Publication Publication Date Title
JP3626458B2 (en) Log collection analysis system, log collection method, log collection program to be executed by computer, log analysis method, log analysis program to be executed by computer, log collection device, log analysis device, log collection terminal, log server
CN105678872B (en) A kind of access control system and its authorization method and access control terminal equipment
CN105141972B (en) A kind of video editing method and device
Parra et al. Context awareness for dynamic service-oriented product lines
WO2017177830A1 (en) Two-dimensional code-based method and system for seeking ward
CN110598280A (en) Equipment simulation system and method and computer readable storage medium
CN103517093B (en) Message processing device and information processing method and information communication system
CN109743349B (en) File management method, system and equipment based on rail transit
CN110225039A (en) Authority models acquisition, method for authenticating, gateway, server and storage medium
CN114265824B (en) Internet of things equipment integration method based on mapping file
CN114281787B (en) Internet of things equipment integration system based on mapping file
CN114265823B (en) Internet of things equipment visualization integration system and method based on mapping file
CN105719216A (en) E-government platform information data processing method
CN116466930A (en) Construction method, message processing method and device of intelligent customer service model and electronic equipment
CN115878702A (en) Method, device and equipment for realizing operation and maintenance data acquisition
CN108920349A (en) The management method and device of daily record data
CN114070856B (en) Data processing method, device, system, operation and maintenance auditing equipment and storage medium
CN115659306A (en) Article acquisition permission sharing method and device, storage medium and electronic equipment
Garcia et al. SmartThings event export using SmartApps
CN112164157A (en) Real-time supervision method and system for equipment with lock based on Internet of things
CN110989977A (en) Intelligent home environment personalized customization method for disabled people
CN112235367A (en) Method, system, terminal and storage medium for subscribing entity behavior relation message
JP2011065367A (en) Device, program and method for managing workflow
CN113971191A (en) Data import method and device and computer readable storage medium
CN109685392A (en) A kind of asset equipment binding method and system

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
GR01 Patent grant
GR01 Patent grant