Nothing Special   »   [go: up one dir, main page]

CN114265823A - Internet of things equipment visualization integration system and method based on mapping file - Google Patents

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

Info

Publication number
CN114265823A
CN114265823A CN202111612789.2A CN202111612789A CN114265823A CN 114265823 A CN114265823 A CN 114265823A CN 202111612789 A CN202111612789 A CN 202111612789A CN 114265823 A CN114265823 A CN 114265823A
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
CN202111612789.2A
Other languages
Chinese (zh)
Other versions
CN114265823B (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 CN202111612789.2A priority Critical patent/CN114265823B/en
Publication of CN114265823A publication Critical patent/CN114265823A/en
Application granted granted Critical
Publication of CN114265823B publication Critical patent/CN114265823B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention relates to a mapping file-based visual integration system and method for Internet of things equipment, belongs to the technical field of intelligent Internet of things construction, and solves the problems that the existing Internet of things equipment integration mode is poor in flexibility and expandability and users cannot view results. The visualization integration system includes: the cloud file system is used for storing the mapping file of the Internet of things equipment; the mapping file includes: the required option, equipment access interface information; optional items: the equipment accesses a webpage link of the operation interface; the mapping file analysis system executes: analyzing the content of the mapping file; analyzing equipment target data; the form system is used for obtaining a form template matched with the equipment access interface information and storing equipment target data into the form template to form data; the form data is also fed back to a mapping file analysis system; and the visual display interface is used for visually displaying the form data and the equipment access operation interface linked to the webpage link.

Description

Internet of things equipment visualization integration system and method based on mapping file
Technical Field
The invention relates to the technical field of intelligent Internet of things construction, in particular to a mapping file-based Internet of things equipment visualization integration system and method.
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. In addition, a large amount of data can be generated after the internet of things equipment is integrated, and how to facilitate a user to check the integrated data of the internet of things equipment is a problem to be considered.
Disclosure of Invention
In view of the foregoing analysis, embodiments of the present invention are directed to providing a mapping file-based internet-of-things device visualization integration system and method, so as to solve the problems of poor flexibility and poor expandability of the existing internet-of-things device integration method and facilitate the user to view the existing internet-of-things device integration method.
In one aspect, the invention provides an internet of things device visualization integration system based on a mapping file, which includes:
the cloud file system is used for storing the mapping file of the Internet of things equipment; wherein, a mapping file indicates a single internet of things device, including: the required option, equipment access interface information; optional items: the equipment accesses a webpage link of the operation interface;
the mapping file analysis system executes:
analyzing the content of the mapping file, wherein the analyzing is used for analyzing each content in the mapping file;
analyzing the device target data associated with the mapping file based on the device access interface information, and acquiring the device target data;
the form system is used for obtaining a form template matched with the equipment access interface information and storing the equipment target data into the form template to form data; form data are fed back to the mapping file analysis system;
and the visual display interface is used for visually displaying the form data and the equipment access operation interface linked to the webpage link.
On the basis of the scheme, the invention also makes the following improvements:
further, one or more file display windows are arranged in the visual display interface;
and each file display window is bound with a mapping file and used for displaying and analyzing form data and an equipment access operation interface obtained by the bound mapping files.
Further, the device access interface information includes an access interface address, security verification information, device identification information, and a data format of the access interface; the device identification information includes a device type unique identifier and a device unique identifier.
Further, the webpage link is linked to the corresponding equipment access operation interface based on the safety verification information and the equipment unique identification.
Further, based on the device target data analysis of mapping file association realized by the device access interface information, executing:
sending the analyzed data format to a form system so that the form system can obtain a form template matched with the data format based on the data format;
and acquiring equipment target data of the Internet of things equipment according to the analyzed access interface address, the analyzed safety verification information and the analyzed equipment identification information, and sending the equipment target data to the form system.
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 obtaining a form template that matches the device access interface information, comprising:
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 the data structure is not stored, 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 in the equipment access interface information.
Further, the equipment access interface information also comprises data state alarm information; the data state alarm information comprises alarm fields and alarm conditions of each alarm field; wherein,
setting one or more key fields in the data structure as the alert field;
setting corresponding alarm conditions for each alarm field; if the equipment target data stored in the form template accords with the alarm condition, the form system also generates corresponding alarm information;
and in the visual display interface, visually displaying the alarm information in a special marking mode.
Further, device target data is obtained by performing 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;
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 target data analysis of the equipment;
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.
On the other hand, a mapping file-based visualization integration method for equipment of the internet of things is provided, and comprises the following steps:
storing the mapping file into a cloud file system; a mapping file indicating a single internet of things device, comprising: the required option, equipment access interface information; optional items: the equipment accesses a webpage link of the operation interface;
when the mapping file analysis system monitors that the mapping file is newly added in the cloud file system, executing the following steps:
analyzing the content of the mapping file to analyze each content in the mapping file;
analyzing the device target data associated with the mapping file based on the device access interface information to obtain the device target data;
the form system obtains a form template matched with the data format based on the equipment access interface information, and stores the equipment target data into the form template to form data; form data are fed back to the mapping file analysis system;
the visual display interface visually displays the form data; and if the mapping file comprises the webpage link of the equipment access operation interface, visually displaying the equipment access operation interface linked by the webpage link.
Compared with the prior art, the invention can realize at least one of the following beneficial effects:
the mapping file-based Internet of things equipment visualization integration system and method provided by the embodiment of the invention have 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 visualization integration system in the embodiment has strong flexibility and expandability.
2. Through the visual display form, a user can conveniently obtain form data in time, meanwhile, if the mapping file comprises a webpage link of the equipment access operation interface, the equipment access operation interface linked by the webpage link can be displayed visually, and the user can conveniently acquire stronger and more comprehensive equipment data from the equipment access operation interface;
3. 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;
4. 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;
5. 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 visual integration system is high in customization degree, and the integration effect can be optimized under the condition of low 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 schematic structural diagram of an internet of things device visualization integration system based on a mapping file according to embodiment 1 of the present invention;
FIG. 5 is a flowchart illustrating a process of implementing device target data acquisition and storage by the mapping file parsing system in cooperation with the form system;
FIG. 6 is a representation of a visual display interface;
fig. 7 is a flowchart of a mapping file-based visualization integration method for devices of the internet of things according to embodiment 1 of the present invention.
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.
Example 1
The invention discloses a specific embodiment of a mapping file-based internet of things equipment visualization integration system, a structural schematic diagram of the visualization integration system is shown in fig. 4, and the visualization integration system comprises:
the cloud file system is used for storing a mapping file of the Internet of things equipment; wherein, a mapping file indicates a single internet of things device, including: the required option, equipment access interface information; optional items: the equipment accesses a webpage link of the operation interface;
the mapping file analysis system executes:
analyzing the content of the mapping file, wherein the analyzing is used for analyzing each content in the mapping file;
analyzing the device target data associated with the mapping file based on the device access interface information, and acquiring the device target data;
the form system is used for obtaining a form template matched with the equipment access interface information and storing the equipment target data into the form template to form data; form data are fed back to the mapping file analysis system;
and the visual display interface is used for visually displaying the form data and the equipment access operation interface linked to the webpage link.
Compared with the prior art, on one hand, the mapping file used for indicating the device access interface information of the single internet of things device is designed, and the mapping file analysis system is used, so that the device target data of the internet of things device can be acquired, and the acquired device target data is stored in the form system. Therefore, the visualization integration system in the embodiment has strong flexibility and expandability; the implementation process is simple and efficient, so that the access cost of the Internet of things equipment can be reduced to the greatest extent; in addition, the visual integration system has high customization degree, and can achieve the best integration effect under the condition of lower cost; on the other hand, through the visual display of the form, the user can conveniently know form data in time, meanwhile, if the mapping file comprises the webpage link of the equipment access operation interface, the equipment access operation interface linked by the webpage link can be displayed visually, and the user can conveniently acquire stronger and more comprehensive equipment data from the equipment access operation interface.
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:
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. the device accesses interface information (mandatory options) including:
(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 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 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 expand the functions of the visualization integration system, 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,
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;
2. the equipment accesses a webpage link of the operation interface;
in the field of computers, a Web browser can realize a Web application program with complex functions on a Web page, and the application program has the greatest advantage of being capable of being compatible to computers and mobile phones running in various operating system environments. If a hardware manufacturer develops and manufactures the access operation 'interface' based on the Web application program for the equipment, the data is recorded in the mapping file in a webpage link mode, and when a cloud file system storing the mapping file displays the mapping file on line, the operation 'interface' can be directly referred through the link, and the management access function of the equipment is directly provided for a user. The web page link of the "interface" must also be matched with the tag parameters of the device, other data including but not limited to security authentication information such as user access keys. Generally, the webpage link is linked to the corresponding device access operation interface based on the security verification information and the device unique identifier.
This portion of data is optional in the mapping file since not all hardware vendors provide the "interface" of the base Web application for their devices. If the information is not recorded in a mapping file, the mapping file does not support the function of online content display when being stored in a cloud file system.
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).
The online file display function can be used for displaying other files except the mapped file, but the method is not important; the key point of this embodiment is that the result of analyzing the mapping file may be displayed online, that is, the function of the visual display interface in this embodiment is required. If the mapping file also comprises the webpage link, the device access operation interface linked with the webpage link can be visually displayed, which requires that one mapping file is mapped to a certain device, effective Web application program links are recorded, and the mapping file has identification and safety identification information of real online running devices.
In this embodiment, when the mapping file analysis system monitors that a new mapping file is added to the cloud file system, the mapping file analysis system starts to analyze the new mapping file; when the mapping file analysis system monitors that the mapping file stored in the cloud file system is deleted, stopping executing analysis of the deleted mapping file; specifically, the mapping file parsing system parses the mapping file by performing the following operations:
1. analyzing the content of the mapping file, wherein the analyzing is used for analyzing each content in the mapping file; in particular, the amount of the solvent to be used,
the mapping file analyzing system analyzes the contents in the mapping file by executing 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.
2. Analyzing the device target data associated with the mapping file based on the device access interface information, and acquiring the device target data; the method comprises the following steps:
(1) 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 process is relatively simple and will not be described too much.
(2) 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,
acquiring device target data by performing 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.
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 target data analysis of the equipment;
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, if the access interface configuration information does not include the specified device data parameters, the latest data in the device data is directly extracted as the device target data; and if not, extracting the equipment data meeting the parameter requirement of the specified equipment data as the equipment target data.
In addition, in order to reduce unnecessary program execution, when the device target data associated with the mapping file is analyzed, whether the internet of things device is in an effective state or not can be judged on the basis of the analyzed device identification information, and if yes, the analyzed data format is sent to the form system; otherwise, the device target data parsing is interrupted.
In addition, after the form system stores the equipment target data in the form template, the form system also feeds back the equipment target data to a mapping file analysis system to finish the storage of the equipment target data; after receiving the storage of the finished equipment target data fed back by the form system, the mapping file analysis system judges whether a next access cycle exists, and if so, executes the analysis of the equipment target data associated with the mapping file again when the next access cycle is reached; otherwise, the device target data analysis related to the current mapping file is not executed.
Next, the form system in the present embodiment is described as follows:
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.
In this embodiment, the form system mainly performs two operations:
1. after receiving a data format sent by a mapping file analysis system, obtaining a form template matched with the data format; in particular, the amount of the solvent to be used,
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.
2. After receiving device target data sent by a mapping file analysis system, storing the device target data into the form template;
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.
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 an access cycle 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 stated 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, subsequent work such as device target data analysis processing and visual display can be executed based on the device target data, and therefore functions and use scenes of the visual integrated system of the internet of things device are effectively expanded.
In addition, in the visual display interface of the embodiment, one or more file display windows may be laid out; and each file display window is bound with a mapping file and used for displaying and analyzing form data and an equipment access operation interface obtained by the bound mapping files.
The visual display interface can realize the splicing combination of a plurality of file display windows, thereby meeting a certain required system interface. The large screen layout function shown in fig. 6 is a special display mode of the visual display interface. And in the visual display interface, visually displaying the alarm information in a special marking mode. Special marks such as differences in color, brightness, font, etc.
Example 2
The embodiment 2 of the invention also discloses a mapping file-based visualization integration method for the internet of things equipment, and the process is shown in fig. 7 and comprises the following steps:
step S1: storing the mapping file into a cloud file system; a mapping file indicating a single internet of things device, comprising: the required option, equipment access interface information; optional items: the equipment accesses a webpage link of the operation interface;
step S2: when the mapping file analysis system monitors that the mapping file is newly added in the cloud file system, executing the following steps:
analyzing the content of the mapping file to analyze each content in the mapping file;
analyzing the device target data associated with the mapping file based on the device access interface information to obtain the device target data;
step S3: the form system obtains a form template matched with the data format based on the equipment access interface information, and stores the equipment target data into the form template to form data; form data are fed back to the mapping file analysis system;
step S4: the visual display interface visually displays the form data; and if the mapping file comprises the webpage link of the equipment access operation interface, visually displaying the equipment access operation interface linked by the webpage link.
The specific implementation process of the method embodiment of the present invention may refer to the system embodiment described above, and this embodiment is not described herein again.
Since the principle of the present embodiment is the same as that of the system embodiment, the method also has the corresponding technical effect of the system embodiment.
Those skilled in the art will appreciate that all or part of the processes for implementing the above-described embodiments may be implemented by a computer program, which is stored in a computer-readable storage medium, to instruct associated 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 visualization integration system based on a mapping file is characterized by comprising:
the cloud file system is used for storing a mapping file of the Internet of things equipment; wherein, a mapping file indicates a single internet of things device, including: the required option, equipment access interface information; optional items: the equipment accesses a webpage link of the operation interface;
the mapping file analysis system executes:
analyzing the content of the mapping file, wherein the analyzing is used for analyzing each content in the mapping file;
analyzing the device target data associated with the mapping file based on the device access interface information, and acquiring the device target data;
the form system is used for obtaining a form template matched with the equipment access interface information and storing the equipment target data into the form template to form data; form data are fed back to the mapping file analysis system;
and the visual display interface is used for visually displaying the form data and the equipment access operation interface linked to the webpage link.
2. The mapping file based internet of things device visualization integration system as claimed in claim 1, wherein one or more file display windows are laid out in the visualization display interface;
and each file display window is bound with a mapping file and used for displaying and analyzing form data and an equipment access operation interface obtained by the bound mapping files.
3. The mapping file-based internet of things device visualization integration system as claimed in claim 1, wherein the device access interface information comprises an access interface address, security verification information, device identification information, and a data format of an access interface; the device identification information includes a device type unique identifier and a device unique identifier.
4. The Internet of things device visualization integration system based on the mapping file as claimed in claim 3, wherein a webpage link is linked to a corresponding device access operation interface based on the security verification information and the device unique identifier.
5. The mapping file-based Internet of things device visualization integration system as claimed in any one of claims 1 to 4, wherein based on device target data parsing of mapping file association implemented by the device access interface information, performing:
sending the analyzed data format to a form system so that the form system can obtain a form template matched with the data format based on the data format;
and acquiring equipment target data of the Internet of things equipment according to the analyzed access interface address, the analyzed safety verification information and the analyzed equipment identification information, and sending the equipment target data to the form system.
6. The mapping file-based internet of things device visualization integration system as claimed in claim 5, 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.
7. The mapping file based internet of things device visualization integration system of claim 6, wherein the form system obtains a form template matching the device access interface information, comprising:
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 the data structure is not stored, 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 in the equipment access interface information.
8. The mapping file-based internet of things device visualization integration system of claim 6, wherein the device access interface information further comprises data status alarm information; the data state alarm information comprises alarm fields and alarm conditions of each alarm field; wherein,
setting one or more key fields in the data structure as the alert field;
setting corresponding alarm conditions for each alarm field; if the equipment target data stored in the form template accords with the alarm condition, the form system also generates corresponding alarm information;
and in the visual display interface, visually displaying the alarm information in a special marking mode.
9. The mapping file-based internet of things device visualization integration system of claim 5, wherein the device target data is obtained by performing 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;
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 target data analysis of the equipment;
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.
10. A visual integration method of Internet of things equipment based on a mapping file is characterized by comprising the following steps:
storing the mapping file into a cloud file system; a mapping file indicating a single internet of things device, comprising: the required option, equipment access interface information; optional items: the equipment accesses a webpage link of the operation interface;
when the mapping file analysis system monitors that the mapping file is newly added in the cloud file system, executing the following steps:
analyzing the content of the mapping file to analyze each content in the mapping file;
analyzing the device target data associated with the mapping file based on the device access interface information to obtain the device target data;
the form system obtains a form template matched with the data format based on the equipment access interface information, and stores the equipment target data into the form template to form data; form data are fed back to the mapping file analysis system;
the visual display interface visually displays the form data; and if the mapping file comprises the webpage link of the equipment access operation interface, visually displaying the equipment access operation interface linked by the webpage link.
CN202111612789.2A 2021-12-27 2021-12-27 Internet of things equipment visualization integration system and method based on mapping file Active CN114265823B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111612789.2A CN114265823B (en) 2021-12-27 2021-12-27 Internet of things equipment visualization integration system and method based on mapping file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111612789.2A CN114265823B (en) 2021-12-27 2021-12-27 Internet of things equipment visualization integration system and method based on mapping file

Publications (2)

Publication Number Publication Date
CN114265823A true CN114265823A (en) 2022-04-01
CN114265823B CN114265823B (en) 2022-08-02

Family

ID=80830425

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111612789.2A Active CN114265823B (en) 2021-12-27 2021-12-27 Internet of things equipment visualization integration system and method based on mapping file

Country Status (1)

Country Link
CN (1) CN114265823B (en)

Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103312791A (en) * 2013-05-24 2013-09-18 上海和伍新材料科技有限公司 Internet of things heterogeneous data storage method and system
CN103399735A (en) * 2013-07-12 2013-11-20 浙江吉利汽车研究院有限公司杭州分公司 Method for developing intermediate layer of remote function call interface
CN104378236A (en) * 2014-11-24 2015-02-25 青岛海尔软件有限公司 Internet of things device management platform and method
CN104932904A (en) * 2015-07-14 2015-09-23 福建农林大学 Configurable database programming mode aiming at intelligent smart home
CN105955208A (en) * 2016-04-15 2016-09-21 青岛克路德机器人有限公司 Network robot data control system based on cloud platform
CN106506213A (en) * 2016-11-09 2017-03-15 深圳云联讯数据科技有限公司 A kind of internet of things equipment visualization interface display packing and system
CN109150672A (en) * 2017-06-13 2019-01-04 美的智慧家居科技有限公司 Configuration method, device, system and the machine readable storage medium of smart home
CN109151561A (en) * 2018-09-13 2019-01-04 青岛海信智慧家居系统股份有限公司 The operation control interface creation method and relevant device of smart home system equipment
CN109327551A (en) * 2018-12-04 2019-02-12 浩云科技股份有限公司 By the method and device of internet of things equipment access platform of internet of things, server
CN109547272A (en) * 2019-01-09 2019-03-29 西安交通大学 A kind of numerical control device novel maintenance system internet interface
CN109587242A (en) * 2018-12-05 2019-04-05 华润置地控股有限公司 Platform of internet of things system and its cloud platform and local terminal
CN110347732A (en) * 2019-05-20 2019-10-18 中国平安人寿保险股份有限公司 A kind of data transfer device and device
CN110929489A (en) * 2019-11-18 2020-03-27 有时数联科技(北京)有限公司 Form generation and form data processing method and system
CN112307109A (en) * 2020-10-28 2021-02-02 北京锐安科技有限公司 Visual chart generation method and device, electronic equipment and storage medium
CN112379653A (en) * 2020-12-01 2021-02-19 国能信控互联技术有限公司 Smart power plant management and control system based on micro-service architecture
CN112527250A (en) * 2020-11-18 2021-03-19 温州市易能软件有限公司 Software development platform based on visualization
US20210124180A1 (en) * 2019-10-25 2021-04-29 Microsoft Technology Licensing, Llc Dynamically changing a fiducial marker for iot device identification
CN113760292A (en) * 2021-01-04 2021-12-07 北京沃东天骏信息技术有限公司 Method and device for developing application program, electronic equipment and storage medium

Patent Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103312791A (en) * 2013-05-24 2013-09-18 上海和伍新材料科技有限公司 Internet of things heterogeneous data storage method and system
CN103399735A (en) * 2013-07-12 2013-11-20 浙江吉利汽车研究院有限公司杭州分公司 Method for developing intermediate layer of remote function call interface
CN104378236A (en) * 2014-11-24 2015-02-25 青岛海尔软件有限公司 Internet of things device management platform and method
CN104932904A (en) * 2015-07-14 2015-09-23 福建农林大学 Configurable database programming mode aiming at intelligent smart home
CN105955208A (en) * 2016-04-15 2016-09-21 青岛克路德机器人有限公司 Network robot data control system based on cloud platform
CN106506213A (en) * 2016-11-09 2017-03-15 深圳云联讯数据科技有限公司 A kind of internet of things equipment visualization interface display packing and system
CN109150672A (en) * 2017-06-13 2019-01-04 美的智慧家居科技有限公司 Configuration method, device, system and the machine readable storage medium of smart home
CN109151561A (en) * 2018-09-13 2019-01-04 青岛海信智慧家居系统股份有限公司 The operation control interface creation method and relevant device of smart home system equipment
CN109327551A (en) * 2018-12-04 2019-02-12 浩云科技股份有限公司 By the method and device of internet of things equipment access platform of internet of things, server
CN109587242A (en) * 2018-12-05 2019-04-05 华润置地控股有限公司 Platform of internet of things system and its cloud platform and local terminal
CN109547272A (en) * 2019-01-09 2019-03-29 西安交通大学 A kind of numerical control device novel maintenance system internet interface
CN110347732A (en) * 2019-05-20 2019-10-18 中国平安人寿保险股份有限公司 A kind of data transfer device and device
US20210124180A1 (en) * 2019-10-25 2021-04-29 Microsoft Technology Licensing, Llc Dynamically changing a fiducial marker for iot device identification
CN110929489A (en) * 2019-11-18 2020-03-27 有时数联科技(北京)有限公司 Form generation and form data processing method and system
CN112307109A (en) * 2020-10-28 2021-02-02 北京锐安科技有限公司 Visual chart generation method and device, electronic equipment and storage medium
CN112527250A (en) * 2020-11-18 2021-03-19 温州市易能软件有限公司 Software development platform based on visualization
CN112379653A (en) * 2020-12-01 2021-02-19 国能信控互联技术有限公司 Smart power plant management and control system based on micro-service architecture
CN113760292A (en) * 2021-01-04 2021-12-07 北京沃东天骏信息技术有限公司 Method and device for developing application program, electronic equipment and storage medium

Non-Patent Citations (5)

* Cited by examiner, † Cited by third party
Title
P.P. RAY: "survey on Internet of Things architectures", 《 SURVEY ON INTERNET OF THINGS ARCHITECTURES》 *
SHUTANG等: "A review of building information modeling (BIM) and the internet of things (IoT) devices integration: Present status and future trends", 《AUTOMATION IN CONSTRUCTION》 *
VINAYA S JADHAV等: "Mapping for IoT Devices", 《INTERNATIONAL JOURNAL OF ADVANCED STUDIES OF SCIENTIFIC RESEARCH》 *
张婷婷: "面向物联网系统M2M云平台的设计与实现", 《中国优秀硕士学位论文全文数据库 (信息科技辑)》 *
王亭: "基于BIM与IoT数据的实时交互方法研究", 《中国优秀硕士学位论文全文数据库 (工程科技Ⅱ辑)》 *

Also Published As

Publication number Publication date
CN114265823B (en) 2022-08-02

Similar Documents

Publication Publication Date Title
US6170081B1 (en) Method and system for interfacing to a variety of software development tools
CN112905261B (en) Application program interface API (application program interface) control method and device and electronic equipment
Kumar et al. Mining message sequence graphs
JP2002024020A (en) Screen control program, dynamic display information acquisition program, screen display transaction program, screen component interface program and screen program preparing method
CN108614689A (en) Generation method, device and the terminal device of scene service
WO2015018164A1 (en) Method for actively obtaining data from heterogeneous enterprise information system
CN101488012A (en) Method for implementing sequential control by flow diagram
US20100002254A1 (en) Image forming apparatus, information processing method, and image forming system
CN113553269A (en) Page buried point reporting method and related device
KR102505378B1 (en) Aggregation server generation method based on OPC UA standard information model of smart factory assets
CN113301171A (en) Digital mirror image construction method and system fusing multiple Internet of things data
JP2001202283A (en) System for monitoring contents updating situation
CN113971191A (en) Data import method and device and computer readable storage medium
CN114265823B (en) Internet of things equipment visualization integration system and method based on mapping file
CN114281787B (en) Internet of things equipment integration system based on mapping file
CN114265824B (en) Internet of things equipment integration method based on mapping file
CN111447115B (en) State monitoring method for entity of Internet of things
CN113791750A (en) Virtual content display method and device and computer readable storage medium
US20070233818A1 (en) Recording medium storing input/output screen generation program, and method for suppressing an unreasonable screen shift
CN105719216A (en) E-government platform information data processing method
JP2011065367A (en) Device, program and method for managing workflow
CN114327709A (en) Control page generation method and device, intelligent device and storage medium
CN112035104A (en) Modeling method for dynamically changing function configuration of mobile application
US11966719B2 (en) Event consumption for high-level programing language platform
JP3494968B2 (en) COMMUNICATION COMMUNICATION SYSTEM AND COMPUTER-READABLE RECORDING MEDIUM CONTAINING CONTROL COMMUNICATION PROGRAM

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