CN111625443A - Pressure testing method, device, equipment and storage medium - Google Patents

Pressure testing method, device, equipment and storage medium Download PDF

Info

Publication number
CN111625443A
CN111625443A CN201910152594.0A CN201910152594A CN111625443A CN 111625443 A CN111625443 A CN 111625443A CN 201910152594 A CN201910152594 A CN 201910152594A CN 111625443 A CN111625443 A CN 111625443A
Authority
CN
China
Prior art keywords
pressure test
pressure
equipment
internet
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910152594.0A
Other languages
Chinese (zh)
Other versions
CN111625443B (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.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201910152594.0A priority Critical patent/CN111625443B/en
Priority to TW108142915A priority patent/TW202034164A/en
Priority to PCT/CN2020/075948 priority patent/WO2020173366A1/en
Publication of CN111625443A publication Critical patent/CN111625443A/en
Application granted granted Critical
Publication of CN111625443B publication Critical patent/CN111625443B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software

Abstract

The embodiment of the application provides a pressure test method, a pressure test device, pressure test equipment and a storage medium, so that the stability of pressure test is improved. The method comprises the following steps: determining a pressure test device subscribing the subscription relationship of the pressure test server; receiving a pressure test message issued by the pressure test server, and scheduling a pressure test task corresponding to the pressure test message; and calling pressure testing equipment according to the pressure testing task so as to enable each pressure testing equipment to execute corresponding pressure testing. After the pressure test message is received, the Internet of things server can schedule to execute the pressure test, and is not limited by the pressure test server, so that the stability of the pressure test is improved.

Description

Pressure testing method, device, equipment and storage medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a pressure testing method and apparatus, an electronic device, and a storage medium.
Background
The pressure test can simulate the software and hardware environment of practical application and the system load of a user in the using process, and run test software for a long time or in an ultra-heavy load manner to test the performance, reliability, stability and the like of a tested system.
A general pressure testing system is composed of a pressure testing server and a press machine specially performing pressure testing, as shown in fig. 1, the pressure testing server issues a testing task to the press machine, and then the press machine performs pressure testing on a service requiring pressure testing, such as pressure testing on a server, user equipment, and the like.
The pressure test server can manage the pressure test, so the pressure test server needs to manage the number of the press machines and call the press machines to perform the pressure test, the pressure test is limited by the pressure test server, and once the pressure test server fails, the pressure test cannot be normally performed.
Disclosure of Invention
The embodiment of the application provides a pressure testing method, so that the stability of pressure testing is improved.
Correspondingly, the embodiment of the application also provides a pressure testing device, electronic equipment and a storage medium, so as to ensure the realization and application of the system.
In order to solve the above problem, an embodiment of the present application discloses a pressure testing method, which is applied to an internet of things system, the internet of things system includes an internet of things server, a pressure testing server and a pressure testing device, the pressure testing device includes an internet of things device, and the method includes: determining a pressure test device subscribing the subscription relationship of the pressure test server; receiving a pressure test message issued by the pressure test server, and scheduling a pressure test task corresponding to the pressure test message; and calling pressure testing equipment according to the pressure testing task so as to enable each pressure testing equipment to execute corresponding pressure testing.
Optionally, the scheduling a stress test task corresponding to the stress test message includes: and acquiring pressure test parameters from the pressure test message, and arranging a corresponding pressure test task according to the pressure test parameters.
Optionally, the arranging a corresponding stress test task according to the stress test parameters includes: and determining a pressure test script according to the pressure test parameters, determining execution time information according to the pressure test parameters, and generating a corresponding pressure test task.
Optionally, the invoking the stress testing device according to the stress testing task includes: determining pressure testing equipment corresponding to the pressure testing task; and issuing the pressure test script to the pressure test equipment so as to execute the pressure test according to the execution time information.
Optionally, the pressure testing device for determining a subscription relationship subscribed to the pressure testing server includes: subscribing the subscription relation of the pressure test server for the Internet of things equipment according to the subscription request of the Internet of things equipment; and using the Internet of things equipment as pressure test equipment.
The embodiment of the application also discloses a pressure test device, is applied to the thing networking server of thing networking system, thing networking system still includes pressure test server and pressure test equipment, pressure test equipment includes thing networking device, the device includes: the subscription module is used for determining the pressure test equipment which subscribes the subscription relation of the pressure test server; the message receiving module is used for receiving the pressure test message issued by the pressure test server; the task arrangement module is used for arranging the pressure test task corresponding to the pressure test message; and the test scheduling module is used for calling the pressure test equipment according to the pressure test task so as to enable each pressure test equipment to execute corresponding pressure test.
Optionally, the task arrangement module is configured to obtain a pressure test parameter from the pressure test message, and arrange a corresponding pressure test task according to the pressure test parameter.
Optionally, the task orchestration module is configured to determine a pressure test script according to the pressure test parameter, determine execution time information according to the pressure test parameter, and generate a corresponding pressure test task.
Optionally, the test scheduling module is configured to determine a pressure test device corresponding to the pressure test task; and issuing the pressure test script to the pressure test equipment so as to execute the pressure test according to the execution time information.
Optionally, the subscription module is configured to subscribe, according to a subscription request of an internet of things device, the subscription relationship of the pressure test server for the internet of things device; and using the Internet of things equipment as pressure test equipment.
The embodiment of the application also discloses an electronic device, which comprises: a processor; and a memory having executable code stored thereon that, when executed, causes the processor to perform a stress testing method as described in one or more of the embodiments of the present application.
One or more machine-readable media having stored thereon executable code that, when executed, causes a processor to perform one or more of the stress testing methods described in embodiments of the present application are also disclosed.
Compared with the prior art, the embodiment of the application has the following advantages:
in the embodiment of the application, the pressure test is carried out based on an Internet of things system, the Internet of things system comprises an Internet of things server, a pressure test server and pressure test equipment, the pressure test equipment comprises Internet of things equipment, so that the pressure test server can publish the subscription relationship on the server of the internet of things, the pressure test equipment can subscribe the subscription relationship, so that the pressure test can be scheduled to be executed after the server of the Internet of things receives the pressure test message issued by the pressure test server, wherein, the pressure test task corresponding to the pressure test message can be arranged, and then the pressure test equipment is called according to the pressure test task, the internet of things server can schedule the execution of the pressure test after receiving the pressure test message, and is not limited by the pressure test server, so that the stability of the pressure test is improved.
Drawings
FIG. 1 is a schematic diagram of a pressure testing system of the background art;
fig. 2 is a schematic structural diagram of an embodiment of an internet of things system of the present application;
FIG. 3 is a flow chart of the steps of one embodiment of a pressure testing method of the present application;
FIG. 4 is a flow chart of steps of another pressure testing method embodiment of the present application;
FIG. 5 is an interactive illustration of a stress test according to an embodiment of the present application;
FIG. 6 is a block diagram of another embodiment of the pressure testing device of the present application;
fig. 7 is a schematic structural diagram of an apparatus according to an embodiment of the present application.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, the present application is described in further detail with reference to the accompanying drawings and the detailed description.
The internet of things is the internet connected with objects, the internet of things system comprises various servers, internet of things equipment and the like, and the servers can communicate with the internet of things equipment and provide required services.
Referring to fig. 2, a schematic structural diagram of an embodiment of an internet of things system of the present application is shown.
The system of the internet of things of the embodiment of the application can execute the pressure test, and the system of the internet of things comprises an internet of things server 202, a pressure test server 204, pressure test equipment 206 and equipment 208 needing to be tested. The Internet of things server refers to a unified management server of an Internet of things system and comprises an access server, a server for providing edge service and the like; the pressure test server refers to a server corresponding to the pressure test and can issue a message of the pressure test and the like, so that the pressure test is carried out through the scheduling of the server of the Internet of things; the pressure test apparatus refers to an apparatus for performing a pressure test, which can apply pressure to a service requiring the pressure test. The pressure test equipment comprises internet of things equipment 2062, the internet of things equipment refers to user equipment connected to an internet of things server, such as other terminal equipment including a mobile terminal and a computer, special equipment for performing pressure test can be omitted in the internet of things system, the internet of things equipment connected to the internet of things server serves as the pressure test equipment, and pressure test can be supported based on edge service of the internet of things. Of course, in other embodiments, the pressure testing apparatus may also include a press 2064, which refers to an apparatus dedicated to performing pressure testing, so that the press and the internet of things apparatus can perform pressure testing together.
Referring to FIG. 3, a flow chart of the steps of an embodiment of a pressure testing method of the present application is shown.
Step 302, determining the pressure testing equipment subscribing to the subscription relationship of the pressure testing server.
In the internet of things system, a device has a resource subscription right, and the resource subscription right comprises: the terminal equipment comprises a subscription authority and a release authority, wherein the subscription authority is that the terminal equipment has the authority of subscribing the specified resource path, and the release authority is that the terminal equipment has the authority of releasing the message of the specified resource path. The pressure test server publishes a subscription relationship on the Internet of things server based on the publishing authority, the subscription relationship refers to a relationship of subscribing the message of the pressure test server, and the Internet of things equipment such as the mobile equipment can subscribe the subscription relationship based on the subscription authority, so that the Internet of things server can take the equipment subscribing the subscription relationship of the pressure test server as the pressure test equipment.
In an optional embodiment of the present application, the determining a stress testing device that subscribes to a subscription relationship of the stress testing server includes: subscribing the subscription relation of the pressure test server for the Internet of things equipment according to the subscription request of the Internet of things equipment; and using the Internet of things equipment as pressure test equipment. The method comprises the steps that an Internet of things device with subscription authority can send a subscription request, wherein the subscription request is used for requesting subscription of an appointed subscription relation, so that after the Internet of things server receives the subscription request, the subscription relation of the pressure test server can be subscribed for the Internet of things device, namely the subscription relation of the Internet of things device and the pressure test server is established, the Internet of things device can obtain information and the like of the pressure test server, and the subscribed Internet of things device can be used as the pressure test device, so that pressure test operation can be executed based on the information of the pressure test server.
In other embodiments, the pressure test server may also have a press as a pressure test device, and the pressure test devices may be connected to the internet of things server and then subscribe to the subscription relationship of the pressure test server, so that the internet of things server can uniformly manage the pressure test server to perform the pressure test.
Step 304, receiving the stress test message issued by the stress test server, and scheduling a stress test task corresponding to the stress test message.
The method includes that a pressure test server can generate a pressure test message under the condition that the pressure test server needs to execute a pressure test, the pressure test message can carry parameters corresponding to the pressure test, such as time parameters, equipment parameters, script parameters and other pressure test parameters, the pressure test parameters are used for indicating execution of the pressure test, and then the pressure test message can be issued to an internet of things server.
After the internet of things server receives the pressure test message issued by the pressure test server, the corresponding pressure test tasks, such as task execution time, required scripts, required pressure test equipment and the like, can be arranged based on the pressure test parameters in the pressure test message. Wherein, the pressure test task refers to the work of the pressure test required to be executed. In an optional embodiment, the orchestrating of the stress test task corresponding to the stress test message includes: and acquiring pressure test parameters from the pressure test message, and arranging a corresponding pressure test task according to the pressure test parameters. The pressure test parameters can be obtained from the pressure test message, and then the time, equipment, scripts and other works required by the pressure test are arranged according to the pressure test parameters to obtain a pressure test task.
In a further optional embodiment, the arranging the corresponding stress testing task according to the stress testing parameter includes: and determining a pressure test script according to the pressure test parameters, determining execution time information according to the pressure test parameters, and generating a corresponding pressure test task. The pressure test script can be determined according to script parameters corresponding to the pressure test parameters, wherein the pressure test script is a script for executing the pressure test, the pressure test script can be stored in the internet of things server in advance, for example, in a server providing edge services, and the pressure test script can be adaptively adjusted according to the script parameters, for example, specific parameters, attributes and other contents in the pressure test script are determined. The execution time information of the pressure test, such as the start time, the end time and the like, can also be set based on the time parameters in the pressure test parameters, the number of the pressure test devices can also be set based on the device parameters in the pressure test parameters, and the specified pressure test devices can be selected, so that the pressure test task of the pressure test can be generated. And then the server of the edge service can execute the pressure test according to the scheduling of the pressure test task without the parameters of the pressure test server, so that the execution of the pressure test is not influenced even if the pressure test server fails.
And step 306, calling pressure testing equipment according to the pressure testing task so that each pressure testing equipment executes corresponding pressure testing.
The server providing the edge service can execute scheduling based on the pressure test task, call the required pressure test equipment to execute the pressure test, enable each pressure test equipment to call the corresponding pressure test script to execute the pressure test, and apply pressure to the equipment and the like needing the pressure test.
In an optional embodiment, the invoking a stress testing device according to the stress testing task includes: determining pressure testing equipment corresponding to the pressure testing task; and issuing the pressure test script to the pressure test equipment so as to execute the pressure test according to the execution time information. According to the pressure test task, the pressure test equipment to be subjected to the pressure test can be determined, such as calling the corresponding number of pressure test equipment, and then the pressure test scripts can be issued to the pressure test equipment, and the pressure test can be performed according to the execution time information.
In summary, the pressure test is performed based on the internet of things system, the internet of things system comprises an internet of things server, a pressure test server and pressure test equipment, the pressure test equipment comprises internet of things equipment, so that the pressure test server can publish the subscription relationship on the server of the internet of things, the pressure test equipment can subscribe the subscription relationship, so that the pressure test can be scheduled to be executed after the server of the Internet of things receives the pressure test message issued by the pressure test server, wherein, the pressure test task corresponding to the pressure test message can be arranged, and then the pressure test equipment is called according to the pressure test task, the internet of things server can schedule the execution of the pressure test after receiving the pressure test message, and is not limited by the pressure test server, so that the stability of the pressure test is improved.
On the basis of the embodiment, the embodiment of the application further provides a pressure test method, which can execute the pressure test based on the internet of things system and improve the stability of the pressure test.
Referring to FIG. 4, a flow chart of steps of another pressure testing method embodiment of the present application is shown.
Step 402, receiving a subscription request of an internet of things device.
Step 404, subscribing the subscription relationship of the pressure test server for the internet of things equipment according to the subscription request of the internet of things equipment; and using the Internet of things equipment as pressure test equipment.
Step 406, receiving the stress test message issued by the stress test server.
Step 408, obtaining stress test parameters from the stress test message.
And step 410, determining a pressure test script according to the pressure test parameters, determining execution time information according to the pressure test parameters, and generating a corresponding pressure test task.
Step 412, determining a stress test device corresponding to the stress test task.
And 414, issuing the pressure test script to the pressure test equipment so as to execute the pressure test according to the execution time information.
Therefore, based on the subscription relation of the Internet of things system, after the pressure test server issues the pressure test message, the pressure test server can arrange and dispatch the pressure test message so as to execute the pressure test.
On the basis of the embodiment, the pressure test based on the internet of things system can be realized by coordination of a plurality of devices, and under the architecture of the internet of things system, the pressure test is realized based on the edge service, the edge calculation and various devices of the internet of things.
Referring to fig. 5, an interactive schematic diagram of a stress test according to an embodiment of the present application is shown.
Step 502, the pressure test server issues a subscription relationship to the internet of things server, and the corresponding internet of things server can feed back an issue result, such as successful issue.
Step 504, the pressure test device subscribes to the subscription relationship, and the corresponding internet of things server can feed back a subscription result, such as successful subscription.
Step 506, the pressure test server sends a pressure test message to the internet of things server.
And step 508, the server of the internet of things arranges a pressure test task according to the pressure test message. Among other things, the number and requirements of the stress testing devices that need to perform the stress test, the execution time of the stress test, the stress test script, etc. can be determined.
Step 510, the internet of things server determines a pressure test device which needs to execute a pressure test, and issues a pressure test script to the pressure test device.
And step 512, the pressure testing equipment applies pressure to the equipment where the service needing pressure testing is located according to the execution time information, and executes corresponding pressure testing. Such as determining when to start applying pressure, when or what state to end applying pressure, etc., based on the execution time information.
After the pressure test is completed and the pressure test result is obtained, the pressure test result can be sent to the pressure test server through the Internet of things server.
Therefore, based on the pressure test of the Internet of things, the pressure test server is not used as a central node, and the decentralization characteristic is realized, so that the execution of the pressure test can be scheduled by the Internet of things server after the pressure test server sends the pressure test message, and the pressure test cannot be influenced by the fault of the pressure test server.
The pressure test is carried out based on the Internet of things system, and various devices accessed in the Internet of things subscribe the information of the pressure test server and can be used as the pressure test device, so that the execution of the pressure test is not limited by the number of the pressure test devices, and the pressure test server does not influence the execution of the pressure test after the information is issued, thereby effectively improving the stability of the pressure test.
In the embodiment of the application, the equipment accessed in the Internet of things is used as the pressure test equipment, so that the customer resources can be utilized, the resource utilization rate of the Internet of things is improved, further, the pressure test of payment and charging can be carried out, and if the Internet of things equipment in the pressure test equipment pays certain cost, the ecological development of the Internet of things is optimized.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the embodiments are not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the embodiments. Further, those skilled in the art will also appreciate that the embodiments described in the specification are presently preferred and that no particular act is required of the embodiments of the application.
On the basis of the above embodiment, the embodiment further provides a pressure testing device, which is applied to an internet of things server of an internet of things system, wherein the internet of things system further comprises the pressure testing server and pressure testing equipment, and the pressure testing equipment comprises internet of things equipment.
Referring to fig. 6, a block diagram of an embodiment of a processing apparatus based on driving behavior according to the present application is shown, and specifically, the processing apparatus may include the following modules:
a subscription module 602, configured to determine a stress testing device that subscribes to the subscription relationship of the stress testing server.
A message receiving module 604, configured to receive the stress test message issued by the stress test server.
And a task scheduling module 606, configured to schedule the stress test task corresponding to the stress test message.
The test scheduling module 608 is configured to invoke the pressure testing devices according to the pressure testing task, so that each pressure testing device executes a corresponding pressure test.
The task arrangement module 606 is configured to obtain a pressure test parameter from the pressure test message, and arrange a corresponding pressure test task according to the pressure test parameter.
The task orchestration module 606 is configured to determine a pressure test script according to the pressure test parameters, determine execution time information according to the pressure test parameters, and generate a corresponding pressure test task.
The test scheduling module 608 is configured to determine a stress test device corresponding to the stress test task; and issuing the pressure test script to the pressure test equipment so as to execute the pressure test according to the execution time information.
The subscription module 602 is configured to subscribe the subscription relationship of the pressure test server for the internet of things device according to a subscription request of the internet of things device; and using the Internet of things equipment as pressure test equipment.
In summary, the pressure test is performed based on the internet of things system, the internet of things system comprises an internet of things server, a pressure test server and pressure test equipment, the pressure test equipment comprises internet of things equipment, so that the pressure test server can publish the subscription relationship on the server of the internet of things, the pressure test equipment can subscribe the subscription relationship, so that the pressure test can be scheduled to be executed after the server of the Internet of things receives the pressure test message issued by the pressure test server, wherein, the pressure test task corresponding to the pressure test message can be arranged, and then the pressure test equipment is called according to the pressure test task, the internet of things server can schedule the execution of the pressure test after receiving the pressure test message, and is not limited by the pressure test server, so that the stability of the pressure test is improved.
The pressure test based on the Internet of things is realized by the characteristic that the pressure test server is not used as a central node, so that the pressure test server can schedule the execution of the pressure test after sending the pressure test message, and the pressure test is not influenced by the fault of the pressure test server.
The pressure test is carried out based on the Internet of things system, and various devices accessed in the Internet of things subscribe the information of the pressure test server and can be used as the pressure test device, so that the execution of the pressure test is not limited by the number of the pressure test devices, and the pressure test server does not influence the execution of the pressure test after the information is issued, thereby effectively improving the stability of the pressure test.
In the embodiment of the application, the equipment accessed in the Internet of things is used as the pressure test equipment, so that the customer resources can be utilized, the resource utilization rate of the Internet of things is improved, further, the pressure test of payment and charging can be carried out, and if the Internet of things equipment in the pressure test equipment pays certain cost, the ecological development of the Internet of things is optimized.
The present application further provides a non-transitory, readable storage medium, where one or more modules (programs) are stored, and when the one or more modules are applied to a device, the device may execute instructions (instructions) of method steps in this application.
Embodiments of the present application provide one or more machine-readable media having instructions stored thereon, which when executed by one or more processors, cause an electronic device to perform the methods as described in one or more of the above embodiments. In the embodiment of the application, the electronic device comprises server equipment such as an internet of things server and a pressure test server, and the internet of things equipment, the pressure test equipment, user equipment and the like.
Embodiments of the present disclosure may be implemented as an apparatus for performing a desired configuration using any suitable hardware, firmware, software, or any combination thereof, which may include server (cluster) devices such as an internet of things server, a stress test server, etc., electronic devices such as an internet of things device, a stress test device, a user device, etc. Fig. 7 schematically illustrates an example apparatus 700 that may be used to implement various embodiments described herein.
For one embodiment, fig. 7 illustrates an exemplary apparatus 700 having one or more processors 702, a control module (chipset) 704 coupled to at least one of the processor(s) 702, a memory 706 coupled to the control module 704, a non-volatile memory (NVM)/storage 708 coupled to the control module 704, one or more input/output devices 710 coupled to the control module 704, and a network interface 712 coupled to the control module 704.
The processor 702 may include one or more single-core or multi-core processors, and the processor 702 may include any combination of general-purpose or special-purpose processors (e.g., graphics processors, application processors, baseband processors, etc.). In some embodiments, the apparatus 700 can be an electronic device such as an in-vehicle device described in the embodiments of the present application.
In some embodiments, the apparatus 700 may include one or more computer-readable media (e.g., the memory 706 or the NVM/storage 708) having instructions 714 and one or more processors 702 in combination with the one or more computer-readable media configured to execute the instructions 714 to implement modules to perform the actions described in this disclosure.
For one embodiment, control module 704 may include any suitable interface controllers to provide any suitable interface to at least one of processor(s) 702 and/or any suitable device or component in communication with control module 704.
The control module 704 may include a memory controller module to provide an interface to the memory 706. The memory controller module may be a hardware module, a software module, and/or a firmware module.
The memory 706 may be used, for example, to load and store data and/or instructions 714 for the apparatus 700. For one embodiment, memory 706 may comprise any suitable volatile memory, such as suitable DRAM. In some embodiments, the memory 706 may comprise a double data rate type four synchronous dynamic random access memory (DDR4 SDRAM).
For one embodiment, control module 704 may include one or more input/output controllers to provide an interface to NVM/storage 708 and input/output device(s) 710.
For example, NVM/storage 708 may be used to store data and/or instructions 714. NVM/storage 708 may include any suitable non-volatile memory (e.g., flash memory) and/or may include any suitable non-volatile storage device(s) (e.g., one or more hard disk drive(s) (HDD (s)), one or more Compact Disc (CD) drive(s), and/or one or more Digital Versatile Disc (DVD) drive (s)).
NVM/storage 708 may include storage resources that are physically part of the device on which apparatus 700 is installed, or it may be accessible by the device and need not be part of the device. For example, NVM/storage 708 may be accessible over a network via input/output device(s) 710.
Input/output device(s) 710 may provide an interface for apparatus 700 to communicate with any other suitable device, input/output device(s) 710 may include communication components, audio components, sensor components, and so forth. Network interface 712 may provide an interface for device 700 to communicate over one or more networks, and device 700 may communicate wirelessly with one or more components of a wireless network according to any of one or more wireless network standards and/or protocols, such as to access a communication standard-based wireless network, such as WiFi, 2G, 3G, 4G, etc., or a combination thereof.
For one embodiment, at least one of the processor(s) 702 may be packaged together with logic for one or more controller(s) (e.g., memory controller module) of control module 704. For one embodiment, at least one of the processor(s) 702 may be packaged together with logic for one or more controllers of control module 704 to form a System In Package (SiP). For one embodiment, at least one of the processor(s) 702 may be integrated on the same die with logic for one or more controller(s) of control module 704. For one embodiment, at least one of the processor(s) 702 may be integrated on the same die with logic for one or more controllers of control module 704 to form a system on a chip (SoC).
In various embodiments, the apparatus 700 may be, but is not limited to being: a terminal device such as a vehicle mounted device, a server, a desktop computing device, or a mobile computing device (e.g., a laptop computing device, a handheld computing device, a tablet, a netbook, etc.). In various embodiments, apparatus 700 may have more or fewer components and/or different architectures. For example, in some embodiments, device 700 includes one or more cameras, a keyboard, a Liquid Crystal Display (LCD) screen (including a touch screen display), a non-volatile memory port, multiple antennas, a graphics chip, an Application Specific Integrated Circuit (ASIC), and speakers.
An embodiment of the present application provides an electronic device, including: one or more processors; and one or more machine readable media having instructions stored thereon that, when executed by the one or more processors, cause the electronic device to perform a driving behavior-based processing method as described in one or more of the embodiments of the present application.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
Embodiments of the present application are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present application have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including the preferred embodiment and all such alterations and modifications as fall within the true scope of the embodiments of the application.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The pressure testing method, the pressure testing device, the electronic device and the storage medium provided by the application are described in detail, specific examples are applied in the description to explain the principle and the implementation of the application, and the description of the above examples is only used to help understand the method and the core idea of the application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (12)

1. A pressure testing method is applied to an Internet of things system, the Internet of things system comprises an Internet of things server, a pressure testing server and pressure testing equipment, the pressure testing equipment comprises Internet of things equipment, and the method comprises the following steps:
determining a pressure test device subscribing the subscription relationship of the pressure test server;
receiving a pressure test message issued by the pressure test server, and scheduling a pressure test task corresponding to the pressure test message;
and calling pressure testing equipment according to the pressure testing task so as to enable each pressure testing equipment to execute corresponding pressure testing.
2. The method of claim 1, wherein the orchestrating of stress testing tasks corresponding to the stress testing messages comprises:
and acquiring pressure test parameters from the pressure test message, and arranging a corresponding pressure test task according to the pressure test parameters.
3. The method of claim 2, wherein the orchestrating of the corresponding stress testing task according to the stress testing parameters comprises:
and determining a pressure test script according to the pressure test parameters, determining execution time information according to the pressure test parameters, and generating a corresponding pressure test task.
4. The method of claim 3, wherein invoking stress testing equipment in accordance with the stress testing task comprises:
determining pressure testing equipment corresponding to the pressure testing task;
and issuing the pressure test script to the pressure test equipment so as to execute the pressure test according to the execution time information.
5. The method of claim 1, wherein determining the stress testing device subscribed to the subscription relationship of the stress testing server comprises:
subscribing the subscription relation of the pressure test server for the Internet of things equipment according to the subscription request of the Internet of things equipment;
and using the Internet of things equipment as pressure test equipment.
6. A pressure test device is applied to an Internet of things server of an Internet of things system, the Internet of things system further comprises the pressure test server and pressure test equipment, the pressure test equipment comprises Internet of things equipment, and the device comprises:
the subscription module is used for determining the pressure test equipment which subscribes the subscription relation of the pressure test server;
the message receiving module is used for receiving the pressure test message issued by the pressure test server;
the task arrangement module is used for arranging the pressure test task corresponding to the pressure test message;
and the test scheduling module is used for calling the pressure test equipment according to the pressure test task so as to enable each pressure test equipment to execute corresponding pressure test.
7. The apparatus of claim 6,
and the task arranging module is used for acquiring pressure test parameters from the pressure test message and arranging corresponding pressure test tasks according to the pressure test parameters.
8. The apparatus of claim 7,
and the task arranging module is used for determining a pressure test script according to the pressure test parameters, determining execution time information according to the pressure test parameters and generating a corresponding pressure test task.
9. The apparatus of claim 8,
the test scheduling module is used for determining pressure test equipment corresponding to the pressure test task; and issuing the pressure test script to the pressure test equipment so as to execute the pressure test according to the execution time information.
10. The apparatus of claim 6,
the subscription module is used for subscribing the subscription relation of the pressure test server for the Internet of things equipment according to the subscription request of the Internet of things equipment; and using the Internet of things equipment as pressure test equipment.
11. An electronic device, comprising:
a processor; and
memory having stored thereon executable code which, when executed, causes the processor to perform a stress testing method as claimed in one or more of claims 1-5.
12. One or more machine readable media having executable code stored thereon that, when executed, causes a processor to perform the stress testing method of one or more of claims 1-5.
CN201910152594.0A 2019-02-28 2019-02-28 Pressure testing method, device, equipment and storage medium Active CN111625443B (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN201910152594.0A CN111625443B (en) 2019-02-28 2019-02-28 Pressure testing method, device, equipment and storage medium
TW108142915A TW202034164A (en) 2019-02-28 2019-11-26 Pressure testing method and apparatus, and device and storage medium
PCT/CN2020/075948 WO2020173366A1 (en) 2019-02-28 2020-02-20 Pressure testing method and apparatus, and device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910152594.0A CN111625443B (en) 2019-02-28 2019-02-28 Pressure testing method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111625443A true CN111625443A (en) 2020-09-04
CN111625443B CN111625443B (en) 2023-04-18

Family

ID=72238364

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910152594.0A Active CN111625443B (en) 2019-02-28 2019-02-28 Pressure testing method, device, equipment and storage medium

Country Status (3)

Country Link
CN (1) CN111625443B (en)
TW (1) TW202034164A (en)
WO (1) WO2020173366A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113037594A (en) * 2021-03-24 2021-06-25 北京百度网讯科技有限公司 Pressure testing method and device based on cloud service
CN113507601A (en) * 2021-04-22 2021-10-15 广东睿住智能科技有限公司 Pressure testing method and system of intelligent screen
WO2023131343A1 (en) * 2022-01-10 2023-07-13 阿里巴巴(中国)有限公司 Stress test method and system, and device and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060253588A1 (en) * 2005-05-09 2006-11-09 International Business Machines Corporation Method and apparatus for managing test results in a data center
CN103686794A (en) * 2013-12-23 2014-03-26 工业和信息化部电子第五研究所 Sensor network node load pressure test system and method
US20150331784A1 (en) * 2014-05-19 2015-11-19 Unisys Corporation System and method for controlling test script execution by smartphone
CN106101178A (en) * 2016-05-30 2016-11-09 海尔优家智能科技(北京)有限公司 A kind of subscription message distribution, method of reseptance, device and related system
CN106815142A (en) * 2015-12-02 2017-06-09 北京奇虎科技有限公司 A kind of method for testing software and system
WO2018084808A1 (en) * 2016-11-04 2018-05-11 Singapore University Of Technology And Design Computer-implemented method and data processing system for testing device security
CN108932193A (en) * 2018-06-01 2018-12-04 四川斐讯全智信息技术有限公司 A kind of MQTT server interface test method and system
CN109308266A (en) * 2018-11-30 2019-02-05 北京微播视界科技有限公司 Construction method, test method, device, equipment and the medium of test case
CN109359033A (en) * 2018-09-05 2019-02-19 广州神马移动信息科技有限公司 Method for testing pressure, testing service device, management server and system

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103812905B (en) * 2012-11-14 2017-10-24 中兴通讯股份有限公司 A kind of internet-of-things terminal application continuum generates system and method
CN102946616B (en) * 2012-11-21 2015-07-08 山东中创软件商用中间件股份有限公司 Internet of things middleware performance testing system and testing method
CN105516250B (en) * 2015-11-25 2019-03-05 北京邮电大学 Internet of Things service call platform and system
US20170168885A1 (en) * 2015-12-09 2017-06-15 Hcl Technologies Limited System and Method for Testing Internet of Things Network
EP3296876B1 (en) * 2016-09-20 2019-08-21 Tata Consultancy Services Limited Systems and methods for predicting performance of applications on an internet of things (iot) platform
CN108733545B (en) * 2017-04-25 2022-02-18 北京微影时代科技有限公司 Pressure testing method and device
CN108809747B (en) * 2018-03-22 2020-11-06 苏州德姆斯信息技术有限公司 Simulation data test system and test method of system platform

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060253588A1 (en) * 2005-05-09 2006-11-09 International Business Machines Corporation Method and apparatus for managing test results in a data center
CN103686794A (en) * 2013-12-23 2014-03-26 工业和信息化部电子第五研究所 Sensor network node load pressure test system and method
US20150331784A1 (en) * 2014-05-19 2015-11-19 Unisys Corporation System and method for controlling test script execution by smartphone
CN106815142A (en) * 2015-12-02 2017-06-09 北京奇虎科技有限公司 A kind of method for testing software and system
CN106101178A (en) * 2016-05-30 2016-11-09 海尔优家智能科技(北京)有限公司 A kind of subscription message distribution, method of reseptance, device and related system
WO2018084808A1 (en) * 2016-11-04 2018-05-11 Singapore University Of Technology And Design Computer-implemented method and data processing system for testing device security
CN108932193A (en) * 2018-06-01 2018-12-04 四川斐讯全智信息技术有限公司 A kind of MQTT server interface test method and system
CN109359033A (en) * 2018-09-05 2019-02-19 广州神马移动信息科技有限公司 Method for testing pressure, testing service device, management server and system
CN109308266A (en) * 2018-11-30 2019-02-05 北京微播视界科技有限公司 Construction method, test method, device, equipment and the medium of test case

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李轩;温志军;高越;: "飞行器测控系统数据分发服务研究" *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113037594A (en) * 2021-03-24 2021-06-25 北京百度网讯科技有限公司 Pressure testing method and device based on cloud service
US11836065B2 (en) 2021-03-24 2023-12-05 Beijing Baidu Netcom Science And Technology Co., Ltd. Method and apparatus for testing stress based on cloud service
CN113507601A (en) * 2021-04-22 2021-10-15 广东睿住智能科技有限公司 Pressure testing method and system of intelligent screen
CN113507601B (en) * 2021-04-22 2024-03-29 广东睿住智能科技有限公司 Pressure testing method and system for intelligent screen
WO2023131343A1 (en) * 2022-01-10 2023-07-13 阿里巴巴(中国)有限公司 Stress test method and system, and device and storage medium

Also Published As

Publication number Publication date
WO2020173366A1 (en) 2020-09-03
CN111625443B (en) 2023-04-18
TW202034164A (en) 2020-09-16

Similar Documents

Publication Publication Date Title
CN111625443B (en) Pressure testing method, device, equipment and storage medium
CN108512715B (en) Load pressure test method of service link and related device
CN109376088B (en) Automatic test system and automatic test method
CN109299015B (en) Software testing method, device and system
CN107193681B (en) Data verification method and device
CN107957888B (en) Application program gray scale upgrading method and device
CN112256647B (en) File processing method and device
US20230229215A1 (en) Cloud Computing Power Allocation Method, User Terminal, Cloud Computing Power Platform and System
CN110874315A (en) Test method, test device, electronic equipment and storage medium
CN110413395A (en) Service call pre-heating mean, device, equipment and storage medium
WO2016197853A1 (en) Complexity-based service processing method and apparatus
CN107390966B (en) Method and device for updating application upgrading prompt information
CN112506781B (en) Test monitoring method, device, electronic equipment, storage medium and program product
CN113760768A (en) Test method, monitoring platform, electronic equipment and storage medium
CN114153512A (en) Resource loading method and device, electronic equipment and storage medium
CN110839053B (en) Device communication method, device and storage medium
CN109840073B (en) Method and device for realizing business process
US9525754B1 (en) Task-based approach to execution, monitoring and execution control of actions
CN111124907A (en) Mobile phone game testing method and device and server
CN110955599A (en) Object creation method and device, electronic equipment and computer-readable storage medium
CN110633214A (en) Configuration method and device of internal test message
CN110968817A (en) Page content detection method, device and system
US20230156690A1 (en) Data processing method and apparatus, device, and storage medium
CN113761548B (en) Data transmission method and device for Shuffle process
JP2013232035A (en) Information processing system, information processing device, information processing method, and program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40036383

Country of ref document: HK

GR01 Patent grant
GR01 Patent grant