CN108632089B - Management method, device and equipment of test terminal and computer storage medium - Google Patents

Management method, device and equipment of test terminal and computer storage medium Download PDF

Info

Publication number
CN108632089B
CN108632089B CN201810431113.5A CN201810431113A CN108632089B CN 108632089 B CN108632089 B CN 108632089B CN 201810431113 A CN201810431113 A CN 201810431113A CN 108632089 B CN108632089 B CN 108632089B
Authority
CN
China
Prior art keywords
identification information
test
account
test terminal
information
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
CN201810431113.5A
Other languages
Chinese (zh)
Other versions
CN108632089A (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.)
Ping An Puhui Enterprise Management Co Ltd
Original Assignee
Ping An Puhui Enterprise Management 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 Ping An Puhui Enterprise Management Co Ltd filed Critical Ping An Puhui Enterprise Management Co Ltd
Priority to CN201810431113.5A priority Critical patent/CN108632089B/en
Publication of CN108632089A publication Critical patent/CN108632089A/en
Application granted granted Critical
Publication of CN108632089B publication Critical patent/CN108632089B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3055Monitoring arrangements for monitoring the status of the computing system or of the computing system component, e.g. monitoring if the computing system is on, off, available, not available
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Computer Hardware Design (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a management method of a test terminal, which is applied to a server and comprises the following steps: for any test terminal in a test terminal set, when an account login request uploaded by the test terminal is received, acquiring account identification information contained in the account login request and terminal identification information of the test terminal; when the account identification information is detected to pass the verification, establishing an incidence relation between the account identification information and the terminal identification information; receiving a query request, acquiring target terminal identification information contained in the query request, determining corresponding account identification information according to the target terminal identification information and the association relation, and taking a user corresponding to the account identification information as a current user of the test terminal. The invention also discloses a management device, equipment and a computer storage medium of the test terminal. The server of the invention can conveniently manage the test terminal.

Description

Management method, device and equipment of test terminal and computer storage medium
Technical Field
The present invention relates to the field of hardware management, and in particular, to a method, an apparatus, a device, and a computer storage medium for managing a test terminal.
Background
The existing software development needs a large amount of software developers and testers, so that the software is optimized, errors in the software running process are prevented, testing errors are reduced, the accuracy of the software is ensured, repeated and accurate software testing is necessary, and in addition, enterprises can also equip corresponding testing terminals for the software testing.
The enterprise distributes the test terminals according to the size of the software test project or the number of the test personnel, the enterprise cannot set special personnel for managing the test terminals, the test terminals are in a public state due to the mobility of the test terminals, the existing management of the test terminals is manually registered, and the management of the test terminals is inconvenient due to the fact that the manual registration of the test terminals always has the condition of registration omission.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide a management method, a device, equipment and a computer storage medium of a test terminal, and aims to solve the problem that the test terminal is inconvenient to manage.
In order to achieve the above object, the present invention provides a management method for a test terminal, which comprises the following steps:
the management method of the test terminal is applied to the server, and comprises the following steps:
for any test terminal in a test terminal set, when an account login request uploaded by the test terminal is received, acquiring account identification information contained in the account login request and terminal identification information of the test terminal;
when the verification of the account identification information is detected to be passed, establishing an incidence relation between the account identification information and the terminal identification information, and logging in a test account corresponding to the account identification information;
generating an incidence relation table, wherein the incidence relation table comprises incidence relations corresponding to at least one verified account identification information;
receiving a query request, and acquiring target terminal identification information contained in the query request, wherein the target test terminal is any test terminal in the test terminal set;
and determining corresponding account identification information according to the target terminal identification information and the association relation table, and taking the user corresponding to the account identification information as the current user of the test terminal.
Optionally, after the step of acquiring the account identification information included in the account login request and the terminal identification information of the test terminal when receiving the account login request uploaded by the test terminal, for any test terminal in the test terminal set, the method further includes:
comparing the account identification information with standard login information in a preset information table to verify the account identification information;
if the account identification information is matched with the standard login information in the preset information table, judging that the account identification information passes verification, and logging in the test account;
and if the account identification information is not matched with the standard login information in the preset information table, judging that the account identification information is not verified, and generating prompt information to prompt the user to input the account identification information again.
Optionally, after the step of determining that the account identification information is verified and the step of logging in the test account is performed if the account identification information matches the standard login information in the preset information table, the method includes:
judging whether the account identification information is biological characteristic information or not;
if the account identification information is biological characteristic information, the account identification information is granted with an operation authority corresponding to a first preset level of the test account;
and if the account identification information is not the biological characteristic information, granting the operation permission of the second preset level of the test account corresponding to the account identification information.
Optionally, after the step of establishing an association relationship between the account identification information and the terminal identification information and logging in a test account corresponding to the account identification information when it is detected that the account identification information passes verification, the method includes:
when the test account is detected to be logged in completely, prompt information is generated on the test terminal to prompt a user to input information of software to be tested contained in the test account;
receiving software information to be tested contained in a test account, and acquiring running software information of the test terminal;
comparing the software information to be tested with the running software information;
if the to-be-tested software information is matched with the running software information, judging that the test terminal is in a working state;
and if the information of the software to be tested is not matched with the information of the running software, judging that the test terminal is in an idle state.
Optionally, after the step of determining that the test terminal is in the working state if the to-be-tested software information matches the running software information, the method includes:
if the test terminal is in a working state, acquiring test data in the test process on the test terminal;
associating the test data with the test account, and storing the test data to a server local storage and/or a cloud end for a user to obtain the test data;
receiving a test data query request, and acquiring account identification information contained in the query request;
and determining a test account according to the account identification information, and exporting test data stored locally in the server and/or in the cloud test account.
Optionally, after the step of determining that the test terminal is in an idle state if the to-be-tested software information does not match the running software information, the method includes:
receiving a scheduling request of a test terminal, and acquiring information to be distributed contained in the scheduling request;
acquiring terminal identification information of the idle state test terminal, and establishing a new association relationship between the terminal identification information and account identification information in the information to be distributed;
and sending prompt information to the test terminal in the idle state so that the current user of the test terminal transfers the test terminal according to the new association relationship to complete scheduling.
Optionally, the step of acquiring the terminal identifier information of the idle state test terminal and establishing a new association relationship between the terminal identifier information and the account identifier information in the information to be allocated includes:
acquiring terminal identification information of the idle state test terminal, and determining the idle time of the test terminal;
comparing the idle time with a preset grade table to determine the scheduling priority of the test terminal;
comparing the scheduling priority with the application priority in the information to be distributed;
and if the scheduling priority is matched with the application priority in the information to be distributed, establishing a new association relationship between the terminal identification information and the account identification information in the information to be distributed.
In addition, in order to achieve the above purpose, the invention also provides a management device of the test terminal;
the management device of the test terminal comprises:
the system comprises a receiving and obtaining module and a judging module, wherein the receiving and obtaining module is used for obtaining account identification information contained in an account login request and terminal identification information of a test terminal when the account login request uploaded by the test terminal is received for any test terminal in a test terminal set;
the associated login module is used for establishing an association relation between the account identification information and the terminal identification information when the account identification information is detected to pass the verification, and logging in a test account corresponding to the account identification information;
the system comprises a relation table generation module, a verification module and a verification module, wherein the relation table generation module is used for generating an association relation table, and the association relation table comprises an association relation corresponding to at least one verified account identification information;
the query acquisition module is used for receiving a query request and acquiring target terminal identification information contained in the query request, wherein the target test terminal is any test terminal in the test terminal set;
and the query determining module is used for determining corresponding account identification information according to the target terminal identification information and the association relation table, and taking the user corresponding to the account identification information as the current user of the test terminal.
In addition, to achieve the above object, the present invention further provides a management device for a test terminal, including: a memory, a processor, and a hypervisor stored on the memory and executable on the processor of a test terminal, wherein:
the management program of the test terminal is executed by the processor to realize the steps of the management method of the test terminal.
In addition, to achieve the above object, the present invention also provides a computer storage medium;
the computer storage medium stores a management program of the test terminal, and the management program of the test terminal realizes the steps of the management method of the test terminal when being executed by the processor.
The embodiment of the invention provides a management method, a management device, management equipment and a computer storage medium of a test terminal, wherein the method is applied to a server and comprises the following steps: the method comprises the steps that a server receives an account login request uploaded by a test terminal, and the server obtains account identification information contained in the account login request and terminal identification information carried by the account login request; when the server detects that the account identification information passes verification, establishing an incidence relation between the account identification information and the terminal identification information, and logging in a test account corresponding to the account identification information; the server receives a test terminal query request and acquires terminal identification information contained in the query request; and determining account identification information according to the terminal identification information and the association relation, and taking a user corresponding to the account identification information as a current user of the test terminal to obtain the current attribution of the test terminal. According to the invention, a user can inquire the multi-dimensional information of the test terminal on the server, and meanwhile, the server can monitor the running state of the test terminal, so that the test terminal in an idle state can be dispatched to a required tester, and the utilization rate of the test terminal is improved.
Drawings
Fig. 1 is a schematic device structure diagram of a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a first embodiment of a management method for a test terminal according to the present invention;
FIG. 3 is a flowchart illustrating a second embodiment of a management method for a test terminal according to the present invention;
FIG. 4 is a flowchart illustrating a management method for a test terminal according to a third embodiment of the present invention;
FIG. 5 is a flowchart illustrating a fourth embodiment of a method for managing a test terminal according to the present invention;
FIG. 6 is a flowchart illustrating a fifth exemplary embodiment of a method for managing a test terminal according to the present invention;
fig. 7 is a functional module diagram of a management apparatus of a test terminal according to an embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The main solution of the embodiment of the invention is as follows: the management program of the test terminal is installed on the test terminal, when a tester (user) uses the test terminal, the test account is required to log in, after the test account is detected to log in, the test terminal uploads state information such as test data and running software information to the server in real time, the server can determine whether the test terminal is used for testing according to the state information uploaded by the test terminal, and the test terminal manager can adjust the distribution of the test terminal according to whether the test terminal recorded in the server is used for testing, so that the utilization rate of the test terminal is improved while the test terminal is managed conveniently.
Because the management of the test terminal in the prior art is performed by the tester, that is, when the tester applies for using the test terminal, the test terminal is registered on the register, the management scheme of the test terminal has no real-time performance, and different problems can occur, for example, the tester forgets to log in, so that the state of the test terminal cannot be inquired, or the test terminal is used by the tester personally, and the working state of the test terminal cannot be effectively managed.
As shown in fig. 1, fig. 1 is a schematic diagram of a server structure of a hardware operating environment according to an embodiment of the present invention.
The server in the embodiment of the invention refers to a computer which manages resources and provides services for users, and is generally divided into a file server, a database server and an application server. The computer or computer system running the above software is also referred to as a server. The server has higher requirements on the aspects of stability, safety, performance and the like; as shown in fig. 1, the server may include: a processor 1001, such as a Central Processing Unit (CPU), a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002, a hardware such as a chipset, a disk system, a network, and the like. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a WIreless interface (e.g., WIFI interface, WIreless FIdelity, WIFI interface). The memory 1005 may be a Random Access Memory (RAM) or a non-volatile memory (e.g., a disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
As shown in fig. 1, the computer software product is stored in a storage medium (storage medium: also called computer storage medium, computer medium, readable storage medium, computer readable storage medium, or direct medium, such as RAM, magnetic disk, optical disk), and includes several instructions for enabling a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention, and a memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module, and a management application program of a test terminal.
In the server shown in fig. 1, the network interface 1004 is mainly used for connecting to a background database and performing data communication with the background database; the user interface 1003 is mainly used for connecting a client (called a user side or a terminal, the terminal in the embodiment of the present invention may be a fixed terminal or a mobile terminal) and performing data communication with the client; and the processor 1001 may be configured to call the management application of the test terminal stored in the memory 1005 and perform the steps of the management method of the test terminal according to the following embodiment of the present invention.
The embodiment of the invention is realized on the basis of interaction between a server and a test terminal, a monitoring program is required to be installed on the test terminal, and a test terminal management program is established on the server, namely, when a tester uses the test terminal, the server can automatically acquire the information of the test terminal; or when the test terminal is in a power-on state, the test terminal may actively send operation data to the server, and it needs to be explained that, because the test terminal is in a flowing state, if the test terminal is managed only with the test terminal identification information as a dimension, a problem of difficult query may occur when a user does not know the terminal identification information of the test terminal, for example, the user uses the test terminal with the terminal identification information xxxx in an early stage, and the user needs to acquire the test information on the terminal identification information xxxx test terminal in a later stage, a problem of inconvenient query may occur, therefore, in the present invention, the test terminal and the test account are combined to manage the test terminal, that is, the server performs associated management on the test terminal and the test account, so that the management of the test terminal can be more convenient, specifically:
referring to fig. 2, in a first embodiment of the present invention, a method for managing a test terminal includes:
step S11, for any test terminal in the test terminal set, when receiving the account login request uploaded by the test terminal, acquiring the account identification information contained in the account login request and the terminal identification information of the test terminal.
The method comprises the steps that a server receives an account login request uploaded by a test terminal, wherein a user can trigger the account login request on the test terminal in different forms, for example, the user manually inputs account identification information and clicks a virtual key on the test terminal to 'login' to trigger the account login request; or the user sets automatic login conditions on the test terminal, when the automatic login conditions are met, the test terminal automatically triggers an account login request, when detecting a triggering account login request on the test terminal, the test terminal sends the account login request to the server, when the account login request uploaded by the test terminal carries the identification information of the test terminal, the server receives the account login request, and acquiring account identification information contained in the account login request, wherein the account identification information can be information which can uniquely identify the test account, such as a test account number of the test account, a login password of the test account, a mobile phone number of a user corresponding to the test account and/or user fingerprint information, and the like, the server acquires terminal identification information carried in the account login request, the terminal identification information may be a terminal number of the test terminal, or other information that can uniquely identify the test terminal.
Step S12, when it is detected that the account identification information passes the verification, establishing the association relationship between the account identification information and the terminal identification information, and logging in the test account corresponding to the account identification information.
The server verifies the account identification information, for example, the server compares the account identification information uploaded by the test terminal with information input by a tester when the tester applies for the test account, and if the account identification information uploaded by the test terminal is not matched with the information input by the tester when the tester applies for the test account, the verification of the account identification information fails; if the account identification information uploaded by the test terminal is matched with the information input by the tester when the test account is applied, the account identification information passes verification; when the server detects that the account identification information passes verification, the server establishes an association relationship between the account identification information and the terminal identification information, for example, the server establishes an association relationship between the account identification information and the terminal identification information, which may be a data table generated by mapping the identification information and the terminal identification one by one; so that the administrator, tester or other users of the test terminal can inquire the test terminal according to the account identification information or any information in the account identification information; the server establishes the incidence relation between the account identification information and the terminal identification information, and simultaneously logs in the test account corresponding to the account identification information so as to manage the test terminal.
Step S13, an association table is generated, where the association table includes an association corresponding to at least one verified account identifier.
In this embodiment, each request forms an association relationship when the identity verification passes, and the server generates a corresponding generated association relationship table for each association relationship, so that when a user triggers a query request of the test terminal, the server can query the terminal identification information (or account identification information) of the test terminal as a dimension, that is, when the user queries the use state of the test terminal with any account, the association relationship table needs to be used.
Step S14, receiving a query request, and acquiring target terminal identification information included in the query request, where the target test terminal is any test terminal in the test terminal set.
The server receives a query request, for example, a user can trigger the query request of a test terminal in different forms on any test terminal or the server, for example, the user manually inputs test terminal identification information to be queried, when the server receives the query request, the server obtains target terminal identification information included in the query request, specifically, the test terminal is analogized to a book in a library, a manager of the test terminal cannot know the state of the test terminal in real time, and when the test terminal is lost, the manager of the test terminal can input the target terminal identification information to determine a user to which the target test terminal belongs currently.
Step S15, determining corresponding account identification information according to the target terminal identification information and the incidence relation table, and taking the user corresponding to the account identification information as the current user of the test terminal.
The server determines the account identification information according to the target terminal identification information and the association relationship, that is, the server determines the account by using the terminal identification information as a query dimension in combination with the association relationship table, for example, the user inputs the terminal identification information with the number of 0001, the server determines the account identification information based on the 0001 query mapping relationship table, and the server takes the account identification information corresponding to the user as the current user of the test terminal.
In the embodiment, a server receives an account login request uploaded by a test terminal, and the server acquires account identification information contained in the account login request and terminal identification information carried by the account login request; when the server detects that the account identification information passes verification, establishing an incidence relation between the account identification information and the terminal identification information, and logging in a test account corresponding to the account identification information; the server receives a test terminal query request and acquires terminal identification information contained in the query request; and determining account identification information according to the terminal identification information and the association relation, and taking a user corresponding to the account identification information as a current user of the test terminal to obtain the current attribution of the test terminal, so that the condition that the test terminal is lost is prevented, and a test terminal manager can inquire the current attribution of any test terminal.
Further, referring to fig. 3, on the basis of the first embodiment of the present invention, a second embodiment of the management method for a test terminal according to the present invention is further provided, and the difference between this embodiment and the first embodiment of the present invention is that the account identification information verification step during login of the test account is specifically described in this embodiment.
The management method of the test terminal comprises the following steps:
step S21, comparing the account identification information with the standard login information in the preset information table to verify the account identification information.
The server compares the account identification information with standard login information in a preset information table, wherein the preset information table is preset with the standard login information for testing account login, for example, the standard login information input by a user when a test account is applied is used for verifying the account identification information.
And step S22, if the account identification information is matched with the standard login information in the preset information table, judging that the account identification information passes verification so as to log in the test account.
If the account identification information is matched with the standard login information in the preset information table, namely, the account identification information contained in the account login request is obtained and the standard login information used for verification is the same, the account identification information is matched with the standard login information in the preset information table, and the verification of the account identification information is confirmed to pass, so that the test account can be logged in further.
Further, after step S22, the method further includes:
step a1, judging whether the account identification information is biological characteristic information;
step a2, if the account identification information is biological characteristic information, the account identification information is granted with an operation authority corresponding to a first preset level of the test account;
step a3, if the account identification information is not the biological characteristic information, the account identification information is granted to the operation authority corresponding to the second preset level of the test account.
After a test account is logged in, a server judges whether account identification information is biological characteristic information or not, wherein the biological characteristic information can be user fingerprints, user facial images and the like, the account identification information acquired by the server is the biological characteristic information, for example, the account identification information is the user fingerprints, the server can judge that a user logging in the test account is a person corresponding to a test account application, and the server grants an operation authority of the first preset level corresponding to the test account to the account identification information; the operation authority of the first preset level may be set according to specific situations, for example, the operation authority of the first preset level is set as the highest authority or all authorities; that is, the user may have all operational rights; the account identification information acquired by the server is not biometric information, for example, the account identification information is a login password, and the server grants the account identification information corresponding to the operation permission of the second preset level of the test account, wherein the operation permission of the second preset level may be set by the user independently, or may be set in advance by the test terminal administrator at the server, for example, the operation permission of the second preset level is set as a partial permission.
In this embodiment, the server grants corresponding permission to the test account according to the type of the account identification information, so that on one hand, the identity of the user can be more accurately verified, and on the other hand, the security of the test account is ensured, so that potential safety hazards caused by leakage of login information of the test account are prevented.
And step S23, if the account identification information is not matched with the standard login information in the preset information table, judging that the account identification information is not verified, and generating prompt information to prompt the user to input the account identification information again.
If the account identification information is not matched with the standard login information in the preset information table, namely the account identification information contained in the account login request is different from the standard information stored in the server, the server judges that the account identification information is not verified, and generates prompt information to prompt the user to input the account identification information again.
In this embodiment, the account identification information included in the account login request is validated, so as to ensure the security of the test account.
Further, on the basis of the first embodiment of the present invention, a third embodiment of the management method for a test terminal of the present invention is further provided, and in the third embodiment of the management method for a test terminal of the present invention, how to determine whether a test terminal is in a working state is specifically described.
It should be added that this embodiment may be taken as a separate implementation step, and this embodiment may also be combined with the first embodiment, that is, in step S12 of the first embodiment, when it is detected that the account identification information passes the verification, the association relationship between the account identification information and the terminal identification information is established, and after the test account corresponding to the account identification information is logged in.
Referring to fig. 4, the method for managing the test terminal includes:
and step S31, when the test account is detected to be logged in, generating prompt information on the test terminal to prompt the user to input the information of the software to be tested contained in the test account.
When the server detects that the test account finishes logging in, namely when the test account logs in, a label with successful logging in is generated, when the server detects that the label with successful logging in is used, the test account finishes logging in, and the server generates prompt information on the test terminal so as to prompt a user to input information of the software to be tested contained in the test account.
And step S32, receiving the software information to be tested contained in the test account, acquiring the running software information of the test terminal, and comparing the software information to be tested with the running software information.
The server receives the information of the software to be tested contained in the test account, acquires the running software information of the test terminal, compares the information of the software to be tested with the running software information, for example, when a user uses the test terminal, the user needs to input information of test software on the test terminal, the server establishes a software association relationship between the information of the test software and the terminal identification information, the server sets the software association relationship between the test terminal number and the marking of the Taobao service system, the server can inquire the test terminal corresponding to the number and obtain a program which is currently run on the test terminal corresponding to the number, the server judges whether the program which is currently run on the test terminal comprises the Taobao service system, and if the program which is currently run on the test terminal comprises the Taobao service system, the test terminal is determined to be in the test state.
And step S33, if the to-be-tested software information is matched with the running software information, judging that the test terminal is in a test state.
If the information of the software to be tested is matched with the information of the running software, namely, the software running on the testing terminal is the same as the software to be tested, the software to be tested is in a running state, and the terminal judges that the testing terminal is in a testing state.
Step S34, if the information of the software to be tested is not matched with the information of the running software, the testing terminal is judged to be in an idle state.
And if the information of the software to be tested is not matched with the information of the running software, namely the software running on the test terminal is different from the software to be tested, and the software to be tested is in a non-running state, judging that the test terminal is in an idle state.
In this embodiment, the test terminal is combined with the test item, and the server may determine whether the test terminal is in a test state according to a program running on the test terminal, so as to adjust the test terminal according to the state of the test terminal, determine the service time of the test terminal, and improve the utilization rate of the test terminal.
Further, referring to fig. 5, a fourth embodiment of the present invention is provided on the basis of the third embodiment of the present invention, and in the fourth embodiment of the management method of the test terminal of the present invention, it is specifically described that the server obtains the test data, and finally, the test data of the test terminal is effectively managed.
The management method of the test terminal comprises the following steps:
and step S41, if the test terminal is in a working state, acquiring test data in the test process on the test terminal.
If the test terminal is in a working state, the server acquires test data in the test process on the test terminal, for example, whether the logic of a currently tested webpage of the test terminal is correct or not is judged, that is, a test log is generated on the test terminal according to the operation of a tester, and the server acquires the generated test log.
And step S42, associating the test data with the test account, and storing the test data to a server local storage and/or a cloud end for a user to obtain the test data.
The server associates the test data with the test account, so that a user can inquire test information based on the test account, and the server stores the test data to a local storage and/or a cloud end of the server so that the user can obtain the test data.
Step S43, receiving the test data query request, and acquiring account identification information included in the query request.
The server receives a test data query request, wherein a user can trigger the test data query request in different forms on the server or the test terminal, for example, the user manually inputs account identification information, and clicks a virtual key on the test terminal to 'query' to trigger the test data query request; or the user sets an automatic query condition on the server, automatically triggers the query request when the condition is met, detects the test data query request on the test terminal, and acquires the account identification information contained in the query request.
And step S44, determining a test account according to the account identification information, and exporting test data stored locally in the server and/or in the cloud test account.
And the server determines a test account according to the account identification information and exports the test data in the server local storage and/or the cloud test account. For example, a user inputs account identification information, the server queries all test data under the account identification information according to the account identification information, and the user can select corresponding test data to export.
In this embodiment, the test data of the test terminal is associated with the test account, and the test data is stored in the local storage of the server and/or the cloud end, when the test terminal is not in the hands of the user, the user can log in the test account to obtain the test data, and the user does not need to find the test terminal.
Furthermore, on the basis of the third embodiment of the present invention, a fifth embodiment of the management method for a test terminal of the present invention is further provided, and in the fifth embodiment of the management method for a test terminal of the present invention, it is specifically described that a server performs test terminal scheduling according to the state of a test terminal.
Referring to fig. 6, the method for managing the test terminal includes:
step S51, receiving a scheduling request of the test terminal, and acquiring information to be allocated included in the scheduling request.
The method comprises the steps that a server receives a scheduling request of a test terminal, for example, when a new tester appears, a test terminal manager triggers that no test terminal exists, the scheduling request is triggered, and the server obtains information to be distributed contained in the scheduling request, wherein the information to be distributed can contain user information to be distributed, time information to be distributed, test item information to be distributed and the like.
Step S52, acquiring terminal identification information of the idle state test terminal, and establishing a new association relationship between the terminal identification information and account identification information in the information to be distributed.
Acquiring terminal identification information of an idle state test terminal, and determining idle time of the test terminal; the method comprises the steps that a server takes the previous working time of a test terminal to the current time point as the idle time of the test terminal, compares the idle time with a preset grade table (the preset grade table is a grade table preset according to the idle time, for example, if the idle time is less than 24h, the scheduling priority is first grade, if the idle time is 24h-48h, the scheduling priority is second grade, if the idle time is more than 48h, the scheduling priority is third grade), and determines the scheduling priority of the test terminal; the server compares the scheduling priority with an application priority in the information to be distributed, wherein the application priority is generated according to the use time point of the user and the test item information, for example, if the required item in 24h of the user is very urgent, the application priority is three levels; if the required items in the user 248h are general and urgent, the application priority is the second level; if the required items in the user 72h are not urgent, the application priority is first level; and the server compares the scheduling priority with the application priority in the information to be distributed, and if the scheduling priority is matched with the application priority in the information to be distributed, a new association relationship is established between the terminal identification information and the account identification information in the information to be distributed.
Further, step S52 includes:
step b1, acquiring terminal identification information of the idle state test terminal, and determining the idle time of the test terminal;
step b2, comparing the idle time with a preset grade table to determine the dispatching priority of the test terminal;
step b3, comparing the scheduling priority with the application priority in the information to be distributed;
step b4, if the scheduling priority is matched with the application priority in the information to be distributed, establishing a new association relationship between the terminal identification information and the account identification information in the information to be distributed.
And step S53, sending a prompt message to the test terminal in an idle state so that the current user of the test terminal transfers the test terminal according to the new association relationship to complete scheduling.
The server sends prompt information to the test terminal in the idle state, so that the current user of the test terminal transfers the test terminal according to the new association relation to complete scheduling, namely, the server sends information that 'please transfer the test terminal with the number of 0001 to the xxx user within 48 h', the current owner of the test terminal transfers the test terminal to the xxx user to complete the test terminal scheduling.
In the embodiment, the server schedules the test terminal according to the state of the test terminal, so that the utilization rate of the test terminal is improved, and the test terminal is scheduled according to factors such as a test task and service time, so that the scheduling of the test terminal is more scientific.
In addition, referring to fig. 7, an embodiment of the present invention further provides a management device for a test terminal, where the management device for a test terminal includes:
a receiving and obtaining module 10, configured to, for any test terminal in a test terminal set, when an account login request uploaded by the test terminal is received, obtain account identification information included in the account login request and terminal identification information of the test terminal;
the association login module 20 is configured to, when it is detected that the account identification information passes verification, establish an association relationship between the account identification information and the terminal identification information, and log in a test account corresponding to the account identification information;
a relationship table generating module 30, configured to generate an association relationship table, where the association relationship table includes an association relationship corresponding to at least one verified account identification information;
a query obtaining module 40, configured to receive a query request, and obtain target terminal identification information included in the query request, where the target test terminal is any test terminal in the test terminal set;
and the query determining module 50 is configured to determine corresponding account identification information according to the target terminal identification information and the association table, and use the user corresponding to the account identification information as the current user of the test terminal.
Further, the management device of the test terminal includes:
the comparison verification module is used for comparing the account identification information with standard login information in a preset information table so as to verify the account identification information;
the matching judgment module is used for judging that the account identification information passes verification and logging in the test account if the account identification information is matched with the standard logging-in information in the preset information table;
and the judgment prompting module is used for judging that the account identification information is not verified if the account identification information is not matched with the standard login information in the preset information table, and generating prompting information to prompt the user to input the account identification information again.
Further, the management device of the test terminal includes:
the judging module is used for judging whether the account identification information is biological characteristic information;
the first authority module is used for granting the account identification information to the operation authority of the first preset level corresponding to the test account if the account identification information is the biological characteristic information;
and the second permission module is used for granting the account identification information to the operation permission of the second preset level of the test account corresponding to the account identification information if the account identification information is not the biological characteristic information.
Further, the management device of the test terminal includes:
the detection prompting module is used for generating prompting information on the test terminal when the test account is detected to be logged in, so as to prompt a user to input information of the software to be tested contained in the test account;
the receiving and acquiring module is used for receiving the software information to be tested contained in the testing account and acquiring the running software information of the testing terminal;
the information comparison module is used for comparing the software information to be tested with the running software information;
the first judgment module is used for judging that the test terminal is in a working state if the to-be-tested software information is matched with the running software information;
and the second judging module is used for judging that the test terminal is in an idle state if the information of the software to be tested is not matched with the information of the running software.
Further, the management device of the test terminal includes:
the data acquisition module is used for acquiring test data in the test process on the test terminal if the test terminal is in a working state;
the association storage module is used for associating the test data with the test account and storing the test data to a server local storage and/or a cloud end so as to enable a user to obtain the test data;
the receiving and acquiring module is used for receiving a test data query request and acquiring account identification information contained in the query request;
and the data export module is used for determining a test account according to the account identification information and exporting the test data in the server local storage and/or the cloud test account.
Further, the management device of the test terminal includes:
the device comprises a receiving and obtaining module, a scheduling module and a scheduling module, wherein the receiving and obtaining module is used for receiving a scheduling request of a test terminal and obtaining information to be distributed contained in the scheduling request;
the association establishing module is used for acquiring terminal identification information of the idle state test terminal and establishing a new association relationship between the terminal identification information and account identification information in the information to be distributed;
and the sending scheduling module is used for sending prompt information to the test terminal in the idle state so that the current user of the test terminal transfers the test terminal according to the new association relationship to complete scheduling.
Further, the management apparatus of the test terminal includes:
the acquisition determining module is used for acquiring the terminal identification information of the idle state test terminal and determining the idle time of the test terminal;
the comparison determination module is used for comparing the idle time with a preset grade table and determining the scheduling priority of the test terminal;
the grade comparison module is used for comparing the scheduling priority with the application priority in the information to be distributed;
and the matching establishing module is used for establishing a new association relationship between the terminal identification information and the account identification information in the information to be distributed if the scheduling priority is matched with the application priority in the information to be distributed.
The steps implemented by the functional modules of the management device of the test terminal may refer to the embodiments of the management method of the test terminal of the present invention, and are not described herein again.
In addition, the embodiment of the invention also provides a computer storage medium.
The computer storage medium stores a management program of the test terminal, and the management program of the test terminal implements the operations in the management method of the test terminal provided by the above embodiment when executed by the processor.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity/action/object from another entity/action/object without necessarily requiring or implying any actual such relationship or order between such entities/actions/objects; the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (9)

1. A management method of a test terminal is applied to a server, and comprises the following steps: for any test terminal in a test terminal set, when an account login request uploaded by the test terminal is received, acquiring account identification information contained in the account login request and terminal identification information of the test terminal;
when the account identification information is detected to pass verification, establishing an association relation between the account identification information and the terminal identification information, and logging in a test account corresponding to the account identification information;
generating an association relation table, wherein the association relation table comprises an association relation corresponding to at least one verified account identification information;
receiving a query request, and acquiring target terminal identification information contained in the query request, wherein the target test terminal is any test terminal in the test terminal set;
determining corresponding account identification information according to the target terminal identification information and the association relation table, and taking a user corresponding to the account identification information as a current user of the test terminal;
after the step of establishing an association relationship between the account identification information and the terminal identification information and logging in a test account corresponding to the account identification information when the verification of the account identification information is detected to be passed, the method includes:
when the test account is detected to be logged in completely, prompt information is generated on the test terminal to prompt a user to input information of software to be tested contained in the test account;
receiving software information to be tested contained in a test account, and acquiring running software information of the test terminal;
comparing the software information to be tested with the running software information;
if the to-be-tested software information is matched with the running software information, judging that the test terminal is in a working state;
and if the to-be-tested software information is not matched with the running software information, judging that the test terminal is in an idle state.
2. The method for managing test terminals according to claim 1, wherein, for any test terminal in the set of test terminals, after the step of obtaining the account identification information included in the account login request and the terminal identification information of the test terminal when receiving the account login request uploaded by the test terminal, the method further includes:
comparing the account identification information with standard login information in a preset information table to verify the account identification information;
if the account identification information is matched with the standard login information in the preset information table, judging that the account identification information is verified to be passed, and logging in the test account;
and if the account identification information is not matched with the standard login information in the preset information table, judging that the account identification information is not verified, and generating prompt information to prompt the user to input the account identification information again.
3. The method for managing a test terminal according to claim 2, wherein the step of determining that the account identification information is verified and logging in the test account is performed if the account identification information matches the standard login information in the preset information table includes:
judging whether the account identification information is biological characteristic information or not;
if the account identification information is biological characteristic information, the account identification information is granted with an operation authority corresponding to a first preset level of the test account;
and if the account identification information is not the biological characteristic information, the operation authority of the second preset level of the test account corresponding to the account identification information is granted.
4. The method for managing a test terminal according to claim 1, wherein the step of determining that the test terminal is in the operating state if the to-be-tested software information matches the operating software information comprises:
if the test terminal is in a working state, test data in the test process on the test terminal are obtained;
associating the test data with the test account, and storing the test data to a server local storage and/or a cloud end for a user to obtain the test data;
receiving a test data query request, and acquiring account identification information contained in the query request;
and determining a test account according to the account identification information, and exporting test data stored locally in the server and/or in the cloud test account.
5. The method for managing a test terminal according to claim 1, wherein the step of determining that the test terminal is in an idle state if the information of the software to be tested does not match the information of the running software comprises:
receiving a scheduling request of a test terminal, and acquiring information to be distributed contained in the scheduling request;
acquiring terminal identification information of the idle state test terminal, and establishing a new association relationship between the terminal identification information and account identification information in the information to be distributed;
and sending prompt information to the test terminal in the idle state so that the current user of the test terminal transfers the test terminal according to the new association relationship to complete scheduling.
6. The method for managing a test terminal according to claim 5, wherein the step of acquiring the terminal identification information of the idle state test terminal and establishing a new association relationship between the terminal identification information and the account identification information in the to-be-allocated information includes:
acquiring terminal identification information of the idle state test terminal, and determining the idle time of the test terminal;
comparing the idle time with a preset grade table to determine the scheduling priority of the test terminal;
comparing the scheduling priority with the application priority in the information to be distributed;
and if the scheduling priority is matched with the application priority in the information to be distributed, establishing a new association relationship between the terminal identification information and the account identification information in the information to be distributed.
7. A management apparatus of a test terminal, comprising:
the system comprises a receiving and obtaining module and a judging module, wherein the receiving and obtaining module is used for obtaining account identification information contained in an account login request and terminal identification information of a test terminal when the account login request uploaded by the test terminal is received for any test terminal in a test terminal set;
the associated login module is used for establishing an association relation between the account identification information and the terminal identification information when the account identification information is detected to pass the verification, and logging in a test account corresponding to the account identification information;
the system comprises a relation table generation module, a verification module and a verification module, wherein the relation table generation module is used for generating an association relation table, and the association relation table comprises an association relation corresponding to at least one verified account identification information;
the query acquisition module is used for receiving a query request and acquiring target terminal identification information contained in the query request, wherein the target test terminal is any test terminal in the test terminal set;
the inquiry determining module is used for determining corresponding account identification information according to the target terminal identification information and the association relation table, and taking a user corresponding to the account identification information as a current user of the test terminal;
the associated login module is further used for generating prompt information on the test terminal when the test account is detected to be logged in, so as to prompt a user to input information of software to be tested contained in the test account; receiving software information to be tested contained in a test account, and acquiring running software information of the test terminal; comparing the software information to be tested with the running software information; if the to-be-tested software information is matched with the running software information, judging that the test terminal is in a working state; and if the to-be-tested software information is not matched with the running software information, judging that the test terminal is in an idle state.
8. A management apparatus of a test terminal, characterized in that the management apparatus of the test terminal comprises: a memory, a processor, and a hypervisor stored on the memory and executable on the processor of a test terminal, wherein: the management program of the test terminal, when executed by the processor, implements the steps of the management method of the test terminal according to any one of claims 1 to 6.
9. A computer storage medium, characterized in that the computer storage medium has stored thereon a management program of a test terminal, which when executed by a processor implements the steps of the management method of the test terminal according to any one of claims 1 to 6.
CN201810431113.5A 2018-05-07 2018-05-07 Management method, device and equipment of test terminal and computer storage medium Active CN108632089B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810431113.5A CN108632089B (en) 2018-05-07 2018-05-07 Management method, device and equipment of test terminal and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810431113.5A CN108632089B (en) 2018-05-07 2018-05-07 Management method, device and equipment of test terminal and computer storage medium

Publications (2)

Publication Number Publication Date
CN108632089A CN108632089A (en) 2018-10-09
CN108632089B true CN108632089B (en) 2022-09-20

Family

ID=63695723

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810431113.5A Active CN108632089B (en) 2018-05-07 2018-05-07 Management method, device and equipment of test terminal and computer storage medium

Country Status (1)

Country Link
CN (1) CN108632089B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109040056B (en) * 2018-07-31 2022-03-18 每日互动股份有限公司 User verification method based on server
CN110008109B (en) * 2018-11-28 2022-06-10 创新先进技术有限公司 Application testing method and device
CN110209580A (en) * 2019-05-31 2019-09-06 厦门美柚信息科技有限公司 Test equipment management method and system
CN110443042A (en) * 2019-07-23 2019-11-12 维沃移动通信有限公司 A kind of terminal control method and terminal device
CN112463577B (en) * 2019-09-09 2024-09-20 北京达佳互联信息技术有限公司 Sample data processing method and device and electronic equipment
CN111858273B (en) * 2020-07-02 2024-06-11 五八有限公司 Method and device for displaying processing log
CN111984865B (en) * 2020-08-18 2023-09-19 北京达佳互联信息技术有限公司 Method and device for inquiring account number, electronic equipment and storage medium
CN112699047B (en) * 2021-01-13 2023-08-25 腾讯科技(深圳)有限公司 Application testing method and device, computer equipment and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102740328A (en) * 2011-04-13 2012-10-17 中国移动通信集团公司 Remote test method, device thereof and system thereof

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7643545B2 (en) * 2005-03-31 2010-01-05 Teradyne, Inc. Calibrating automatic test equipment to account for magnitude and phase offsets
CN102413112B (en) * 2010-09-26 2014-07-16 北京闪联云视信息技术有限公司 Method, association server and system for realizing association of equipment
CN103475476B (en) * 2013-09-02 2018-02-13 小米科技有限责任公司 The method and device of multiple terminals login service device
US20150347970A1 (en) * 2014-05-30 2015-12-03 Apple Inc. Beta testing distribution
CN105515887B (en) * 2014-10-16 2019-12-06 腾讯科技(深圳)有限公司 application testing method, server and system
CN105100190B (en) * 2015-05-21 2019-05-10 小米科技有限责任公司 The methods, devices and systems that the control planning of account and equipment is managed
CN105320598B (en) * 2015-11-24 2018-06-15 广州华多网络科技有限公司 Method for testing software and device
CN107786340A (en) * 2016-08-31 2018-03-09 阿里巴巴集团控股有限公司 A kind of method and device of authentication
CN107862526B (en) * 2017-10-27 2020-03-10 平安科技(深圳)有限公司 Resource numerical value transferring method and device, storage medium and server
CN107995024A (en) * 2017-10-30 2018-05-04 北京奇虎科技有限公司 A kind of device management method, device, server and storage medium

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102740328A (en) * 2011-04-13 2012-10-17 中国移动通信集团公司 Remote test method, device thereof and system thereof

Also Published As

Publication number Publication date
CN108632089A (en) 2018-10-09

Similar Documents

Publication Publication Date Title
CN108632089B (en) Management method, device and equipment of test terminal and computer storage medium
CN110912938B (en) Access verification method and device for network access terminal, storage medium and electronic equipment
CN110197058B (en) Unified internal control security management method, system, medium and electronic device
US20130054433A1 (en) Multi-Factor Identity Fingerprinting with User Behavior
CN109150828B (en) Verification registration method and system
AU2014262138B2 (en) User authentication
CN107911340B (en) Login verification method, device and equipment of application program and storage medium
CN109361660B (en) Abnormal behavior analysis method, system, server and storage medium
CN112637163B (en) Authentication and authorization method and system based on API gateway
CN102306117A (en) Automatic hardware test alarm method and device
CN105162774B (en) Virtual machine entry method, the virtual machine entry method and device for terminal
CN109684863B (en) Data leakage prevention method, device, equipment and storage medium
CN109359037A (en) A kind of management method of shared device, storage medium and server
CN116975893A (en) Access request processing method and device, storage medium and computer equipment
Utomo et al. Multifactor authentication on mobile secure attendance system
CN110825776A (en) Air quality detection report processing method and device, computing equipment and storage medium
CN111489255A (en) Data credit granting method, device, equipment and computer readable storage medium
CN118018274A (en) Internet access method and system
CN105262747A (en) Polymorphic terminal identity verification system and method based on biological characteristic recognition
CN113450204A (en) Enterprise client multi-enterprise account query method and device
US20160352594A9 (en) System and method for network access monitoring
CN116032652A (en) Gateway authentication method and system based on intelligent interactive touch panel
CN116170201A (en) Authentication method and device suitable for cloud product and storage medium
CN111478901B (en) Account weak password detection method and device, server and storage medium
CN105827564B (en) A kind of approaches to IM and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant