CN110673507A - Data simulation method and device for Internet of things equipment - Google Patents

Data simulation method and device for Internet of things equipment Download PDF

Info

Publication number
CN110673507A
CN110673507A CN201910828872.XA CN201910828872A CN110673507A CN 110673507 A CN110673507 A CN 110673507A CN 201910828872 A CN201910828872 A CN 201910828872A CN 110673507 A CN110673507 A CN 110673507A
Authority
CN
China
Prior art keywords
internet
things
simulation
data
equipment
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.)
Pending
Application number
CN201910828872.XA
Other languages
Chinese (zh)
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.)
Xinao Shuneng Technology Co Ltd
Original Assignee
Xinao Shuneng 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 Xinao Shuneng Technology Co Ltd filed Critical Xinao Shuneng Technology Co Ltd
Priority to CN201910828872.XA priority Critical patent/CN110673507A/en
Publication of CN110673507A publication Critical patent/CN110673507A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B17/00Systems involving the use of models or simulators of said systems
    • G05B17/02Systems involving the use of models or simulators of said systems electric

Abstract

The invention is suitable for the technical field of data simulation, and provides a method and a device for simulating data of an internet of things device, wherein the method comprises the following steps: constructing simulation internet of things equipment; performing analog data configuration on the simulation internet of things equipment to enable the simulation internet of things equipment to generate analog data; and uploading the simulation data generated by the simulation Internet of things equipment to an Internet of things platform, so that the Internet of things platform displays the simulation data. The method for simulating the data of the internet of things equipment enables a user to sense the value brought by the data generated after the internet of things equipment is connected with the internet of things platform under the condition that no real internet of things equipment exists or the internet of things equipment is not connected to a comprehensive energy system.

Description

Data simulation method and device for Internet of things equipment
Technical Field
The invention belongs to the technical field of data simulation, and particularly relates to a data simulation method and device for an internet of things device.
Background
The comprehensive energy public information model is a complex system formed by devices in different energy fields (charge, source, network and storage) and different energy types (gas, electricity, cold, heat and the like). The comprehensive energy public information model can be used for carrying out standardized modeling on various energy utilization parties, energy supply parties, energy networks and energy conversion equipment, and accurately restoring various links of energy production, transmission, conversion and use.
In the prior art, when the internet of things equipment is connected to the comprehensive energy system, the energy data generated by the internet of things equipment can be uploaded to a big data platform for display. However, when no internet of things device exists or the internet of things device is not connected to the integrated energy system, the generated data cannot be uploaded to the big data platform, and therefore the user cannot visually see the value of the energy data of the internet of things device.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method and an apparatus for simulating data of an internet of things device, a terminal device, and a computer-readable storage medium, so as to solve the technical problem in the prior art that a user cannot visually see the value of energy data of the internet of things device when there is no internet of things device or the internet of things device is not connected to a comprehensive energy system.
In a first aspect of the embodiments of the present invention, a method for simulating data of an internet of things device is provided, including:
constructing simulation internet of things equipment;
performing analog data configuration on the simulation internet of things equipment to enable the simulation internet of things equipment to generate analog data;
and uploading the simulation data generated by the simulation Internet of things equipment to an Internet of things platform, so that the Internet of things platform displays the simulation data.
In a second aspect of the embodiments of the present invention, there is provided an apparatus for simulating data of an internet of things, including:
the building module is used for building the simulation internet of things equipment;
the configuration module is used for carrying out analog data configuration on the simulation internet of things equipment so as to enable the simulation internet of things equipment to generate analog data;
and the data uploading module is used for uploading the simulation data generated by the simulation internet of things equipment to an internet of things platform so that the internet of things platform can display the simulation data.
In a third aspect of the embodiments of the present invention, a terminal device is provided, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of the data simulation method for the internet of things device when executing the computer program.
In a fourth aspect of the embodiments of the present invention, a computer-readable storage medium is provided, where a computer program is stored, and when the computer program is executed by a processor, the steps of the data simulation method for the internet of things device are implemented.
The method for simulating the data of the internet of things equipment provided by the embodiment of the invention has the beneficial effects that at least: according to the embodiment of the invention, the simulated internet of things equipment is constructed firstly, and then the simulated data configuration is carried out on the simulated internet of things equipment, so that the simulated internet of things equipment generates simulated data, and the simulated data generated by the simulated internet of things equipment is uploaded to the internet of things platform, so that the simulated data is displayed by the internet of things platform, and a user can sense the value brought by the data generated after the internet of things equipment is connected with the internet of things platform under the condition that no real internet of things equipment exists or the internet of things equipment is not connected to a comprehensive energy system.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed for the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a first schematic flow chart of an implementation of a data simulation method for an internet of things device according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of an implementation process for building a simulated internet of things device in the data simulation method for the internet of things device according to the embodiment of the invention;
fig. 3 is a schematic flow chart of an implementation of a data simulation method for an internet of things device according to an embodiment of the present invention;
fig. 4 is a schematic flow chart illustrating an implementation process of verifying a user identity in a data simulation method for an internet of things device according to an embodiment of the present invention;
fig. 5 is a schematic flow chart illustrating implementation of simulation data configuration in the data simulation method for the internet of things device according to the embodiment of the present invention;
fig. 6 is a schematic flow chart illustrating an implementation of a data simulation method for an internet of things device according to an embodiment of the present invention;
fig. 7 is a first schematic diagram of a data simulation apparatus of an internet of things device according to an embodiment of the present invention;
fig. 8 is a schematic diagram of a building module in the data simulation apparatus for the internet of things according to the embodiment of the present invention;
fig. 9 is a schematic diagram of a configuration module in a data simulation apparatus for an internet of things device according to an embodiment of the present invention;
fig. 10 is a second schematic diagram of a data simulation apparatus of an internet of things device according to an embodiment of the present invention;
fig. 11 is a schematic diagram of an identity verification module in the data simulation apparatus for internet of things according to the embodiment of the present invention;
fig. 12 is a schematic diagram of a terminal device according to an embodiment of the present invention.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail. All other embodiments, which can be derived by a person skilled in the art from the described embodiments of the invention, are within the scope of the invention. Unless otherwise specified, the technical means used in the examples are conventional means well known to those skilled in the art.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the present application herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in the specification of the present application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to a determination" or "in response to a detection". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
In order to explain the technical means of the present invention, the following description will be given by way of specific examples.
Referring to fig. 1, it is a schematic diagram of an implementation flow of a data simulation method for an internet of things device according to an embodiment of the present invention, where the method may include:
step S20: and (5) constructing simulated internet of things equipment.
In order to obtain the simulation data of the internet of things equipment, the simulation internet of things equipment needs to be constructed firstly. Referring to fig. 2, in the present embodiment, the simulated internet of things device may be constructed by a simulation simulator, and one way of constructing the simulated internet of things device may include the following steps:
step S201: an enterprise requiring simulation is obtained.
In this embodiment, when the simulated internet of things device is constructed, an enterprise to which the simulated internet of things device belongs may be constructed first. For example: according to the relation between the enterprises to be simulated and the park, the park in which the enterprises are located is confirmed, so that the corresponding park is selected first, and the enterprises to be simulated are selected in the park. It should be understood that after selecting the corresponding campus, it is necessary to first determine whether there is any enterprise to be simulated in the campus, and if the enterprise is not included in the campus, it is necessary to first create the enterprise, so as to obtain the enterprise to be simulated. After acquiring the enterprise needing simulation, the following steps can be carried out:
step S202: and constructing the Internet of things gateway according to the enterprises.
The gateway is a network interconnection device, and can interconnect the simulation internet of things device and the internet of things platform, so that uploading of data of the simulation internet of things device is realized, and the internet of things gateway needs to be constructed before the simulation internet of things device is constructed. In this embodiment, when the internet of things gateway is constructed, the internet of things gateway is newly created under the acquired simulation enterprise, and parameters of the internet of things gateway are acquired. The parameters of the internet of things gateway include at least one of a gateway name, a gateway serial number, a gateway manufacturer code and a gateway protocol type, for example, the parameters of the internet of things gateway may be one or two of the parameters, or may be three or all of the parameters, and preferably include all of the parameters. Wherein, the gateway name defaults to: the gateway manufacturer number _ gateway serial number may be modified as needed. The gateway serial number is generated by using a UUID (universal Unique Identifier) with 16 bits, so as to ensure the uniqueness of the gateway serial number. The gateway vendor code may be specified by the simulator in a unified manner, such as SIMU8888, or may be generated in other ways, which is not limited herein.
It should be understood that when the parameters of the internet of things gateway are obtained, the parameters of the internet of things gateway can be manually input by a user, the user can input the parameters character by character during input, or input the parameters in a copy-paste manner, and the input manner is flexible and efficient.
Step S203: and constructing the simulation internet of things equipment according to the internet of things gateway.
And under the newly-built internet of things gateway, at least one simulated internet of things device can be newly built. It should be understood that the number of the simulated internet of things devices may be set as required, for example, it may be one or more. In the process of building the simulated internet of things device, parameters of the simulated internet of things device need to be correspondingly refined, for example, at least one of the device type and the device name of each simulated internet of things device is obtained, and preferably all the parameters are included. Wherein, the equipment type includes comprehensive energy equipment type, for example air compressor machine, water pump, valve, circuit breaker, boiler, generator, circuit etc. also can be other types, can set up as required. The default of the equipment name is the Chinese name of the equipment type, and can be modified according to the requirement. Of course, the parameters of the simulated internet of things device may also include other parameters such as a device model, a device number, and the like.
Step S204: and synchronizing the parameters of the simulation internet of things device and the internet of things gateway to the internet of things platform.
Because the number of the internet of things gateways and the simulation internet of things devices connected to the internet of things platform is possibly more and needs to be distinguished, parameters of the simulation internet of things devices and the simulation internet of things gateways need to be synchronized to the internet of things platform, so that the internet of things platform can effectively display information of all the simulation internet of things devices. When parameters of the simulation internet of things device and the internet of things gateway are synchronized to the internet of things platform, the parameters can also be synchronized to the common information model platform.
In one embodiment, before the simulated internet of things device is constructed, the identity of the user needs to be verified, so that the operation authority of the user is ensured, and the security is improved. Referring to fig. 3, step S20 further includes:
step S10: the user identity is verified.
Referring to fig. 4, in this embodiment, verifying the user identity may include the following steps:
step S101: and providing a user login interface according to the user operation.
The user can enter the user login interface in various ways, such as: the user login interface can be accessed through the browser, at the moment, the user can click the browser to newly build a webpage and input corresponding address information in an address input field of the webpage, so that the user login interface can be accessed; the user login interface can also be accessed through the client, at this time, the user can download and install the corresponding client on the terminal equipment in advance, and when the user needs to login, the user can access the user login interface by clicking the client; the user login interface can be accessed through an application program (APP), the application program can be installed on the mobile terminal, and when the user needs to login, the user can be accessed by clicking the application program. Of course, the user may enter the user login interface in other forms, such as controlling a browser, a client, or an application program by voice, which is not limited herein.
Step S102: and acquiring the authentication information of the user.
In this embodiment, the authentication of the user may be performed in a variety of ways. For example: the authentication can be performed in an account and password manner, at this time, the user login interface provides an interface for inputting an account and a password, the user can input an account and a corresponding password, the input manner can be manual input, or voice input, and the like, and the authentication is not limited herein. The following steps are repeated: the fingerprint verification method can be used for verifying the fingerprint, the user login interface can give a prompt for inputting the fingerprint at the moment, and the user can input the fingerprint through the fingerprint input unit. For another example: the verification can be carried out in a face recognition mode, at the moment, a user login interface can give a prompt for face recognition, and a user can input a corresponding face image through a face recognition module for verification. Of course, the authentication may be in other forms, such as gesture authentication, graphic authentication, sliding puzzle authentication, etc., without limitation. The authentication of the user may be performed in one manner or may include a plurality of manners, which contributes to further improvement of security.
Step S103: and judging whether the identity authentication information is matched with preset information.
In this embodiment, before performing the identity authentication, the identity information of the user may be entered in advance to form the preset information. According to different verification modes, the identity information which is input in advance is different. For example, when the verification mode is the account + password mode, the preset information is corresponding to the account + password; when the verification mode is a fingerprint mode, the preset information is corresponding to the fingerprint; when the verification mode is a face recognition mode, the preset information is corresponding to face information of the user. Of course, the authentication mode can be in other forms, and the preset information is changed correspondingly. The preset information can be a group or a plurality of groups; the method can be in one form or multiple forms, and is not limited herein.
After the authentication information is obtained, the authentication information needs to be compared with the preset information, and the identity of the user is confirmed by whether the authentication information is matched with the preset information.
If the identity verification information is matched with the preset identity information, the fact that the user has the corresponding operation authority is meant, and at the moment, the step of determining the park needing simulation is carried out.
If the authentication information does not match the preset authentication information, it means that the user authentication fails, and at this time, the user cannot continue to perform the subsequent steps, and the step returns to step S102 to obtain the authentication information of the user again. Of course, when the user authentication fails, the process may be ended directly.
Referring to fig. 1, further, after the simulated internet of things device is constructed, the following steps may be performed:
step S40: and carrying out analog data configuration on the simulated internet of things equipment so as to enable the simulated internet of things equipment to generate analog data.
In order to acquire the required analog data, the simulated internet of things device needs to be set, namely, the analog data configuration is carried out. Referring to fig. 5, in the present embodiment, the analog data configuration mainly includes two aspects, namely, determining the analog data type and the data uploading frequency, which specifically includes:
step S401: and determining the simulation data type of the simulation internet of things device.
The analog data type includes at least one of a fixed value, a random value, a status value, and an accumulated value, and preferably may include a fixed value, a random value, a status value, and an accumulated value. The analog data type is a fixed value, which means that the same value is uploaded every time when data is uploaded. The simulation data type is a random value, which means that a data range (including a maximum value and a minimum value) is set, and data is randomly generated in the data range for uploading each time data uploading is carried out. The analog data type is characterized by a state value as a switching signal, corresponding to 0 (off) and 1 (on). The simulation data type is an accumulated value, which means that a step length is set in an interval, and the accumulated value is obtained according to the step length to upload data each time; when the interval has a minimum value and a maximum value, the accumulated value is increased to the maximum value and then returns to the minimum value to start circulation again; when the interval has no maximum value, the accumulation is carried out all the time.
Step S402: and determining the analog data uploading frequency of the simulated internet of things equipment.
In this embodiment, the analog data uploading frequency may be set as needed, for example, the uploading frequency may range from 5 seconds to 15 minutes, specifically may range from 5 seconds, 10 seconds, 15 seconds, 30 seconds, 1 minute, 5 minutes, 15 minutes, and the like, and may also range from other values, which is not limited herein.
In this embodiment, when the simulation data is set, simulation data parameters may be imported offline, and a sending function may also be simulated. The type of the selected function (such as a sin function, a cos function, a piecewise function and the like) can be set, and the entry mode of the function can also be set.
In this embodiment, the simulation data parameters may be managed. Wherein the management comprises at least one of total modification, partial modification, total deletion, partial deletion, total duplication and partial duplication. The simulation data parameters after all or part of the copying can be pasted to other equipment, the process can effectively improve the working efficiency, and the error rate when the simulation data is manually input is reduced.
Referring to fig. 1, after obtaining the simulation data generated by simulating the internet of things, the following steps may be performed:
step S60: and uploading the simulation data generated by the simulation Internet of things equipment to an Internet of things platform so that the Internet of things platform displays the simulation data.
In this embodiment, after the simulation data generated by the simulation internet of things device is uploaded to the internet of things platform, the simulation data is analyzed by the internet of things platform, the analyzed simulation data enters the time sequence database of the internet of things platform, and the time sequence database queries the simulation data and then dynamically refreshes and displays the simulation data.
In this embodiment, a simulation label is set in front of the simulated internet of things device in the internet of things platform, and is used for distinguishing the simulated internet of things device from a real device. The analog label can be an asterisk or an acronym of letter or any other symbol that enables analog labels.
It can be understood that the internet of things platform receives the simulation data generated by the simulation internet of things device, and displays the simulation data after analyzing the simulation data.
The method for simulating the data of the internet of things equipment provided by the embodiment has the beneficial effects that: in this embodiment, firstly, a simulated internet of things device is constructed, and secondly, the simulated internet of things device is subjected to simulated data configuration, so that the simulated internet of things device generates simulated data, and the simulated data generated by the simulated internet of things device is uploaded to an internet of things platform, so that the simulated data is displayed by the internet of things platform, and a user can sense the value brought by the data generated after the internet of things device is connected to the internet of things platform without a real internet of things device or without the internet of things device being connected to a comprehensive energy system.
Referring to fig. 6, an embodiment of a data simulation method for an internet of things is described below.
The user identity is first verified. The method specifically comprises the following steps:
step S701: providing a user login interface according to user operation, namely, enabling a user to enter the user login interface in a browser mode and the like;
step S702: acquiring identity authentication information of a user;
step S703: judging whether the identity authentication information is matched with preset information or not;
if the identity authentication information is matched with the preset identity information, the following step S704 is executed;
if the identity authentication information is not matched with the preset identity information, returning to the step S702;
step S704: determining a park to be simulated;
step S705: judging whether the park comprises simulated enterprises or not;
if the park does not contain simulated enterprises, then:
step S706: newly building an enterprise;
if the campus contains a simulated enterprise, then:
step S707: selecting an enterprise;
step S708: judging whether the enterprise has the constructed simulated internet of things equipment or not;
if the enterprise has the constructed simulated equipment of the internet of things, the step S712 is executed;
if the simulated internet of things equipment is not constructed under the enterprise, the following steps are carried out:
step S709: according to enterprises, an internet of things gateway is constructed;
step S710: constructing simulation internet-of-things equipment according to the internet-of-things gateway;
step S711: synchronizing the parameter information of the Internet of things gateway and the simulation Internet of things equipment to an Internet of things platform and a public information model platform;
step S712: carrying out analog data configuration on the simulated internet of things equipment so as to enable the simulated internet of things equipment to generate analog data;
step S713: uploading simulation data generated by the simulation internet of things equipment to an internet of things platform;
step S714: analog data enters big data through internet of things analysis;
step S715: and dynamically displaying the data.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
An object of an embodiment of the present invention is to provide an equipment data simulation apparatus for internet of things, and fig. 7 is a schematic diagram of the equipment data simulation apparatus for internet of things.
Referring to fig. 7, the data simulation apparatus for internet of things includes a construction module 82, a configuration module 84, and a data uploading module 86. The building module 82 is used for building simulated internet of things equipment; the configuration module 84 is configured to perform analog data configuration on the simulated internet of things device, so that the simulated internet of things device generates analog data; the data uploading module 86 is configured to upload the simulation data generated by the simulation internet of things device to an internet of things platform, so that the internet of things platform displays the simulation data.
Referring to fig. 8, further, the building module 82 includes a campus building unit 821, an enterprise building unit 822, an internet gateway building unit 823, an equipment building unit 824, and a parameter synchronization unit 825. The park building unit 821 is used for obtaining a park; the enterprise building unit 822 is used for acquiring an enterprise needing simulation; the internet of things gateway construction unit 823 is configured to construct an internet of things gateway according to the enterprise; the device building unit 824 is configured to build the simulated internet of things device according to the internet of things gateway; the parameter synchronization unit 825 is configured to synchronize parameters of the emulated internet of things device and the internet of things gateway to the internet of things platform.
Referring to fig. 9, further, the configuration module 84 includes a data type determining unit 841 and an upload frequency determining unit 842. The data type determining unit 841 is configured to determine a simulation data type of the simulated internet of things device; the upload frequency determination unit 842 is configured to determine an upload frequency of analog data of the simulated internet of things device.
Referring to fig. 10, further, the data simulation apparatus for internet of things further includes an identity verification module 81 for verifying the identity of the user.
Referring to fig. 11, the identity verification module 81 further includes a login interface providing unit 811, a verification information obtaining unit 812, and an identity matching unit 813. The login interface providing unit 811 is configured to provide a user login interface according to a user operation; the authentication information acquisition unit 812 is configured to acquire authentication information of a user; the identity matching unit 813 is configured to determine whether the authentication information matches preset information.
Fig. 12 is a schematic diagram of a terminal device according to an embodiment of the present invention. As shown in fig. 12, the terminal device 9 includes a memory 91, a processor 90, and a computer program 92 stored in the memory 91 and executable on the processor 90, and when the processor 90 executes the computer program 92, the steps of the data simulation method of the internet of things device are implemented. Such as steps S10-S60 shown in fig. 1-5.
The terminal device 9 may be a desktop computer, a notebook, a palm computer, a cloud server, or other computing devices. The terminal device may include, but is not limited to, the processor 90 and the memory 91. Those skilled in the art will appreciate that fig. 12 is only an example of the terminal device 9, and does not constitute a limitation to the terminal device 9, and may include more or less components than those shown, or combine some components, or different components, for example, the terminal device may also include an input-output device, a network access device, a bus, etc.
The Processor 90 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 91 may be an internal storage unit of the terminal device 9, such as a hard disk or a memory of the terminal device 9. The memory 91 may also be an external storage device of the terminal device 9, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) and the like provided on the terminal device 9. Further, the memory 91 may also include both an internal storage unit and an external storage device of the terminal device 9. The memory 91 is used for storing the computer program and other programs and data required by the terminal device. The memory 91 may also be used to temporarily store data that has been output or is to be output.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow in the method of the embodiments described above can be realized by a computer program, which can be stored in a computer-readable storage medium and can realize the steps of the embodiments of the methods described above when the computer program is executed by a processor. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, etc. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
Specifically, the present application further provides a computer-readable storage medium, which may be a computer-readable storage medium contained in the memory in the foregoing embodiments; or it may be a separate computer-readable storage medium not incorporated into the terminal device. The computer readable storage medium stores one or more computer programs:
a computer-readable storage medium comprising a computer program stored thereon, which, when executed by a processor, performs the steps of the data simulation method for the internet of things device.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other ways. For example, the above-described embodiments of the apparatus/terminal device are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.

Claims (10)

1. A data simulation method for an Internet of things device is characterized by comprising the following steps:
constructing simulation internet of things equipment;
performing analog data configuration on the simulation internet of things equipment to enable the simulation internet of things equipment to generate analog data;
and uploading the simulation data generated by the simulation Internet of things equipment to an Internet of things platform, so that the Internet of things platform displays the simulation data.
2. The data simulation method of the internet of things equipment according to claim 1, wherein the building of the simulated internet of things equipment comprises the following steps:
acquiring an enterprise needing simulation;
constructing an internet of things gateway according to the enterprise;
constructing the simulation internet of things equipment according to the internet of things gateway;
and synchronizing the parameters of the simulation internet of things device and the internet of things gateway to the internet of things platform.
3. The method for simulating the data of the equipment in the internet of things according to claim 2, wherein the step of acquiring the enterprise needing simulation comprises the following steps:
determining a park to be simulated;
judging whether the park comprises the enterprise;
if the park comprises the enterprise, selecting the enterprise; and if the park does not contain the enterprise, newly building the enterprise.
4. The method for simulating data of an internet of things device according to claim 3, wherein before the step of determining the park to be simulated, the method further comprises verifying the identity of the user;
the verifying the user identity includes:
providing a user login interface according to user operation;
acquiring identity authentication information of a user;
judging whether the identity authentication information is matched with preset information:
and if the identity verification information is matched with the preset identity information, entering the step of determining the park needing simulation.
5. The method for simulating the data of the equipment in the internet of things according to claim 2, wherein the building of the gateway in the internet of things according to the enterprise comprises the following steps:
establishing the internet of things gateway under the enterprise;
and acquiring parameters of the Internet of things gateway, wherein the parameters of the Internet of things gateway comprise at least one of a gateway name, a gateway serial number, a gateway manufacturer code and a gateway protocol type.
6. The method for simulating data of the equipment in the internet of things according to claim 2, wherein the constructing the simulated equipment in the internet of things according to the gateway in the internet of things comprises:
establishing the simulation internet of things device under the internet of things gateway;
and acquiring parameters of the simulated internet of things device, wherein the parameters of the simulated internet of things device comprise at least one of a device type and a device name.
7. The data simulation method of the equipment in the internet of things as claimed in any one of claims 1 to 6, wherein the performing simulation data configuration on the simulation equipment in the internet of things to enable the simulation equipment in the internet of things to generate simulation data comprises:
determining a simulation data type of the simulation internet of things device, wherein the simulation data type comprises at least one of a fixed value, a random value, a state value and an accumulated value;
and determining the analog data uploading frequency of the simulated internet of things equipment.
8. A data simulation device of an Internet of things device is characterized by comprising:
the building module is used for building the simulation internet of things equipment;
the configuration module is used for carrying out analog data configuration on the simulation internet of things equipment so as to enable the simulation internet of things equipment to generate analog data;
and the data uploading module is used for uploading the simulation data generated by the simulation internet of things equipment to an internet of things platform so that the internet of things platform can display the simulation data.
9. A terminal device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 7.
CN201910828872.XA 2019-09-03 2019-09-03 Data simulation method and device for Internet of things equipment Pending CN110673507A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910828872.XA CN110673507A (en) 2019-09-03 2019-09-03 Data simulation method and device for Internet of things equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910828872.XA CN110673507A (en) 2019-09-03 2019-09-03 Data simulation method and device for Internet of things equipment

Publications (1)

Publication Number Publication Date
CN110673507A true CN110673507A (en) 2020-01-10

Family

ID=69076293

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910828872.XA Pending CN110673507A (en) 2019-09-03 2019-09-03 Data simulation method and device for Internet of things equipment

Country Status (1)

Country Link
CN (1) CN110673507A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111262759A (en) * 2020-03-17 2020-06-09 中国建设银行股份有限公司 Internet of things platform testing method, device, equipment and storage medium
CN112182891A (en) * 2020-09-30 2021-01-05 深圳市智物联网络有限公司 Industrial object simulation method, device and equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170026421A1 (en) * 2015-07-24 2017-01-26 Samsung Electronics Co., Ltd. Apparatus and method for supporting back-up and restore of environment for performing a function
CN108809747A (en) * 2018-03-22 2018-11-13 苏州德姆斯信息技术有限公司 A kind of the analogue data test system and its test method of system platform
CN108846574A (en) * 2018-06-12 2018-11-20 广州广电研究院有限公司 A kind of the wisdom garden management system and method for three-dimensional visualization
WO2019000077A1 (en) * 2017-06-26 2019-01-03 Bioconnect Inc. Identity management platform
CN109768982A (en) * 2019-01-23 2019-05-17 深圳市元征科技股份有限公司 A kind of encrypted transmission method and device based on Internet of Things
CN109951520A (en) * 2019-01-24 2019-06-28 深圳中兴网信科技有限公司 A kind of data transmission method, air monitering equipment and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170026421A1 (en) * 2015-07-24 2017-01-26 Samsung Electronics Co., Ltd. Apparatus and method for supporting back-up and restore of environment for performing a function
WO2019000077A1 (en) * 2017-06-26 2019-01-03 Bioconnect Inc. Identity management platform
CN108809747A (en) * 2018-03-22 2018-11-13 苏州德姆斯信息技术有限公司 A kind of the analogue data test system and its test method of system platform
CN108846574A (en) * 2018-06-12 2018-11-20 广州广电研究院有限公司 A kind of the wisdom garden management system and method for three-dimensional visualization
CN109768982A (en) * 2019-01-23 2019-05-17 深圳市元征科技股份有限公司 A kind of encrypted transmission method and device based on Internet of Things
CN109951520A (en) * 2019-01-24 2019-06-28 深圳中兴网信科技有限公司 A kind of data transmission method, air monitering equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111262759A (en) * 2020-03-17 2020-06-09 中国建设银行股份有限公司 Internet of things platform testing method, device, equipment and storage medium
CN112182891A (en) * 2020-09-30 2021-01-05 深圳市智物联网络有限公司 Industrial object simulation method, device and equipment

Similar Documents

Publication Publication Date Title
CN110602052B (en) Micro-service processing method and server
CN108365961B (en) The response method and server that interface call method and terminal device, interface call
KR102080156B1 (en) Auto Recharge System, Method and Server
CN106341381A (en) Method and system of key management for rack server system
CN110162994A (en) Authority control method, system, electronic equipment and computer readable storage medium
CN109743293A (en) The access method and network target range system, computer storage medium in network target range
CN108073351A (en) The date storage method and credible chip of nonvolatile storage space in chip
CN109788052B (en) Server configuration remote query method, device, terminal and storage medium
CN104301875A (en) Short message processing method and device
CN110673507A (en) Data simulation method and device for Internet of things equipment
CN105162774A (en) Virtual machine login method and device used for terminal
CN115119197B (en) Wireless network risk analysis method, device, equipment and medium based on big data
CN116610336A (en) Firmware upgrading method, system, device and readable storage medium
CN113497806B (en) Remote login method, device and storage medium
CN116015816A (en) Access management method, device, equipment and storage medium of heterogeneous equipment of Internet of things platform
CN115964726A (en) Robot process automation data processing method, device, equipment and storage medium
CN112311624B (en) Cloud host testing method and device, storage medium and electronic equipment
CN115061916A (en) Method for automatically generating interface test case and related equipment thereof
CN112256760A (en) Data prediction method and device, computer equipment and storage medium
CN112637160A (en) Login verification method, device, equipment and storage medium
CN110119337A (en) A kind of data analysing method, device and server
CN109871708A (en) Data transmission method, device, electronic equipment and storage medium
CN114650436B (en) Remote control method, device, equipment and medium based on background service
CN116701470B (en) Method and device for reproducing customer problems under medium rack, electronic equipment and medium
CN113507375B (en) Remote login method and device based on time sequence password and storage medium

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200110