CN115481376A - Setting management method and device of test terminal equipment and electronic equipment - Google Patents

Setting management method and device of test terminal equipment and electronic equipment Download PDF

Info

Publication number
CN115481376A
CN115481376A CN202110666003.9A CN202110666003A CN115481376A CN 115481376 A CN115481376 A CN 115481376A CN 202110666003 A CN202110666003 A CN 202110666003A CN 115481376 A CN115481376 A CN 115481376A
Authority
CN
China
Prior art keywords
setting
page
setting item
event information
test terminal
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
CN202110666003.9A
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.)
Beijing Zitiao Network Technology Co Ltd
Original Assignee
Beijing Zitiao Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Zitiao Network Technology Co Ltd filed Critical Beijing Zitiao Network Technology Co Ltd
Priority to CN202110666003.9A priority Critical patent/CN115481376A/en
Publication of CN115481376A publication Critical patent/CN115481376A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • G06F21/6245Protecting personal data, e.g. for financial or medical purposes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/70Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
    • G06F21/82Protecting input, output or interconnection devices
    • G06F21/84Protecting input, output or interconnection devices output devices, e.g. displays or monitors

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Databases & Information Systems (AREA)
  • Computer And Data Communications (AREA)

Abstract

The embodiment of the disclosure discloses a setting management method and device for test terminal equipment, electronic equipment and a computer readable storage medium. The setting management method of the test terminal equipment comprises the following steps: triggering a system of the test terminal equipment to send event information; jumping to a setting page in response to receiving first event information indicating that system setting is triggered; in response to receiving second event information indicating that the component is triggered, determining the type of a setting item corresponding to the component; when the type of the setting item is a sensitive setting item, displaying an authentication page; responding to the received correct authentication information in the authentication page, and displaying a page of the setting item corresponding to the component; and when the type of the setting item is a non-sensitive setting item, displaying a page of the setting item corresponding to the component. The method solves the problem of how to lead the user to have limited modification on the set content of the equipment by limiting the operation of system setting in the management program.

Description

Setting management method and device of test terminal equipment and electronic equipment
Technical Field
The present disclosure relates to the field of terminal device management, and in particular, to a method and an apparatus for setting management of a test terminal device, an electronic device, and a computer-readable storage medium.
Background
The cloud real machine testing platform is more and more popular, and has the remarkable advantages of unified management, remote sharing, real and reliable testing environment and the like compared with the testing by using local equipment.
The test terminal equipment in the cloud test platform is public equipment for users, and the users can perform corresponding operation and test on the test terminal equipment. Meanwhile, part of automatic test tasks and background test services require stable information and environment of the equipment, for example, wifi cannot be changed randomly, network types cannot be changed randomly, operators cannot be changed, and otherwise dirty data can be caused to test results. In addition, if a user sets a screen locking password of the device in a private way, the user who uses the device subsequently can be affected. Therefore, how to make the user modify the setting content of the device with a limited degree becomes a problem to be solved urgently.
Disclosure of Invention
This summary is provided to introduce a selection of concepts in a simplified form that are further described below in the detailed description. This summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
In a first aspect, an embodiment of the present disclosure provides a method for setting and managing test terminal devices, which operates on a cloud test platform, where the cloud test platform includes at least one test terminal device, and the method for setting and managing the test terminal devices includes:
receiving a setting instruction of a remote terminal device to trigger a system of the test terminal device to send event information;
jumping to a setting page in response to receiving first event information indicating that system setting is triggered; the setting page comprises components corresponding to setting items in the system setting;
in response to receiving second event information indicating that the component is triggered, determining the type of a setting item corresponding to the component;
when the type of the setting item is a sensitive setting item, displaying an authentication page;
responding to the received correct authentication information in the authentication page, and displaying a page of the setting item corresponding to the component;
when the type of the setting item is a non-sensitive setting item, displaying a page of the setting item corresponding to the component; wherein the page of the setting item is generated by a system of the terminal device.
Further, the receiving a setting instruction of a remote terminal device to trigger a system of the test terminal device to send event information includes:
receiving a setting instruction of remote terminal equipment;
a management program installed in the test terminal monitors event information sent by a system of the terminal equipment by using a monitoring subprogram; wherein the listening sub-program receives event information indicating a change in the status of a user's page issued by the system using a service provided by the system.
Further, the jumping to a setting page in response to receiving the first event information triggered by the system setting includes:
acquiring a setting item in system setting in response to receiving first event information triggered by the system setting;
generating a setting page according to the setting items and displaying the setting page; alternatively, the first and second electrodes may be,
and acquiring and displaying a pre-generated setting page in response to receiving first event information triggered by system setting.
Further, determining the type of the setting item corresponding to the component includes:
analyzing the second event information to obtain a package name of the second event information;
and determining the type of the setting item corresponding to the component according to the package name.
Further, the method further comprises:
when the type of the setting item is a sensitive setting item, sending an authentication information generation instruction to a server; and the authentication information generation instruction enables the server to generate the authentication information according to the information of the test terminal equipment and the generation time of the instruction.
Further, the displaying the page of the setting item corresponding to the component includes:
determining a setting item corresponding to the component according to the package name;
and jumping to the page of the setting item in the system setting of the test terminal equipment.
Further, the test terminal device is a rack device, the management program is a rack program installed on the rack device, and the rack program is used for receiving an instruction sent by a remote client to simulate a user operation on the rack device.
In a second aspect, an embodiment of the present disclosure provides a device for setting and managing test terminal devices, which operates on a cloud test platform, where the cloud test platform includes at least one test terminal device, and the device for setting and managing test terminal devices includes:
the event information receiving module is used for receiving a setting instruction of the remote terminal equipment so as to trigger the system of the test terminal equipment to send out event information;
the setting page skipping module is used for skipping to a setting page in response to receiving first event information triggered by system setting; the setting page comprises components corresponding to setting items in the system setting;
the type determining module is used for determining the type of the setting item corresponding to the component in response to receiving the triggered second event information of the component;
the authentication page display module is used for displaying an authentication page when the type of the setting item is a sensitive setting item;
the setting item page display module is used for responding to the right authentication information received in the authentication page and displaying the page of the setting item corresponding to the component;
when the setting type is a non-sensitive setting item, displaying a page of the setting item corresponding to the component; wherein the page of the setting item is generated by a system of the terminal equipment. Further, the event information receiving module is further configured to: receiving a setting instruction of remote terminal equipment; a management program installed in the test terminal monitors event information sent by a system of the terminal equipment by using a monitoring subprogram; wherein the listening sub-program receives event information indicating a change in the status of a user page issued by the system using a service provided by the system.
Further, the page jump setting module is further configured to:
acquiring a setting item in system setting in response to receiving first event information triggered by the system setting;
generating a setting page according to the setting item and displaying the setting page; alternatively, the first and second electrodes may be,
and in response to receiving the first event information triggered by the system setting, acquiring and displaying a pre-generated setting page.
Further, the type determination module is further configured to:
analyzing the second event information to obtain a package name of the second event information;
and determining the type of the setting item corresponding to the component according to the package name.
Further, the setting management device of the test terminal device further includes:
the instruction sending module is used for sending an authentication information generation instruction to the server side when the type of the setting item is a sensitive setting item; and the authentication information generation instruction enables the server to generate the authentication information according to the information of the test terminal equipment and the generation time of the instruction.
Further, the setting item page display module is further configured to: determining a setting item corresponding to the component according to the package name; and jumping to the page of the setting item in the system setting of the test terminal equipment.
Further, the test terminal device is a rack device, the management program is a rack program installed on the rack device, and the rack program is configured to receive an instruction sent by a remote user to simulate an operation of the user on the rack device.
In a third aspect, an embodiment of the present disclosure provides an electronic device, including: at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of setting management of the test terminal device of any of the preceding first aspects.
In a fourth aspect, the present disclosure provides a non-transitory computer-readable storage medium, which stores computer instructions for causing a computer to execute the setting management method of the test terminal device according to any one of the foregoing first aspects.
The embodiment of the disclosure discloses a setting management method and device for test terminal equipment, electronic equipment and a computer readable storage medium. The setting management method of the test terminal equipment comprises the following steps: triggering a system of the test terminal equipment to send event information; jumping to a setting page in response to receiving first event information indicating that system setting is triggered; in response to receiving second event information indicating that the component is triggered, determining the type of a setting item corresponding to the component; when the type of the setting item is a sensitive setting item, displaying an authentication page; responding to the right authentication information received in the authentication page, and displaying the page of the setting item corresponding to the component; and when the type of the setting item is a non-sensitive setting item, displaying a page of the setting item corresponding to the component. The method solves the problem of how to lead the user to modify the set content of the equipment in a limited way by limiting the operation of the system setting in the management program.
The foregoing description is only an overview of the technical solutions of the present disclosure, and in order to make the technical means of the present disclosure more clearly understood, the present disclosure may be implemented in accordance with the content of the description, and in order to make the above and other objects, features, and advantages of the present disclosure more clearly understood, the following preferred embodiments are specifically illustrated below, and the detailed description is given in conjunction with the accompanying drawings.
Drawings
The above and other features, advantages, and aspects of embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that elements and features are not necessarily drawn to scale.
Fig. 1 is a schematic flowchart of a setting management method for a test terminal device according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of a further method for setting management of a test terminal device according to an embodiment of the present disclosure;
FIG. 3 is a schematic diagram of an application scenario of an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of an embodiment of a setting management apparatus of a test terminal device according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order, and/or performed in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the following description.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence of the functions performed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
The names of messages or information of the setting management of the terminal device among the plurality of apparatuses in the embodiment of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
Fig. 1 is a flowchart of an embodiment of a setting management method for a test terminal device according to an embodiment of the present disclosure, where the setting management method for the test terminal device according to this embodiment may be executed by a setting management apparatus for the test terminal device, where the setting management apparatus for the test terminal device may be implemented as software, or implemented as a combination of software and hardware, and the setting management apparatus for the test terminal device may be integrated in a certain device in a setting management system for the test terminal device, such as a setting management server for the test terminal device or a setting management test terminal device for the test terminal device. In the present disclosure, the setting management method for the test terminal device operates in a cloud test platform, and the cloud test platform includes at least one test terminal device. As shown in fig. 1, the method comprises the steps of:
step S101, receiving a setting instruction of a remote terminal device to trigger a system of the test terminal device to send event information.
The test terminal equipment is provided with a management program in advance, and the management program is used for monitoring event information sent by a system of the test terminal equipment. And the user sets the test terminal equipment through a setting instruction of the remote terminal equipment so as to trigger a system of the test terminal equipment to send event information.
Optionally, the step S101 includes:
receiving a setting instruction of remote terminal equipment;
a management program installed in the test terminal monitors event information sent by a system of the terminal equipment by using a monitoring subprogram; wherein the listening sub-program receives event information indicating a change in the status of a user page issued by the system using a service provided by the system.
Optionally, the management program includes a monitoring subprogram, and the management program monitors event information sent by a system of the test terminal device by using the monitoring subprogram. The operation in the test terminal device can cause the change of the user interface of the test terminal device, the event information represents the change of the user interface, such as the change of the focus, the change of the input content, the click of the button and the like, and the monitoring program can acquire the current active page and search the content in the current active page; or receiving the event information sent by the system, that is, the listener may actively monitor the change of the user interface, or the system actively sends the event information generated by the change of the user interface to the listener.
Optionally, the monitoring subprogram receives event information sent by the system and indicating the change of the user page state by using the service provided by the system.
Illustratively, a system in the test terminal device is an Android system, and the Android system provides AccessibilityService (barrier-free auxiliary service) to receive event information which is sent by the system and represents a user page state change. According to the characteristic, the service similar to the accessitivyservice can be used in the management program to realize the monitoring subprogram so as to monitor the event information in the test terminal equipment.
Returning to fig. 1, the method for setting and managing test terminal equipment further includes, in step S102, jumping to a setting page in response to receiving first event information indicating that system setting is triggered; wherein the setting page comprises components corresponding to setting items in the system setting.
Through the event information, the triggered function in the user interface can be determined. Such as program buttons or icons that include system settings in the user interface, typically when the user clicks on the button or icon, the system provides an interface to the system settings program. However, the system settings include many sensitive setting items, such as wireless local area network setting items, cellular network setting items, privacy setting items, and the like used by the test terminal device; therefore, in the present disclosure, after receiving the first event information indicating that the system setting is triggered, the user jumps to a setting page generated by the management program to limit the user's operation within the management program, and the management of the management program is accepted, wherein the setting page includes components, such as buttons, selection frames, sliders and the like, corresponding to setting items in the system setting, and the components are used for setting information or properties of the system, and the like.
Optionally, the step S102 further includes:
acquiring a setting item in system setting in response to receiving first event information indicating that the system setting is triggered;
generating a setting page according to the setting items and displaying the setting page; alternatively, the first and second electrodes may be,
and in response to receiving first event information indicating that system setting is triggered, acquiring and displaying a pre-generated setting page.
In the above alternative embodiment, the setting page is displayed in two ways. The first method is that setting items in system setting are dynamically acquired, then the setting page is generated and displayed according to the setting items in the system setting in the current test terminal device, so that the management program can dynamically adapt to the test terminal devices of different systems, the system setting items provided in the system are acquired through an interface provided by the system of the test terminal device, and then the setting page is generated, so that the displayed setting pages may be different after the management program is installed on the test terminal devices of different systems, and developers do not need to develop the management program for multiple times aiming at different systems. The second method is to generate a setting page in advance, at this time, different setting pages can be generated in advance according to different systems, or a fixed setting item is preset to generate the setting page in advance, so that when the first event information is received, the preset page can be obtained and displayed, the speed of displaying the setting page in this way is high, and some setting items which do not want to be operated by a user can be shielded by setting the setting item to be displayed in advance.
Returning to fig. 1, the method for setting and managing the test terminal device further includes, in response to receiving second event information indicating that the component is triggered, determining a type of the setting item corresponding to the component in step S103.
After the setting page is displayed, a user can select one component on the setting page to operate, such as clicking a button, clicking a selection frame, sliding a slider and the like, so that the component is triggered, the system sends out second event information, when the monitoring subprogram receives the second event information, the type of a setting item corresponding to the triggered component is firstly determined, the type of the setting item comprises a sensitive setting item and a non-sensitive setting item, wherein the sensitive setting item is a setting item for changing the information or the attribute of the test terminal equipment, such as a wireless local area network setting item, a cellular network setting item, a privacy setting item and the like used by the test terminal equipment, and the setting items can influence the operation of other users and therefore cannot be modified at will; the non-sensitive setting items are setting items which do not affect the information or the attribute of the test terminal equipment, such as setting items of the sound size, the screen brightness and the like of the test terminal equipment, and the subsequent operations of other users are not affected by the setting items, so that the user can operate the setting items as required.
Optionally, the determining the type of the setting item corresponding to the component includes:
step S201, analyzing the second event information to obtain a package name of the second event information;
and S202, determining the type of the setting item corresponding to the component according to the package name.
In this optional embodiment, the second event information includes an information packet, where the information packet includes a packet name, and the packet name is related to a name of a setting item corresponding to the component. For example, the package name includes the name of the setting item, so that the name of the setting item can be obtained by parsing the package name of the second event information, and the type of the setting item can be obtained by the name of the setting item. The type of the setting item is a preset sensitive setting item or a preset non-sensitive setting item. Illustratively, a name set of the sensitive setting item may be preset, and if a package name matched with a name in the name set of the sensitive setting item exists in the package names analyzed in this step, the type of the setting item corresponding to the component is the sensitive setting item; and if the analyzed package name does not have a package name matched with the name in the name set of the sensitive setting item, the type of the setting item corresponding to the component is the non-sensitive setting item.
Returning to fig. 1, the method for setting and managing the test terminal device further includes, in step S104, when the type of the setting item is a sensitive setting item, displaying an authentication page.
Since the sensitive settings cannot be modified at will, the hypervisor generates and displays an authentication page. Illustratively, the authentication page includes a password input box for inputting a password to determine whether the user has the right to operate the setting item of the first type.
Optionally, the method further includes: when the type of the setting item is a sensitive setting item, sending an authentication information generation instruction to a server; and the authentication information generation instruction enables the server to generate the authentication information according to the information of the test terminal equipment and the generation time of the instruction.
When the type of the setting item is determined to be a sensitive setting item, the management program simultaneously sends an authentication information generation instruction to a server, and the server is used for generating authentication information according to the authentication information generation instruction; the authentication information generation instruction comprises information of the test terminal equipment, such as an ID of the test terminal equipment, and generation time of the authentication information generation instruction, the generation time represents system time of the test terminal equipment when the authentication information generation instruction is generated, and the server side generates the authentication information through the ID of the test terminal equipment and the generation time. Therefore, one-time authentication information can be generated, and the authentication information only aims at the setting item corresponding to the second event information. The authentication information is managed by a manager of the server, the user applies for using the authentication information to the manager of the server, and if the manager of the server considers that the user has the right to use the corresponding setting item, the authentication information is sent to the user.
Returning to fig. 1, the method for setting and managing the test terminal device further includes step S105, in response to receiving the correct authentication information in the authentication page, displaying a page of the setting item corresponding to the component.
And when the authentication information is received in the authentication page, judging whether the received authentication information is the same as the authentication information generated by the server side, if so, judging that the received authentication information is correct authentication information, and if not, judging that the received authentication information is incorrect authentication information.
Wherein, the determining whether the received authentication information is the same as the authentication information generated by the server may include: sending the received authentication information to a server, and judging whether the received authentication information is the same as the authentication information generated by the server or not through the server; or, receiving the authentication information sent by the server, and judging whether the authentication information received from the authentication page is the same as the authentication information received from the server.
If the setting items are the same, displaying a page of the setting item corresponding to the component, and further setting the system of the test terminal equipment on the page of the setting item by a user.
And if the setting items are different, displaying a rejection page, and displaying rejection information or rejection reasons and the like in the rejection page to prompt the user that the user cannot operate the setting items.
Returning to fig. 1, the method for setting and managing test terminal equipment further includes, in step S106, when the type of the setting item is the second type, displaying a page of the setting item corresponding to the component; wherein the page of the setting item is generated by the system of the test terminal equipment.
If the type of the setting item is determined to be a non-sensitive setting item in step S103, displaying a page of the setting item corresponding to the component. That is, if the setting item is a non-sensitive setting item, the corresponding setting item page is directly displayed to receive subsequent operations of the user. In step S105 and step S106, the page of the setting item is generated by the system of the test terminal device, that is, by the system setting program of the test terminal device, that is, after the setting item to be operated by the user is determined and the user has the authority to operate the setting item, the corresponding setting item page may be continuously provided by the system setting program of the test terminal device itself.
Optionally, the displaying the page of the setting item corresponding to the component includes:
determining a setting item corresponding to the component according to the package name;
and jumping to the page of the setting item in the system setting of the test terminal equipment.
That is, the setting item may be determined according to the package name analyzed in step S201, and then jump to the page of the setting item provided by the system setting program, so that the user may operate the setting item.
Optionally, the test terminal device is a rack device, the management program is a rack program installed on the rack device, and the rack program is configured to receive an instruction sent by a remote user to simulate an operation of the user on the rack device.
In the above steps S101 to S106, event information sent by the system in the test terminal device is monitored through the management program, where the event information describes a change occurring in the test terminal device, and the operation of setting the system is firstly limited in the management program, the user is authenticated through the management program, and then a corresponding setting item is opened for the user who passes the authentication, so as to solve the problem that the user cannot modify the setting content of the device to a limited extent.
Fig. 3 is a schematic view of an application scenario according to an embodiment of the present disclosure. As shown in fig. 3, the application scenario is a cloud-to-real-machine testing platform, where 301 is a cloud-to-real-machine, that is, a rack device, where the rack device 301 includes a plurality of tested mobile terminals, and each mobile terminal is pre-installed with a rack program for receiving an instruction sent by a rack use user to simulate a sliding, clicking or other operation actions. Device 302 is a local management device of the rack and device 303 is a remote use device of the rack. The user sends an instruction to the device 302 through the device 303, for example, selects one of the rack devices 301, and opens the system setting, the device 302 parses the instruction and sends the instruction to the corresponding rack device 301, and the rack program in the rack device 301 receives the instruction of the device 302 and simulates sliding and clicking of the user to operate the rack device 301. The rack device 301 includes an operating system, such as an android system, and the rack program monitors the operation of the user on the rack device 301, and when it is monitored that the user clicks the system setting, the rack program generates a setting page to be displayed to the user instead of the page of the system setting, so as to limit the operation of the user in the rack program. When the user then selects the button for setting the sensitive setting item in the page, the rack program generates a password page prompting the user to enter a password. At this time, the user obtains the password through other ways, such as contacting with an administrator of the rack device, or automatically obtaining the password required by the password page through authentication of a management platform of the rack device; and then the user inputs a password, and the rack program jumps to the page of the corresponding setting item, so that the user can use the page provided by the system setting to operate the setting item.
The embodiment of the disclosure discloses a setting management method and device for test terminal equipment, electronic equipment and a computer readable storage medium. The setting management method of the test terminal equipment comprises the following steps: triggering a system of the test terminal equipment to send event information; jumping to a setting page in response to receiving first event information indicating that system setting is triggered; in response to receiving second event information indicating that the component is triggered, determining the type of a setting item corresponding to the component; when the type of the setting item is a sensitive setting item, displaying an authentication page; responding to the right authentication information received in the authentication page, and displaying the page of the setting item corresponding to the component; and when the type of the setting item is a non-sensitive setting item, displaying a page of the setting item corresponding to the component. The method solves the problem of how to lead the user to modify the set content of the equipment in a limited way by limiting the operation of the system setting in the management program.
In the above, although the steps in the above method embodiments are described in the above sequence, it should be clear to those skilled in the art that the steps in the embodiments of the present disclosure are not necessarily performed in the above sequence, and may also be performed in other sequences such as reverse, parallel, and cross, and further, on the basis of the above steps, other steps may also be added by those skilled in the art, and these obvious modifications or equivalents should also be included in the protection scope of the present disclosure, and are not described herein again.
Fig. 4 is a schematic structural diagram of an embodiment of a setting management apparatus for a test terminal device according to an embodiment of the present disclosure, and as shown in fig. 4, the apparatus 400 includes: an event information receiving module 401, a setting page skip module 402, a type determining module 403, an authentication page displaying module 404, and a setting item page displaying module 405. Wherein, the first and the second end of the pipe are connected with each other,
an event information receiving module 401, configured to receive a setting instruction of a remote terminal device to trigger a system of the test terminal device to send event information;
a setting page skip module 402, configured to skip to a setting page in response to receiving first event information triggered by system setting; the setting page comprises components corresponding to setting items in the system setting;
a type determining module 403, configured to determine, in response to receiving the triggered second event information of the component, a type of a setting item corresponding to the component;
an authentication page display module 404, configured to display an authentication page when the type of the setting item is a sensitive setting item;
a setting item page display module 405, configured to respond to receiving correct authentication information in the authentication page, and display a page of a setting item corresponding to the component; when the setting type is a non-sensitive setting item, displaying a page of the setting item corresponding to the component; wherein the page of the setting item is generated by a system of the terminal device.
Further, the event information receiving module 401 is further configured to: receiving a setting instruction of remote terminal equipment; a management program installed in the test terminal monitors event information sent by a system of the terminal equipment by using a monitoring subprogram; wherein the listening sub-program receives event information indicating a change in the status of a user page issued by the system using a service provided by the system.
Further, the set page jump module 402 is further configured to:
acquiring a setting item in system setting in response to receiving first event information that the system setting is triggered;
generating a setting page according to the setting items and displaying the setting page; alternatively, the first and second electrodes may be,
and in response to receiving the first event information triggered by the system setting, acquiring and displaying a pre-generated setting page.
Further, the type determining module 403 is further configured to:
analyzing the second event information to obtain a package name of the second event information;
and determining the type of the setting item corresponding to the component according to the package name.
Further, the apparatus 400 for setting and managing test terminal device further includes:
the instruction sending module is used for sending an authentication information generation instruction to the server side when the type of the setting item is a sensitive setting item; and the authentication information generation instruction enables the server to generate the authentication information according to the information of the test terminal equipment and the generation time of the instruction.
Further, the setting item page display module 405 is further configured to: determining a setting item corresponding to the component according to the package name; and jumping to the page of the setting item in the system setting of the test terminal equipment.
Further, the test terminal device is a rack device, the management program is a rack program installed on the rack device, and the rack program is used for receiving an instruction sent by a remote user to simulate the operation of the user on the rack device.
The apparatus shown in fig. 4 can perform the method of the embodiment shown in fig. 1 and 2, and the detailed description of this embodiment can refer to the related description of the embodiment shown in fig. 1 and 2. The implementation process and technical effect of the technical solution refer to the description in the embodiment shown in fig. 1 and fig. 2, and are not described herein again.
Referring now to fig. 5, a schematic diagram of an electronic device (e.g., a terminal device or a server) 500 suitable for use in implementing embodiments of the present disclosure is shown. The terminal device in the embodiments of the present disclosure may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle terminal (e.g., a car navigation terminal), and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. The electronic device shown in fig. 5 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 5, electronic device 500 may include a processing means (e.g., central processing unit, graphics processor, etc.) 501 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM) 502 or a program loaded from a storage means 508 into a Random Access Memory (RAM) 503. In the RAM 503, various programs and data necessary for the operation of the electronic apparatus 500 are also stored. The processing device 501, the ROM 502, and the RAM 503 are connected to each other through a bus 504. An input/output (I/O) interface 505 is also connected to bus 504.
Generally, the following devices may be connected to the I/O interface 505: input devices 506 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 507 including, for example, a Liquid Crystal Display (LCD), speakers, vibrators, and the like; storage devices 508 including, for example, magnetic tape, hard disk, etc.; and a communication device 509. The communication means 509 may allow the electronic device 500 to communicate with other devices wirelessly or by wire to exchange data. While fig. 5 illustrates an electronic device 500 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, the processes described above with reference to the flow diagrams may be implemented as computer software programs, according to embodiments of the present disclosure. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a non-transitory computer readable medium, the computer program containing program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication means 509, or installed from the storage means 508, or installed from the ROM 502. The computer program performs the above-described functions defined in the methods of the embodiments of the present disclosure when executed by the processing device 501.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network Protocol, such as HTTP (HyperText Transfer Protocol), and may interconnect with any form or medium of digital data communication (e.g., a communications network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: the method for setting and managing the test terminal device described in any of the above embodiments is performed.
Computer program code for carrying out operations for the present disclosure may be written in any combination of one or more programming languages, including but not limited to an object oriented programming language such as Java, smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software or hardware. Where the name of an element does not in some cases constitute a limitation on the element itself.
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems on a chip (SOCs), complex Programmable Logic Devices (CPLDs), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
According to one or more embodiments of the present disclosure, there is provided an electronic device including: at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executable by the at least one processor to enable the at least one processor to perform any of the foregoing method of setting management of the test terminal device.
According to one or more embodiments of the present disclosure, there is provided a non-transitory computer-readable storage medium characterized by storing computer instructions for causing a computer to execute a setting management method of any one of the aforementioned test terminal devices.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other combinations of features described above or equivalents thereof without departing from the spirit of the disclosure. For example, the above features and the technical features disclosed in the present disclosure (but not limited to) having similar functions are replaced with each other to form the technical solution.

Claims (10)

1. A setting management method of a test terminal device runs on a cloud test platform, wherein the cloud test platform comprises at least one test terminal device, and the setting management method of the test terminal device is characterized by comprising the following steps:
receiving a setting instruction of a remote terminal device to trigger a system of the test terminal device to send event information;
jumping to a setting page in response to receiving first event information indicating that system setting is triggered; the setting page comprises components corresponding to setting items in the system setting;
in response to receiving second event information indicating that the component is triggered, determining the type of a setting item corresponding to the component;
when the type of the setting item is a sensitive setting item, displaying an authentication page;
responding to the received correct authentication information in the authentication page, and displaying a page of the setting item corresponding to the component;
when the type of the setting item is a non-sensitive setting item, displaying a page of the setting item corresponding to the component; wherein the page of the setting item is generated by a system of the terminal device.
2. The method of claim 1, wherein the receiving of the setting instruction of the remote terminal device to trigger the system of the test terminal device to issue event information comprises:
receiving a setting instruction of remote terminal equipment;
a management program installed in the test terminal monitors event information sent by a system of the terminal equipment by using a monitoring subprogram; wherein the listening sub-program receives event information indicating a change in the status of a user page issued by the system using a service provided by the system.
3. The method of claim 1, wherein said jumping to a settings page in response to receiving first event information that a system setting is triggered comprises:
acquiring a setting item in system setting in response to receiving first event information triggered by the system setting;
generating a setting page according to the setting items and displaying the setting page; alternatively, the first and second liquid crystal display panels may be,
and acquiring and displaying a pre-generated setting page in response to receiving first event information triggered by system setting.
4. The method of claim 1, wherein determining the type of the setting item corresponding to the component comprises:
analyzing the second event information to obtain a package name of the second event information;
and determining the type of the setting item corresponding to the component according to the package name.
5. The method of claim 1, wherein the method further comprises:
when the type of the setting item is a sensitive setting item, sending an authentication information generation instruction to a server; and the authentication information generation instruction enables the server to generate the authentication information according to the information of the test terminal equipment and the generation time of the instruction.
6. The method of claim 4, wherein the displaying the page of the setting item corresponding to the component comprises:
determining a setting item corresponding to the component according to the package name;
and jumping to the page of the setting item in the system setting of the test terminal equipment.
7. The method of claim 2, wherein: the test terminal device is a rack device, the management program is a rack program installed on the rack device, and the rack program is used for receiving an instruction sent by a remote client to simulate the operation of a user on the rack device.
8. A setting management method device of a test terminal device runs on a cloud test platform, wherein the cloud test platform comprises at least one test terminal device, and the setting management device of the test terminal device comprises:
the event information receiving module is used for receiving a setting instruction of the remote terminal equipment so as to trigger the system of the test terminal equipment to send out event information;
the setting page jumping module is used for jumping to a setting page in response to receiving first event information triggered by system setting; the setting page comprises components corresponding to setting items in the system setting;
the type determining module is used for determining the type of the setting item corresponding to the component in response to receiving the second event information triggered by the component;
the authentication page display module is used for displaying an authentication page when the type of the setting item is a sensitive setting item;
the setting item page display module is used for responding to the right authentication information received in the authentication page and displaying the page of the setting item corresponding to the component;
when the setting type is a non-sensitive setting item, displaying a page of the setting item corresponding to the component; wherein the page of the setting item is generated by a system of the terminal equipment.
9. An electronic device, comprising:
a memory for storing computer readable instructions; and
a processor for executing the computer readable instructions, such that the processor when executed implements the method of any of claims 1-7.
10. A non-transitory computer readable storage medium storing computer readable instructions which, when executed by a computer, cause the computer to perform the method of any one of claims 1-7.
CN202110666003.9A 2021-06-16 2021-06-16 Setting management method and device of test terminal equipment and electronic equipment Pending CN115481376A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110666003.9A CN115481376A (en) 2021-06-16 2021-06-16 Setting management method and device of test terminal equipment and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110666003.9A CN115481376A (en) 2021-06-16 2021-06-16 Setting management method and device of test terminal equipment and electronic equipment

Publications (1)

Publication Number Publication Date
CN115481376A true CN115481376A (en) 2022-12-16

Family

ID=84419547

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110666003.9A Pending CN115481376A (en) 2021-06-16 2021-06-16 Setting management method and device of test terminal equipment and electronic equipment

Country Status (1)

Country Link
CN (1) CN115481376A (en)

Similar Documents

Publication Publication Date Title
CN111459364B (en) Icon updating method and device and electronic equipment
CN112953791B (en) Network detection method and device, electronic equipment and computer readable storage medium
CN110781432A (en) Page jump method and device, electronic equipment and computer readable storage medium
CN112487451B (en) Display method and device and electronic equipment
JP7480344B2 (en) Information display method, device and electronic device
US11809690B2 (en) Human-computer interaction method and apparatus, and electronic device
CN111596991A (en) Interactive operation execution method and device and electronic equipment
CN113806212A (en) Application program exception positioning method and device and electronic equipment
CN110837534A (en) Data list display method, device, equipment and storage medium
CN114741292A (en) Test script management method and device, electronic equipment and storage medium
CN112256171A (en) Method, device, terminal and storage medium for presenting information in screen locking interface
CN115022106B (en) Group information processing method, device, equipment and medium
CN113138707B (en) Interaction method, interaction device, electronic equipment and computer-readable storage medium
CN111382039A (en) Method, device, electronic equipment and storage medium for reporting user behavior event
CN113391856B (en) Cross-task-stack page processing method, device, equipment and medium
CN115033469A (en) Website system performance test method and device, equipment and storage medium
CN115481376A (en) Setting management method and device of test terminal equipment and electronic equipment
CN115526953A (en) Method and device for generating view, electronic equipment and storage medium
CN114138149A (en) Data screening method and device, readable medium and electronic equipment
CN115391770A (en) Program monitoring method, device, electronic equipment and computer readable storage medium
CN114489891A (en) Control method, system, device, readable medium and equipment of cloud application program
CN114089891A (en) Display control method and device and electronic equipment
CN112148417A (en) Page adjusting method and device, electronic equipment and computer readable medium
CN112162682A (en) Content display method and device, electronic equipment and computer readable storage medium
CN112306858A (en) Test method and device and electronic equipment

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