CN111865708B - Performance test method, platform, equipment and storage medium of Internet of things system - Google Patents

Performance test method, platform, equipment and storage medium of Internet of things system Download PDF

Info

Publication number
CN111865708B
CN111865708B CN201911404460.XA CN201911404460A CN111865708B CN 111865708 B CN111865708 B CN 111865708B CN 201911404460 A CN201911404460 A CN 201911404460A CN 111865708 B CN111865708 B CN 111865708B
Authority
CN
China
Prior art keywords
platform
virtual
operation instruction
module
task
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.)
Active
Application number
CN201911404460.XA
Other languages
Chinese (zh)
Other versions
CN111865708A (en
Inventor
王烨
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Didi Infinity Technology and Development Co Ltd
Original Assignee
Beijing Didi Infinity Technology and Development 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 Beijing Didi Infinity Technology and Development Co Ltd filed Critical Beijing Didi Infinity Technology and Development Co Ltd
Priority to CN201911404460.XA priority Critical patent/CN111865708B/en
Publication of CN111865708A publication Critical patent/CN111865708A/en
Application granted granted Critical
Publication of CN111865708B publication Critical patent/CN111865708B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • 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
    • H04L67/125Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The application provides a performance test method, a platform, equipment and a storage medium of an Internet of things system, wherein the Internet of things system comprises the following steps: IOT platform and virtual device platform, include on the virtual device platform: a plurality of virtual appliance modules, the method comprising: the virtual equipment module acquires an operation instruction corresponding to the joint debugging task; and the virtual equipment module executes the joint debugging task according to the operation instruction so as to perform joint debugging test with the IOT platform. The problem that the development of an equipment platform is slow in the prior art, joint debugging is performed after the equipment platform is developed, the whole development period is prolonged can be solved, and the effect of reducing the whole development period is achieved.

Description

Performance test method, platform, equipment and storage medium of Internet of things system
Technical Field
The application relates to the technical field of performance testing, in particular to a performance testing method, a performance testing platform, performance testing equipment and a storage medium of an internet of things system.
Background
The internet of things is a network for realizing interconnection and intercommunication of all common objects capable of performing independent functions. The service system of the internet of things generally comprises physical equipment, an IOT platform and a service system.
The existing development process of the internet of things system generally comprises the following steps: the method comprises the following steps of equipment central control development, IOT platform development, service logic development and the like, and then the three-way joint debugging is carried out after all the development is finished.
However, since the development of the device platform is slow, if the joint debugging is performed after the device platform is developed, the problem of prolonging the whole development period is caused, and the effect of shortening the whole development period is achieved.
Disclosure of Invention
In view of this, an object of the present application is to provide a performance testing method, a platform, a device, and a storage medium for an internet of things system, which can solve the problem in the prior art that a device platform is developed slowly, and a whole development period is prolonged when the device platform is developed and then debugged, thereby achieving an effect of reducing the whole development period.
In a first aspect of the present application, the present application provides a performance testing method for an internet of things system, where the internet of things system includes: IOT platform and virtual device platform, include on the virtual device platform: a plurality of virtual appliance modules, the method comprising:
the virtual equipment module acquires an operation instruction corresponding to the joint debugging task;
and the virtual equipment module executes the joint debugging task according to the operation instruction so as to perform joint debugging test with the IOT platform.
Optionally, the virtual device platform further includes: the system comprises an execution module, a task queue and a task queue, wherein the execution module stores a preset task queue; the obtaining, by the virtual device module, an operation instruction corresponding to the joint debugging task includes:
the execution module acquires an operation instruction corresponding to the joint debugging task from the task queue;
obtaining, by the virtual appliance module, a task notification from the execution module, the task notification including: and the joint debugging task corresponds to an operation instruction.
Optionally, the obtaining, by the execution module, from the task queue, the operation instruction corresponding to the joint debugging task includes:
and the execution module acquires the operation instruction corresponding to the latest task from the task queue as the operation instruction corresponding to the joint debugging task.
Optionally, the virtual device platform further includes: the web page platform is used for acquiring the operation instruction corresponding to the joint debugging task from the task queue by the execution module, and the method further comprises the following steps:
acquiring an operation instruction by the webpage platform, and inputting the acquired operation instruction into the execution module;
and writing the acquired operation instruction into the task queue by the execution module.
Optionally, the executing module obtains the operation instruction from the task queue, and before the operation instruction corresponding to the joint debugging task, the method further includes:
acquiring logic codes of the virtual equipment module by the webpage platform;
and running the logic code to create the virtual equipment module.
Optionally, the method further comprises:
and displaying the state of each virtual equipment module by the webpage platform.
Optionally, the virtual device platform further includes: and the data management module is used for managing the information of the virtual equipment modules.
Optionally, the information of each virtual device module includes at least one of the following information: the identification of the virtual equipment module, the central control version of the virtual equipment module, the protocol information supported by the virtual equipment module, and the state of the virtual equipment module.
Optionally, the virtual device platform further has a database, and the database is used for storing protocol data of the plurality of virtual device modules.
In a second aspect of the present application, the present application further provides a virtual device platform, the platform including: a plurality of virtual appliance modules;
each virtual equipment module is used for acquiring an operation instruction corresponding to a joint debugging task and executing the joint debugging task according to the operation instruction so as to perform joint debugging test with the IOT platform.
Optionally, the virtual device platform further includes: the system comprises an execution module, a task queue and a task queue, wherein the execution module stores a preset task queue;
the execution module is used for acquiring an operation instruction corresponding to the joint debugging task from the task queue;
each virtual device module is specifically configured to obtain a task notification from the execution module, where the task notification includes: and the joint debugging task corresponds to an operation instruction.
Optionally, the execution module is specifically configured to obtain, from the task queue, an operation instruction corresponding to the latest task as an operation instruction corresponding to the joint debugging task.
Optionally, the virtual device platform further includes: the webpage platform is used for acquiring an operation instruction before the execution module acquires the operation instruction corresponding to the joint debugging task from the task queue and inputting the acquired operation instruction to the execution module;
the execution module is specifically configured to write the obtained operation instruction into the task queue.
Optionally, the web page platform is specifically configured to, before the execution module obtains the operation instruction corresponding to the joint debugging task from the task queue, obtain a logic code of the virtual device module, run the logic code, and create the virtual device module.
Optionally, the web page platform is specifically configured to display a state of each of the virtual device modules.
Optionally, the virtual device platform further includes: and the data management module is used for managing the information of the virtual equipment modules.
Optionally, the information of each virtual device module includes at least one of the following information: the identification of the virtual equipment module, the central control version of the virtual equipment module, the protocol information supported by the virtual equipment module, and the state of the virtual equipment module.
Optionally, the virtual device platform further includes: and the database is used for storing the protocol data of the plurality of virtual equipment modules.
In a third aspect of the present application, there is provided a performance testing device of an internet of things system, a processor, a storage medium and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, when the performance testing device of the internet of things system runs, the processor and the storage medium communicate with each other through the bus, and the processor executes the machine-readable instructions to perform the steps of any one of the above-mentioned methods of the first aspect.
In a fourth aspect of the present application, there is also provided a storage medium having stored thereon a computer program for performing the steps of the method according to any one of the above first aspects when the computer program is executed by a processor.
Based on any one of the above aspects, before the equipment platform is not developed, the equipment platform is virtualized, the virtual equipment module obtains the operation instruction corresponding to the joint debugging task, and the virtual equipment module executes the joint debugging task according to the operation instruction, so that joint debugging test with the IOT platform is realized, the problem that the development of the equipment platform is slow in the prior art, the joint debugging is performed after the equipment platform is developed, the whole development period is prolonged is solved, and the effect of reducing the whole development period is achieved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
Fig. 1 is a schematic structural diagram illustrating a performance testing system of an internet of things system according to an embodiment of the present application;
fig. 2 is a schematic flow chart illustrating a performance testing method for an internet of things system according to an embodiment of the present application;
fig. 3 is a schematic flow chart illustrating a performance testing method for an internet of things system according to another embodiment of the present application;
fig. 4 is a schematic flow chart illustrating a performance testing method for an internet of things system according to another embodiment of the present application;
fig. 5 is a schematic flow chart illustrating a performance testing method for an internet of things system according to another embodiment of the present application;
fig. 6 illustrates a schematic structural diagram of a virtual device platform according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a virtual device platform according to another embodiment of the present application;
fig. 8 illustrates a schematic structural diagram of a virtual device platform according to another embodiment of the present application;
fig. 9 is a schematic structural diagram of a virtual device platform according to another embodiment of the present application;
fig. 10 is a schematic structural diagram illustrating a performance testing apparatus of an internet of things system according to an embodiment of the present application.
Detailed Description
In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it should be understood that the drawings in the present application are for illustrative and descriptive purposes only and are not used to limit the scope of protection of the present application. Additionally, it should be understood that the schematic drawings are not necessarily drawn to scale. The flowcharts used in this application illustrate operations implemented according to some embodiments of the present application. It should be understood that the operations of the flow diagrams may be performed out of order, and steps without logical context may be performed in reverse order or simultaneously. One skilled in the art, under the guidance of this application, may add one or more other operations to, or remove one or more operations from, the flowchart.
In addition, the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present application without making any creative effort, shall fall within the protection scope of the present application.
In order to enable those skilled in the art to use the present disclosure, the following embodiments are given in conjunction with performance tests of an internet of things system for a specific application scenario. It will be apparent to those skilled in the art that the general principles defined herein may be applied to other embodiments and applications without departing from the spirit and scope of the application. Although the present application is described primarily in the context of performance testing of an internet of things system, it should be understood that this is but one exemplary embodiment and that the present application may be applied in a variety of scenarios where performance testing needs to be involved.
It should be noted that in the embodiments of the present application, the term "comprising" is used to indicate the presence of the features stated hereinafter, but does not exclude the addition of further features.
One aspect of the application relates to a performance testing system of an internet of things system. The system can virtualize the equipment platform before the equipment platform is not developed, obtain the operation instruction corresponding to the joint debugging task through the virtual equipment module, and execute the joint debugging task according to the operation instruction by the virtual equipment module, thereby realizing the joint debugging test with the IOT platform.
It is worth noting that before the application is provided, the joint debugging test is performed with the IOT platform after the device platform is developed in the prior art, but since the development period of the device platform is long, the joint debugging test is performed after the device platform is developed, which may cause the development period of the whole internet of things system to be long.
The performance test method of the Internet of things system can realize the joint debugging test with the IOT platform by virtualizing the equipment platform before the equipment platform is not developed, so that the problem that the development period of the equipment platform is long in the prior art, and the joint debugging test is carried out after the equipment platform is developed, so that the development period of the whole Internet of things system is long.
Fig. 1 is a schematic structural diagram of a performance testing system 100 of an internet of things system provided in an embodiment of the present application, for example: the performance testing system 100 of the internet of things system may be a performance testing service for the internet of things system, or any platform or scenario involving automated testing or performance testing. As shown in fig. 1, a performance testing system 100 of an internet of things system may include: one or more of a virtual appliance platform 110, a network 120, an internet of things IOT platform 130, and a database 140.
The virtual device platform 110 and the IOT platform 130 are software platforms, and they may be installed on the same device or different devices. The device on which the virtual device platform 110 or the IOT platform 130 is located may be a test terminal or a test server. The device configuration of the virtual device platform 110 and the IOT platform 130 in the performance testing system 100 of the internet of things system shown in fig. 1 is only one possible example, and the present application is not limited thereto.
In some embodiments, the virtual device platform 110 may include a processor on the device. The processor may process information and/or data related to the service request to perform one or more of the functions described herein. In some embodiments, a processor may include one or more processing cores (e.g., a single-core processor (S) or a multi-core processor (S)). Merely by way of example, a Processor may include a Central Processing Unit (CPU), an Application Specific Integrated Circuit (ASIC), an Application Specific Instruction Set Processor (ASIP), a Graphics Processing Unit (GPU), a Physical Processing Unit (PPU), a Digital Signal Processor (DSP), a Field Programmable Gate Array (FPGA), a Programmable Logic Device (PLD), a controller, a microcontroller Unit, a Reduced Instruction Set computer (Reduced Instruction Set computer), a microprocessor, or the like, or any combination thereof.
In some embodiments, a database 140 may be connected to the network 120 to communicate with one or more components (e.g., the virtual device platform 110, the internet of things IOT platform 130) in the performance testing system 100 of the internet of things system. One or more components in the performance testing system 100 of the internet of things system may access data or instructions stored in the database 140 via the network 120. In some embodiments, the database 140 may be directly connected to one or more components in the performance testing system 100 of the Internet of things system, or the database 140 may be part of the virtual appliance platform 110.
The following describes in detail the performance testing method of the internet of things system provided in the embodiment of the present application with reference to the content described in the performance testing system 100 of the internet of things system shown in fig. 1, where the performance testing method of the internet of things system described below is applied to the system, an execution subject may be a service terminal or a server, a preset scenario may be designed and adjusted according to user needs, and any scenario related to performance testing or performance testing of the internet of things system may be used without being limited to the scenario provided in the embodiment.
Referring to fig. 2, a schematic flow chart of a performance testing method for an internet of things system provided in an embodiment of the present application is applied to an internet of things system, and the method may be executed by a virtual device platform, where the virtual device platform may include a plurality of virtual device modules, and the number of specific virtual device modules may be set according to a user requirement, and the present application does not do anything here, as shown in fig. 2, the method may include:
s101: and the virtual equipment module acquires an operation instruction corresponding to the joint debugging task.
Optionally, the logic in the virtual appliance module may include: communication function, protocol coding and decoding, connection and authentication, active reporting, passive response and the like. The specific logic setting may be adjusted according to the user's needs, and the application is not limited herein. The protocol coding and decoding support multiple protocols, and in order to facilitate adding and deleting instructions, the virtual device platform provided by the application provides a function of instruction configuration.
In an embodiment of the present application, the virtual device platform may simulate the device central control logic through a software code, the IOT platform is a software platform, the virtual device platform and the IOT platform may be assembled on the same server or may be separately assembled on different servers, the assembly of the specific virtual device platform and the IOT platform may be designed according to the user needs, and the present application is not limited herein.
The operation instruction can be determined according to a preset protocol, internal logic or a command instruction; the preset protocols are various, and each protocol has a corresponding operation instruction; the internal logic is the internal logic of the virtual device module, for example: the internal logic can return the position information or the electric quantity information of the dummy equipment platform at regular time; the command instruction may be an instruction sent by the IOT platform to the virtual device platform.
S102: and the virtual equipment module executes the joint debugging task according to the operation instruction so as to perform joint debugging test with the IOT platform.
After the virtual equipment platform and the IOT platform are jointly debugged and tested, whether the current Internet of things system has problems or not can be determined. If the test result shows that the current Internet of things system has no problem, the system can be directly put into use after the central control development of the equipment is finished; if the test result shows that the current Internet of things system has problems, the tester adjusts and develops the parts with problems in time according to the feedback result of the problems, and performs joint debugging test on the adjusted system until the Internet of things system can normally operate.
By adopting the performance testing method of the Internet of things system provided by the embodiment of the application, the central control equipment can be virtualized into the virtual equipment platform, and then the operation instruction corresponding to the joint debugging task is acquired and executed according to the virtual equipment platform, so that the joint debugging test with the IOT platform is realized.
Referring to fig. 3, which is a schematic flow chart of a performance testing method of an internet of things system according to an embodiment of the present application, a virtual device platform further includes: the execution module is stored with a preset task queue; s102 may include:
s103: and the execution module acquires the operation instruction corresponding to the joint debugging task from the task queue.
Optionally, in an embodiment of the present application, the execution module may obtain an operation instruction corresponding to a latest task from the task queue, where the latest task may be a task at the tail of the task queue and serves as the operation instruction corresponding to the joint debugging task; but the instruction operation corresponding to the task at the head of the queue of the task queue can be obtained according to the first-in first-out principle and is used as the operation instruction corresponding to the joint debugging task; the specific operation instruction obtaining mode may be designed according to the user requirement, and is not limited to the two embodiments.
Optionally, in an embodiment of the present application, the task is obtained by a management thread, according to a preset time interval, obtaining an operation instruction corresponding to a task from a queue head of a task queue, where the preset time interval may be designed according to a user requirement, and the present application is not limited herein.
S104: the task notification is obtained by the virtual appliance module from the execution module.
Wherein: the task notification includes: and (5) performing joint debugging on the operation instructions corresponding to the tasks.
Referring to fig. 4, which is a schematic flow chart of a performance testing method of an internet of things system according to an embodiment of the present application, a virtual device platform further includes: the web page platform, before S103, the method may further include:
s105: and acquiring the operation instruction by the webpage platform, and inputting the acquired operation instruction to the execution module.
The webpage platform is used for displaying the current state of each virtual equipment module.
S106: and writing the acquired operation instruction into a task queue by the execution module.
The execution module acquires an operation instruction input from the webpage platform, writes the operation instruction into the task queue, after the execution module issues the operation instruction to the virtual equipment module, acquires the operation instruction executed by the virtual equipment module, and returns a response message returned by the operation instruction to the execution module after the execution is finished, and after receiving the response message, the execution module returns the response message to the webpage platform, and the webpage platform can display the response message, optionally, the webpage platform can only display a message of response failure, or both the message of response success and response failure, which can be specifically designed according to user needs.
Referring to fig. 5, which is a schematic flow chart of a performance testing method of an internet of things system according to an embodiment of the present application, before S105, the method further includes:
s107: and acquiring the logic code of the virtual equipment module by the webpage platform.
S108: and executing the logic code to create a virtual equipment module.
After the successful virtual equipment module is created, the IOT service performance test can be supported according to the virtual equipment module for creating the Cheng palace.
Optionally, in an embodiment of the present application, the virtual device platform further includes: and the data management module is used for managing the information of the plurality of virtual equipment modules.
Wherein the information of each virtual device module comprises at least one of the following information: the identifier of the virtual device module, the central control version of the virtual device module, the protocol information supported by the virtual device module, and the state of the virtual device module, and the information of the virtual device module may be designed according to the user's needs.
Optionally, in an embodiment of the present application, the virtual device platform further has a database for storing protocol data of the plurality of virtual device modules.
By adopting the performance testing method of the Internet of things system, before the equipment platform is not developed, the equipment platform is virtualized, the virtual equipment module obtains the operation instruction corresponding to the joint debugging task, and the virtual equipment module executes the joint debugging task according to the operation instruction, so that the joint debugging test with the IOT platform is realized.
Based on the same inventive concept, the embodiment of the application also provides a virtual device platform corresponding to the performance test method of the internet of things system, and as the principle of solving the problem of the platform in the embodiment of the application is similar to the performance test method of the internet of things system in the embodiment of the application, the implementation of the platform can refer to the implementation of the method, and the repeated points of the beneficial effects are not described again.
Fig. 6 is a schematic structural diagram of a virtual device platform according to an embodiment of the present disclosure, and as shown in fig. 5, the present disclosure provides a virtual device platform, where the virtual device platform includes: a plurality of virtual appliance modules 201;
each virtual device module 201 is configured to obtain an operation instruction corresponding to the joint debugging task, and execute the joint debugging task according to the operation instruction, so as to perform joint debugging test with the IOT platform 300.
The virtual device platform further includes: the execution module 202, a preset task queue is stored in the execution module 202; and the method is used for acquiring the operation instruction corresponding to the joint debugging task from the task queue.
Each virtual device module 201 is specifically configured to obtain a task notification from the execution module 202, where the task notification includes: and (5) adjusting operation instructions corresponding to the tasks in a joint mode.
Optionally, the execution module 202 is specifically configured to obtain, from the task queue, an operation instruction corresponding to the latest task as an operation instruction corresponding to the joint debugging task.
Fig. 7 is a schematic structural diagram of a virtual device platform according to an embodiment of the present application, and as shown in fig. 5, the virtual device platform further includes: the web page platform 203 is configured to obtain an operation instruction before the execution module 202 obtains the operation instruction corresponding to the joint debugging task from the task queue, and input the obtained operation instruction to the execution module 202.
The execution module 202 is specifically configured to write the obtained operation instruction into the task queue.
Optionally, the web page platform 203 is specifically configured to, before the execution module 202 acquires the operation instruction corresponding to the joint debugging task from the task queue, acquire the logic code of the virtual device module 201, run the logic code, and create the virtual device module 201.
Optionally, the web page platform 203 is specifically configured to show the state of each virtual device module 201.
Fig. 8 is a schematic structural diagram of a virtual device platform according to an embodiment of the present application, and as shown in fig. 5, the virtual device platform further includes: the data management module 204 is configured to manage information of the plurality of virtual device modules.
Optionally, the information of each virtual device module 201 includes at least one of the following information: the identification of the virtual equipment module, the central control version of the virtual equipment module, the protocol information supported by the virtual equipment module, and the state of the virtual equipment module.
Fig. 9 is a schematic structural diagram of a virtual device platform according to an embodiment of the present application, and as shown in fig. 5, the virtual device platform further includes: a database 205 for storing protocol data of the plurality of virtual appliance modules 201.
Fig. 10 is a schematic structural diagram of a performance testing apparatus of an internet of things system according to an embodiment of the present application, and as shown in fig. 10, the performance testing apparatus of the internet of things system includes: a processor 601, a memory 602, and a bus 603; the memory 602 stores machine-readable instructions executable by the processor 601, and when the performance testing apparatus of the internet of things system is operated, the processor 601 and the memory 602 communicate with each other through the bus 603, and the processor 601 executes the machine-readable instructions to perform the steps of the performance testing method of the internet of things system as provided by the foregoing method embodiments.
Specifically, the machine readable instructions stored in the memory 602 are execution steps of the performance testing method of the internet of things system described in the foregoing embodiment of the present application, and the processor 601 may execute the performance testing method of the internet of things system to process the performance testing device of the internet of things system, so that the performance testing device of the internet of things system also has all the beneficial effects described in the foregoing embodiment of the method, and the description of the present application is not repeated.
It should be noted that the performance testing device of the internet of things system may be a general purpose computer or a special purpose computer, and other servers for processing data, and the three may be used to implement the performance testing method of the internet of things system of the present application. Although the performance testing method of the internet of things system is only described by the computer and the server respectively, for convenience, the functions described in the present application can be implemented in a distributed manner on a plurality of similar platforms to balance the processing load.
For example, a performance testing device of an internet of things system may include one or more processors for executing program instructions, a communication bus, and different forms of storage media, such as a disk, ROM, or RAM, or any combination thereof. Illustratively, the performance testing device of the internet of things system may also include program instructions stored in ROM, RAM, or other types of non-transitory storage media, or any combination thereof. The method of the present application may be implemented in accordance with these program instructions.
For ease of illustration, only one processor is depicted in the performance testing apparatus of the internet of things system. However, it should be noted that the performance testing device of the internet of things system in the present application may further include a plurality of processors, and thus, the steps performed by one processor described in the present application may also be performed by a plurality of processors in combination or individually.
The embodiment of the application also provides a storage medium, wherein a computer program is stored on the storage medium, and when the computer program is executed by a processor, the steps of the performance test method of the internet of things system are executed.
Specifically, the storage medium can be a general storage medium, such as a mobile disk, a hard disk, and the like, and when a computer program on the storage medium is run, the performance test method of the internet of things system can be executed, so that the problem that in the prior art, the development of an equipment platform is slow, and the whole development period is prolonged due to joint debugging after the equipment platform is developed well is solved, and the effect of shortening the whole development period is achieved.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the system and the platform described above may refer to corresponding processes in the method embodiment, and are not described in detail in this application. In the several embodiments provided in this application, it should be understood that the disclosed system, platform, and method may be implemented in other ways. The above-described platform embodiments are merely illustrative, and for example, the division of the modules is merely a logical division, and there may be other divisions in actual implementation, and for example, a plurality of modules 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 of platforms or modules through some communication interfaces, and may be in an electrical, mechanical or other form.
The modules described as separate parts may or may not be physically separate, and parts displayed as modules 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 application 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 functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer-readable storage medium executable by a processor. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (11)

1. A performance test method of an Internet of things system is characterized in that the Internet of things system comprises the following steps: IOT platform and virtual device platform, include on the virtual device platform: a plurality of virtual appliance modules, the method comprising:
the virtual equipment module acquires an operation instruction corresponding to the joint debugging task;
executing the joint debugging task by the virtual equipment module according to the operation instruction so as to perform joint debugging test with the IOT platform; the virtual equipment module is obtained by running the logic code of the virtual equipment module obtained by the webpage platform; the operation instruction is determined according to a preset protocol, internal logic or a command instruction; the preset protocols are various, and each preset protocol has an operation instruction corresponding to the preset protocol; the internal logic is the internal logic of the virtual equipment module;
the information of each virtual equipment module comprises at least one of the following information: the identification of the virtual equipment module, the central control version of the virtual equipment module, the protocol information supported by the virtual equipment module, and the state of the virtual equipment module.
2. The method of claim 1, wherein the virtual appliance platform further comprises: the system comprises an execution module, a task queue and a task queue management module, wherein a preset task queue is stored in the execution module; the obtaining, by the virtual device module, an operation instruction corresponding to the joint debugging task includes:
the execution module acquires an operation instruction corresponding to the joint debugging task from the task queue;
obtaining, by the virtual appliance module, a task notification from the execution module, the task notification including: and the joint debugging task corresponds to an operation instruction.
3. The method according to claim 2, wherein the obtaining, by the execution module, the operation instruction corresponding to the joint debugging task from the task queue comprises:
and the execution module acquires the operation instruction corresponding to the latest task from the task queue as the operation instruction corresponding to the joint debugging task.
4. The method of claim 2, wherein the virtual appliance platform further comprises: the web page platform is used for acquiring the operation instruction corresponding to the joint debugging task from the task queue by the execution module, and the method further comprises the following steps:
acquiring an operation instruction by the webpage platform, and inputting the acquired operation instruction into the execution module;
and writing the acquired operation instruction into the task queue by the execution module.
5. The method according to claim 4, wherein the execution module obtains the operation instruction corresponding to the joint debugging task from the task queue, and before the operation instruction corresponding to the joint debugging task, the method further comprises:
acquiring logic codes of the virtual equipment module by the webpage platform;
and running the logic code to create the virtual equipment module.
6. The method of claim 4, further comprising:
and displaying the state of each virtual equipment module by the webpage platform.
7. The method of claim 1, wherein the virtual appliance platform further comprises: and the data management module is used for managing the information of the virtual equipment modules.
8. The method according to any of claims 1-7, wherein the virtual appliance platform further comprises a database for storing protocol data of a plurality of the virtual appliance modules.
9. A virtual device platform, the platform comprising: a plurality of virtual appliance modules;
each virtual equipment module is used for acquiring an operation instruction corresponding to a joint debugging task and executing the joint debugging task according to the operation instruction so as to perform joint debugging test with an IOT platform;
the information of each virtual equipment module comprises at least one of the following information: the identification of the virtual equipment module, the central control version of the virtual equipment module, the protocol information supported by the virtual equipment module and the state of the virtual equipment module; the virtual equipment module is obtained by running the logic code of the virtual equipment module obtained by the webpage platform; the operation instruction is determined according to a preset protocol, internal logic or a command instruction; the preset protocols are various, and each preset protocol has an operation instruction corresponding to the preset protocol; the internal logic is the internal logic of the virtual device module.
10. A performance test device of an Internet of things system is characterized by comprising: a processor, a storage medium and a bus, the storage medium storing machine-readable instructions executable by the processor, the processor and the storage medium communicating via the bus when a performance testing device of an internet of things system is running, the processor executing the machine-readable instructions to perform the steps of the method according to any one of claims 1 to 8.
11. A storage medium, having stored thereon a computer program which, when executed by a processor, performs the steps of the method according to any one of claims 1 to 8.
CN201911404460.XA 2019-12-30 2019-12-30 Performance test method, platform, equipment and storage medium of Internet of things system Active CN111865708B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911404460.XA CN111865708B (en) 2019-12-30 2019-12-30 Performance test method, platform, equipment and storage medium of Internet of things system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911404460.XA CN111865708B (en) 2019-12-30 2019-12-30 Performance test method, platform, equipment and storage medium of Internet of things system

Publications (2)

Publication Number Publication Date
CN111865708A CN111865708A (en) 2020-10-30
CN111865708B true CN111865708B (en) 2022-05-27

Family

ID=72970913

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911404460.XA Active CN111865708B (en) 2019-12-30 2019-12-30 Performance test method, platform, equipment and storage medium of Internet of things system

Country Status (1)

Country Link
CN (1) CN111865708B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112702225B (en) * 2020-12-10 2022-09-30 树根互联股份有限公司 Cloud platform performance testing device and method, computer terminal and readable storage medium
CN113434255B (en) * 2021-06-30 2024-03-22 青岛海尔科技有限公司 Virtual device creation method and device
CN113434422B (en) * 2021-06-30 2024-01-23 青岛海尔科技有限公司 Virtual device debugging method and device and virtual device debugging system
CN113434421B (en) * 2021-06-30 2023-10-24 青岛海尔科技有限公司 Virtual equipment testing method and device
CN114518718A (en) * 2022-02-09 2022-05-20 深圳Tcl新技术有限公司 Device control method, device, storage medium and electronic device
CN116502433A (en) * 2023-04-24 2023-07-28 惠州市乐亿通科技有限公司 Virtual inverter and energy monitoring system development method
CN117555810B (en) * 2024-01-09 2024-04-05 中科物栖(南京)科技有限公司 Virtual debugging method, device, equipment and storage medium of Internet of things application

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103281221A (en) * 2013-06-21 2013-09-04 成都信息工程学院 Fire protection Internet-of-things system testing method
CN108574947A (en) * 2017-03-10 2018-09-25 中兴通讯股份有限公司 A kind of Internet of Things test method and device
CN109450743A (en) * 2019-01-24 2019-03-08 紫光云数科技有限公司 Platform of internet of things pressure testing system, method, apparatus and server

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107807545B (en) * 2016-09-08 2021-03-30 北京京东尚科信息技术有限公司 Debugging method and device for remote control end
WO2019046764A1 (en) * 2017-08-31 2019-03-07 Artis Consulting, L.P. System and method for iot device signal simulation

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103281221A (en) * 2013-06-21 2013-09-04 成都信息工程学院 Fire protection Internet-of-things system testing method
CN108574947A (en) * 2017-03-10 2018-09-25 中兴通讯股份有限公司 A kind of Internet of Things test method and device
CN109450743A (en) * 2019-01-24 2019-03-08 紫光云数科技有限公司 Platform of internet of things pressure testing system, method, apparatus and server

Also Published As

Publication number Publication date
CN111865708A (en) 2020-10-30

Similar Documents

Publication Publication Date Title
CN111865708B (en) Performance test method, platform, equipment and storage medium of Internet of things system
EP3103018B1 (en) Method for debugging computer program
CN109324874B (en) Method, system and device for importing virtual machine memory snapshot into block device
CN111258913A (en) Automatic algorithm testing method and device, computer system and readable storage medium
CN111274512A (en) Page loading method, device and medium
US10169193B2 (en) Common debug scripting framework for driving hybrid applications consisting of compiled languages and interpreted languages
CN115033352A (en) Task scheduling method, device and equipment for multi-core processor and storage medium
US9710575B2 (en) Hybrid platform-dependent simulation interface
CN111756779A (en) Data serialization processing method, device and computer system
CN111736943A (en) Virtual machine migration method and system
KR20220013947A (en) Method and apparatus for continuous integration testing
US10055327B2 (en) Evaluating fairness in devices under test
CN111262753A (en) Method, system, terminal and storage medium for automatically configuring number of NUMA nodes
CN111124772A (en) Cloud platform storage performance testing method, system, terminal and storage medium
CN108776621A (en) Communication means and device in software architecture between level
CN112463140B (en) Programming method and device based on electronic building blocks, electronic equipment and storage medium
CN109039765A (en) Network collocating method and device
CN110327626B (en) Virtual server creation method and device
CN113934421A (en) Page path writing method, device and equipment of application program and storage medium
CN112882921B (en) Fault simulation method and device
CN114217927A (en) Thread calling method and device, computer equipment and storage medium
CN110968393B (en) Migration processing method of virtual machine, storage medium and computing device
CN113051178A (en) Test data construction method, device, equipment and medium
CN115391168A (en) Sandbox testing method, sandbox testing device, sandbox testing equipment and storage medium
CN112015401A (en) Information acquisition method and device, electronic equipment and readable 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
GR01 Patent grant
GR01 Patent grant