CN112600889A - Internet of things simulation platform and simulation method - Google Patents

Internet of things simulation platform and simulation method Download PDF

Info

Publication number
CN112600889A
CN112600889A CN202011410782.8A CN202011410782A CN112600889A CN 112600889 A CN112600889 A CN 112600889A CN 202011410782 A CN202011410782 A CN 202011410782A CN 112600889 A CN112600889 A CN 112600889A
Authority
CN
China
Prior art keywords
internet
accessed
things
current
standard
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
CN202011410782.8A
Other languages
Chinese (zh)
Other versions
CN112600889B (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.)
State Grid Information and Telecommunication Co Ltd
Beijing China Power Information Technology Co Ltd
Original Assignee
State Grid Information and Telecommunication Co Ltd
Beijing China Power Information 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 State Grid Information and Telecommunication Co Ltd, Beijing China Power Information Technology Co Ltd filed Critical State Grid Information and Telecommunication Co Ltd
Priority to CN202011410782.8A priority Critical patent/CN112600889B/en
Publication of CN112600889A publication Critical patent/CN112600889A/en
Application granted granted Critical
Publication of CN112600889B publication Critical patent/CN112600889B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/14Network analysis or design
    • H04L41/145Network analysis or design involving simulating, designing, planning or modelling of a network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Computer Security & Cryptography (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application provides an Internet of things simulation platform and a simulation method, and the method comprises the steps of carrying out communication connection with power equipment to be accessed; scanning and obtaining a current product model and a current object model of the power equipment to be accessed; verifying whether the current product model and the current object model thereof meet the data standard of the Internet of things management platform; if the current access information meets the data standard of the management platform of the Internet of things, receiving the current access information sent by the power equipment to be accessed, and verifying whether the current access information meets the data standard of the management platform of the Internet of things; if so, verifying whether the control instruction of the power equipment to be accessed meets the data standard of the management platform of the Internet of things; verifying whether the power equipment to be accessed supports the app issuing function or not; if the app is supported, the Internet of things simulation platform verifies whether the app installed by the power equipment to be accessed runs normally. And if the result is consistent, confirming that the simulated access of the power equipment to be accessed is successful.

Description

Internet of things simulation platform and simulation method
Technical Field
The application relates to the technical field of Internet of things, in particular to an Internet of things simulation platform and a simulation method.
Background
With the gradual improvement of the management platform of the internet of things, the power equipment gradually starts to be accessed into the management platform of the internet of things. The power equipment relates to edge Internet of things agents, intelligent fusion terminals, edge Internet of things expansion units and other equipment and end equipment.
At present, when the power equipment is accessed to the Internet of things management platform, the operation is complex and the access is not easy. In order to facilitate the power equipment to access the internet of things management platform, the power equipment can be subjected to simulated access, so that the power equipment can be truly accessed to the internet of things management platform after the simulated access is passed, and the access success rate is improved.
Disclosure of Invention
In view of this, the application provides an internet of things management simulation access platform and a simulation method, which can perform simulation access on electrical equipment, so that the electrical equipment can be truly accessed to the internet of things management platform after the simulation access of the electrical equipment is passed, and the access success rate is improved.
In order to achieve the above object, the present invention provides the following technical features:
an Internet of things simulation method is applied to an Internet of things simulation platform and comprises the following steps:
the method comprises the following steps of performing communication connection with power equipment to be accessed;
scanning and obtaining a current product model and a current object model of the power equipment to be accessed;
verifying whether the current product model and the current object model thereof meet the data standard of the Internet of things management platform;
if yes, receiving a current access message sent by the power equipment to be accessed;
verifying whether the current access message meets the data standard of the management platform of the Internet of things;
if yes, verifying whether the control command of the power equipment to be accessed meets the data standard of the management platform of the Internet of things;
if yes, verifying whether the power equipment to be accessed supports the app issuing function;
if so, verifying whether the app installed on the power equipment to be accessed normally runs by the Internet of things simulation platform;
and if the result is consistent, confirming that the simulation access of the power equipment to be accessed is successful.
Optionally, the internet of things simulation platform integrates a plurality of standard product models, and each standard product model includes a standard object model forming the standard product model;
the verifying whether the current product model and the current object model thereof meet the data standard of the internet of things management platform comprises the following steps:
judging whether the plurality of standard product models comprise the current product model;
if yes, judging whether a current object model in the current product model is consistent with a current object model in a corresponding standard product model;
and if the current product model and the current object model are consistent, determining that the current product model and the current object model conform to the data standard of the management platform of the Internet of things.
Optionally, the internet of things simulation platform includes a plurality of protocol type analysis modules; the receiving the current access message sent by the power device to be accessed comprises:
identifying the current access message and carrying out analysis operation according to the protocol type corresponding to the current access message;
and acquiring the current message format and the current data format of the current access message.
Optionally, each standard product model further includes a standard message format and a standard data format that conform to the internet of things management platform specification;
the verifying whether the current access message meets the data standard of the internet of things management platform comprises:
judging whether the current message format in the current access message is consistent with the standard data format in the corresponding standard product model;
if so, judging whether the current data format in the current access message is consistent with the standard message format sum in the corresponding standard product model;
and if so, determining that the current access message conforms to the data standard of the management platform of the Internet of things.
Optionally, each standard product model further includes a standard control command format meeting the internet of things management platform specification;
the verifying whether the control instruction of the power equipment to be accessed meets the data standard of the Internet of things management platform comprises the following steps:
sending test input of a test case to the power equipment to be accessed; wherein, the test case conforms to a standard control command format;
receiving a feedback result sent by the power equipment to be accessed;
and if the feedback result is consistent with the test output of the test case, the control command is normally executed by the power equipment to be accessed, and the control command of the power equipment to be accessed is confirmed to meet the data standard of the management platform of the Internet of things.
Optionally, after confirming that the simulated access of the to-be-accessed power device is successful, the method further includes:
and uploading the current product model and the current object model of the power equipment to be accessed to an Internet of things management platform.
Optionally, maintaining a plurality of standard product models is also included.
Optionally, the method further includes:
communicating with the power equipment to be accessed, and maintaining the application in the power equipment to be accessed;
wherein, the maintenance operation of the application to be accessed into the power equipment comprises: and downloading, deleting or updating the application to be accessed into the electric power equipment.
An Internet of things simulation platform, comprising:
the connecting unit is used for being in communication connection with the power equipment to be accessed;
the scanning unit is used for scanning and obtaining a current product model and a current object model of the power equipment to be accessed;
the first verification unit is used for verifying whether the current product model and the current object model thereof meet the data standard of the Internet of things management platform;
the second verification unit is used for receiving the current access message sent by the power equipment to be accessed if the current access message is consistent with the current access message; verifying whether the current access message meets the data standard of the management platform of the Internet of things;
the third verification unit is used for verifying whether the control instruction of the power equipment to be accessed meets the data standard of the management platform of the Internet of things or not if the control instruction meets the data standard of the management platform of the Internet of things;
the fourth verification unit is used for verifying whether the to-be-accessed power equipment supports the app issuing function or not if the to-be-accessed power equipment meets the app issuing function;
the fifth verification unit is used for verifying whether the app installed on the power equipment to be accessed runs normally or not by the Internet of things simulation platform if the first verification unit supports the app installed on the power equipment to be accessed; and if the result is consistent, confirming that the simulation access of the power equipment to be accessed is successful.
Optionally, the internet of things simulation platform integrates a plurality of standard product models, and each standard product model includes a plurality of standard object models forming the standard product model;
each standard product model also comprises a standard control command format, a standard message format and a standard data format which are in accordance with the Internet of things management platform specification;
the Internet of things simulation platform comprises a plurality of protocol type analysis modules. Through the technical means, the following beneficial effects can be realized:
the application provides an Internet of things simulation and simulation platform, which can simulate and access to electric equipment to be accessed before the electric equipment to be accessed is really accessed to an Internet of things management platform, so that whether a current product model and a current object model of the electric equipment to be accessed accord with the data standard of the Internet of things management platform or not, whether a current access message of the electric equipment to be accessed accords with the data standard of the Internet of things management platform or not, and whether a control instruction of the electric equipment to be accessed accords with the data standard of the Internet of things management platform or not are verified.
Verifying whether the power equipment to be accessed supports an app issuing function; if so, verifying whether the app installed on the power equipment to be accessed normally runs by the Internet of things simulation platform; if the data standard of the management platform of the internet of things is not met, the situation that the data standard of the management platform of the internet of things is not met can be clearly obtained, and therefore the power equipment to be accessed is adjusted in a targeted mode.
The scheme can provide simulated access for the power equipment to be accessed, so that the power equipment can be truly accessed to the Internet of things management platform after the simulated access is passed, and the access success rate is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic structural diagram of an internet of things simulation platform disclosed in an embodiment of the present application;
fig. 2 is a flowchart of an internet of things simulation method disclosed in the embodiment of the present application;
fig. 3 is a flowchart of another simulation method for the internet of things disclosed in the embodiment of the present application;
fig. 4 is a schematic structural diagram of an internet of things simulation platform disclosed in an embodiment of the present application.
Detailed Description
Technical terms:
and (3) modeling: the object model refers to digitizing an entity in a physical space, such as a sensor, a voltmeter, a vehicle-mounted device, and the like, and is composed of a series of services (including attributes and commands). The object model is expressed by adopting JSON format.
MQTT: the Message queuing technical Transport Protocol (MQTT) is an Internet of things transmission Protocol, is designed for lightweight publish/subscribe Message transmission, and aims to provide reliable network service for Internet of things equipment in low-bandwidth and unstable network environments.
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Referring to fig. 1, the present invention provides an internet of things simulation platform, which integrates a plurality of standard product models, each of which includes a plurality of standard object models constituting the standard product model.
Each standard product model also comprises a standard control command format, a standard message format and a standard data format which conform to the specification of the Internet of things management platform.
In addition, the Internet of things simulation and emulation platform comprises a plurality of protocol type analysis modules, and message formats of a plurality of protocols such as mqtt format messages, 698 protocol messages, 104 protocol messages and 1376.1 protocol messages are supported to be analyzed.
It can be understood that the internet of things simulation platform can also maintain a plurality of standard product models, namely, update and delete the plurality of standard product models, and can also maintain a plurality of protocol type analysis modules, namely, update and delete the plurality of protocol type analysis modules.
Referring to fig. 2, the invention provides an internet of things simulation method applied to an internet of things simulation platform, and the method includes:
step S200: and the Internet of things management platform simulation system is in communication connection with the power equipment to be accessed.
The Internet of things management platform simulation system is also an Internet of things simulation platform.
Step S201: the Internet of things management platform simulation system imports and scans a current product model and a current object model of the power equipment to be accessed, and verifies interactive data.
The Internet of things management platform simulation system is an Internet of things simulation platform.
Step S202: and the Internet of things management platform simulation system verifies whether the current product model and the current object model meet the requirements of the Internet of things management platform. And if so, entering step S203, otherwise, providing a display interface for displaying so as to show the specific situation that the power equipment to be accessed does not meet the data standard of the management platform of the Internet of things.
Step S203: and if so, receiving the current access message sent by the power equipment to be accessed by the Internet of things management platform simulation system.
Step S204: and the Internet of things management platform simulation system verifies whether the current access message meets the data standard of the Internet of things management platform.
Step S205: and if so, verifying whether the control instruction of the power equipment to be accessed meets the data standard of the management platform of the Internet of things by the simulation system of the management platform of the Internet of things.
Step S206: and if so, verifying whether the power equipment to be accessed supports the app issuing function by the Internet of things management platform simulation system.
Step S207: if so, verifying whether the app installed on the power equipment to be accessed normally runs by the Internet of things management platform simulation system.
Step S208: if the simulation result is consistent with the simulation result, the Internet of things management platform simulation system confirms that the simulation access of the electric power equipment to be accessed is successful.
The following beneficial effects can be achieved through the technical characteristics:
the application provides an Internet of things simulation and simulation platform, which can simulate and access to electric equipment to be accessed before the electric equipment to be accessed is really accessed to an Internet of things management platform, so that whether a current product model and a current object model of the electric equipment to be accessed accord with the data standard of the Internet of things management platform or not, whether a current access message of the electric equipment to be accessed accords with the data standard of the Internet of things management platform or not, and whether a control instruction of the electric equipment to be accessed accords with the data standard of the Internet of things management platform or not are verified.
If yes, verifying whether the power equipment to be accessed supports the app issuing function; if yes, the Internet of things simulation platform verifies whether the app installed on the power equipment to be accessed runs normally; if the data standard does not meet the data standard of the management platform of the internet of things, the situation that the data standard does not meet the data standard of the management platform of the internet of things can be clearly obtained, and therefore targeted adjustment can be conveniently carried out.
The scheme can provide simulated access for the power equipment to be accessed, so that the power equipment can be truly accessed to the Internet of things management platform after the simulated access is passed, and the access success rate is improved.
Optionally, after confirming that the simulated access of the to-be-accessed power device is successful, the method further includes:
and uploading the current product model and the current object model of the power equipment to be accessed to an Internet of things management platform.
Referring to fig. 3, the invention provides an internet of things simulation method applied to an internet of things simulation platform, and the method includes:
step S300: and the Internet of things simulation platform is in communication connection with the power equipment to be accessed.
The power equipment to be accessed and the Internet of things analog simulation platform can provide network connection by using TCP/IP.
Step S301: and the Internet of things simulation platform scans and obtains a current product model and a current object model of the power equipment to be accessed.
The Internet of things simulation platform scans the electric power equipment to be accessed and acquires a current product model and a current object model of the electric power equipment to be accessed. The current product model has a unique product identification, and the current product model includes a current object model. The current object model also has a unique object identification. Step S302: and the Internet of things simulation platform verifies whether the current product model and the current object model thereof meet the data standard of the Internet of things management platform.
In this step, it can be determined whether the plurality of standard product models include the current product model; namely, whether the plurality of standard product models have the standard product model with the same product identification as the current product model is judged.
And if so, judging whether the current object model in the current product model is consistent with the current object model in the corresponding standard product model.
If the product model is contained, the possibility that the current product model has access to the management platform of the Internet of things is shown. The standard product model comprises a plurality of standard object models which accord with the regulation of the Internet of things management platform, and if the current object model in the current product model is consistent with the plurality of standard object models, the current product model is represented to be free of parts.
If the current product model and the current object model are consistent, determining that the current product model and the current object model conform to the data standard of the Internet of things management platform;
and if the current product model and the current object model are not consistent with the data standard of the management platform of the Internet of things, determining that the current product model and the current object model are not consistent with the data standard of the management platform of the Internet of things, and providing a display interface for displaying so as to show the specific situation that the power equipment to be accessed is not consistent with the data standard of the management platform of the Internet of things for a user to know in detail.
Step S303: and if so, receiving the current access message sent by the power equipment to be accessed by the Internet of things simulation platform.
The Internet of things simulation platform identifies the current access message, determines the protocol type corresponding to the current access message, and then carries out analysis operation according to the protocol type corresponding to the current access message; and acquiring the current message format and the current data format of the current access message.
Optionally, the internet of things simulation platform can also provide detailed information analysis process records in the analysis process.
Step S304: and the Internet of things simulation platform verifies whether the current access message meets the data standard of the Internet of things management platform.
Judging whether the current message format in the current access message is consistent with the standard data format in the corresponding standard product model;
if so, judging whether the current data format in the current access message is consistent with the standard message format sum in the corresponding standard product model.
And if so, determining that the current access message conforms to the data standard of the management platform of the Internet of things.
If the current access information is inconsistent with the data standard of the management platform of the Internet of things, the current access information is determined to be inconsistent with the data standard of the management platform of the Internet of things, and the specific situation that the power equipment to be accessed is inconsistent with the data standard of the management platform of the Internet of things can be displayed for a user to know in detail.
Step S305: if yes, the Internet of things simulation platform verifies whether the control command of the power equipment to be accessed meets the data standard of the Internet of things management platform.
In the step, the Internet of things simulation platform can construct a control instruction and then send test input of a test case to the power equipment to be accessed; wherein, the test case conforms to a standard control command format;
receiving a feedback result sent by the power equipment to be accessed;
and if the feedback result is consistent with the test output of the test case, the control command is normally executed by the power equipment to be accessed, and the control command of the power equipment to be accessed is confirmed to meet the data standard of the management platform of the Internet of things.
If the control command of the power equipment to be accessed does not accord with the data standard of the management platform of the internet of things, the specific situation that the power equipment to be accessed does not accord with the data standard of the management platform of the internet of things can be displayed for a user to know in detail.
Step S306: if yes, the Internet of things simulation platform verifies whether the power equipment to be accessed supports the app issuing function.
Step S308: if so, the Internet of things simulation platform verifies whether the app installed on the power equipment to be accessed runs normally.
Step S309: if the data are in accordance with the data, the Internet of things simulation platform confirms that the power equipment to be accessed is successfully accessed in a simulation mode. Through the technical means, the following beneficial effects can be realized:
the application provides an Internet of things simulation and simulation platform, which can simulate and access to electric equipment to be accessed before the electric equipment to be accessed is really accessed to an Internet of things management platform, so that whether a current product model and a current object model of the electric equipment to be accessed accord with the data standard of the Internet of things management platform or not, whether a current access message of the electric equipment to be accessed accords with the data standard of the Internet of things management platform or not, and whether a control instruction of the electric equipment to be accessed accords with the data standard of the Internet of things management platform or not are verified.
If yes, verifying whether the power equipment to be accessed supports the app issuing function; if yes, the Internet of things simulation platform verifies whether the app installed on the power equipment to be accessed runs normally; if the data standard does not meet the data standard of the management platform of the internet of things, the situation that the data standard does not meet the data standard of the management platform of the internet of things can be clearly obtained, and therefore targeted adjustment can be conveniently carried out.
The scheme can provide simulated access for the power equipment to be accessed, so that the power equipment can be truly accessed to the Internet of things management platform after the simulated access is passed, and the access success rate is improved.
Optionally, after confirming that the simulated access of the to-be-accessed power device is successful, the method further includes:
and uploading the current product model and the current object model of the power equipment to be accessed to an Internet of things management platform.
The internet of things simulation platform can also communicate with the electric power equipment to be accessed to maintain the application in the electric power equipment to be accessed; wherein, the maintenance operation of the application to be accessed into the power equipment comprises: and downloading, deleting or updating the application to be accessed into the electric power equipment.
That is, the simulation platform of the internet of things can provide an application store module, and management operation can be performed on the APP to be connected into the power equipment by putting on the shelf, taking off the line, uploading and downloading.
Referring to fig. 4, the present invention provides an internet of things simulation platform, including:
the connection unit 30 is used for performing communication connection with the power equipment to be accessed;
the scanning unit 31 is configured to scan and obtain a current product model of the power device to be connected and a current object model thereof;
the first verification unit 32 is configured to verify whether the current product model and the current object model thereof meet a data standard of an internet of things management platform;
the second verification unit 33 is configured to receive a current access message sent by the to-be-accessed power device if the current access message matches the current access message; verifying whether the current access message meets the data standard of the management platform of the Internet of things;
a third verifying unit 34, configured to verify whether the control instruction of the to-be-accessed power device meets a data standard of the internet of things management platform if the control instruction meets the data standard;
a fourth verifying unit 35, configured to verify whether the to-be-accessed power device supports the app issuing function if the to-be-accessed power device matches the app issuing function;
the fifth verification unit 36 is configured to verify, by the internet of things simulation platform, whether the app installed on the to-be-accessed power device runs normally if the app is matched with the to-be-accessed power device; if the answer is positive, confirming that the simulation access of the electric power equipment to be accessed is successful;
the Internet of things simulation platform integrates a plurality of standard product models, and each standard product model comprises a plurality of standard object models forming the standard product model;
the first verifying unit 32 verifying whether the current product model and the current object model thereof meet the data standard of the internet of things management platform includes:
judging whether the plurality of standard product models comprise the current product model;
if yes, judging whether a current object model in the current product model is consistent with a current object model in a corresponding standard product model;
and if the current product model and the current object model are consistent, determining that the current product model and the current object model conform to the data standard of the management platform of the Internet of things.
The Internet of things simulation platform comprises a plurality of protocol type analysis modules; the receiving the current access message sent by the power device to be accessed comprises:
identifying the current access message and carrying out analysis operation according to the protocol type corresponding to the current access message; and acquiring the current message format and the current data format of the current access message.
Each standard product model also comprises a standard message format and a standard data format which accord with the Internet of things management platform specification;
the verifying, by the second verifying unit 33, whether the current access message meets the data standard of the internet of things management platform includes:
judging whether the current message format in the current access message is consistent with the standard data format in the corresponding standard product model;
if so, judging whether the current data format in the current access message is consistent with the standard message format sum in the corresponding standard product model;
and if so, determining that the current access message conforms to the data standard of the management platform of the Internet of things.
Each standard product model also comprises a standard control command format which accords with the Internet of things management platform specification;
the third verifying unit 34 verifying whether the control instruction of the to-be-accessed power device meets the data standard of the internet of things management platform includes:
sending test input of a test case to the power equipment to be accessed; wherein, the test case conforms to a standard control command format;
receiving a feedback result sent by the power equipment to be accessed;
and if the feedback result is consistent with the test output of the test case, the control command is normally executed by the power equipment to be accessed, and the control command of the power equipment to be accessed is confirmed to meet the data standard of the management platform of the Internet of things.
And the uploading unit 37 is configured to upload the current product model and the current object model of the to-be-accessed power device to the internet of things management platform after the power device to be accessed is successfully simulated. And the maintenance model unit 38 is used for the Internet of things simulation platform and maintaining a plurality of standard product models. Wherein, the maintenance operation of the plurality of standard product models to be accessed into the power equipment comprises: and deleting or updating the product model or the object model to be accessed into the power equipment.
A maintenance application unit 39, configured to communicate with the to-be-accessed power device, and perform maintenance operation on an application in the to-be-accessed power device; wherein, the maintenance operation of the application to be accessed into the power equipment comprises: and downloading, deleting or updating the application to be accessed into the electric power equipment.
Through the technical means, the following beneficial effects can be realized:
the application provides an Internet of things simulation and simulation platform, which can simulate and access to electric equipment to be accessed before the electric equipment to be accessed is really accessed to an Internet of things management platform, so that whether a current product model and a current object model of the electric equipment to be accessed accord with the data standard of the Internet of things management platform or not, whether a current access message of the electric equipment to be accessed accords with the data standard of the Internet of things management platform or not, and whether a control instruction of the electric equipment to be accessed accords with the data standard of the Internet of things management platform or not are verified.
If the current product model and the current object model of the power equipment to be accessed meet the data standard of the management platform of the Internet of things, uploading the current product model and the current object model of the power equipment to be accessed to the management platform of the Internet of things; verifying whether the power equipment to be accessed supports an app issuing function; if yes, the Internet of things simulation platform verifies whether the app installed on the power equipment to be accessed runs normally; if the data standard does not meet the data standard of the management platform of the internet of things, the situation that the data standard does not meet the data standard of the management platform of the internet of things can be clearly obtained, and therefore targeted adjustment can be conveniently carried out.
The scheme can provide simulated access for the power equipment to be accessed, so that the power equipment can be truly accessed to the Internet of things management platform after the simulated access is passed, and the access success rate is improved.
In the application, the Internet of things management platform simulation system uses a publish-subscribe message mode and uses TCP/IP to perform network connection with the power equipment to be accessed. In the practical application process, the internet of things management platform simulation system can further realize the following functional modules:
1) the basic business service module provides basic function support for the system, performs business data processing and persistent storage, wherein the common public module has a support function.
2) And the model management module supports management of product models and object models required in various protocols, comprises functions of viewing, importing and exporting the object models and the product models, and provides calling interfaces of other modules to the models.
3) And the command management module provides management functions for issued commands, and comprises functions of one-key configuration, historical command storage and the like.
4) The southbound MQTT protocol module supports southbound access test of equipment, performs access data analysis on the equipment which accords with the southbound interface protocol of the management platform of the Huawei Internet of things, and simulates response data of the management platform of the Internet of things.
5) The edge Internet of things agent MQTT protocol module is developed according to an interface protocol of 'interaction protocol specification of edge Internet of things agent and Internet of things management platform of national grid Limited company', and is used for inspecting message formats in the process of equipment access testing and simulating response data of the Internet of things management platform.
6) The APP application store module can manage the loading, unloading, uploading and downloading of the APP. The module is decoupled from the edge computing framework, provides an independent interface and supports protocols of various types of edge computing frameworks.
7) And the northbound API module supports the northbound interface test function and simulates the data response of the Huacheng platform.
8) The expansion protocol module is used for abstracting the function expansion of the system, such as 698 protocol, 104 protocol and the like.
The Internet of things management platform simulation system carries out platform architecture based on Spring Boot, and combines application of Mqtt message alignment, so that access capability and response time of the Internet of things management platform simulation system are improved to the greatest extent, and high efficiency, safety and easy expansion of the platform are guaranteed. In addition, the following beneficial effects can be achieved:
(1) high reliability
The system adopts technical means such as clustering, redundancy and replication to enhance the usability of the system, and improves the usability of the system from the aspects of a plurality of layers such as a network, a server, supporting software and an application program when the system is designed and realized, thereby preventing and avoiding the barrel effect.
When a system architecture is designed, the service requirements and data load of the management platform of the internet of things need to be fully considered, data interaction of different mechanism systems among all links is reduced as much as possible, system coupling is reduced, and system safety is improved.
The system can process various exceptions, and in the exception processing, the exception point can be quickly positioned, and the loss of service data is not allowed. The communication middleware adopts a reliable MQTT message queue to ensure that data is not lost.
(2) Easy expansion
From the aspect of business development, the platform also fully considers the expandability of the system on the basis of meeting the existing requirements. The message middleware needs to support horizontal expansion, and the expansion of future services only needs to add new application and service modules on the basis of the existing mechanism. When the application amount is increased, the system can support the new pressure requirement by adding the server when the number of users is increased.
(3) Easy maintenance
The platform adopts a structured and modularized system implementation mode. Business logics are divided according to functions, and different business logics are realized by different modules. Modules are loosely coupled, and modification and maintenance are facilitated.
The background service and the front end are interacted through a service protocol, and the front end and the back end are loosely coupled.
The platform and other systems do not adopt a remote direct program calling mode for communication, the systems are interoperated in a service calling mode, and the systems are loosely coupled.
The system is provided with a platform data maintenance management module specially, so that unified maintenance and backup management of data in the system are facilitated, manual maintenance is simple, and management is easy.
The whole architecture of the system takes the configuration file as the basis of the system, and new services and service parameters are realized in a configurable mode.
(4) High performance
Considering that the system is large in application scale, the increase of future functional services of the platform and the development of computer technology are considered, the system fully considers the performance of the system during design so as to ensure that the system can still normally work under the conditions of large data volume and severe environment and ensure the high efficiency and smoothness of the system at present and in a certain period in the future. In the project, software design is based on MQTT message middleware and Java system infrastructure.
(5) Security
The communication adopts an HTTP mode, system maintenance personnel regularly change a system login password, and the running state of the service and the utilization rate of a CPU and a memory can be checked in real time in system monitoring. The method comprises the steps of storing sensitive information and performing data encryption processing on the sensitive information by using an SHA (256-bit) asymmetric encryption algorithm.
The functions described in the method of the present embodiment, if implemented in the form of software functional units and sold or used as independent products, may be stored in a storage medium readable by a computing device. Based on such understanding, part of the contribution to the prior art of the embodiments of the present application or part of the technical solution may be embodied in the form of a software product stored in a storage medium and including several instructions for causing a computing device (which may be a personal computer, a server, a mobile computing device or a network device) to execute all or part of the steps of the method described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same or similar parts among the embodiments are referred to each other.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. An Internet of things simulation method is applied to an Internet of things simulation platform, and comprises the following steps:
the method comprises the following steps of performing communication connection with power equipment to be accessed;
scanning and obtaining a current product model and a current object model of the power equipment to be accessed;
verifying whether the current product model and the current object model thereof meet the data standard of the Internet of things management platform;
if yes, receiving a current access message sent by the power equipment to be accessed;
verifying whether the current access message meets the data standard of the management platform of the Internet of things;
if yes, verifying whether the control command of the power equipment to be accessed meets the data standard of the management platform of the Internet of things;
if yes, verifying whether the power equipment to be accessed supports the app issuing function;
if so, verifying whether the app installed on the power equipment to be accessed normally runs by the Internet of things simulation platform;
and if the result is consistent, confirming that the simulation access of the power equipment to be accessed is successful.
2. The method of claim 1, wherein the internet of things simulation platform integrates a plurality of standard product models, each standard product model including a standard object model constituting the standard product model;
the verifying whether the current product model and the current object model thereof meet the data standard of the internet of things management platform comprises the following steps:
judging whether the plurality of standard product models comprise the current product model;
if yes, judging whether a current object model in the current product model is consistent with a current object model in a corresponding standard product model;
and if the current product model and the current object model are consistent, determining that the current product model and the current object model conform to the data standard of the management platform of the Internet of things.
3. The method of claim 2, wherein the internet of things simulation platform comprises a plurality of protocol type parsing modules; the receiving the current access message sent by the power device to be accessed comprises:
identifying the current access message and carrying out analysis operation according to the protocol type corresponding to the current access message;
and acquiring the current message format and the current data format of the current access message.
4. The method of claim 3, wherein each standard product model further comprises a standard message format and a standard data format that are compliant with the IOT management platform specification;
the verifying whether the current access message meets the data standard of the internet of things management platform comprises:
judging whether the current message format in the current access message is consistent with the standard data format in the corresponding standard product model;
if so, judging whether the current data format in the current access message is consistent with the standard message format sum in the corresponding standard product model;
and if so, determining that the current access message conforms to the data standard of the management platform of the Internet of things.
5. The method of claim 4, wherein each standard product model further comprises the standard control command format in compliance with the IOT management platform specification;
the verifying whether the control instruction of the power equipment to be accessed meets the data standard of the Internet of things management platform comprises the following steps:
sending test input of a test case to the power equipment to be accessed; wherein, the test case conforms to a standard control command format;
receiving a feedback result sent by the power equipment to be accessed;
and if the feedback result is consistent with the test output of the test case, the control command is normally executed by the power equipment to be accessed, and the control command of the power equipment to be accessed is confirmed to meet the data standard of the management platform of the Internet of things.
6. The method of claim 1, wherein after confirming that the simulated access of the to-be-accessed power device is successful, further comprising:
and uploading the current product model and the current object model of the power equipment to be accessed to an Internet of things management platform.
7. The method of claim 2, further comprising maintaining a plurality of standard product models.
8. The method of claim 1, further comprising:
communicating with the power equipment to be accessed, and maintaining the application in the power equipment to be accessed;
wherein, the maintenance operation of the application to be accessed into the power equipment comprises: and downloading, deleting or updating the application to be accessed into the electric power equipment.
9. An Internet of things simulation platform, comprising:
the connecting unit is used for being in communication connection with the power equipment to be accessed;
the scanning unit is used for scanning and obtaining a current product model and a current object model of the power equipment to be accessed;
the first verification unit is used for verifying whether the current product model and the current object model thereof meet the data standard of the Internet of things management platform;
the second verification unit is used for receiving the current access message sent by the power equipment to be accessed if the current access message is consistent with the current access message; verifying whether the current access message meets the data standard of the management platform of the Internet of things;
the third verification unit is used for verifying whether the control instruction of the power equipment to be accessed meets the data standard of the management platform of the Internet of things or not if the control instruction meets the data standard of the management platform of the Internet of things;
the fourth verification unit is used for verifying whether the to-be-accessed power equipment supports the app issuing function or not if the to-be-accessed power equipment meets the app issuing function;
the fifth verification unit is used for verifying whether the app installed on the power equipment to be accessed runs normally or not by the Internet of things simulation platform if the first verification unit supports the app installed on the power equipment to be accessed; and if the result is consistent, confirming that the simulation access of the power equipment to be accessed is successful.
10. The internet of things simulation platform of claim 9, wherein the internet of things simulation platform integrates a plurality of standard product models, each standard product model comprising a plurality of standard object models that make up the standard product model;
each standard product model also comprises a standard control command format, a standard message format and a standard data format which are in accordance with the Internet of things management platform specification;
the Internet of things simulation platform comprises a plurality of protocol type analysis modules.
CN202011410782.8A 2020-12-03 2020-12-03 Internet of things simulation platform and simulation method Active CN112600889B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011410782.8A CN112600889B (en) 2020-12-03 2020-12-03 Internet of things simulation platform and simulation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011410782.8A CN112600889B (en) 2020-12-03 2020-12-03 Internet of things simulation platform and simulation method

Publications (2)

Publication Number Publication Date
CN112600889A true CN112600889A (en) 2021-04-02
CN112600889B CN112600889B (en) 2023-01-17

Family

ID=75189043

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011410782.8A Active CN112600889B (en) 2020-12-03 2020-12-03 Internet of things simulation platform and simulation method

Country Status (1)

Country Link
CN (1) CN112600889B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113162823A (en) * 2021-04-06 2021-07-23 广州鲁邦通物联网科技有限公司 APP test simulation system and Internet of things simulation test method
CN113206763A (en) * 2021-05-26 2021-08-03 国网山东省电力公司电力科学研究院 Simulation test system and method suitable for Internet of things management platform
CN113419920A (en) * 2021-06-28 2021-09-21 国网山东省电力公司电力科学研究院 Real-time monitoring method for joint debugging test process of simulation test system of Internet of things management platform
CN115203977A (en) * 2022-08-24 2022-10-18 国网信息通信产业集团有限公司 Power grid simulation system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105246096A (en) * 2015-09-08 2016-01-13 三维通信股份有限公司 Quick access method for low-power consumption Internet of things equipment
CN109040255A (en) * 2018-08-08 2018-12-18 中国联合网络通信集团有限公司 Internet of things equipment cut-in method, device, equipment and storage medium
CN109474577A (en) * 2018-10-17 2019-03-15 太原市高远时代科技有限公司 A kind of Internet of Things network edge O&M equipment with safety permission function
CN109861978A (en) * 2018-12-28 2019-06-07 浙江工业大学 A kind of Internet of Things SaaS platform based on MQTT agreement
CN111262859A (en) * 2020-01-16 2020-06-09 南京能迪电气技术有限公司 Method for self-adaptively accessing intelligent terminal of Internet of things to ubiquitous power Internet of things
CN111901230A (en) * 2020-06-03 2020-11-06 浙江吉利汽车研究院有限公司 Internet of things gateway and system supporting equipment access verification and equipment access verification method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105246096A (en) * 2015-09-08 2016-01-13 三维通信股份有限公司 Quick access method for low-power consumption Internet of things equipment
CN109040255A (en) * 2018-08-08 2018-12-18 中国联合网络通信集团有限公司 Internet of things equipment cut-in method, device, equipment and storage medium
CN109474577A (en) * 2018-10-17 2019-03-15 太原市高远时代科技有限公司 A kind of Internet of Things network edge O&M equipment with safety permission function
CN109861978A (en) * 2018-12-28 2019-06-07 浙江工业大学 A kind of Internet of Things SaaS platform based on MQTT agreement
CN111262859A (en) * 2020-01-16 2020-06-09 南京能迪电气技术有限公司 Method for self-adaptively accessing intelligent terminal of Internet of things to ubiquitous power Internet of things
CN111901230A (en) * 2020-06-03 2020-11-06 浙江吉利汽车研究院有限公司 Internet of things gateway and system supporting equipment access verification and equipment access verification method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113162823A (en) * 2021-04-06 2021-07-23 广州鲁邦通物联网科技有限公司 APP test simulation system and Internet of things simulation test method
CN113206763A (en) * 2021-05-26 2021-08-03 国网山东省电力公司电力科学研究院 Simulation test system and method suitable for Internet of things management platform
CN113419920A (en) * 2021-06-28 2021-09-21 国网山东省电力公司电力科学研究院 Real-time monitoring method for joint debugging test process of simulation test system of Internet of things management platform
CN115203977A (en) * 2022-08-24 2022-10-18 国网信息通信产业集团有限公司 Power grid simulation system

Also Published As

Publication number Publication date
CN112600889B (en) 2023-01-17

Similar Documents

Publication Publication Date Title
CN112600889B (en) Internet of things simulation platform and simulation method
CN112988485B (en) Simulation test method and device for electric power Internet of things equipment
CN108196915A (en) Code process method, equipment and storage medium based on application container engine
CN109343980B (en) Cloud copying and cloud pasting method, device, system, equipment and storage medium
CN112422372B (en) MQTT protocol industrial equipment data simulation method based on reflection mechanism
CN111786939B (en) Method, device and system for testing management platform of Internet of things
CN102970342A (en) Automatic update method of embedded terminal based on over the air (OTA) technology
CN111352836A (en) Pressure testing method and related device
CN111611054A (en) Application deployment method and device
CN103491522A (en) Terminal adaption method and device
CN111897890A (en) Financial business processing method and device
CN113838231B (en) Intelligent lock fault processing method and device based on intelligent sound box and readable medium
CN113485927A (en) Test data generation method, device, equipment and storage medium
US20230267430A1 (en) Data processing method and device, and computer-readable storage medium
CN110825538A (en) MQ-based method for dynamically interacting data by self-defining data types
CN112804291B (en) Remote equipment auditing method, device and system
CN113485902B (en) Method, device, equipment and computer readable medium for testing service platform
CN111935316B (en) Method and device for acquiring front-end equipment catalog
CN115022328A (en) Server cluster, server cluster testing method and device and electronic equipment
KR20130056539A (en) Apparatas and method for performing communication with media transfer protocol supported device in a portable terminal
CN107368731A (en) A kind of method and apparatus for carrying out safety verification
CN113590243A (en) Energy enterprise project creation method and device, computer equipment and medium
CN113572676A (en) Mail processing method and device
CN113886780B (en) Client information verification method, device, medium and electronic equipment
CN113608986A (en) Method and device for testing performance of mainframe

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