CN110677317B - Test method, test device, test equipment and storage medium - Google Patents

Test method, test device, test equipment and storage medium Download PDF

Info

Publication number
CN110677317B
CN110677317B CN201910876884.XA CN201910876884A CN110677317B CN 110677317 B CN110677317 B CN 110677317B CN 201910876884 A CN201910876884 A CN 201910876884A CN 110677317 B CN110677317 B CN 110677317B
Authority
CN
China
Prior art keywords
equipment
tested
test
network access
detection
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
CN201910876884.XA
Other languages
Chinese (zh)
Other versions
CN110677317A (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.)
Comba Network Systems Co Ltd
Original Assignee
Comba Network Systems 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 Comba Network Systems Co Ltd filed Critical Comba Network Systems Co Ltd
Priority to CN201910876884.XA priority Critical patent/CN110677317B/en
Publication of CN110677317A publication Critical patent/CN110677317A/en
Application granted granted Critical
Publication of CN110677317B publication Critical patent/CN110677317B/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/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0817Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking functioning
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/06Generation of reports
    • H04L43/065Generation of reports related to network devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Computer Security & Cryptography (AREA)
  • Health & Medical Sciences (AREA)
  • Cardiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application relates to a test method, a test device and a storage medium, wherein the test device establishes network connection with a network access device in a device to be tested; then, based on network connection, issuing a detection instruction to the network access equipment; the detection instruction is used for indicating the equipment to be detected to detect based on the detection instruction and outputting a detection result; and finally, receiving a detection result returned by the network access equipment based on the network connection. By adopting the method, the automatic test of the equipment to be tested can be realized, and the production efficiency of products is improved.

Description

Test method, test device, test equipment and storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a test method, an apparatus, a test device, and a storage medium.
Background
In the field of production and manufacturing, warehousing, delivery and testing of products are important links in product production. How to shorten the time of warehousing, delivering and testing of products, and improving the production efficiency of the products is an important problem to be solved by each manufacturer.
In the traditional technology, warehousing and warehousing of products are mainly finished by inputting serial numbers of the products by testers, for example, two-dimensional codes or bar codes carried on the products are scanned; in the testing link of the product, a testing instruction is mainly manually issued to the product, and then a testing result of the product is extracted and then is recorded into the control platform.
However, the warehousing, the delivery or the testing of the products by adopting the method needs a lot of manpower, which results in low production efficiency of the products.
Disclosure of Invention
In view of the above, it is necessary to provide a testing method, an apparatus, a testing device and a storage medium for solving the above technical problems.
A method of testing, comprising:
establishing network connection with network access equipment in equipment to be tested;
based on network connection, issuing a detection instruction to network access equipment; the detection instruction is used for indicating the equipment to be detected to perform detection based on the detection instruction and outputting a detection result;
and receiving a detection result returned by the network access equipment based on the network connection.
In one embodiment, the detection instruction includes at least one of a performance test instruction, a version information detection instruction, and a configuration parameter detection instruction.
In one embodiment, the network access device is a bluetooth device.
In one embodiment, the detecting instruction includes a performance testing instruction, and after receiving a detection result returned by the network access device, the method further includes:
determining whether the performance test result of the equipment to be tested is qualified or not according to the detection result;
if the performance test is unqualified, determining that the equipment to be tested is in a state to be maintained;
and if the performance test is qualified, determining that the equipment to be tested is in the delivery state.
In one embodiment, before determining that the device under test is in the out-bin state, the method further includes:
the bluetooth device is adjusted to a low power mode.
In one embodiment, the detection instruction further comprises a version information detection instruction, and/or a configuration parameter detection instruction; before determining whether the performance test result of the device to be tested is qualified according to the detection result, the method further comprises the following steps:
if the written data of the equipment to be tested is determined to be different from the preset written data according to the detection result, issuing new written data to the equipment to be tested based on network connection; the write data includes version information, and/or configuration parameters.
In one embodiment, after determining that the device under test is in the out-of-bin state, the method further includes:
and deleting the equipment information of the equipment to be tested and the detection result of the equipment to be tested.
In one embodiment, before issuing the detection instruction to the network access device based on the network connection, the method includes:
receiving equipment information of equipment to be tested, which is sent by network access equipment;
device information is entered to complete the registration.
In one embodiment, after establishing a network connection with a network access device in a device under test, the method further includes:
and sending heartbeat information to the network access equipment.
In one embodiment, the network connection is based on the restricted application protocol COAP.
A method of testing, comprising:
establishing network connection with the test equipment through the network access equipment;
receiving a detection instruction issued by the test equipment based on network connection;
detecting according to the detection instruction and outputting a detection result;
and sending the detection result to the test equipment through the network access equipment based on the network connection.
A test apparatus, said apparatus comprising:
the connection module is used for establishing network connection with network access equipment in the equipment to be tested;
the issuing module is used for issuing a detection instruction to the network access equipment based on network connection; the detection instruction is used for indicating the equipment to be detected to detect based on the detection instruction and outputting a detection result;
and the receiving module is used for receiving the detection result returned by the network access equipment based on network connection.
A test apparatus, said apparatus comprising:
the establishing module is used for establishing network connection with the testing equipment through the network access equipment;
the detection module is used for receiving a detection instruction issued by the test equipment based on network connection;
the output module is used for detecting according to the detection instruction and outputting a detection result;
and the sending module is used for sending the detection result to the testing equipment through the network access equipment based on network connection.
A test device comprises a memory and a processor, wherein the memory stores a computer program, and the processor realizes the steps of the test method when executing the computer program.
A computer-readable storage medium, on which a computer program is stored, characterized in that the computer program realizes the steps of the above-mentioned test method when being executed by a processor.
According to the test method, the test device, the test equipment and the storage medium, the test equipment establishes network connection with the network access equipment in the equipment to be tested; then, based on network connection, issuing a detection instruction to the network access equipment; the detection instruction is used for indicating the equipment to be detected to detect based on the detection instruction and outputting a detection result; and finally, receiving a detection result returned by the network access equipment based on network connection. Because the network connection is established between the test equipment and the network access equipment in the equipment to be tested, the test equipment can send the detection instruction and receive the detection result through the network connection without being completed through test operation by workers, thereby realizing the automatic test of the equipment to be tested and improving the production efficiency of products.
Drawings
FIG. 1 is a diagram of an application environment of a test method in one embodiment;
FIG. 2 is a schematic flow chart of a test method in one embodiment;
FIG. 3 is a schematic flow chart of a test method in another embodiment;
FIG. 4 is a schematic flow chart of a testing method in another embodiment;
FIG. 5 is a schematic flow chart of a testing method in another embodiment;
FIG. 6 is a schematic flow chart of a testing method in another embodiment;
FIG. 7 is a block diagram showing the structure of a test apparatus according to an embodiment;
FIG. 8 is a block diagram showing the structure of a test apparatus according to another embodiment;
FIG. 9 is a block diagram showing the structure of a test apparatus according to another embodiment;
FIG. 10 is a block diagram showing the structure of a test apparatus according to another embodiment;
FIG. 11 is a block diagram showing the structure of a test apparatus according to another embodiment;
FIG. 12 is a block diagram showing the structure of a test apparatus according to another embodiment;
FIG. 13 is an internal block diagram of a test apparatus in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The test method provided by the application can be applied to the application environment shown in fig. 1. The device to be tested 100 is connected with the test device 300 through the network access device 200; the device to be tested can be but is not limited to various personal computers, smart phones, tablet computers, commercial terminals and Bluetooth base stations; the test device can be implemented by an independent server or a server cluster consisting of a plurality of servers.
In one embodiment, as shown in fig. 2, a testing method is provided, which is described by taking the method as an example applied to the testing device in fig. 1, and includes:
s101, establishing network connection with network access equipment in the equipment to be tested.
The device to be tested may be various personal computers, smart phones, tablet computers, commercial terminals, bluetooth base stations, or other devices provided with a network access device, which is not limited herein.
The network access device may be a WiFi device, and may also be a Zigbee device, which is not limited herein. Optionally, the network access device may be a bluetooth device. The Zigbee device is a wireless device based on Zigbee protocol transmission, and the Zigbee protocol is a wireless network protocol for low-speed short-distance transmission, and has the characteristics of low power consumption and many network nodes.
Specifically, the network connection may be a connection based on a User Datagram Protocol (UDP) or a connection based on a hypertext Transfer Protocol (HTTP), which is not limited herein.
Optionally, the network connection may also be a connection based on a restricted Application Protocol (COAP Protocol for short). The above-mentioned COAP protocol is mainly used for lightweight communications. Under the condition that the network access equipment resources in the equipment to be tested are limited, only a small amount of memory space and limited computing capacity are provided, and the requirement on the equipment resources can be reduced by adopting the COAP protocol, so that the network access equipment in the equipment to be tested can be smoothly accessed into a network to establish network connection with the test equipment.
Specifically, when establishing network connection with the network access device, the test device may scan a coverage area, determine whether the network access device exists in the coverage area, then match an identifier of the network access device obtained by scanning with locally preset information, determine whether the network access device is a network access device in the device to be tested, and if so, establish connection with the network access device. For example, when the network access device is a bluetooth device, the bluetooth device in the device to be tested may be in a low power consumption mode, and after the test device scans the coverage area, the bluetooth device in the device to be tested is identified, and then the bluetooth device is awakened.
S102, issuing a detection instruction to network access equipment based on network connection; the detection instruction is used for indicating the equipment to be detected to detect based on the detection instruction and outputting a detection result.
After the test equipment is connected with the network access equipment, a detection instruction can be issued to the network access equipment; the detection instruction can be a trigger instruction and is used for triggering the equipment to be tested to complete automatic testing; or the instruction can be an instruction containing information to be detected, so that the equipment to be detected can complete the item to be detected carried in the detection instruction according to the detection instruction; the type of the detection instruction is not limited herein.
Optionally, the detection instruction may include at least one of a performance test instruction, a version information detection instruction, and a configuration parameter detection instruction.
The performance test instruction may include a type of a performance to be tested, or may include an index range of the performance to be tested, which is not limited herein. The version information may be a script version of a processor in the device to be tested, such as a singlechip script; the configuration parameters may be parameters corresponding to different application scenarios of the device to be tested, and may also be configuration information such as a working frequency and a working bandwidth of the device to be tested.
And S103, receiving a detection result returned by the network access equipment based on network connection.
After receiving the detection instruction, the device to be tested may output a detection result according to the detection instruction, where the detection result may include a performance test result, for example, performance test data or a result indicating whether the performance test meets a requirement; the version information may be queried, the configuration parameter may be queried, a specific value of the parameter may be obtained, or a written version of the parameter may be obtained; the type of the detection result is not limited herein.
In the test method, the test equipment establishes network connection with the network access equipment in the equipment to be tested; then, based on network connection, issuing a detection instruction to the network access equipment; the detection instruction is used for indicating the equipment to be detected to detect based on the detection instruction and outputting a detection result; and finally, receiving a detection result returned by the network access equipment based on the network connection. Because the network connection is established between the test equipment and the network access equipment in the equipment to be tested, the test equipment can send a detection instruction and receive a detection result through the network connection without being completed through test operation by workers, so that the automatic test of the equipment to be tested is realized, and the production efficiency of products is improved.
FIG. 3 is a schematic flow chart of a testing method in another embodiment; the present embodiment relates to a specific process after the test device receives the detection result, on the basis of the foregoing embodiment, the detection instruction includes a performance test instruction, as shown in fig. 3, and after S103, the method further includes:
s201, determining whether the performance test result of the equipment to be tested is qualified or not according to the detection result.
The test equipment can mark the equipment to be tested into different states according to different detection results. When the detection result is the performance test data, the test equipment can compare the performance test data with a preset performance threshold interval to determine whether the performance test result is qualified; in addition, the detection result can also be a performance test result which is qualified or unqualified, so that the test equipment can directly determine the state of the equipment to be tested according to the display state of the detection result.
S202, if the performance test is unqualified, the equipment to be tested is determined to be in a state to be maintained.
Specifically, if the performance test is determined to be unqualified according to the detection result, the device to be tested is determined to be in a state to be maintained. The test equipment can send maintenance prompts to workers, so that the workers can open the box to check the equipment to be tested after seeing the prompt information.
And S203, if the performance test is qualified, determining that the equipment to be tested is in a delivery state.
And if the performance test is determined to be qualified according to the detection result, determining that the equipment to be tested is in the delivery state. The test equipment determines the equipment to be tested to be in the delivery state, and the test equipment can store the detection result of the equipment to be tested, so that a worker can inquire the detection result of the equipment to be tested according to the identification and the like of the equipment to be tested.
Further, before determining that the device under test is in the out-of-bin state, the test device may adjust the bluetooth device of the device under test to a low power consumption mode, so as to reduce power consumption of the bluetooth device.
Further, the test device may permanently retain the detection result of the test device marked as the out-of-bin state, or retain the detection result for a preset time length, and then delete the device information of the device to be tested and the detection result of the device to be tested, complete de-registration of the device to be tested in the test device, so as to reduce the data storage amount in the test device and release the storage resource.
According to the test method, the test equipment adjusts the Bluetooth equipment into the low power consumption mode, so that the power consumption of the Bluetooth equipment can be reduced; furthermore, the test equipment determines the state of the equipment to be tested according to the detection result, so that the qualified equipment to be tested can be smoothly delivered, the delivery process is simplified, and the production efficiency is further improved.
In an embodiment, the present embodiment relates to a specific process of the test device after receiving the detection result, and on the basis of the above embodiment, the detection instruction further includes a version information detection instruction, and/or a configuration parameter detection instruction; before S201, the method further includes: and if the written data of the equipment to be tested is determined to be different from the preset written data according to the detection result, issuing new written data to the equipment to be tested based on network connection.
The test equipment sends a detection instruction to the Bluetooth equipment, and the detection instruction is used for detecting the write-in data of the equipment to be tested; wherein the write data comprises version information, and/or configuration parameters. The device to be tested may query the version information based on the detection instruction and then return the currently written version information to the test device, so that the test device may determine whether the version information is the same as the preset version information according to the version information returned by the device to be tested. If the version information of the device to be tested is correct, the test equipment may consider that the version information of the device to be tested is incorrect, and new version information needs to be newly issued to the device to be tested, for example, a processor script file of the latest version is issued.
Similarly, the device under test may query the configuration parameters based on the detection instruction and then return the currently written configuration parameters to the test device, so that the test device may determine whether the configuration parameters are the same as the preset configuration parameters according to the parameters returned by the device under test. If so, the test equipment can consider that the configuration parameters of the equipment to be tested are correct, and if not, the test equipment considers that the configuration parameters of the equipment to be tested are wrong and the configuration parameters of the equipment to be tested need to be maintained to be consistent with preset configuration parameters; specifically, the test device may issue all configuration parameters that are the same as the preset configuration parameters to the device to be tested, or may determine which configuration parameter in the device to be tested is wrong, and individually issue the parameter value corresponding to the configuration item.
According to the test method, the test equipment can automatically complete the confirmation of the version information and/or the configuration parameters of the equipment to be tested by issuing the detection instruction, and then mark the equipment to be tested as the delivery state, so that the delivery efficiency is improved.
FIG. 4 is a schematic flow chart of a testing method in another embodiment; on the basis of the foregoing embodiment, as shown in fig. 4, before the foregoing S102, the present embodiment further includes:
s301, receiving equipment information of the equipment to be tested, which is sent by the network access equipment.
After the equipment to be tested is connected with the test equipment through the network access equipment, equipment information can be sent to the test equipment; the device information may include a model of the device to be tested, or a serial number of the device to be tested, and a serial number and a production time of each process when the device to be tested is produced, and the type of the device information is not limited herein.
And S302, recording equipment information to complete registration.
After receiving the device information, the test device may enter the device information into a corresponding database table to complete registration of the device information and complete a warehousing process of the device to be tested.
After the test device registers the device under test, the test result of the device under test may be associated with the device information.
According to the test method, the test equipment completes the registration of the equipment to be tested by receiving the equipment information sent by the network access equipment, so that the automation of warehousing of the equipment to be tested is realized, and the warehousing efficiency of the equipment to be tested is improved.
In an embodiment, after the test device establishes a network connection with a network access device in the device under test, heartbeat information may also be sent to the network access device. For example, the test device sends heartbeat information to the network access device in the device to be tested once every 10 seconds, so that the test device sends the detection result to the test device when the network connection state between the test device and the test device is determined to be good through the heartbeat information.
In addition, the test equipment can also receive heartbeat information returned by the equipment to be tested, and sends a detection instruction to the equipment to be tested under the condition that the heartbeat information receiving state is normal.
According to the testing method, the testing equipment monitors the network connection state with the equipment to be tested through the heartbeat information, and data transmission between the testing equipment and the equipment to be tested can be more stable.
In an embodiment, as shown in fig. 5, a testing method is provided, which is described by taking the method as an example for the device under test in fig. 1, and includes:
s401, network connection is established with the testing equipment through the network access equipment.
S402, receiving a detection instruction issued by the test equipment based on network connection.
And S403, detecting according to the detection command and outputting a detection result.
And S404, sending a detection result to the test equipment through the network access equipment based on the network connection.
According to the test method, the device to be tested establishes network connection with the test equipment through the network access equipment, then receives a detection instruction issued by the test equipment based on the network connection, performs detection according to the detection instruction, and outputs a detection result; and finally, based on network connection, sending a detection result to the test equipment through the network access equipment. Because the network connection is established between the equipment to be tested and the test equipment, the test instruction issued by the test equipment can be received and the test result can be sent to the test equipment based on the network connection without being completed through test operation by a worker, so that the automatic test of the equipment to be tested is realized, and the production efficiency of products is improved.
In one embodiment, as shown in fig. 6, there is provided a testing method comprising:
s501, the test equipment establishes network connection with network access equipment in the equipment to be tested;
s502, sending equipment information to the test equipment by the equipment to be tested;
s503, the test equipment inputs equipment information to complete registration;
s504, the test equipment issues a version information detection instruction and a configuration parameter detection instruction to the network access equipment based on network connection;
s505, detecting the equipment to be detected according to the version information detection instruction and the configuration parameter detection instruction, and outputting a first detection result;
s506, the device to be tested sends the first detection result to the test device through the network access device;
s507, the test equipment determines whether the write-in data of the equipment to be tested is the same as the preset write-in data or not according to the first detection result; if yes, executing S509, otherwise executing S508;
s508, the test equipment issues new write-in data to the equipment to be tested based on network connection, and then S509 is executed;
s509, the test equipment sends a performance detection instruction to the network access equipment;
s510, detecting the equipment to be detected according to the performance detection instruction, and outputting a second detection result;
s511, the device to be tested sends the second detection result to the test device through the network access device;
s512, the test equipment receives a second detection result based on network connection;
s513, the test equipment adjusts the network access equipment into a low power consumption mode;
s514, the test equipment determines whether the performance test result of the equipment to be tested is qualified according to the second detection result, if yes, S516 is executed, and if not, S515 is executed;
s515, the test equipment determines that the equipment to be tested is in a state to be maintained;
s516, the test equipment determines that the equipment to be tested is in the delivery state.
The implementation principle and the technical effect of the test method are similar, and are not described herein again.
It should be understood that although the various steps in the flow charts of fig. 2-6 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2-6 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternating with other steps or at least some of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 7, there is provided a test apparatus comprising: the connection module 110, the issue module 120, and the receiving module 130, wherein:
the connection module 110 is configured to establish network connection with a network access device in a device under test;
the issuing module 120 is configured to issue a detection instruction to the network access device based on network connection; the detection instruction is used for indicating the equipment to be detected to perform detection based on the detection instruction and outputting a detection result;
a receiving module 130, configured to receive, based on the network connection, a detection result returned by the network access device.
In one embodiment, on the basis of the above embodiment, the detection instruction includes at least one of a performance test instruction, a version information detection instruction, and a configuration parameter detection instruction.
In one embodiment, on the basis of the above-mentioned embodiments, the network access device is a bluetooth device.
In an embodiment, as shown in fig. 8, on the basis of the above embodiment, the apparatus further includes a determining module 140, configured to determine whether a performance test result of the device under test is qualified according to the detection result; if the performance test is unqualified, determining that the equipment to be tested is in a state to be maintained; and if the performance test is qualified, determining that the equipment to be tested is in the delivery state.
In an embodiment, as shown in fig. 9, on the basis of the above embodiment, the apparatus further includes an adjusting module 150, configured to adjust the bluetooth device to the low power consumption mode.
In one embodiment, on the basis of the above embodiments, the detection instruction further includes a version information detection instruction, and/or a configuration parameter detection instruction; the apparatus further includes a sending module 120 further configured to: and when the written data of the equipment to be tested is determined to be different from the preset written data according to the detection result, issuing new written data to the equipment to be tested based on network connection.
In an embodiment, as shown in fig. 10, on the basis of the above embodiment, the apparatus further includes a deleting module 160, configured to delete the device information of the device under test and the detection result of the device under test.
In an embodiment, as shown in fig. 11, on the basis of the above embodiment, the apparatus further includes a registration module 170, configured to receive device information of the device to be tested, where the device information is sent by the network access device; device information is entered to complete the registration.
In an embodiment, on the basis of the foregoing embodiment, the issuing module 120 is further configured to send heartbeat information to the network access device.
In an embodiment, on the basis of the above-described embodiment, the network connection is based on the restricted application protocol COAP.
The test device provided by the embodiment of the application can implement the method embodiment, and the implementation principle and the technical effect are similar, which are not described again here.
In one embodiment, as shown in fig. 12, there is provided a test apparatus including: a building module 210, a detecting module 220, an outputting module 230, and a sending module 240, wherein:
an establishing module 210, configured to establish a network connection with a testing device through a network access device;
the detection module 220 is configured to receive a detection instruction issued by the test device based on network connection;
an output module 230, configured to perform detection according to the detection instruction, and output a detection result;
a sending module 240, configured to send the detection result to the testing device through the network access device based on the network connection.
The test device provided by the embodiment of the application can realize the method embodiment, the realization principle and the technical effect are similar, and the details are not repeated herein.
For the specific definition of the testing device, reference may be made to the above definition of the testing method, which is not described herein again. The modules in the testing device can be wholly or partially implemented by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a testing device is provided, which may be a server, and the internal structure thereof may be as shown in fig. 13. The test equipment includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the test device is configured to provide computational and control capabilities. The memory of the test equipment comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the test device is used to store test data. The network interface of the test equipment is used for communicating with an external terminal through network connection. The computer program is executed by a processor to implement a testing method.
Those skilled in the art will appreciate that the architecture shown in fig. 13 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a test apparatus is provided, comprising a memory having a computer program stored therein and a processor that when executed performs the steps of:
establishing network connection with network access equipment in equipment to be tested;
based on network connection, issuing a detection instruction to network access equipment; the detection instruction is used for indicating the equipment to be detected to perform detection based on the detection instruction and outputting a detection result;
and receiving a detection result returned by the network access equipment based on the network connection.
In one embodiment, the detection instructions include at least one of performance test instructions, version information detection instructions, and configuration parameter detection instructions.
In one embodiment, the network access device is a bluetooth device.
In one embodiment, the processor, when executing the computer program, further performs the steps of: determining whether the performance test result of the equipment to be tested is qualified or not according to the detection result; if the performance test is unqualified, determining that the equipment to be tested is in a state to be maintained; and if the performance test is qualified, determining that the equipment to be tested is in the delivery state.
In one embodiment, the processor when executing the computer program further performs the steps of: the bluetooth device is adjusted to a low power mode.
In one embodiment, the detection instructions further comprise version information detection instructions, and/or configuration parameter detection instructions; the processor, when executing the computer program, further performs the steps of: if the written data of the equipment to be tested is determined to be different from the preset written data according to the detection result, issuing new written data to the equipment to be tested based on network connection; the write data includes version information, and/or configuration parameters.
In one embodiment, the processor, when executing the computer program, further performs the steps of: and deleting the equipment information of the equipment to be detected and the detection result of the equipment to be detected.
In one embodiment, the processor when executing the computer program further performs the steps of: receiving equipment information of equipment to be tested, which is sent by network access equipment; device information is entered to complete the registration.
In one embodiment, the processor when executing the computer program further performs the steps of: and sending heartbeat information to the network access equipment.
In one embodiment, the network connection is based on the restricted application protocol COAP.
The implementation principle and technical effect of the test equipment provided by this embodiment are similar to those of the method embodiments described above, and are not described herein again.
In one embodiment, a network access device is provided, comprising a memory having a computer program stored therein and a processor that when executing the computer program performs the steps of:
establishing network connection with the test equipment through the network access equipment;
receiving a detection instruction issued by the test equipment based on network connection;
detecting according to the detection instruction, and outputting a detection result;
and sending the detection result to the test equipment through the network access equipment based on the network connection.
The network access device provided in this embodiment has similar implementation principle and technical effect to those of the above method embodiments, and is not described herein again.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
establishing network connection with network access equipment in equipment to be tested;
based on network connection, issuing a detection instruction to network access equipment; the detection instruction is used for indicating the equipment to be detected to detect based on the detection instruction and outputting a detection result;
and receiving a detection result returned by the network access equipment based on the network connection.
In one embodiment, the detection instructions include at least one of performance test instructions, version information detection instructions, and configuration parameter detection instructions.
In one embodiment, the network access device is a bluetooth device.
In one embodiment, the computer program when executed by the processor further performs the steps of: determining whether the performance test result of the equipment to be tested is qualified or not according to the detection result; if the performance test is unqualified, determining that the equipment to be tested is in a state to be maintained; and if the performance test is qualified, determining that the equipment to be tested is in the delivery state.
In one embodiment, the computer program when executed by the processor further performs the steps of: the bluetooth device is adjusted to a low power mode.
In one embodiment, the detection instructions further comprise version information detection instructions, and/or configuration parameter detection instructions; the computer program when executed by the processor further realizes the steps of: if the written data of the equipment to be tested is determined to be different from the preset written data according to the detection result, issuing new written data to the equipment to be tested based on network connection; the write data includes version information, and/or configuration parameters.
In one embodiment, the computer program when executed by the processor further performs the steps of: and deleting the equipment information of the equipment to be tested and the detection result of the equipment to be tested.
In one embodiment, the computer program when executed by the processor further performs the steps of: receiving equipment information of equipment to be tested, which is sent by network access equipment; device information is entered to complete the registration.
In one embodiment, the computer program when executed by the processor further performs the steps of: and sending heartbeat information to the network access equipment.
In one embodiment, the network connection is based on the restricted application protocol COAP.
In one embodiment, the computer program when executed by the processor further performs the steps of: establishing network connection with the test equipment through the network access equipment; receiving a detection instruction issued by the test equipment based on network connection; detecting according to the detection instruction, and outputting a detection result; and sending the detection result to the test equipment through the network access equipment based on the network connection.
The implementation principle and technical effect of the computer-readable storage medium provided by this embodiment are similar to those of the above-described method embodiment, and are not described herein again.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage media, databases, or other media used in the embodiments provided herein may include non-volatile and/or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), rambus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is specific and detailed, but not to be understood as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A method of testing, comprising:
establishing network connection with network access equipment in equipment to be tested; the network access equipment is Bluetooth equipment, and the network connection is based on a restricted application protocol (COAP); the equipment to be tested is a base station provided with network access equipment;
receiving the equipment information of the equipment to be tested, which is sent by the network access equipment; entering the equipment information to complete registration;
based on the network connection, issuing a detection instruction to the network access equipment; the detection instruction is used for indicating the equipment to be detected to perform detection based on the detection instruction and outputting a detection result; the detection instruction comprises a performance test instruction, a version information detection instruction and a configuration parameter detection instruction; the performance test instruction is used for detecting the performance to be tested of the base station; the version information detection instruction is used for detecting the script version of a processor in the base station; the configuration parameter detection instruction is used for detecting configuration information corresponding to the base station in different application scenes;
receiving the detection result returned by the network access equipment based on the network connection;
and if the configuration parameters of the equipment to be tested are different from the preset configuration parameters according to the detection result, determining that an error configuration item is written in the configuration parameters of the equipment to be tested, and issuing parameter values corresponding to the configuration item to the equipment to be tested based on the network connection.
2. The method of claim 1, wherein after receiving the detection result returned by the network access device, the method further comprises:
determining whether the performance test result of the equipment to be tested is qualified or not according to the detection result;
if the performance test is not qualified, determining that the equipment to be tested is in a state to be maintained;
and if the performance test is qualified, determining that the equipment to be tested is in a delivery state.
3. The method of claim 2, wherein prior to determining that the device under test is in the out-of-bin state, further comprising:
and adjusting the Bluetooth device to be in a low power consumption mode.
4. The method of claim 3, wherein after determining that the device under test is in the out-of-bin state, further comprising:
and deleting the equipment information of the equipment to be detected and the detection result of the equipment to be detected.
5. The method of claim 1, wherein after establishing the network connection with the network access device of the device under test, further comprising:
and sending heartbeat information to the network access equipment.
6. A test method is characterized in that the test method is applied to equipment to be tested, wherein the equipment to be tested is a base station provided with network access equipment; the method comprises the following steps:
establishing network connection with the test equipment through the network access equipment; the network access equipment is Bluetooth equipment, and the network connection is based on a restricted application protocol (COAP);
sending the equipment information of the equipment to be tested where the network access equipment is located to the testing equipment; the equipment information is used for indicating the test equipment to input the equipment information to complete registration;
receiving a detection instruction issued by the test equipment based on the network connection; the detection instruction comprises a performance test instruction, a version information detection instruction and a configuration parameter detection instruction; the performance test instruction is used for detecting the performance to be tested of the base station; the version information detection instruction is used for detecting the script version of a processor in the base station; the configuration parameter detection instruction is used for detecting configuration information corresponding to the base station in different application scenes;
detecting according to the detection instruction, and outputting a detection result;
sending the detection result to the test equipment through the network access equipment based on the network connection;
if the configuration parameters of the equipment to be tested are different from the preset configuration parameters according to the detection result, receiving parameter values corresponding to configuration items issued by the test equipment based on the network connection; and the configuration item is a configuration item of a write error determined by the test equipment in the configuration parameters of the equipment to be tested.
7. A test apparatus, the apparatus comprising:
the connection module is used for establishing network connection with network access equipment in the equipment to be tested; the network access equipment is Bluetooth equipment, and the network connection is based on a restricted application protocol (COAP); the equipment to be tested is a base station provided with network access equipment;
the registration module is used for receiving the equipment information of the equipment to be tested, which is sent by the network access equipment; entering the equipment information to complete registration;
the issuing module is used for issuing a detection instruction to the network access equipment based on the network connection; the detection instruction is used for indicating the equipment to be detected to perform detection based on the detection instruction and outputting a detection result; the detection instruction comprises a performance test instruction, a version information detection instruction and a configuration parameter detection instruction; the performance test instruction is used for detecting the performance to be tested of the base station; the version information detection instruction is used for detecting the script version of a processor in the base station; the configuration parameter detection instruction is used for detecting configuration information corresponding to the base station in different application scenes;
a receiving module, configured to receive the detection result returned by the network access device based on the network connection;
and the issuing module is further used for determining a configuration item with an error written in the configuration parameter of the equipment to be tested under the condition that the configuration parameter of the equipment to be tested is determined to be different from a preset configuration parameter according to the detection result, and issuing a parameter value corresponding to the configuration item to the equipment to be tested based on the network connection.
8. The test device is characterized by being applied to equipment to be tested, wherein the equipment to be tested is a base station provided with network access equipment; the device comprises:
the establishing module is used for establishing network connection with the testing equipment through the network access equipment; the network access equipment is Bluetooth equipment, and the network connection is based on a restricted application protocol (COAP);
the detection module is used for receiving a detection instruction issued by the test equipment based on the network connection; the detection instruction comprises a performance test instruction, a version information detection instruction and a configuration parameter detection instruction; the performance test instruction is used for detecting the performance to be tested of the base station; the version information detection instruction is used for detecting the script version of a processor in the base station; the configuration parameter detection instruction is used for detecting configuration information corresponding to the base station in different application scenes;
the output module is used for detecting according to the detection instruction and outputting a detection result;
a sending module, configured to send the detection result to the test device through the network access device based on the network connection; if the configuration parameters of the equipment to be tested are different from the preset configuration parameters according to the detection result, receiving parameter values corresponding to configuration items issued by the test equipment based on the network connection; the configuration item is a configuration item of a write error determined by the test equipment in the configuration parameters of the equipment to be tested;
the sending module is further configured to: sending the equipment information of the equipment to be tested where the network access equipment is located to the test equipment; the equipment information is used for indicating the test equipment to enter the equipment information to complete registration.
9. A test apparatus comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the steps of the method of any one of claims 1 to 5 when executing the computer program.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 6.
CN201910876884.XA 2019-09-17 2019-09-17 Test method, test device, test equipment and storage medium Active CN110677317B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910876884.XA CN110677317B (en) 2019-09-17 2019-09-17 Test method, test device, test equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910876884.XA CN110677317B (en) 2019-09-17 2019-09-17 Test method, test device, test equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110677317A CN110677317A (en) 2020-01-10
CN110677317B true CN110677317B (en) 2022-11-01

Family

ID=69078080

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910876884.XA Active CN110677317B (en) 2019-09-17 2019-09-17 Test method, test device, test equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110677317B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111245527B (en) * 2020-03-27 2022-04-08 四川虹美智能科技有限公司 Performance detection system and detection method thereof
CN112118149B (en) * 2020-08-14 2022-04-12 深圳市科陆电子科技股份有限公司 Device testing method, electronic device, and storage medium
CN115235633A (en) * 2020-09-15 2022-10-25 山东华科信息技术有限公司 Detection method for detecting infrared temperature sensor based on Internet of things test platform
CN112910736A (en) * 2021-02-01 2021-06-04 武汉思普崚技术有限公司 Delivery detection method and device for communication equipment and storage medium
CN114666255B (en) * 2022-03-16 2024-04-05 京东科技信息技术有限公司 Method for testing network distribution performance of Internet of things equipment and related equipment thereof
CN114754852A (en) * 2022-04-02 2022-07-15 深圳市伊欧乐科技有限公司 Human body scale detection method, device, equipment and storage medium
CN114815923A (en) * 2022-04-18 2022-07-29 重庆海尔热水器有限公司 Water heater automatic production control method, device and system and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108519933A (en) * 2018-02-08 2018-09-11 广州视源电子科技股份有限公司 Board test method, device, readable storage medium storing program for executing and computer equipment
CN109151466A (en) * 2018-06-28 2019-01-04 苏州乐轩科技有限公司 A kind of android system platform clectronic equipment utility function automatic test approach
CN109890019A (en) * 2018-07-05 2019-06-14 深圳贝仕达克技术股份有限公司 A kind of bluetooth test method, test equipment and the storage medium of terminal
CN110149241A (en) * 2019-04-09 2019-08-20 广州市高科通信技术股份有限公司 A kind of automated testing method and storage medium based on IMS equipment

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2667803Y (en) * 2003-12-12 2004-12-29 金纯� Bluetooth radio telephone base station
US7769675B2 (en) * 2007-04-02 2010-08-03 Bgc Partners, Inc. Test trading
CN201035138Y (en) * 2007-04-29 2008-03-12 金纯� Bluetooth down-hole radio locating base station
US9357521B2 (en) * 2013-02-27 2016-05-31 Marvell World Trade Ltd. Determining an estimated location of a base station
CN103945530A (en) * 2014-05-04 2014-07-23 成都佳锂科技有限公司 Positioning device based on low energy Bluetooth
CN205263301U (en) * 2015-11-27 2016-05-25 浙江车马泊智能工程有限公司 Indoor location navigation
CN205986943U (en) * 2016-05-26 2017-02-22 厦门声连网信息科技有限公司 Information of sound wave thing networking pushes away system of broadcasting
CN106027678A (en) * 2016-07-13 2016-10-12 桂林电子科技大学 Scenic region tourist flow real-time statistics and tourist flow over-limit automatic early warning system and method
CN108683465B (en) * 2018-05-16 2021-08-17 深圳市广和通无线通信软件有限公司 Signaling test method and device, computer equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108519933A (en) * 2018-02-08 2018-09-11 广州视源电子科技股份有限公司 Board test method, device, readable storage medium storing program for executing and computer equipment
CN109151466A (en) * 2018-06-28 2019-01-04 苏州乐轩科技有限公司 A kind of android system platform clectronic equipment utility function automatic test approach
CN109890019A (en) * 2018-07-05 2019-06-14 深圳贝仕达克技术股份有限公司 A kind of bluetooth test method, test equipment and the storage medium of terminal
CN110149241A (en) * 2019-04-09 2019-08-20 广州市高科通信技术股份有限公司 A kind of automated testing method and storage medium based on IMS equipment

Also Published As

Publication number Publication date
CN110677317A (en) 2020-01-10

Similar Documents

Publication Publication Date Title
CN110677317B (en) Test method, test device, test equipment and storage medium
WO2021142609A1 (en) Information reporting method, apparatus and device, and storage medium
CN111917758B (en) Method, device, computer equipment and storage medium for accessing Internet of things platform
CN110460967B (en) Short message platform test method and device, computer equipment and storage medium
CN110716989A (en) Dimension data processing method and device, computer equipment and storage medium
CN110445824B (en) NB-IoT data reporting method, device, system and computer readable storage medium
TWI551996B (en) Cellular devices and pairing server implementing a pairing method
CN112261717A (en) Network registration method, device, user terminal and storage medium
CN113630473A (en) Internet of things equipment control method and system, computer equipment and storage medium
CN111177121A (en) Order data feedback method and device, computer equipment and storage medium
US10044838B2 (en) Method of automatically setting protocol in programmable logic controller system
CN108389124B (en) Data processing method, data processing device, computer equipment and storage medium
CN113949889A (en) Object processing method and device, electronic equipment and storage medium
CN111464395B (en) Method and device for creating blockchain and readable storage medium
CN115361406A (en) Intelligent equipment factory testing method, system, medium and terminal based on Internet of things
CN112769845B (en) Vulnerability testing method and device, electronic device and computer equipment
CN110943866B (en) Identification method and device of third-party equipment, computer equipment and storage medium
CN105677555A (en) Active type equipment automation program simulation test method and system
CN103974416A (en) Method, device and system for acquiring position information of mobile terminal
CN109254997B (en) Data synchronization method, system, computer device and readable storage medium
CN113726906A (en) Industrial Internet of things box activation method and system
CN112863684A (en) Method and device for identifying close-range contact user, equipment and storage medium
CN112491956A (en) Method and device for upgrading communication module in Internet of things equipment and computer equipment
CN113132961B (en) Internet of things complete machine equipment debugging method and device, computer equipment and storage medium
CN110018942A (en) Application program use information management system, method, apparatus and computer equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
TA01 Transfer of patent application right

Effective date of registration: 20200113

Address after: 510663 Shenzhou Road 10, Guangzhou Science City, Guangzhou economic and Technological Development Zone, Guangzhou, Guangdong

Applicant after: COMBA TELECOM SYSTEMS (CHINA) Ltd.

Address before: 510663 Shenzhou Road 10, Guangzhou Science City, Guangzhou economic and Technological Development Zone, Guangzhou, Guangdong

Applicant before: COMBA TELECOM SYSTEMS (CHINA) Ltd.

Applicant before: COMBA TELECOM SYSTEMS (GUANGZHOU) Ltd.

Applicant before: COMBA TELECOM TECHNOLOGY (GUANGZHOU) Ltd.

Applicant before: TIANJIN COMBA TELECOM SYSTEMS Ltd.

TA01 Transfer of patent application right
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 510663 Shenzhou Road 10, Guangzhou Science City, Guangzhou economic and Technological Development Zone, Guangzhou, Guangdong

Applicant after: Jingxin Network System Co.,Ltd.

Address before: 510663 Shenzhou Road 10, Guangzhou Science City, Guangzhou economic and Technological Development Zone, Guangzhou, Guangdong

Applicant before: COMBA TELECOM SYSTEMS (CHINA) Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant