CN114372002B - Automatic test method, test box and test system - Google Patents

Automatic test method, test box and test system Download PDF

Info

Publication number
CN114372002B
CN114372002B CN202210026646.1A CN202210026646A CN114372002B CN 114372002 B CN114372002 B CN 114372002B CN 202210026646 A CN202210026646 A CN 202210026646A CN 114372002 B CN114372002 B CN 114372002B
Authority
CN
China
Prior art keywords
test
control board
board
platform
tested
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
CN202210026646.1A
Other languages
Chinese (zh)
Other versions
CN114372002A (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.)
Shanghai Mobile Core Communication Technology Co ltd
Original Assignee
Shanghai Mobile Core Communication Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Mobile Core Communication Technology Co ltd filed Critical Shanghai Mobile Core Communication Technology Co ltd
Priority to CN202210026646.1A priority Critical patent/CN114372002B/en
Publication of CN114372002A publication Critical patent/CN114372002A/en
Application granted granted Critical
Publication of CN114372002B publication Critical patent/CN114372002B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application discloses an automatic test method, a test box and a test system, wherein a test platform sends a test command to the test box in the process of transportation; the test box comprises a board to be tested and a control board, and the control board establishes communication connection with the test platform through a cellular network; the test command includes at least one test case; after receiving the test command, the control board starts a plurality of processes to call corresponding hardware interfaces to communicate with the board to be tested so as to execute the test case; the board to be tested executes the test case to perform corresponding functional test; the control board stores the corresponding test log through the process and uploads the test log to the test platform. The application can realize low-cost automatic test and improve the simplicity of real network test.

Description

Automatic test method, test box and test system
Technical Field
The application relates to the technical field of equipment testing, in particular to an automatic testing method, a testing box and a testing system.
Background
With the popularization of electronic devices such as mobile phones, computers and tablets and the rapid development of mobile internet, the use amount of users of the electronic devices is increasing. It is well known that electronic devices require real network testing prior to shipment in order to test the networking status of the cellular network provided by the electronic device connection base station.
Currently, it is difficult for a general company to reach a real network test, and often a cellular network operator provides a special experimental production place to perform the real network test, which results in a great increase in the cost of the real network test. Moreover, once the electronic devices in different areas need to be tested for faults, professional testers need to be dispatched to go to different places for field testing, and the testing cost is greatly increased.
Disclosure of Invention
Aiming at the technical problems, the application aims to realize automatic test and reduce test cost.
The application provides an automatic test method, which comprises the following steps:
the test platform sends a test command to the test box in the process of transportation; the test box comprises a board to be tested and a control board, and the control board is in communication connection with the test platform through a cellular network; the test command comprises at least one test case;
after receiving the test command, the control board starts a plurality of processes to call corresponding hardware interfaces to communicate with the board to be tested so as to execute the test case;
the board to be tested executes the test case to perform corresponding functional test;
and the control board stores the corresponding test log through the process and uploads the test log to the test platform.
In another aspect, the present application also provides a test cassette, comprising:
the test box comprises a board to be tested and a control board, wherein the control board is in communication connection with a test platform through a cellular network, and the test box is transported;
the test box is used for receiving a test command sent by the test platform; the test command comprises at least one test case;
the control board is used for starting a plurality of processes to call corresponding hardware interfaces to communicate with the board to be tested after receiving the test command so as to execute the test case;
the board to be tested is used for executing the test case to perform corresponding functional test;
the control board is further used for storing corresponding test logs through the process and uploading the test logs to the test platform.
In another aspect, the present application also provides an automated testing system, comprising:
a test platform and a test device;
the test platform is used for sending a test command to the test box in the process of transportation; the test box comprises a board to be tested and a control board, and the control board is in communication connection with the test platform through a cellular network;
the test box is used for receiving a test command sent by the test platform; the test command comprises at least one test case;
the control board is used for starting a plurality of processes to call corresponding hardware interfaces to communicate with the board to be tested after receiving the test command so as to execute the test case;
the board to be tested is used for executing the test case to perform corresponding functional test;
the control board is further used for storing corresponding test logs through the process and uploading the test logs to the test platform.
According to the automatic test method, the test box and the test system provided by the application, in the test process, the test platform can automatically execute the corresponding test case according to the test command, so that the simplicity and the execution efficiency of automatic test are improved. And the test device is in the transportation process, so that the test purpose under a remote outfield scene can be achieved, the test cost of dispatching a tester to different places for field test is greatly reduced, and meanwhile, the simplicity of test operation is greatly improved.
Drawings
The above features, technical features, advantages and implementation of the present application will be further described in the following description of preferred embodiments with reference to the accompanying drawings in a clear and easily understood manner.
FIG. 1 is a schematic diagram of a test cassette according to the present application;
FIG. 2 is a schematic diagram of an automatic test system according to the present application;
fig. 3 is a schematic flow chart of an automatic test method provided by the application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth such as the particular system architecture, techniques, etc., in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
For the sake of simplicity of the drawing, the parts relevant to the present application are shown only schematically in the figures, which do not represent the actual structure thereof as a product. Additionally, in order to simplify the drawing for ease of understanding, components having the same structure or function in some of the drawings are shown schematically with only one of them, or only one of them is labeled. Herein, "a" means not only "only this one" but also "more than one" case.
It should be further understood that the term "and/or" as used in the present specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes such combinations.
In addition, in the description of the present application, the terms "first," "second," and the like are used merely to distinguish between descriptions and are not to be construed as indicating or implying relative importance.
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following description will explain the specific embodiments of the present application with reference to the accompanying drawings. It is evident that the drawings in the following description are only examples of the application, from which other drawings and other embodiments can be obtained by a person skilled in the art without inventive effort.
An embodiment of the present application provides a test cassette, as shown in fig. 1. FIG. 1 is a schematic structural view of one embodiment of a test cartridge provided by the present application, the test cartridge comprising:
the test box comprises a board to be tested and a control board, wherein the control board is in communication connection with a test platform through a cellular network, and the test box is transported;
the test box is used for receiving a test command sent by the test platform; the test command comprises at least one test case;
the control board is used for starting a plurality of processes to call corresponding hardware interfaces to communicate with the board to be tested after receiving the test command so as to execute the test case;
the board to be tested is used for executing the test case to perform corresponding functional test;
the control board is further used for storing corresponding test logs through the process and uploading the test logs to the test platform.
Specifically, in the scenario example provided by the application, the test box can be matched with a test platform to interact with each other to complete automatic test, and the test platform can comprise a server, a test upper computer and the like. When a test requirement exists, a tester can fill in the test requirement information in the test platform. The tester can select or input the sequence identification of the test case of the current test, the test execution time and the like. The test platform can initiate a test command according to the test requirement information input by the tester and send the test command to the test box. The test box may perform an automated test based on the test command.
At present, large-scale field testing is mainly achieved by sending engineers to field debugging after problems are solved or occur. The first method is extremely costly and the second method is post-hoc after significant problems have occurred. Aiming at the situation that the electronic equipment provided with mobile communication chips such as 2G/3G/4G/5G and the like needs to test and verify network connectivity in a large-scale field, due to the defect of the current test system, the current practice engineer carries a notebook computer to debug real network coverage test in a nationwide range, after the test box is adopted, the real network connectivity of the chips or communication products to be tested can be tested through the current logistics transportation network and the current mature network, namely, the departure place and the destination of the test box can be confirmed by the application, and a third party non-technical person (or a third party company) directly or riding a transportation tool carries the test box to transport the test box from the departure place to the destination, so that the test box can be automatically tested in a networking way through a logistics route, the real network test is not required to be carried out by the test box in a building experiment production place, a large amount of labor cost is saved, and the coverage test speed is greatly improved. In addition, once the electronic equipment in different areas needs to be subjected to fault test, a third party non-technical person can go to different places to perform field test, and the field test can be completed without dispatching professional testers, so that a large amount of labor cost can be greatly saved.
Preferably, the test platform may have a test configuration table stored therein. The test configuration table may include at least one test execution statement associated with the sequence identifier and test environment information corresponding to the test execution statement when executed. By configuring test execution sentences, test environment information and the like into the test configuration table in advance, the test platform can automatically execute test cases based on the test configuration table in the test process, so that the simplicity and the execution efficiency of automatic test are improved. And the test device is in the transportation process, so that the test purpose under a remote outfield scene can be achieved, the test cost of dispatching a tester to different places for field test is greatly reduced, and meanwhile, the simplicity of test operation is greatly improved.
In other embodiments, the test cassette further comprises:
the positioning module is used for detecting the position information of the positioning module in real time;
and the wireless communication module is used for reporting the position information to the test platform at regular time.
Specifically, the test box of the application realizes stable and reliable various functional interactions with DUT (device unit for testinG), namely the board to be tested, by adding the wireless communication module and utilizing the control board. The application can provide automatic test including firmware download, log storage, position tracking, test script replacement, restarting power-on and power-off functions and the like.
In other embodiments, the test cassette further comprises:
the monitoring module is used for monitoring the network state of the monitoring module in real time and judging whether the communication connection between the monitoring module and the testing platform is disconnected or not;
and the processing module is used for establishing communication connection with the test platform again if the communication connection with the test platform is disconnected.
In particular, the mobile cellular network of communication connections includes 2G, 3G, 4G, 5G, NB, etc. Monitoring the network state of the network platform can judge whether to disconnect the communication connection with the test platform through a Ping packet test:
aiming at the mobile test scene, acquiring the network residence state and information through the cereG. Ping packet testing was performed.
By way of example, communication connection is established between the test platform and the test box in an NB/4G mode, the coverage area of NBiot is 5-6km under the assumption that the high-speed vehicle speed is 80km/h, the coverage area of 4Gcat1 is 1-2km, the test box can be covered by Ping every 50 seconds for NB test, if success is recognized for 3 times, the base station can be covered by Ping every 15-20 seconds for 4G test box, and if success is recognized for 3 times, the base station can be covered by Ping.
In other embodiments, the test cassette further comprises:
and the battery is respectively connected with the board to be tested and the control board and is used for supplying power to the board to be tested and the control board.
Specifically, the automatic test mode of combining the test box and the test platform is divided into a test box with battery scheme and a test box without battery scheme. The test box battery-attached scheme is suitable for a test point or a mobile detection (test vehicle) scene without power supply, and the test box battery-free scheme is suitable for a test point or a mobile detection (test vehicle) scene with power supply.
In the scheme of the test box with the battery, after the test box is electrified, the control board starts a plurality of processes of the test system, and the processes call the interface API to realize corresponding function test through a functional interface (such as an AT instruction or other configuration instructions) built in the DUT. And the process stores the corresponding test log, and the error log and information are uploaded to the test platform at regular time or after the error according to different setting conditions. The control board monitors whether the test process exists or not through the daemon process, and if not, the control board starts. If an abnormality occurs in the test process, the abnormal restart is performed through the control board hardware watchdog. In addition, the test box reports the position information of the test box to the test platform at regular time, the network state of the test box is required to be monitored, and once the disconnection of the test box from the test platform is found, the communication connection with the test platform is disconnected again.
The application can also provide power-down detection, and if the DUT of the board to be detected needs 5s to be powered up to enter the working state, the power-down detection is performed once every 5s+n 50ms, so that whether the board to be detected can be started normally or not (confirmed by a specific character in a check bootrom) next time. Then, when the timing reaches any time value in the time of 5s multiple, the power is cut off, and whether normal starting can be performed under abnormal starting is detected and judged. And finally, powering off again when the timing reaches a random arbitrary time value, and detecting whether the random power off can be started normally or not again.
The application can also provide version update detection, and the DUT of the board to be tested is supposed to enter a downloading state through the test command of the hardware interfaces such as io or serial port/SPI/usb of the control board. Then, the test platform provides the control board to send the bin file to the DUT of the board to be tested, so that the DUT of the board to be tested is upgraded. The control board then provides time or a return value to confirm whether the upgrade is complete. Finally, the control board triggers the DUT of the board to be tested to restart through io, and detects that the upgraded version can be normally used.
The application builds a low-power consumption and high-endurance hardware system by integrating and perfecting the test system framework, and increases reliability software to form a device and a method capable of performing outfield large-scale test. The application isolates the software and hardware of the unit to be tested and the test system, and does not need to additionally increase test and hardware aiming at the unit to be tested.
An embodiment of the present application provides an automated test system, as shown in FIG. 2. FIG. 2 is a schematic structural view of one embodiment of an automated test system provided by the present application, the automated test system comprising:
a test platform and a test device;
the test platform is used for sending a test command to the test box in the process of transportation; the test box comprises a board to be tested and a control board, and the control board is in communication connection with the test platform through a cellular network;
the test box is used for receiving a test command sent by the test platform; the test command comprises at least one test case;
the control board is used for starting a plurality of processes to call corresponding hardware interfaces to communicate with the board to be tested after receiving the test command so as to execute the test case;
the board to be tested is used for executing the test case to perform corresponding functional test;
the control board is further used for storing corresponding test logs through the process and uploading the test logs to the test platform.
Specifically, the embodiment is a system embodiment corresponding to the above device embodiment, and specific effects refer to the above device embodiment, which is not described herein in detail.
An embodiment of the application provides an automated testing method, as shown in fig. 3. FIG. 3 is a flow chart of one embodiment of an automated testing method provided by the present application. The method may comprise the following steps.
S100, the test platform sends a test command to a test box in the process of transportation; the test box comprises a board to be tested and a control board, and the control board is in communication connection with the test platform through a cellular network; the test command comprises at least one test case;
s200, after receiving the test command, the control board starts a plurality of processes to call corresponding hardware interfaces to communicate with the board to be tested so as to execute the test case;
s300, the board to be tested executes the test case to perform corresponding functional test;
and S400, the control board stores a corresponding test log through the process, and uploads the test log to the test platform.
In other embodiments, the automated testing method provided by the present application further includes the steps of:
and the test box detects the position information of the test box in real time and reports the position information to the test platform at regular time.
In other embodiments, the automated testing method provided by the present application further includes the steps of:
the control board monitors the network state of the control board in real time and judges whether the communication connection between the control board and the test platform is disconnected or not;
and if the communication connection with the test platform is disconnected, reestablishing the communication connection with the test platform.
Specifically, the embodiment is a method embodiment corresponding to the above device embodiment, and specific effects refer to the above device embodiment, which is not described herein in detail.
The embodiments of the present application are described in a progressive manner, and the same and similar parts of the embodiments are all referred to each other, and each embodiment is mainly described in the differences from the other embodiments. Specific reference may be made to the foregoing description of related embodiments of the related process, which is not described herein in detail.
It should be noted that the above-mentioned device according to the above-mentioned embodiment may also include other embodiments. Specific implementation may refer to descriptions of related method embodiments, which are not described herein in detail.
It will be apparent to those skilled in the art that the above-described program modules are only illustrated in the division of the above-described program modules for convenience and brevity, and that in practical applications, the above-described functional allocation may be performed by different program modules, i.e., the internal structure of the apparatus is divided into different program units or modules, to perform all or part of the above-described functions. The program modules in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one processing unit, where the integrated units may be implemented in a form of hardware or in a form of a software program unit. In addition, the specific names of the program modules are also only for distinguishing from each other, and are not used to limit the protection scope of the present application.
One embodiment of the application is a test box comprising a processor, a memory, wherein the memory is used for storing a computer program; a processor for executing a computer program stored on a memory, which when executed by the processor performs steps including the automated test method of any one or more of the embodiments described above.
The test platform can be desktop computer, notebook computer, palm computer, tablet computer, mobile phone, man-machine interaction screen and other devices. The test platform may include, but is not limited to, a processor, a memory. Those skilled in the art will appreciate that the foregoing is merely an example of a test platform and is not meant to be limiting, and that more or fewer components than shown may be included, or that certain components may be combined, or that different components may be included, for example: the test platform may also include input/output interfaces, display devices, network access devices, communication buses, communication interfaces, and the like. The communication interface and the communication bus may further comprise an input/output interface, wherein the processor, the memory, the input/output interface and the communication interface complete communication with each other through the communication bus. The memory stores a computer program, and the processor is configured to execute the computer program stored in the memory to implement the corresponding method embodiment.
The processor may be a central processing unit (Central Processing Unit, CPU), but may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), field programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory may be an internal memory unit of the test platform, for example: and testing the hard disk or the memory of the platform. The memory may also be an external storage device of the test platform, for example: a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash Card (Flash Card) and the like which are arranged on the test platform. Further, the memory may also include both an internal memory unit and an external memory device of the test platform. The memory is used for storing the computer program and other programs and data required by the test platform. The memory may also be used to temporarily store data that has been output or is to be output.
A communication bus is a circuit that connects the elements described and enables transmission between these elements. For example, the processor receives commands from other elements through the communication bus, decrypts the received commands, and performs calculations or data processing based on the decrypted commands. The memory may include program modules such as a kernel, middleware, application programming interfaces (Application Programming Interface, APIs), and applications. The program modules may be comprised of software, firmware, or hardware, or at least two of them. The input/output interface forwards commands or data entered by a user through the input/output interface (e.g., sensor, keyboard, touch screen). The communication interface connects the test platform with other network devices, user devices and networks. For example, the communication interface may be connected to a network by wire or wirelessly to connect to external other network devices or user devices. The wireless communication may include at least one of: wireless fidelity (WiFi), bluetooth (BT), near field wireless communication technology (NFC), global Positioning System (GPS) and cellular communications, among others. The wired communication may include at least one of: universal Serial Bus (USB), high Definition Multimedia Interface (HDMI), asynchronous transfer standard interface (RS-232), and the like. The network may be a telecommunications network or a communication network. The communication network may be a computer network, the internet of things, a telephone network. The test platform may be connected to the network via a communication interface, and protocols used by the test platform to communicate with other network devices may be supported by at least one of an application, an Application Programming Interface (API), middleware, a kernel, and a communication interface.
In the foregoing embodiments, the descriptions of the embodiments are focused on, and the parts of a certain embodiment that are not described or depicted in detail may be referred to in the related descriptions of other embodiments.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/test platform and method may be implemented in other manners. For example, the apparatus/test platform embodiments described above are merely illustrative, e.g., the division of the modules or units is merely a logical functional division, and there may be additional divisions in actual implementation, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection via interfaces, devices or units, which may be in electrical, mechanical or other forms.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated modules/units may be stored in a storage medium if implemented in the form of software functional units and sold or used as stand-alone products. Based on this understanding, the present application may implement all or part of the flow of the method of the above embodiment, or may be implemented by sending instructions to related hardware by a computer program, where the computer program may be stored in a storage medium, and the computer program may implement the steps of each method embodiment described above when executed by a processor. Wherein the computer program may be in source code form, object code form, executable file or some intermediate form, etc. The storage medium may include: any entity or device capable of carrying the computer program, a recording medium, a USB flash disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), an electrical carrier signal, a telecommunications signal, a software distribution medium, and so forth. It should be noted that, the content contained in the storage medium may be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction, for example: in some jurisdictions, computer-readable storage media do not include electrical carrier signals and telecommunication signals, in accordance with legislation and patent practice.
It should be understood that, although the steps in the flowcharts of the figures are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited in order and may be performed in other orders, unless explicitly stated herein. Moreover, at least some of the steps in the flowcharts of the figures may include a plurality of sub-steps or stages that are not necessarily performed at the same time, but may be performed at different times, the order of their execution not necessarily being sequential, but may be performed in turn or alternately with other steps or at least a portion of the other steps or stages.
It should be noted that the above embodiments can be freely combined as needed. The foregoing is merely a preferred embodiment of the present application and it should be noted that modifications and adaptations to those skilled in the art may be made without departing from the principles of the present application, which are intended to be comprehended within the scope of the present application.

Claims (5)

1. An automated testing method, comprising the steps of:
the test platform sends a test command to the test box in the process of transportation; the test box comprises a board to be tested and a control board, and the control board is in communication connection with the test platform through a cellular network; the test command comprises at least one test case;
after receiving the test command, the control board starts a plurality of processes to call corresponding hardware interfaces to communicate with the board to be tested so as to execute the test case;
the board to be tested executes the test case to perform corresponding functional test;
the control board stores a corresponding test log through the process and uploads the test log to the test platform;
the test box detects the position information of the test box in real time and reports the position information to the test platform at regular time;
the control board monitors the network state of the control board in real time and judges whether the communication connection between the control board and the test platform is disconnected or not;
and if the communication connection with the test platform is disconnected, reestablishing the communication connection with the test platform.
2. A test cassette comprising:
the test box comprises a board to be tested and a control board, wherein the control board is in communication connection with a test platform through a cellular network, and the test box is transported;
the test box is used for receiving a test command sent by the test platform; the test command comprises at least one test case;
the control board is used for starting a plurality of processes to call corresponding hardware interfaces to communicate with the board to be tested after receiving the test command so as to execute the test case;
the board to be tested is used for executing the test case to perform corresponding functional test;
the control board is further used for storing corresponding test logs through the process and uploading the test logs to the test platform;
the test cassette further comprises:
the positioning module is used for detecting the position information of the positioning module in real time;
the wireless communication module is used for reporting the position information to the test platform at regular time;
the monitoring module is used for monitoring the network state of the monitoring module in real time and judging whether the communication connection between the monitoring module and the testing platform is disconnected or not;
and the processing module is used for establishing communication connection with the test platform again if the communication connection with the test platform is disconnected.
3. The test cassette of claim 2, wherein the test cassette further comprises:
and the battery is respectively connected with the board to be tested and the control board and is used for supplying power to the board to be tested and the control board.
4. An automated test system comprising:
a test platform and a test device;
the test platform is used for sending a test command to the test box in the process of transportation; the test box comprises a board to be tested and a control board, and the control board is in communication connection with the test platform through a cellular network;
the test box is used for receiving a test command sent by the test platform; the test command comprises at least one test case;
the control board is used for starting a plurality of processes to call corresponding hardware interfaces to communicate with the board to be tested after receiving the test command so as to execute the test case;
the board to be tested is used for executing the test case to perform corresponding functional test;
the control board is further used for storing corresponding test logs through the process and uploading the test logs to the test platform;
the test box is used for detecting the position information of the test box in real time and reporting the position information to the test platform at regular time;
the control board is used for monitoring the network state of the control board in real time, judging whether the communication connection between the control board and the test platform is disconnected, and if the communication connection between the control board and the test platform is disconnected, establishing communication connection with the test platform again.
5. The automated test system of claim 4, wherein the test cassette further comprises:
and the battery is respectively connected with the board to be tested and the control board and is used for supplying power to the board to be tested and the control board.
CN202210026646.1A 2022-01-11 2022-01-11 Automatic test method, test box and test system Active CN114372002B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210026646.1A CN114372002B (en) 2022-01-11 2022-01-11 Automatic test method, test box and test system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210026646.1A CN114372002B (en) 2022-01-11 2022-01-11 Automatic test method, test box and test system

Publications (2)

Publication Number Publication Date
CN114372002A CN114372002A (en) 2022-04-19
CN114372002B true CN114372002B (en) 2023-08-18

Family

ID=81144011

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210026646.1A Active CN114372002B (en) 2022-01-11 2022-01-11 Automatic test method, test box and test system

Country Status (1)

Country Link
CN (1) CN114372002B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110995764A (en) * 2019-12-27 2020-04-10 北京清华亚迅电子信息研究所 Fuzzy test system and method for data flow of application layer of mobile cellular network
CN112988495A (en) * 2021-03-11 2021-06-18 广州安凯微电子股份有限公司 Multifunctional test method, device and system for SOC chip multiplex pin

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013119205A1 (en) * 2012-02-07 2013-08-15 Hewlett-Packard Development Company, L.P. Testing a mobile application

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110995764A (en) * 2019-12-27 2020-04-10 北京清华亚迅电子信息研究所 Fuzzy test system and method for data flow of application layer of mobile cellular network
CN112988495A (en) * 2021-03-11 2021-06-18 广州安凯微电子股份有限公司 Multifunctional test method, device and system for SOC chip multiplex pin

Also Published As

Publication number Publication date
CN114372002A (en) 2022-04-19

Similar Documents

Publication Publication Date Title
US11815991B2 (en) Systems and methods to reprogram mobile devices including a cross-matrix controller to port connection
US11652918B2 (en) Using automatically collected device problem information to route and guide users' requests
JP4723648B2 (en) Device manufacturing using wireless technology embedded in the device
US20160299753A1 (en) Firmware upgrading method for bluetooth electronic scales
CN102917095A (en) Method and device for testing terminal based on Android
CN106294108B (en) Application program testing method and device
CN114465998B (en) Multi-device file transmission method and device, terminal device and readable storage medium
US9465599B2 (en) Method, device and system for installing terminal software
CN115454869A (en) Interface automation test method, device, equipment and storage medium
CN114372002B (en) Automatic test method, test box and test system
CN107451067B (en) Processing method for downloading test and related product
CN111984287A (en) Equipment upgrading method and system
CN116418791A (en) Firmware upgrading method, firmware upgrading system, server and storage medium
US9294865B2 (en) Enhanced system and method for custom programming of large groups of phones without requiring additional equipment
CN113721961A (en) Equipment upgrading method and device, storage medium and electronic equipment
CN115729585A (en) Software upgrading method, device, equipment and readable storage medium
CN105700895A (en) Adaptation method for terminal system, terminal and system server
CN103444214A (en) Method, apparatus and computer program product for security configuration coordination during a cell update procedure
CN116302750A (en) Equipment debugging method and related device
CN115599477A (en) Information processing method, device, system and storage medium
CN116028339A (en) Method, device and system for testing graphic library of train terminal equipment
CN114281350A (en) Scene adaptation method based on embedded terminal, embedded terminal and server

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Room 707, 709, and 710, 7th floor, Building 1, No. 298 Xiangke Road, China (Shanghai) Pilot Free Trade Zone, Pudong New Area, Shanghai, 201210

Applicant after: Shanghai Mobile Core Communication Technology Co.,Ltd.

Address before: Room 707, building 1, youyue international, 298 Xiangke Road, China (Shanghai) pilot Free Trade Zone, Pudong New Area, Shanghai, 201203

Applicant before: SHANGHAI EIGENCOMM COMMUNICATION TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant