CN111858364A - Parameter configuration method, device and system of test terminal - Google Patents

Parameter configuration method, device and system of test terminal Download PDF

Info

Publication number
CN111858364A
CN111858364A CN202010721672.7A CN202010721672A CN111858364A CN 111858364 A CN111858364 A CN 111858364A CN 202010721672 A CN202010721672 A CN 202010721672A CN 111858364 A CN111858364 A CN 111858364A
Authority
CN
China
Prior art keywords
parameter configuration
test terminal
parameter
parameters
test
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010721672.7A
Other languages
Chinese (zh)
Inventor
贾玉生
闫丛丛
孙清越
韩久学
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Construction Bank Corp
Original Assignee
China Construction Bank Corp
CCB Finetech 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 China Construction Bank Corp, CCB Finetech Co Ltd filed Critical China Construction Bank Corp
Priority to CN202010721672.7A priority Critical patent/CN111858364A/en
Publication of CN111858364A publication Critical patent/CN111858364A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3664Environments for testing or debugging software
    • 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/3696Methods or tools to render software testable

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)

Abstract

The invention discloses a parameter configuration method, a device and a system of a test terminal, wherein the method comprises the following steps: acquiring equipment information of a plurality of test terminals; respectively carrying out initialization parameter configuration on each test terminal according to the equipment information and based on a preset parameter configuration rule; executing a heartbeat monitoring function on each test terminal to monitor the current parameters of each device so as to judge whether the parameters meet the configured parameter requirements; and responding to the judgment result that the parameter requirements are not met, and performing initialization parameter configuration on the corresponding test terminal again. The invention can effectively solve the problems of long time consumption of manual configuration parameters and lack of effective online state monitoring of equipment, and can improve the debugging effect and the testing efficiency of the equipment.

Description

Parameter configuration method, device and system of test terminal
Technical Field
The invention relates to the field of terminal equipment, in particular to a method, a device and a system for configuring parameters of a test terminal.
Background
At present, the test of the mobile phone APP is based on an organization form of a mobile phone cloud platform, the mobile phone is accessed to a unified platform through an upper computer for management, and the platform sends an operation instruction to the mobile phone through the upper computer to execute a unified test task.
When the compatibility or performance test is performed on the mobile APP, a large number of mobile phones are required to cover a large number of mobile phone brands and models. Before the mobile phone APP test is executed, the initial states of the mobile phones need to be set in batch, such as setting system time, turning on or off a flight mode, turning on or off WIFI (wireless fidelity), turning on or off GPS (global positioning system) positioning, turning on or off NFC (Near field communication), and the like, so that normal installation of applications and accuracy and effectiveness of test results are ensured. However, manual debugging consumes a lot of time and labor, and the debugging effect and the testing efficiency cannot be guaranteed.
In addition, an effective mechanism for monitoring the state of the mobile phone is lacked in the test process, and the state of individual equipment is changed in the test process, so that the equipment is disconnected. For example, when a Monkey (a program) test is performed, since Monkey has randomness and uncertainty to the operation of the system, it may cause the state of the device to change during the test, such as turning off a WIFI switch, thereby causing the device to be disconnected. The cloud platform shows that the mobile phone does not respond to the instruction or the equipment is in a blank screen state, subsequent operations cannot be executed, and the test fails.
Disclosure of Invention
In view of the above, the present invention provides a method, an apparatus, and a system for configuring parameters of a test terminal, so as to solve at least one of the above-mentioned problems.
According to a first aspect of the present invention, there is provided a method for configuring parameters of a test terminal, the method including:
acquiring equipment information of a plurality of test terminals;
respectively carrying out initialization parameter configuration on each test terminal according to the equipment information and based on a preset parameter configuration rule;
executing a heartbeat monitoring function on each test terminal to monitor the current parameters of each terminal so as to judge whether the parameters meet the configured parameter requirements;
and responding to the judgment result that the parameter requirements are not met, and performing initialization parameter configuration on the corresponding test terminal again.
According to a second aspect of the present invention, there is provided a parameter configuration apparatus of a test terminal, the apparatus comprising:
the device information acquisition unit is used for acquiring device information of a plurality of test terminals;
the parameter configuration unit is used for respectively carrying out initialization parameter configuration on each test terminal according to the equipment information and based on a preset parameter configuration rule;
the monitoring unit is used for executing a heartbeat monitoring function on each test terminal so as to monitor the current parameters of each terminal and judge whether the parameters meet the configured parameter requirements;
and the reconfiguration unit is used for responding to the judgment result that the parameter requirements of the configuration are not met, and carrying out initialization parameter configuration on the corresponding test terminal again.
According to a third aspect of the present invention, there is provided a parameter configuration system of a test terminal, the system comprising: the parameter configuration device of the test terminal configures initialization parameter configuration for the test terminal and monitors the current parameters of the test terminal.
According to a fourth aspect of the present invention, there is provided an electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the above method when executing the program.
According to a fifth aspect of the invention, the invention provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, carries out the steps of the above-mentioned method.
According to the technical scheme, the method comprises the steps of respectively carrying out initialization parameter configuration on each test terminal according to the acquired equipment information of a plurality of test terminals and based on a preset parameter configuration rule, then executing a heartbeat monitoring function on each test terminal to monitor the current parameter of each terminal, judging whether the current parameter meets the configured parameter requirement, and carrying out initialization parameter configuration on the corresponding test terminal again when the judgment result is that the current parameter does not meet the configured parameter requirement, compared with the problems of low debugging effect and testing efficiency caused by manual configuration of the parameters of the test terminals and lack of an effective mobile phone state monitoring mechanism in the prior art, the technical scheme can effectively solve the problems of long time consumption of manual configuration of the test terminals and lack of effective on-line state monitoring of equipment by executing the heartbeat monitoring function on the test terminals, the debugging effect and the test efficiency of the equipment can be improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
FIG. 1 is a block diagram of a test terminal parameter configuration system according to an embodiment of the present invention;
FIG. 2 is a block diagram of a configuration apparatus of parameters of a test terminal according to an embodiment of the present invention;
FIG. 3 is a block diagram of an exemplary configuration of a test terminal parameter configuration apparatus according to an embodiment of the present invention;
FIG. 4 is a block diagram of an example architecture of a server according to an embodiment of the invention;
FIG. 5 is a flow chart of testing a handset according to an embodiment of the present invention based on the architecture shown in FIG. 3;
FIG. 6 is a flowchart of a test terminal parameter configuration method according to an embodiment of the present invention;
fig. 7 is a schematic block diagram of a system configuration of an electronic apparatus 600 according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In view of the fact that the initial state of each testing mobile phone is manually set at present, a large amount of time and labor are consumed, and an effective mobile phone state monitoring mechanism is lacked in the current testing mobile phone cloud platform, so that both debugging effect and testing efficiency are low. Based on this, the embodiment of the present invention provides a parameter configuration scheme for a test terminal, which can implement batch initialization and monitoring functions of the test terminal (for example, the test handset may also be referred to as a test device), so as to effectively solve the problems of long time consumption for manual setting and lack of online status monitoring for the device, and improve the debugging effect and the test efficiency of the device. Embodiments of the present invention are described in detail below with reference to the accompanying drawings.
Fig. 1 is a block diagram of a configuration system of a test terminal parameter according to an embodiment of the present invention, and as shown in fig. 1, the system includes: the device comprises a test terminal 1 and a test terminal parameter configuration device 2, wherein the parameter configuration device configures initialization parameter configuration for the test terminal and monitors the current parameters of the test terminal.
Fig. 2 is a block diagram of the configuration of the test terminal parameter configuration apparatus 2, and as shown in fig. 2, the apparatus includes: a device information obtaining unit 21, a parameter configuration unit 22, a monitoring unit 23, and a reconfiguration unit 24, wherein:
an apparatus information acquiring unit 21 configured to acquire apparatus information of a plurality of test terminals;
the parameter configuration unit 22 is configured to perform initialization parameter configuration on each test terminal according to the device information and based on a preset parameter configuration rule;
the monitoring unit 23 is configured to perform a heartbeat monitoring function on each test terminal to monitor a current parameter of each terminal, so as to determine whether a configured parameter requirement is met;
and the reconfiguration unit 24 is configured to, in response to the determination result that the parameter requirements of the configuration are not met, perform initialization parameter configuration again on the corresponding test terminal.
Through the parameter configuration unit 22, according to the device information of the plurality of test terminals obtained by the device information obtaining unit 21, and based on the preset parameter configuration rule, the initialization parameter configuration is respectively performed on each test terminal, then the monitoring unit 23 performs the heartbeat monitoring function on each test terminal to monitor the current parameter of each terminal, and determines whether the current parameter meets the configured parameter requirement, and when the determination result is that the parameter does not meet the configured parameter requirement, the reconfiguration unit 24 performs the initialization parameter configuration on the corresponding test terminal again, so as to continue the test operation, compared with the problem in the prior art that the debugging effect and the test efficiency are lower due to the manual configuration of the parameters of the test terminals and the lack of an effective mobile phone state monitoring mechanism, the embodiment of the invention can automatically configure the parameters of the test terminals in batches, and by performing the heartbeat monitoring function on the test terminals, the problems that manual configuration parameters are long in time consumption and the equipment is lack of effective online state monitoring can be effectively solved, and the debugging effect and the testing efficiency of the equipment can be improved.
Specifically, the parameter configuration unit 22 includes: the system comprises an analysis module and a parameter configuration module, wherein:
the analysis module is used for analyzing the preset parameter configuration rule according to the equipment information so as to generate a parameter configuration rule meeting the equipment information requirement;
and the parameter configuration module is used for respectively carrying out initialization parameter configuration on each test terminal according to the parameter configuration rule meeting the equipment information requirement.
For example, if the test terminal is an Android phone or an iPhone phone, the parsing module needs to parse the preset parameter configuration rule according to different phone systems to generate the parameter configuration rule conforming to different phone systems.
In an embodiment, the monitoring unit 23 specifically includes: a monitoring module and a comparison module, wherein:
the monitoring module is used for periodically executing a heartbeat monitoring function on each test terminal so as to monitor the current parameters of each terminal;
and the comparison module is used for comparing the monitored current parameters with the initialization parameters of the corresponding test terminal and judging whether the parameter requirements of the configuration are met or not according to the comparison result.
In practical operation, the parameter configuration apparatus 2 further includes: and the client interface is used for providing a parameter configuration interface so that a user can configure parameters for the test terminal through the interface.
For a better understanding of the embodiments of the present invention, a detailed description is given below based on the device architecture shown in fig. 3.
As shown in fig. 3, a parameter configuration apparatus using a B/S (Browser/Server) architecture includes: server, client, USB Hub, and mobile phone (corresponding to the test terminal), each of which is described below.
(1) Server terminal
The system is divided into two types of servers, namely Windows and Macbook, and has the main functions of the parameter configuration device, wherein the Windows server is used for connecting an Android mobile phone, and the Macbook is used for connecting an iPhone mobile phone.
Fig. 4 is a schematic structural diagram of the server, and as shown in fig. 4, the server includes: parameter configuration module, parameter monitoring module, model adaptation module and connection module, wherein:
a parameter configuration module: the method is mainly used for customizing the configuration parameters of the mobile phone by the user. The user can set the system parameters to be initialized for each mobile phone through the interface, including but not limited to: system time, flight mode, states of switches such as WIFI, GPS and NFC, and the like.
Model adaptation module: the module acquires the parameter values configured in the key value pair form configured by the user from the parameter configuration module, and analyzes the configuration content to the executable command corresponding to the mobile phone model such as Android or iPhone. If so, converting the following system parameters configured by the user into an Android or iPhone mobile phone executable command:
{{“device_id”:“hqwerhqk”,“date”:“20191116.120000”,“bluetooth”:“on”,“airplane_mode_on”:“0”,“WIFI”:“enable”,“location_providers_allowed”:“+gps”,“nfc”:“on”},{“device_id”:“dfqwrewl”,“date”:“20191117.120000”,“bluetooth”:“off”,“airplane_mode_on”:“1”,“WIFI”:“disable”,“location_providers_allowed”:“-gps”,“nfc”:“off”}}。
a parameter monitoring module: the method is used for periodically reading the real-time parameter values of the mobile phone system every 10s, comparing the real-time parameter values with the parameters initially set by the user, checking whether the current state of the tested mobile phone meets the requirements of the user or not, and automatically initializing when the current state of the tested mobile phone does not meet the requirements.
A connecting module: in order to provide connection between the server and the mobile phone, the connection state is monitored, the executable command generated by the model adapting module is sent to the mobile phone, and the state of the mobile phone is returned to the parameter monitoring module.
(2) Client terminal
The user can access the user interaction interface of the parameter configuration module and the parameter monitoring module provided by the server through the browser, and the user can configure the parameters and view the parameter monitoring result.
(3)USB Hub
The USB port of the server is expanded, so that one server can be connected with a plurality of mobile phones.
(4) Mobile phone
The method is a tested mobile phone which needs parameter initialization and real-time state monitoring. In actual operation, the configuration parameters of the mobile phone system can be customized through the parameter configuration device, and batch initialization is realized.
In one embodiment, according to a batch of mobile phones (i.e., test terminals) applied by a user, different configuration system parameters and parameter values (see table 1 below for example) may be customized for different mobile phones in a customized interface, such as setting system time, turning on or off a flight mode, turning on or off WIFI, turning on or off GPS positioning, turning on or off NFC, and so on. The following table 1 is an example of setting system parameters such as system time (date), bluetooth (bluetooth), flight mode (airplane _ mode _ on), WIFI, location _ services _ allowed, and Near Field Communication (NFC) of two mobile phones with mobile phone IDs "hqwerqk" and "dfqwrew", respectively:
mobile phone ID Parameter name Parameter value Remarks for note
hqwerhqk date 20191116.120000 Setting system time
hqwerhqk bluetooth on Bluetooth on
hqwerhqk airplane_mode_on 0 Off flight mode
hqwerhqk WIFI enable Turning on WIFI
hqwerhqk location_providers_allowed +gps Turn on GPS positioning
hqwerhqk nfc on Opening nfc
dfqwrewl date 20191117.120000 Setting system time
dfqwrewl bluetooth off Turning off Bluetooth
dfqwrewl airplane_mode_on 1 Open flight mode
dfqwrewl WIFI disable Turning off WIFI
dfqwrewl location_providers_allowed -gps Turning off GPS positioning
dfqwrewl nfc disable Close nfc
……
TABLE 1
And after the mobile phone is started, the system can perform heartbeat detection with the mobile phone every 10s to check whether the current system configuration parameters meet the parameter values customized by the user.
The embodiment of the invention connects a plurality of mobile phones through the server, the user uniformly sets the parameters of each mobile phone through the service application interface provided by the server, the server can carry out mobile phone initialization in batches according to the parameters set by the user interface, and regularly detects whether the system parameters of the mobile phones meet the requirements of the user through the heartbeat detection function, so that the test can be carried out smoothly.
Fig. 5 is a flow chart of testing a mobile phone based on the architecture shown in fig. 3, and as shown in fig. 5, the flow chart includes:
(1) a user applies for a mobile phone to be tested;
(2) on a browser interface of a client, setting relevant system parameters and values thereof in a user-defined manner for each mobile phone to be tested;
(3) the model adapting module on the server application executes the initialization of the mobile phone system parameters according to the definition of the user;
(4) a parameter monitoring module on the server application regularly monitors whether the mobile phone is on-line or not and whether the system parameters meet the requirements or not, if so, the next step (5) is executed, and if not, the step (3) is returned;
(5) a user uses a mobile phone to perform related operations such as testing and the like;
(6) and releasing the mobile phone after the user uses the mobile phone.
From the above description, it can be known that, by connecting a plurality of mobile phones through a server, a user can configure the state of each mobile phone on one client without manually operating the mobile phones one by one, thereby greatly improving the efficiency and accuracy of initializing the state of the mobile phone. Through the model adaptation module, Android and iPhone types of mobile phones can be respectively defined without mastering the configuration modification process of different types of mobile phones. The parameter monitoring module can acquire the system state of the mobile phone in real time, judge whether the system state is consistent with the user initialization value, and automatically initialize the mobile phone when the system state is inconsistent with the user initialization value, so that the inaccuracy of a test result caused by system parameter errors in the process of using the mobile phone by a user is avoided.
In practical operation, the units and the modules may be combined or may be singly arranged, and the present invention is not limited thereto.
Based on similar inventive concepts, the embodiment of the present invention further provides a method for configuring parameters of a test terminal, which is preferably applicable to the above-mentioned parameter configuration apparatus.
Fig. 6 is a flowchart of a method for configuring parameters of a test terminal according to an embodiment of the present invention, and as shown in fig. 6, the method includes:
step 601, acquiring device information of a plurality of test terminals.
Step 602, performing initialization parameter configuration on each test terminal according to the device information and based on a preset parameter configuration rule.
Specifically, the preset parameter configuration rule may be analyzed according to the device information to generate a parameter configuration rule meeting the device information requirement; and then, respectively carrying out initialization parameter configuration on each test terminal according to the parameter configuration rule meeting the equipment information requirement.
Step 603, executing a heartbeat monitoring function on each test terminal to monitor the current parameters of each terminal so as to judge whether the parameters meet the configured parameter requirements.
Specifically, a heartbeat monitoring function may be periodically performed on each test terminal to monitor a current parameter of each terminal; and then, comparing the monitored current parameters with the initialization parameters of the corresponding test terminal, and judging whether the parameter requirements of the configuration are met according to the comparison result.
And step 604, responding to the judgment result that the parameter requirements are not met, and performing initialization parameter configuration on the corresponding test terminal again.
By respectively carrying out initialization parameter configuration on each test terminal according to the acquired equipment information of a plurality of test terminals and based on a preset parameter configuration rule, then executing a heartbeat monitoring function on the test terminals to monitor the current parameters of the respective equipment, judging whether the current parameters meet the configured parameter requirements, and carrying out initialization parameter configuration on the corresponding test terminals again when the judgment result is that the current parameters do not meet the configured parameter requirements, compared with the problems of low debugging effect and test efficiency caused by manual configuration of the parameters of the test terminals and lack of an effective mobile phone state monitoring mechanism in the prior art, the embodiment of the invention can effectively solve the problems of long time consumption of manual configuration of the parameters and lack of effective on-line state monitoring of the equipment by carrying out the heartbeat monitoring function on the test terminals, the debugging effect and the test efficiency of the equipment can be improved.
The present embodiment also provides an electronic device, which may be a desktop computer, a tablet computer, a mobile terminal, and the like, but is not limited thereto. In this embodiment, the electronic device may be implemented with reference to the above method embodiment and the embodiment of the parameter configuration apparatus/system of the test terminal, and the contents thereof are incorporated herein, and repeated descriptions are omitted here.
Fig. 7 is a schematic block diagram of a system configuration of an electronic apparatus 600 according to an embodiment of the present invention. As shown in fig. 7, the electronic device 600 may include a central processor 100 and a memory 140; the memory 140 is coupled to the central processor 100. Notably, this diagram is exemplary; other types of structures may also be used in addition to or in place of the structure to implement telecommunications or other functions.
In one embodiment, the parameter configuration function of the test terminal may be integrated into the central processor 100. The central processor 100 may be configured to control as follows:
acquiring equipment information of a plurality of test terminals;
respectively carrying out initialization parameter configuration on each test terminal according to the equipment information and based on a preset parameter configuration rule;
executing a heartbeat monitoring function on each test terminal to monitor the current parameters of each terminal so as to judge whether the parameters meet the configured parameter requirements;
and responding to the judgment result that the parameter requirements are not met, and performing initialization parameter configuration on the corresponding test terminal again.
As can be seen from the above description, in the electronic device provided in the embodiment of the present application, the initialization parameter configuration is performed on each test terminal according to the obtained device information of the plurality of test terminals and based on the preset parameter configuration rule, then the heartbeat monitoring function is performed on each test terminal to monitor the current parameter of each terminal, and whether the current parameter meets the configured parameter requirement is determined, and when the determination result is that the parameter does not meet the configured parameter requirement, the initialization parameter configuration is performed on the corresponding test terminal again, compared with the problem that the debugging effect and the testing efficiency are low due to manual configuration of the parameters of the test terminals and lack of an effective mobile phone state monitoring mechanism in the prior art, the technical solution can effectively solve the problems of long time consumption of manually configured parameters and lack of effective on-line state monitoring of the device by automatically configuring the parameters of the test terminals in batches and by performing the heartbeat monitoring function on the test terminals, the debugging effect and the test efficiency of the equipment can be improved.
In another embodiment, the parameter configuration device/system of the test terminal may be configured separately from the central processor 100, for example, the parameter configuration device/system of the test terminal may be configured as a chip connected to the central processor 100, and the parameter configuration function of the test terminal is realized by the control of the central processor.
As shown in fig. 7, the electronic device 600 may further include: communication module 110, input unit 120, audio processing unit 130, display 160, power supply 170. It is noted that the electronic device 600 does not necessarily include all of the components shown in fig. 7; furthermore, the electronic device 600 may also comprise components not shown in fig. 7, which may be referred to in the prior art.
As shown in fig. 7, the central processor 100, sometimes referred to as a controller or operational control, may include a microprocessor or other processor device and/or logic device, the central processor 100 receiving input and controlling the operation of the various components of the electronic device 600.
The memory 140 may be, for example, one or more of a buffer, a flash memory, a hard drive, a removable media, a volatile memory, a non-volatile memory, or other suitable device. The information relating to the failure may be stored, and a program for executing the information may be stored. And the central processing unit 100 may execute the program stored in the memory 140 to realize information storage or processing, etc.
The input unit 120 provides input to the cpu 100. The input unit 120 is, for example, a key or a touch input device. The power supply 170 is used to provide power to the electronic device 600. The display 160 is used to display an object to be displayed, such as an image or a character. The display may be, for example, an LCD display, but is not limited thereto.
The memory 140 may be a solid state memory such as Read Only Memory (ROM), Random Access Memory (RAM), a SIM card, or the like. There may also be a memory that holds information even when power is off, can be selectively erased, and is provided with more data, an example of which is sometimes called an EPROM or the like. The memory 140 may also be some other type of device. Memory 140 includes buffer memory 141 (sometimes referred to as a buffer). The memory 140 may include an application/function storage section 142, and the application/function storage section 142 is used to store application programs and function programs or a flow for executing the operation of the electronic device 600 by the central processing unit 100.
The memory 140 may also include a data store 143, the data store 143 for storing data, such as contacts, digital data, pictures, sounds, and/or any other data used by the electronic device. The driver storage portion 144 of the memory 140 may include various drivers of the electronic device for communication functions and/or for performing other functions of the electronic device (e.g., messaging application, address book application, etc.).
The communication module 110 is a transmitter/receiver 110 that transmits and receives signals via an antenna 111. The communication module (transmitter/receiver) 110 is coupled to the central processor 100 to provide an input signal and receive an output signal, which may be the same as in the case of a conventional mobile communication terminal.
Based on different communication technologies, a plurality of communication modules 110, such as a cellular network module, a bluetooth module, and/or a wireless local area network module, may be provided in the same electronic device. The communication module (transmitter/receiver) 110 is also coupled to a speaker 131 and a microphone 132 via an audio processor 130 to provide audio output via the speaker 131 and receive audio input from the microphone 132 to implement general telecommunications functions. Audio processor 130 may include any suitable buffers, decoders, amplifiers and so forth. In addition, an audio processor 130 is also coupled to the central processor 100, so that recording on the local can be enabled through a microphone 132, and so that sound stored on the local can be played through a speaker 131.
The embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to implement the steps of the parameter configuration method of the test terminal.
In summary, the embodiments of the present invention provide a parameter configuration scheme for initializing test terminal systems in batches, where a server is connected to multiple test terminals, and a user can configure the states of the terminals on one client without manually operating the test terminals one by one, so as to greatly improve the efficiency and accuracy of initializing device states. In addition, the embodiment of the invention can also be respectively adapted to devices of different system types, such as Android and iPhone type mobile phones, without mastering the configuration modification process of the devices of different types. In addition, the parameter monitoring scheme provided by the embodiment of the invention can acquire the system state of the test terminal in real time, judge whether the system state is consistent with the user initialization value, and automatically initialize the system state when the system state is inconsistent with the user initialization value, so that the problem of inaccurate test result caused by system parameter errors in the process of using equipment by a user is avoided, and the debugging effect and the test efficiency of the equipment are improved.
The preferred embodiments of the present invention have been described above with reference to the accompanying drawings. The many features and advantages of the embodiments are apparent from the detailed specification, and thus, it is intended by the appended claims to cover all such features and advantages of the embodiments which fall within the true spirit and scope thereof. Further, since numerous modifications and changes will readily occur to those skilled in the art, it is not desired to limit the embodiments of the invention to the exact construction and operation illustrated and described, and accordingly, all suitable modifications and equivalents may be resorted to, falling within the scope thereof.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The principle and the implementation mode of the invention are explained by applying specific embodiments in the invention, and the description of the embodiments is only used for helping to understand the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A parameter configuration method of a test terminal is characterized by comprising the following steps:
acquiring equipment information test terminals of a plurality of test terminals;
respectively carrying out initialization parameter configuration on each test terminal according to the equipment information and based on a preset parameter configuration rule;
executing a heartbeat monitoring function on each test terminal to monitor the current parameters of each terminal so as to judge whether the parameters meet the configured parameter requirements;
and responding to the judgment result that the parameter requirements are not met, and performing initialization parameter configuration on the corresponding test terminal again.
2. The method of claim 1, wherein performing a heartbeat monitoring function on each test terminal to monitor current parameters of each terminal to determine whether the configured parameter requirements are met comprises:
periodically executing a heartbeat monitoring function on each test terminal to monitor the current parameters of each terminal;
and comparing the monitored current parameters with the initialization parameters of the corresponding test terminal, and judging whether the parameter requirements of the configuration are met according to the comparison result.
3. The method of claim 1, wherein performing initialization parameter configuration on each test terminal according to the device information and based on a preset parameter configuration rule respectively comprises:
analyzing the preset parameter configuration rule according to the equipment information to generate a parameter configuration rule meeting the equipment information requirement;
and respectively carrying out initialization parameter configuration on each test terminal according to the parameter configuration rule meeting the equipment information requirement.
4. A parameter configuration apparatus of a test terminal, the apparatus comprising:
the device information acquisition unit is used for acquiring device information of a plurality of test terminals;
the parameter configuration unit is used for respectively carrying out initialization parameter configuration on each test terminal according to the equipment information and based on a preset parameter configuration rule;
the monitoring unit is used for executing a heartbeat monitoring function on each test terminal so as to monitor the current parameters of each terminal and judge whether the parameters meet the configured parameter requirements;
and the reconfiguration unit is used for responding to the judgment result that the parameter requirements of the configuration are not met, and carrying out initialization parameter configuration on the corresponding test terminal again.
5. The apparatus of claim 4, wherein the monitoring unit comprises:
the monitoring module is used for periodically executing a heartbeat monitoring function on each test terminal so as to monitor the current parameters of each terminal;
and the comparison module is used for comparing the monitored current parameters with the initialization parameters of the corresponding test terminal and judging whether the parameter requirements of the configuration are met or not according to the comparison result.
6. The apparatus of claim 4, wherein the parameter configuration unit comprises:
the analysis module is used for analyzing the preset parameter configuration rule according to the equipment information so as to generate a parameter configuration rule meeting the equipment information requirement;
and the parameter configuration module is used for respectively carrying out initialization parameter configuration on each test terminal according to the parameter configuration rule meeting the equipment information requirement.
7. A system for configuring parameters of a test terminal, the system comprising: the parameter configuration device of the test terminal and any one of claims 4 to 6, the parameter configuration device of the test terminal configuring the initialization parameter configuration for the test terminal and monitoring the current parameters of the test terminal.
8. The system according to claim 7, wherein the parameter configuration device of the test terminal further comprises:
and the client interface is used for providing a parameter configuration interface.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the method according to any of claims 1 to 3 are implemented when the processor executes the 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 3.
CN202010721672.7A 2020-07-24 2020-07-24 Parameter configuration method, device and system of test terminal Pending CN111858364A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010721672.7A CN111858364A (en) 2020-07-24 2020-07-24 Parameter configuration method, device and system of test terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010721672.7A CN111858364A (en) 2020-07-24 2020-07-24 Parameter configuration method, device and system of test terminal

Publications (1)

Publication Number Publication Date
CN111858364A true CN111858364A (en) 2020-10-30

Family

ID=72950803

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010721672.7A Pending CN111858364A (en) 2020-07-24 2020-07-24 Parameter configuration method, device and system of test terminal

Country Status (1)

Country Link
CN (1) CN111858364A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112964974A (en) * 2021-03-18 2021-06-15 嘉盛半导体(苏州)有限公司 Semiconductor test monitoring method, device, equipment and storage medium
CN116170307A (en) * 2023-04-26 2023-05-26 江西联创精密机电有限公司 Communication simulation device configuration method and device, readable storage medium and electronic device
CN116881064A (en) * 2023-09-06 2023-10-13 Tcl通讯科技(成都)有限公司 Terminal test method, device, equipment and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102841789A (en) * 2012-06-29 2012-12-26 北京奇虎科技有限公司 Method and device for recording and playing back user operations in browser
CN104572464A (en) * 2014-12-31 2015-04-29 广东欧珀移动通信有限公司 Automated test state saving method and device of Android platform
CN106874159A (en) * 2016-12-30 2017-06-20 北京同有飞骥科技股份有限公司 A kind of concentrating type automated testing method
CN107908551A (en) * 2017-10-27 2018-04-13 中国平安人寿保险股份有限公司 Terminal software test method, device, terminal and computer-readable storage medium
CN108628735A (en) * 2017-03-22 2018-10-09 腾讯科技(深圳)有限公司 The automated testing method and system of application
CN110191018A (en) * 2019-05-28 2019-08-30 百度在线网络技术(北京)有限公司 Method for monitoring abnormality, device and the computer equipment of vehicle CAN bus
CN110399308A (en) * 2019-08-01 2019-11-01 杭州安恒信息技术股份有限公司 A kind of method and apparatus for the automatic implementation of test cases realized based on mail
CN110488326A (en) * 2019-08-15 2019-11-22 Oppo(重庆)智能科技有限公司 Mobile terminal location function test method, device and storage medium
CN111240768A (en) * 2020-03-11 2020-06-05 上海商米科技集团股份有限公司 Configuration parameter configuration method and device and computer storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102841789A (en) * 2012-06-29 2012-12-26 北京奇虎科技有限公司 Method and device for recording and playing back user operations in browser
CN104572464A (en) * 2014-12-31 2015-04-29 广东欧珀移动通信有限公司 Automated test state saving method and device of Android platform
CN106874159A (en) * 2016-12-30 2017-06-20 北京同有飞骥科技股份有限公司 A kind of concentrating type automated testing method
CN108628735A (en) * 2017-03-22 2018-10-09 腾讯科技(深圳)有限公司 The automated testing method and system of application
CN107908551A (en) * 2017-10-27 2018-04-13 中国平安人寿保险股份有限公司 Terminal software test method, device, terminal and computer-readable storage medium
CN110191018A (en) * 2019-05-28 2019-08-30 百度在线网络技术(北京)有限公司 Method for monitoring abnormality, device and the computer equipment of vehicle CAN bus
CN110399308A (en) * 2019-08-01 2019-11-01 杭州安恒信息技术股份有限公司 A kind of method and apparatus for the automatic implementation of test cases realized based on mail
CN110488326A (en) * 2019-08-15 2019-11-22 Oppo(重庆)智能科技有限公司 Mobile terminal location function test method, device and storage medium
CN111240768A (en) * 2020-03-11 2020-06-05 上海商米科技集团股份有限公司 Configuration parameter configuration method and device and computer storage medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112964974A (en) * 2021-03-18 2021-06-15 嘉盛半导体(苏州)有限公司 Semiconductor test monitoring method, device, equipment and storage medium
CN116170307A (en) * 2023-04-26 2023-05-26 江西联创精密机电有限公司 Communication simulation device configuration method and device, readable storage medium and electronic device
CN116170307B (en) * 2023-04-26 2023-06-30 江西联创精密机电有限公司 Communication simulation device configuration method and device, readable storage medium and electronic device
CN116881064A (en) * 2023-09-06 2023-10-13 Tcl通讯科技(成都)有限公司 Terminal test method, device, equipment and storage medium
CN116881064B (en) * 2023-09-06 2023-12-15 Tcl通讯科技(成都)有限公司 Terminal test method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN109302522B (en) Test method, test device, computer system, and computer medium
CN111858364A (en) Parameter configuration method, device and system of test terminal
CN109741755B (en) Voice awakening word threshold management device and method for managing voice awakening word threshold
CN104838405B (en) The method and system of test frame for application program
CN112087354A (en) Communication protocol testing method and device, electronic equipment and storage medium
CN105468513B (en) Test method, device and system based on mobile terminal
CN112527397A (en) Method and device for modifying basic input output system options and computer equipment
CN115184764A (en) Chip testing method and device, electronic equipment and storage medium
CN111813625B (en) Health checking method and device for distributed server cluster
US20140189670A1 (en) System and method for tailoring applications and application repositories for individual electrical devices
CN105404574B (en) Smart card and mobile terminal consistency test method and device
CN111767558A (en) Data access monitoring method, device and system
CN111611124B (en) Monitoring equipment analysis method, device, computer device and storage medium
CN105991700A (en) Voice data processing method, cloud server system and terminal equipment
CN113157481B (en) Cluster-based server time-hopping fault processing method, device and system
CN108540344B (en) Router upgrading test method and system
CN108132832A (en) Application program launching method and device
CN107451067B (en) Processing method for downloading test and related product
CN111026651A (en) Test method, test device, storage medium and electronic equipment
CN105242900A (en) Audio parameter adjustment method and device for mobile device
CN110543416A (en) Method, device, equipment and storage medium for automatically testing terminal program
CN114337857B (en) Method, device, system and storage medium for testing receiving sensitivity
US9191445B2 (en) Systems and methods for managing emulation sessions
CN113127099B (en) Server configuration method, device, equipment and storage medium
CN111352023B (en) Crystal oscillator detection method and device and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20220913

Address after: 25 Financial Street, Xicheng District, Beijing 100033

Applicant after: CHINA CONSTRUCTION BANK Corp.

Address before: 25 Financial Street, Xicheng District, Beijing 100033

Applicant before: CHINA CONSTRUCTION BANK Corp.

Applicant before: Jianxin Financial Science and Technology Co.,Ltd.

TA01 Transfer of patent application right
RJ01 Rejection of invention patent application after publication

Application publication date: 20201030