CN113973060A - Internet of things simulation method, device and system and storage medium - Google Patents

Internet of things simulation method, device and system and storage medium Download PDF

Info

Publication number
CN113973060A
CN113973060A CN202010642063.2A CN202010642063A CN113973060A CN 113973060 A CN113973060 A CN 113973060A CN 202010642063 A CN202010642063 A CN 202010642063A CN 113973060 A CN113973060 A CN 113973060A
Authority
CN
China
Prior art keywords
audio
simulator
networking module
simulation
control instruction
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
CN202010642063.2A
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.)
Shanghai Mxchip Information Technology Co Ltd
Original Assignee
Shanghai Mxchip 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 Shanghai Mxchip Information Technology Co Ltd filed Critical Shanghai Mxchip Information Technology Co Ltd
Priority to CN202010642063.2A priority Critical patent/CN113973060A/en
Publication of CN113973060A publication Critical patent/CN113973060A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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
    • 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

Abstract

The embodiment of the invention discloses a method, a device and a system for simulating the Internet of things and a storage medium. The method is applied to an Internet of things simulation system, wherein the Internet of things simulation system comprises an audio and video equipment simulator, an equipment control simulation end and a networking module, and the method comprises the following steps: when a networking module receives a first control instruction sent by an equipment control simulation end, the networking module sends the first control instruction to an audio and video equipment simulator; and the audio and video equipment simulator adjusts the current attribute information of the audio and video equipment simulator according to the first control instruction. The Internet of things simulation method provided by the embodiment of the invention can improve the development efficiency of the Internet of things system, shorten the debugging time and especially shorten the development time of audio and video equipment.

Description

Internet of things simulation method, device and system and storage medium
Technical Field
The embodiment of the invention relates to the technical field of application of the Internet of things, in particular to a method, a device and a system for simulating the Internet of things and a storage medium.
Background
With the rapid development of science and technology, various intelligent devices are produced. The existing intelligent equipment is researched and developed mainly through product definition, equipment function research and development, networking module (such as a WiFi module) research and development, equipment control end (such as a mobile phone application program APP) research and development and multi-aspect combined debugging, and finally testing and acceptance are carried out on the intelligent equipment.
Fig. 1 is a schematic diagram of a development process of a smart device provided in the prior art. Theoretically, the research and development of the device function, the research and development of the networking module and the research and development of the device control end are mutually independent research and development processes, the three are not interfered with each other, and the three can be developed according to a protocol. However, in the actual development process, the developer of the device control end can only complete UI interface development, and data debugging of the whole system cannot be basically carried out, and although the developer of the device function can complete the data communication function, the developer of the device function cannot carry out data debugging by himself without the device control end. Therefore, the workload and the required time of joint debugging between the equipment control end and the networking module and joint debugging between the equipment function and the networking module are increased suddenly, and finally, the completion time of the Internet of things system is difficult to control, and the project result is influenced immeasurably. In addition, in order to compensate for the time loss, a developer of the device control end and a developer of the device function often force the joint debugging between the device control end and the networking module and the joint debugging between the device function and the networking module to be advanced, so that a great pressure is applied to the developer of the networking module, and in addition, due to the conflict of multiple parallel projects, the project cannot be performed normally.
Disclosure of Invention
The embodiment of the invention provides an Internet of things simulation method, device and system and a storage medium, which can improve the development efficiency of an Internet of things system and shorten the debugging time.
In a first aspect, an embodiment of the present invention provides an internet of things simulation method, which is applied to an internet of things simulation system, where the internet of things simulation system includes an audio and video device simulator, a device control simulation terminal, and a networking module, and the method includes:
when a networking module receives a first control instruction sent by an equipment control simulation end, the networking module sends the first control instruction to an audio and video equipment simulator;
and the audio and video equipment simulator adjusts the current attribute information of the audio and video equipment simulator according to the first control instruction.
In a second aspect, an embodiment of the present invention further provides an internet of things simulation apparatus, which is applied to an internet of things simulation system, where the internet of things simulation system includes an audio and video device simulator, a device control simulation terminal, and a networking module, and the apparatus includes:
the device comprises a sending module, a networking module and an audio and video equipment simulator, wherein the sending module is configured to execute that when the networking module receives a first control instruction sent by an equipment control simulation end, the networking module sends the first control instruction to the audio and video equipment simulator;
and the adjusting module is configured to execute the audio and video equipment simulator to adjust the current attribute information of the audio and video equipment simulator according to the first control instruction.
In a third aspect, an embodiment of the present invention further provides an internet of things simulation system, which includes an audio/video device simulator, a device control simulation terminal, a networking module, a memory, at least one processor, and a computer program that is stored in the memory and can be run on the processor, where the processor implements the internet of things simulation method according to the embodiment of the present invention when executing the computer program.
In a fourth aspect, the embodiment of the present invention further provides a computer-readable medium, on which a computer program is stored, where the computer program, when executed by a processing device, implements the method for simulating the internet of things according to the embodiment of the present invention.
The internet of things simulation scheme provided by the embodiment of the invention is applied to an internet of things simulation system, wherein the internet of things simulation system comprises an audio and video equipment simulator, an equipment control simulation end and a networking module, and comprises the following components: when a networking module receives a first control instruction sent by an equipment control simulation end, the networking module sends the first control instruction to an audio and video equipment simulator; and the audio and video equipment simulator adjusts the current attribute information of the audio and video equipment simulator according to the first control instruction. The Internet of things simulation method provided by the embodiment of the invention can improve the development efficiency of the Internet of things system, shorten the debugging time and especially shorten the development time of audio and video equipment.
Drawings
Fig. 1 is a schematic diagram of a development process of a smart device provided in the prior art;
fig. 2 is a flowchart of an internet of things simulation method according to an embodiment of the present invention;
fig. 3 is a schematic diagram of an architecture of an internet of things simulation system according to an embodiment of the present invention;
fig. 4 is a flowchart of a simulation method of the internet of things according to another embodiment of the present invention;
fig. 5 is a schematic structural diagram of an internet of things simulation apparatus according to an embodiment of the present invention;
fig. 6 is a block diagram of a structure of an internet of things simulation system according to an embodiment of the present invention.
Detailed Description
Embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present invention are shown in the drawings, it should be understood that the present invention may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for a more thorough and complete understanding of the present invention. It should be understood that the drawings and the embodiments of the present invention are illustrative only and are not intended to limit the scope of the present invention.
It should be understood that the various steps recited in the method embodiments of the present invention may be performed in a different order and/or performed in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the invention is not limited in this respect.
The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the following description.
It should be noted that the terms "first", "second", and the like in the present invention are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in the present invention are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that reference to "one or more" unless the context clearly dictates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present invention are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
Fig. 2 is a flowchart of an internet of things simulation method according to an embodiment of the present invention, which is applicable to a situation of simulating an internet of things, and the method may be executed by an internet of things simulation apparatus, which may be composed of hardware and/or software, and may generally be integrated in an internet of things simulation system having an internet of things simulation function. As shown in fig. 2, the method specifically includes the following steps:
step 201, when a networking module receives a first control instruction sent by an equipment control simulation end, the networking module sends the first control instruction to an audio and video equipment simulator.
The Internet of things simulation method provided by the embodiment of the invention is applied to an Internet of things simulation system, wherein the Internet of things simulation system comprises an audio and video equipment simulator, an equipment control simulation end and a networking module, the audio and video equipment simulator is in communication connection with the networking module, and the equipment control simulation end is in communication connection with the networking module. Wherein, networking module can include WIFI module or MXkit development external member, audio and video equipment simulator can be including the simulator that has camera and audio acquisition module, for example, audio and video equipment simulator can be for being used for the guide will get the audio and video equipment simulator that personnel to express delivery cabinet collected the express delivery, still can be for being used for guiding the vehicle to travel to the audio and video equipment simulator of district, also can be for carrying out the audio and video equipment simulator that monitors to the discrepancy of old man or no civil activity or the people that restrict the civil activity ability. The device control simulation end may include a simulation end of an application program in the intelligent terminal, or a cloud end for controlling the audio and video device simulator.
In the embodiment of the invention, when the internet of things needs to be simulated, the equipment control simulation end generates the first control instruction according to the simulation instruction input by the user, wherein the first control instruction can be understood as a control instruction of the equipment control simulation end on the attribute information or the state information of the equipment simulation end. And the equipment control simulation end sends the generated first control instruction to the networking module. When the networking module receives a first control instruction sent by the equipment control simulation end, the networking module sends the first control instruction to the audio and video equipment simulator.
Optionally, when the networking module receives a first control instruction sent by the device control simulation end, the networking module sends the first control instruction to the audio and video device simulator, including: when a networking module receives a first control instruction sent by an equipment control simulation end, acquiring a reported data use case of the networking module; and the networking module sends the first control instruction to an audio and video equipment simulator according to the reported data use case. The reported data use case can be understood as a test use case generated by the networking module performing an actual data reporting process under different actual requirements, that is, a series of codes executed in the process of performing actual data reporting by the networking module under different actual requirements are converted into a test use case which can be repeatedly executed. When the networking module receives a first control instruction sent by the equipment control simulation end, the first control instruction is sent to the audio and video equipment simulator according to the reported data use case of the networking module, so that the joint test of data interaction between the networking module and the audio and video equipment simulator is realized.
Step 202, the audio and video device simulator adjusts the current attribute information of the audio and video device simulator according to the first control instruction.
In the embodiment of the invention, when the audio and video equipment simulator receives a first control instruction sent by the equipment control simulation end through the networking module, the current attribute information of the audio and video equipment simulator is adjusted according to the first control instruction. The current attribute information of the audio and video device simulator may include current state information of the audio and video device simulator and a characteristic value corresponding to the attribute of the audio and video device simulator. For example, the current attribute information of the audio/video device simulator may include basic information such as a working state and a working duration of the camera, and a maximum storage capacity of the acquired audio/video that the audio/video acquisition module can store. The audio and video equipment simulator analyzes and processes the first control instruction, and adjusts the current attribute information of the audio and video equipment simulator correspondingly according to the first control instruction. The first control instruction may be a control instruction for adjusting one piece of current attribute information of the audio/video device simulator, or may also be a control instruction for adjusting a plurality of pieces of current attribute information of the audio/video device simulator. That is, only the current attribute information of the audio/video device simulator may be adjusted according to the first control instruction, or multiple pieces of current attribute information of the audio/video device simulator may be adjusted according to the first control instruction.
Fig. 3 is a schematic diagram of an architecture of an internet of things simulation system according to an embodiment of the present invention. As shown in fig. 3, the networking module sends the control instruction received from the device control simulation end to the audio/video device simulator, so that the audio/video device simulator adjusts the attribute information of the audio/video device simulator according to the received control instruction, and can simulate the state synchronization control of the device control simulation end on the audio/video device simulator.
Optionally, before the audio/video device simulator adjusts the current attribute information of the audio/video device simulator according to the first control instruction, the method further includes: and when an Internet of things simulation instruction is received, determining the current attribute information of the audio and video equipment simulator according to the Internet of things simulation instruction. For example, when the internet of things needs to be simulated, a user typically inputs an internet of things simulation instruction, wherein the user can input the internet of things simulation instruction in a form of clicking a virtual simulation button configured in the internet of things simulation system. When an internet of things simulation instruction is received, selectable attribute values corresponding to various attributes of the audio and video equipment simulator can be displayed in an internet of things simulation system interface, and current attribute information of the audio and video equipment simulator is determined according to the attribute values clicked or selected by a user.
Optionally, when an internet of things simulation instruction is received, determining the current attribute information of the audio and video device simulator according to the internet of things simulation instruction includes: when an Internet of things simulation instruction is received, acquiring a simulation equipment list and displaying the simulation equipment list; the analog equipment list comprises model information of each audio and video equipment simulator; determining an audio and video equipment simulator according to model information selected by a user from the simulation equipment list; reading pre-stored target attribute information corresponding to the audio and video equipment simulator, and taking the target attribute information as the current attribute information of the audio and video equipment simulator. Illustratively, when the internet of things needs to be simulated, a user opens the internet of things simulation system, at this time, the fact that a physical network simulation instruction is received can be represented, and then after an interface of the internet of things simulation system is initialized, a first simulation device file stored in advance can be loaded from a server (such as a Django server) to obtain a simulation device list, and the simulation device list is displayed in an initialized interface corresponding to the internet of things simulation system. The analog device list comprises model information of each audio and video device simulator. A user can select one model from the model information of all the audio and video equipment simulators by clicking the drop-down list, and the audio and video equipment simulator is determined according to the equipment corresponding to the model selected by the user. Then, a second analog device file stored in advance may be loaded from the server to obtain target attribute information corresponding to the audio/video device simulator, where the second analog device file includes all attribute information of the audio/video device simulator. The target attribute information corresponding to the audio and video device simulator is used as the current attribute information of the audio and video device simulator, and it can be understood that the target attribute information of the audio and video device simulator is usually the initial attribute information of the audio and video device simulator.
Optionally, the adjusting, by the audio/video device simulator according to the first control instruction, current attribute information of the audio/video device simulator includes: acquiring a target communication data use case according to the current attribute information and a pre-stored communication data configuration file; the target communication data use case comprises communication data of the networking module and the audio and video equipment simulator; and the audio and video equipment simulator adjusts the current attribute information of the audio and video equipment simulator according to the first control instruction and the target communication data use case. The communication data configuration file can be understood as a generation use case generated by the networking module and the audio and video equipment simulator in the actual data interaction under various different actual requirements, namely a series of codes executed in the actual data interaction process of the networking module and the audio and video equipment simulator under different actual requirements are coded to obtain a test use case which can be repeatedly executed. The communication data configuration file not only contains interactive data between the networking module and the audio and video equipment simulator, but also contains interactive data between the networking module and the audio and video equipment simulator corresponding to the audio and video equipment simulator in different attribute states. Therefore, a target communication data use case matched with the current attribute information of the audio and video equipment simulator can be searched from the communication data configuration file according to the current attribute information of the audio and video equipment simulator. And the audio and video equipment simulator correspondingly adjusts the current attribute information of the audio and video equipment simulator according to the first control instruction and the target communication data.
The internet of things simulation scheme provided by the embodiment of the invention is applied to an internet of things simulation system, wherein the internet of things simulation system comprises an audio and video equipment simulator, an equipment control simulation end and a networking module, and comprises the following components: when the networking module receives a first control instruction sent by the equipment control simulation end, the networking module sends the first control instruction to the audio and video equipment simulator; and the audio and video equipment simulator adjusts the current attribute information of the audio and video equipment simulator according to the first control instruction. The Internet of things simulation method provided by the embodiment of the invention can improve the development efficiency of the Internet of things system, shorten the debugging time and especially shorten the development time of audio and video equipment.
In some embodiments, after the audio/video device simulator adjusts the current attribute information of the audio/video device simulator according to the first control instruction, the method further includes: judging whether the current attribute information of the audio and video equipment simulator changes or not, if so, sending the changed attribute information to the equipment control simulation end by the audio and video equipment simulator through a networking module; and displaying the changed attribute information. Illustratively, after the audio and video device simulator adjusts the current attribute information of the audio and video device simulator according to the first control instruction, in order to judge the effectiveness of data interaction among the audio and video device simulator, the device control simulation end and the networking module in the internet of things simulation system, whether the current attribute information of the audio and video device simulator really changes or not can be further judged, if yes, the audio and video device simulator sends the changed attribute information to the device control simulation end through the networking module, and the changed attribute information is displayed at the device simulation control end.
In some embodiments, when a networking module receives a first control instruction sent by a device control analog terminal, before the networking module sends the first control instruction to an audio and video device emulator, the method further includes: when a second control instruction of the networking module is received, adjusting the working state of the networking module according to the second control instruction; the working state comprises a reporting state and a closing state; correspondingly, the networking module sends the first control instruction to the audio and video equipment simulator, and the method comprises the following steps: and when the networking module is in a reporting state, the networking module sends the first control instruction to the audio and video equipment simulator. The second control instruction may be a control instruction for the working state of the networking module, and the second control instruction may be generated by clicking a virtual button (a virtual button for controlling the working state of the networking module) in an initial interface corresponding to the internet of things simulation system by a user. When a second control instruction of the networking module is received, the working state of the networking module is adjusted, wherein the working state of the networking module can comprise a reporting state and a closing state, the reporting state can be understood that the networking module, the audio and video equipment simulator and the equipment control simulation end are in a connection state, and the control of the equipment control simulation end on the attribute or the state of the audio and video equipment simulator can be realized through the networking module. The off state can be understood as that the networking module is in a disconnected state with the audio and video equipment simulator or the equipment control simulation end, and the control of the equipment control simulation end on the attribute or the state of the audio and video equipment simulator cannot be realized through the networking module. When the networking module is in a reporting state, if the networking module receives a first control instruction sent by the equipment control simulation end, the networking module sends the first control instruction to the audio and video equipment simulator.
Fig. 4 is a flowchart of an internet of things simulation method according to another embodiment of the present invention, and as shown in fig. 4, the method includes the following steps:
step 401, when an internet of things simulation instruction is received, acquiring a simulation equipment list and displaying the simulation equipment list; the analog equipment list comprises model information of each audio and video equipment simulator.
Step 402, determining an audio and video device simulator according to model information selected by a user from a simulation device list.
And 403, reading pre-stored target attribute information corresponding to the audio and video device simulator, and taking the target attribute information as the current attribute information of the audio and video device simulator.
Step 404, when a second control instruction of the networking module is received, adjusting the working state of the networking module according to the second control instruction; the working state comprises a reporting state and a closing state.
Step 405, when the networking module is in a reporting state, if the networking module receives a first control instruction sent by the device control simulation terminal, acquiring a reported data use case of the networking module.
And step 406, the networking module sends the first control instruction to the audio and video equipment simulator according to the reported data use case.
Step 407, acquiring a target communication data use case according to the current attribute information and a pre-stored communication data configuration file; the target communication data use case comprises communication data of the networking module and the audio and video equipment simulator.
And step 408, the audio and video equipment simulator adjusts the current attribute information of the audio and video equipment simulator according to the first control instruction and the target communication data use case.
And 409, when the current attribute information of the audio and video equipment simulator is determined to be changed, the audio and video equipment simulator sends the changed attribute information to the equipment control simulation end through the networking module.
And step 410, displaying the changed attribute information at the equipment control simulation end.
The Internet of things simulation method provided by the embodiment of the invention can greatly improve the development efficiency of the Internet of things system, shorten the debugging time and especially shorten the development time of audio and video equipment.
Fig. 5 is a schematic structural diagram of an internet of things simulation apparatus according to an embodiment of the present invention. The device can be realized by software and/or hardware, is generally integrated in an Internet of things simulation system, and can simulate the Internet of things by executing an Internet of things simulation method. The Internet of things simulation system comprises an audio and video equipment simulator, an equipment control simulation end and a networking module. As shown in fig. 5, the apparatus includes:
the sending module 501 is configured to execute that when the networking module receives a first control instruction sent by the device control simulation terminal, the networking module sends the first control instruction to the audio and video device simulator;
an adjusting module 502 configured to execute the audio/video device simulator to adjust the current attribute information of the audio/video device simulator according to the first control instruction.
The internet of things simulation device provided by the embodiment of the invention is applied to an internet of things simulation system, wherein the internet of things simulation system comprises an audio and video equipment simulator, an equipment control simulation end and a networking module, and comprises: when the networking module receives a first control instruction sent by the equipment control simulation end, the networking module sends the first control instruction to the audio and video equipment simulator; and the audio and video equipment simulator adjusts the current attribute information of the audio and video equipment simulator according to the first control instruction. The Internet of things simulation method provided by the embodiment of the invention can improve the development efficiency of the Internet of things system, shorten the debugging time and especially shorten the development time of audio and video equipment.
Optionally, the apparatus further comprises:
and the attribute information determining module is used for determining the current attribute information of the audio and video equipment simulator according to the Internet of things simulation instruction when the Internet of things simulation instruction is received before the audio and video equipment simulator adjusts the current attribute information of the audio and video equipment simulator according to the first control instruction.
Optionally, the attribute information determining module is configured to:
when an Internet of things simulation instruction is received, acquiring a simulation equipment list and displaying the simulation equipment list; the analog equipment list comprises model information of each audio and video equipment simulator;
determining an audio and video equipment simulator according to model information selected by a user from the simulation equipment list;
reading pre-stored target attribute information corresponding to the audio and video equipment simulator, and taking the target attribute information as the current attribute information of the audio and video equipment simulator.
Optionally, the adjusting module is configured to:
acquiring a target communication data use case according to the current attribute information and a pre-stored communication data configuration file; the target communication data use case comprises communication data of the networking module and the audio and video equipment simulator;
and the audio and video equipment simulator adjusts the current attribute information of the audio and video equipment simulator according to the first control instruction and the target communication data use case.
Optionally, the sending module is configured to:
when a networking module receives a first control instruction sent by an equipment control simulation end, acquiring a reported data use case of the networking module;
and the networking module sends the first control instruction to an audio and video equipment simulator according to the reported data use case.
Optionally, the apparatus further comprises:
the judging module is used for judging whether the current attribute information of the audio and video equipment simulator changes or not after the audio and video equipment simulator adjusts the current attribute information of the audio and video equipment simulator according to the first control instruction, and if yes, the audio and video equipment simulator sends the changed attribute information to the equipment control simulation end through the networking module;
and the display module is used for displaying the changed attribute information.
Optionally, the apparatus further comprises:
the state control module is used for adjusting the working state of the networking module according to a second control instruction when the networking module receives the second control instruction before the networking module sends the first control instruction to the audio and video equipment simulator when the networking module receives the first control instruction sent by the equipment control simulation end; the working state comprises a reporting state and a closing state;
correspondingly, the networking module sends the first control instruction to the audio and video equipment simulator, and the method comprises the following steps:
and when the networking module is in a reporting state, the networking module sends the first control instruction to the audio and video equipment simulator.
The embodiment of the invention also provides a storage medium containing computer executable instructions, wherein the computer executable instructions are used for executing the simulation method of the internet of things when being executed by a computer processor, and are applied to the simulation system of the internet of things, wherein the simulation system of the internet of things comprises an audio and video equipment simulator, an equipment control simulation end and a networking module, and the method comprises the following steps:
when a networking module receives a first control instruction sent by an equipment control simulation end, the networking module sends the first control instruction to an audio and video equipment simulator;
and the audio and video equipment simulator adjusts the current attribute information of the audio and video equipment simulator according to the first control instruction.
Storage medium-any of various types of memory devices or storage devices. The term "storage medium" is intended to include: mounting media such as CD-ROM, floppy disk, or tape devices; computer system memory or random access memory such as DRAM, DDRRAM, SRAM, EDORAM, Lanbas (Rambus) RAM, etc.; non-volatile memory such as flash memory, magnetic media (e.g., hard disk or optical storage); registers or other similar types of memory elements, etc. The storage medium may also include other types of memory or combinations thereof. In addition, the storage medium may be located in a first computer system in which the program is executed, or may be located in a different second computer system connected to the first computer system through a network (such as the internet). The second computer system may provide program instructions to the first computer for execution. The term "storage medium" may include two or more storage media that may reside in different locations, such as in different computer systems that are connected by a network. The storage medium may store program instructions (e.g., embodied as a computer program) that are executable by one or more processors.
Of course, the storage medium provided by the embodiment of the present invention contains computer-executable instructions, and the computer-executable instructions are not limited to the simulation operation of the internet of things as described above, and may also execute related operations in the simulation method of the internet of things provided by any embodiment of the present invention.
The embodiment of the invention provides an Internet of things simulation system, and an Internet of things simulation device provided by the embodiment of the invention can be integrated in the Internet of things simulation system. Fig. 6 is a block diagram of a structure of an internet of things simulation system according to an embodiment of the present invention. The internet of things simulation system 600 may include: the device comprises an audio and video device simulator 601, a device control simulation terminal 602, a networking module 603, a memory 604, at least one processor 605 and a computer program which is stored on the memory 604 and can be run on the processor 605, wherein when the processor 605 executes the computer program, the internet of things simulation method is realized according to the embodiment of the invention.
In the internet of things simulation system provided by the embodiment of the invention, when a networking module receives a first control instruction sent by an equipment control simulation end, the networking module sends the first control instruction to an audio and video equipment simulator; and the audio and video equipment simulator adjusts the current attribute information of the audio and video equipment simulator according to the first control instruction. The Internet of things simulation method provided by the embodiment of the invention can improve the development efficiency of the Internet of things system, shorten the debugging time and especially shorten the development time of audio and video equipment.
The internet of things simulation device, the storage medium and the internet of things simulation system provided in the above embodiments can execute the internet of things simulation method provided in any embodiment of the present invention, and have corresponding functional modules and beneficial effects for executing the method. For technical details that are not described in detail in the above embodiments, reference may be made to the internet of things simulation method provided in any embodiment of the present invention.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. The Internet of things simulation method is applied to an Internet of things simulation system, wherein the Internet of things simulation system comprises an audio and video equipment simulator, an equipment control simulation end and a networking module, and the method comprises the following steps:
when a networking module receives a first control instruction sent by an equipment control simulation end, the networking module sends the first control instruction to an audio and video equipment simulator;
and the audio and video equipment simulator adjusts the current attribute information of the audio and video equipment simulator according to the first control instruction.
2. The method of claim 1, before the audio-video device simulator adjusts the current attribute information of the audio-video device simulator according to the first control instruction, further comprising:
and when an Internet of things simulation instruction is received, determining the current attribute information of the audio and video equipment simulator according to the Internet of things simulation instruction.
3. The method of claim 2, wherein when an internet of things simulation instruction is received, determining current attribute information of the audio and video device simulator according to the internet of things simulation instruction comprises:
when an Internet of things simulation instruction is received, acquiring a simulation equipment list and displaying the simulation equipment list; the analog equipment list comprises model information of each audio and video equipment simulator;
determining an audio and video equipment simulator according to model information selected by a user from the simulation equipment list;
reading pre-stored target attribute information corresponding to the audio and video equipment simulator, and taking the target attribute information as the current attribute information of the audio and video equipment simulator.
4. The method of claim 3, wherein the adjusting, by the audio/video device simulator according to the first control instruction, the current attribute information of the audio/video device simulator comprises:
acquiring a target communication data use case according to the current attribute information and a pre-stored communication data configuration file; the target communication data use case comprises communication data of the networking module and the audio and video equipment simulator;
and the audio and video equipment simulator adjusts the current attribute information of the audio and video equipment simulator according to the first control instruction and the target communication data use case.
5. The method of claim 1, wherein when a networking module receives a first control instruction sent by a device control simulation terminal, the networking module sends the first control instruction to an audio and video device simulator, and the method comprises the following steps:
when a networking module receives a first control instruction sent by an equipment control simulation end, acquiring a reported data use case of the networking module;
and the networking module sends the first control instruction to an audio and video equipment simulator according to the reported data use case.
6. The method of claim 1, wherein after the audio/video device simulator adjusts the current attribute information of the audio/video device simulator according to the first control instruction, the method further comprises:
judging whether the current attribute information of the audio and video equipment simulator changes or not, if so, sending the changed attribute information to the equipment control simulation end by the audio and video equipment simulator through a networking module;
and displaying the changed attribute information.
7. The method according to claim 1, wherein when a networking module receives a first control instruction sent by a device control simulation terminal, before the networking module sends the first control instruction to an audio/video device simulator, the method further comprises:
when a second control instruction of the networking module is received, adjusting the working state of the networking module according to the second control instruction; the working state comprises a reporting state and a closing state;
correspondingly, the networking module sends the first control instruction to the audio and video equipment simulator, and the method comprises the following steps:
and when the networking module is in a reporting state, the networking module sends the first control instruction to the audio and video equipment simulator.
8. The utility model provides a thing networking analogue means which characterized in that is applied to thing networking analog system, wherein, thing networking analog system includes audio and video equipment simulator, equipment control simulation end and networking module, the device includes:
the device comprises a sending module, a networking module and an audio and video equipment simulator, wherein the sending module is configured to execute that when the networking module receives a first control instruction sent by an equipment control simulation end, the networking module sends the first control instruction to the audio and video equipment simulator;
and the adjusting module is configured to execute the audio and video equipment simulator to adjust the current attribute information of the audio and video equipment simulator according to the first control instruction.
9. An internet of things simulation system, which is characterized by comprising an audio and video device simulator, a device control simulation terminal, a networking module, a memory, at least one processor and a computer program which is stored on the memory and can be run on the processor, wherein the processor executes the computer program to realize the internet of things simulation method as claimed in any one of claims 1 to 7.
10. A computer-readable medium, on which a computer program is stored, which, when being executed by a processing device, carries out a method of simulating an internet of things according to any one of claims 1 to 7.
CN202010642063.2A 2020-07-06 2020-07-06 Internet of things simulation method, device and system and storage medium Pending CN113973060A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010642063.2A CN113973060A (en) 2020-07-06 2020-07-06 Internet of things simulation method, device and system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010642063.2A CN113973060A (en) 2020-07-06 2020-07-06 Internet of things simulation method, device and system and storage medium

Publications (1)

Publication Number Publication Date
CN113973060A true CN113973060A (en) 2022-01-25

Family

ID=79584538

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010642063.2A Pending CN113973060A (en) 2020-07-06 2020-07-06 Internet of things simulation method, device and system and storage medium

Country Status (1)

Country Link
CN (1) CN113973060A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115834717A (en) * 2022-09-23 2023-03-21 广州楚秀信息科技有限公司 Communication protocol rapid development method for Internet of things equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107018017A (en) * 2017-03-17 2017-08-04 普奥云信息科技(北京)有限公司 Emulation simulator and Internet of Things analogue system
CN110636131A (en) * 2019-09-25 2019-12-31 北京中广瑞波科技股份有限公司 Internet of things testing system based on cloud technology
CN111200535A (en) * 2018-11-16 2020-05-26 阿里巴巴集团控股有限公司 Simulation system and method for equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107018017A (en) * 2017-03-17 2017-08-04 普奥云信息科技(北京)有限公司 Emulation simulator and Internet of Things analogue system
CN111200535A (en) * 2018-11-16 2020-05-26 阿里巴巴集团控股有限公司 Simulation system and method for equipment
CN110636131A (en) * 2019-09-25 2019-12-31 北京中广瑞波科技股份有限公司 Internet of things testing system based on cloud technology

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115834717A (en) * 2022-09-23 2023-03-21 广州楚秀信息科技有限公司 Communication protocol rapid development method for Internet of things equipment

Similar Documents

Publication Publication Date Title
CN109446570B (en) Business process display method, device, computer equipment and storage medium
CN104281520B (en) Tracking and method, the apparatus and system of debugging
CN111934908A (en) Internet of things simulation method, device and system and storage medium
CN104699591A (en) Reappearing method and device of test scenes
CN111611121B (en) Hardware simulation test method, device and equipment
CN110750458A (en) Big data platform testing method and device, readable storage medium and electronic equipment
CN108111364B (en) Service system testing method and device
CN105975367B (en) Test method and device for mobile equipment
CN105260082A (en) Display method for test data and development terminal
CN113722020A (en) Interface calling method, device and computer readable storage medium
CN110515854A (en) Reproducing method, device and the electronic equipment of application exception
CN111901155B (en) Internet of things debugging method, device and system and storage medium
CN111352836A (en) Pressure testing method and related device
CN110471654A (en) The cloud development system and computer software program product of communication protocol
CN113973060A (en) Internet of things simulation method, device and system and storage medium
US11223961B2 (en) Configuration method of wireless network system, configuration terminal and configuration system
CN110209565A (en) A kind of metadata schema adjustment method and its device
CN110750453B (en) HTML 5-based intelligent mobile terminal testing method, system, server and storage medium
CN109144840A (en) A kind of test method, device and its equipment
CN112241356A (en) Page testing method, device, equipment and storage medium
CN109712701A (en) Slave computer simulator and master system test method
CN114327416A (en) Interface synchronization method and device applied to development branch and electronic equipment
CN115391204A (en) Test method and device for automatic driving service, electronic equipment and storage medium
CN111338609A (en) Information acquisition method and device, storage medium and terminal
CN111124907A (en) Mobile phone game testing method and device and server

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