CN109656573B - System installation method and device, electronic equipment and computer readable storage medium - Google Patents

System installation method and device, electronic equipment and computer readable storage medium Download PDF

Info

Publication number
CN109656573B
CN109656573B CN201811415728.5A CN201811415728A CN109656573B CN 109656573 B CN109656573 B CN 109656573B CN 201811415728 A CN201811415728 A CN 201811415728A CN 109656573 B CN109656573 B CN 109656573B
Authority
CN
China
Prior art keywords
test
tested
information
testing
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.)
Active
Application number
CN201811415728.5A
Other languages
Chinese (zh)
Other versions
CN109656573A (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.)
Oppo Chongqing Intelligent Technology Co Ltd
Original Assignee
Oppo Chongqing Intelligent 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 Oppo Chongqing Intelligent Technology Co Ltd filed Critical Oppo Chongqing Intelligent Technology Co Ltd
Priority to CN201811415728.5A priority Critical patent/CN109656573B/en
Publication of CN109656573A publication Critical patent/CN109656573A/en
Application granted granted Critical
Publication of CN109656573B publication Critical patent/CN109656573B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2273Test methods

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Stored Programmes (AREA)

Abstract

The application relates to a system installation method, a device, an electronic device and a computer readable storage medium, wherein the method comprises the following steps: acquiring test environment information for testing a device to be tested; determining a test operation system according to the test environment information, and installing the test operation system; and generating a system file according to the installed test operation system, and uploading the system file to a server for storage, wherein the system file is used for indicating the test terminal or other test terminals to install the test operation system. The system installation method, the system installation device, the electronic equipment and the computer readable storage medium can improve the system installation efficiency.

Description

System installation method and device, electronic equipment and computer readable storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a system installation method and apparatus, an electronic device, and a computer-readable storage medium.
Background
Before the electronic device is shipped, the electronic device is generally tested. The test can detect whether the electronic equipment meets the production standard or not, and can also detect the problems possibly generated in the use process of the electronic equipment, thereby ensuring that the electronic equipment can be normally used after leaving the factory. The test of the electronic equipment can be divided into hardware test and software test, and in the process of testing the electronic equipment, data can be obtained through the test terminal and analyzed and processed to obtain a test result.
Disclosure of Invention
The embodiment of the application provides a system installation method and device, electronic equipment and a computer readable storage medium, and can improve the system installation efficiency.
A system installation method, comprising:
acquiring test environment information for testing a device to be tested;
determining a test operation system according to the test environment information, and installing the test operation system;
and generating a system file according to the installed test operation system, and uploading the system file to a server for storage, wherein the system file is used for indicating the test terminal or other test terminals to install the test operation system.
A system installation apparatus comprising:
the information acquisition module is used for acquiring test environment information for testing the equipment to be tested;
the system installation module is used for determining a test operation system according to the test environment information and installing the test operation system;
and the file storage module is used for generating a system file according to the installed test operation system and uploading the system file to a server for storage, wherein the system file is used for indicating the test terminal or other test terminals to install the test operation system.
An electronic device comprising a memory and a processor, the memory having stored therein a computer program that, when executed by the processor, causes the processor to perform the steps of:
acquiring test environment information for testing a device to be tested;
determining a test operation system according to the test environment information, and installing the test operation system;
and generating a system file according to the installed test operation system, and uploading the system file to a server for storage, wherein the system file is used for indicating the test terminal or other test terminals to install the test operation system.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
acquiring test environment information for testing a device to be tested;
determining a test operation system according to the test environment information, and installing the test operation system;
and generating a system file according to the installed test operation system, and uploading the system file to a server for storage, wherein the system file is used for indicating the test terminal or other test terminals to install the test operation system.
According to the system installation method, the system installation device, the electronic equipment and the computer readable storage medium, the test terminal obtains test environment information for testing the equipment to be tested, determines and installs the corresponding test operation system according to the environment test information, and uploads a system file generated by the installed test operation system to the server for storage. Therefore, the test terminal or other test terminals can directly install the test operation system according to the system file without repeatedly acquiring the test environment information and improving the installation efficiency of the test operation system according to the test environment information.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a diagram of an application environment of a system installation method in one embodiment;
FIG. 2 is a flow diagram of a system installation method in one embodiment;
FIG. 3 is a flow chart of a system installation method in another embodiment;
FIG. 4 is a diagram illustrating an embodiment of a test terminal testing a device under test;
FIG. 5 is a flow chart of a system installation method in yet another embodiment;
FIG. 6 is a block diagram of the structure of a system installation apparatus of an embodiment;
fig. 7 is a block diagram of a partial structure of a mobile phone related to an electronic device provided in an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
It will be understood that, as used herein, the terms "first," "second," and the like may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish one element from another. For example, the first drive tool information may be referred to as second drive tool information, and similarly, the second drive tool information may be referred to as first drive tool information, without departing from the scope of the present application. The first driving tool information and the second driving tool information are both driving tool information, but are not the same driving tool information.
FIG. 1 is a diagram of an application environment of a system installation method in one embodiment. As shown in fig. 1, the application environment includes a device under test 102, a test terminal 104, and a server 106. The device under test 102 may be connected to a test terminal 104, the test terminal 104 being connected to a server 106. Specifically, the test terminal 104 may obtain test environment information for testing the device under test 102, determine a test operation system according to the test environment information, and install the test operation system. After the test run system is installed, a system file may be generated according to the installed test run system, and the system file may be uploaded to the server 106 for storage. After the server 106 stores the system files, the test terminal 104 or other test terminals may download the system files from the server 106 and then install the test run system according to the system files.
FIG. 2 is a flow diagram of a system installation method in one embodiment. As shown in fig. 2, the system installation method includes steps 202 to 206. Wherein:
step 202, test environment information for testing the device to be tested is obtained.
Specifically, the device to be tested may be an electronic device such as a mobile phone, a computer, a wearable device, a refrigerator, or a washing machine, which is not limited herein. The test terminal can test the device to be tested so as to judge whether the device to be tested meets the production standard of the device and find some possible problems of the device to be tested in the using process. It is to be understood that the test terminal may be other terminal devices for testing the device to be tested, or may be the terminal to be tested itself, which is not limited herein. The test of the test terminal on the device to be tested may include a software test for testing software installed in the device to be tested and a hardware test for testing hardware of the device to be tested.
In an embodiment, when the test terminal tests the device to be tested, the test terminal may be connected to the device to be tested, and may be connected in a wireless manner or in a wired manner, which is not limited to this. The test environment information refers to information related to a system environment in which the test terminal tests the device to be tested. For example, the test environment information may include information of a test tool installed in the test terminal, information of a driving tool with which the test terminal communicates with the device to be tested, and the like.
When the test terminal acquires the test environment information, the test environment information can be manually input by a user, the test environment information locally stored by the test terminal can be automatically acquired, and the test environment information can be sent by a device to be tested or a server without limitation. For example, the test terminal may locally and correspondingly store the device identifier and the test environment information of the device to be tested, and the test terminal may obtain the device identifier of the device to be tested connected to the test terminal, then identify the device identifier of the device to be tested, and obtain the corresponding test environment information according to the identified device identifier.
And step 204, determining a test operation system according to the test environment information, and installing the test operation system.
In one embodiment, the test run system refers to an operating system installed in a test terminal for testing, for example, the test run system may be a system such as Windows, Linux, Mac, Chrome, and the like, which is not limited herein.
After the test environment information is acquired, the test environment of the test terminal when testing the device to be tested can be acquired according to the test environment information, then the test operation system of the test terminal is determined according to the test environment, and the determined test operation system is installed. For example, the device to be tested may be a mobile phone, and the mobile phone driver may be a driver of a high-pass system, or may be a driver of an mtk (media tek) system, where different drivers are applicable to different test running systems.
And step 206, generating a system file according to the installed test operation system, and uploading the system file to a server for storage, wherein the system file is used for indicating a test terminal or other test terminals to install the test operation system.
After the test terminal installs the test operation system, a system file can be generated according to the installed test operation system, and then the system file is uploaded to the server for backup. After the server stores the system file backup, the test terminal or other test terminals can acquire the system file from the server. After the system file is obtained, the test operation system can be directly installed according to the obtained system file without obtaining test environment information, and then the system is installed according to the test environment information.
In an embodiment, the step of generating the system file may specifically include: and carrying out mirror image processing on the installed test running system to generate a system file. Specifically, the installed test running System may be subjected to mirroring processing through Ghost (General Hardware guided System Transfer), so as to generate a System file for backup on the server, which is not limited herein.
In the system installation method provided by the embodiment, the test terminal obtains the test environment information for testing the device to be tested, determines and installs the corresponding test operation system according to the environment test information, and uploads the system file generated by the installed test operation system to the server for storage. Therefore, the test terminal or other test terminals can directly install the test operation system according to the system file without repeatedly acquiring the test environment information and improving the installation efficiency of the test operation system according to the test environment information.
Fig. 3 is a flowchart of a system installation method in another embodiment. As shown in fig. 3, the system installation method includes steps 302 to 314. Wherein:
step 302, testing the device to be tested through the original testing system installed in the testing terminal.
In one embodiment, after the system is installed in the test terminal, the system installed in the test terminal can be updated by a user, or the system can be automatically updated by the test terminal. For example, an update time may be set, and after the update time is reached, the test terminal automatically updates the installed system. The test terminal can also test the equipment to be tested through the installed system, and when the test is wrong, the installed system is updated.
Specifically, an original test system is installed in the test terminal, and then the device to be tested is tested through the installed original test system. The original test system is a test operation system installed last time according to the test environment information, the original test system is used for testing the equipment to be tested, and if the test is not wrong, the original test system can be used for testing the equipment to be tested to obtain a test result. If the test is wrong, the original test system is required to be updated, which indicates that the original test system cannot test the device to be tested.
Step 304, when the test terminal detects that the test of the device to be tested is reported incorrectly, obtaining test environment information of the test terminal for testing the device to be tested.
If the test terminal reports errors when the original test system tests the equipment to be tested, the test terminal can acquire test environment information for testing the equipment to be tested, and then the original test system is updated according to the test environment information. For example, after the device to be tested is updated, the testing environment for testing the device to be tested may change, which means that the system installed last time may not be compatible with the updated device to be tested, and then the testing terminal needs to update the system for testing the device to be tested.
And step 306, determining a test operation system according to the test environment information, and installing the test operation system.
Specifically, the test environment information may include first driving tool information and test tool information, where the first driving tool information is used to indicate information of a driving tool used by the test terminal to communicate with the device to be tested, and specifically may be an identifier of the driving tool used by the test terminal to communicate with the device to be tested, but is not limited thereto. The test tool information is used to indicate information of a test tool used by the test terminal to test the device to be tested, and may specifically be an identifier of the test tool used by the test terminal to test the device to be tested, which is not limited to this. And determining a test operation system which can compatibly operate the first driving tool and the test tool according to the first driving tool information and the test tool information, and then updating the system through installation of the test operation system.
In other embodiments provided by the present application, the test environment information may further include second driving information. The second driving tool information is used for representing information of a driving tool of the test terminal and the test equipment, and the test equipment is used for acquiring equipment parameters of the equipment to be tested in the process of testing the equipment to be tested by the test terminal. Specifically, in the process of testing the device to be tested, the test terminal may be connected to the test device, and the test terminal may control the test device to obtain device parameters of the device to be tested. For example, the test terminal may adjust an angle, a height, etc. of the test device, thereby detecting the flatness of the surface of the device to be tested through the test device.
Specifically, when the test environment information includes the second driving tool information, the step of acquiring the test environment information may specifically include: the method comprises the steps of obtaining first driving tool information, second driving tool information and testing tool information of a device to be tested. The test terminal can determine a test operation system according to the acquired first driving tool information, second driving tool information and test tool information, and install the test operation system.
FIG. 4 is a diagram illustrating a testing terminal testing a device under test in one embodiment. As shown in fig. 4, a test terminal 402 is connected to a device under test 404 and a test device 406, respectively. The device under test 404 may be an electronic device including a camera and the testing device 406 may be a calibration board. The test terminal 402 may control the test equipment 406 to deflect at different angles, such as, but not limited to, controlling the test equipment 406 to deflect at angles of- θ °, 0 °, + θ °, and so on. The test terminal 402 may also control the camera of the device under test 404 to shoot the test device 406 at different deflection angles of the test device 406, so as to obtain an image. The obtained image is then used to test whether the image taken by the device under test 404 meets the standard.
And 308, generating a system file according to the installed test running system, and uploading the system file to a server for storage, wherein the system file is used for indicating a test terminal or other test terminals to install the test running system.
After the test terminal installs the test operation system, a system file can be generated according to the installed test operation system, and then the system file is uploaded to the server for storage. The test terminal or other test terminals uploading the system files can download the system files from the server, and then the test operation system is installed according to the downloaded system files.
For example, when the devices to be tested are produced, each device to be tested that needs to be produced is tested, and when the devices to be tested are tested, because the specifications of the produced devices to be tested are the same, the test environment information of all the produced devices to be tested is the same. If the devices to be tested are tested by the plurality of test terminals, the test environment information can be obtained through the main test terminal, the test operation system is installed according to the test environment information, the system file generated by the installed test operation system is uploaded to the server, and then other test terminals can directly download the system file to install the test operation system.
The test terminals can count the number of the devices to be tested before uploading the system files, if the number of the devices to be tested is large, a plurality of test terminals are needed for testing, and if the number of the devices to be tested is small, the testing can be completed through one test terminal, namely, the system files do not need to be uploaded to a server for backup. Step 308 may specifically include: generating a system file according to the installed test running system, and counting the number of devices to be tested; when the number of the devices is larger than the number threshold, uploading the system file to a server for storage; when the number of devices is less than or equal to the number threshold, the system file is stored in the local storage address.
For example, when the number of the devices to be tested is less than 100, the testing of the devices to be tested can be quickly completed through one testing terminal, and the system file does not need to be uploaded for backup and can be directly stored locally for backup. If the number of the devices to be tested is larger than 100, the processing capacity of one test terminal is limited, the system file can be uploaded to the server, and other test terminals can download the system file from the server and rapidly install the test running system.
In an embodiment, whether to upload the system file to the server backup may be determined according to the amount of the remaining resources of the test terminal, and if the remaining resources of the test terminal are more, it indicates that the processing capability of the test terminal is stronger, and the device to be tested may be directly tested by a small amount of test terminals. Specifically, the number threshold may be dynamically adjusted according to the remaining resources of the test terminal, and the system installation method may further include: and acquiring the residual resources of the test terminal, and acquiring a corresponding quantity threshold according to the residual resources of the test terminal. For example,
in step 310, when the test tool update is detected, the update information of the test tool is obtained.
In the embodiment provided by the application, the test operation system can be updated when the test tool is updated. When the test operation system is updated, the test operation system may be reinstalled, or a part of the installed test operation system may be updated, which is not limited herein. Specifically, when detecting that the test tool is updated, the test terminal may obtain update information of the test tool, and update the test running system according to the update information.
And step 312, updating the installed test operation system according to the update information, and generating an updated system file according to the updated test operation system.
The update information is used to indicate information of the test tool update, and specifically, the function, version, data, and the like of the test tool update may be determined according to the update information, which is not limited thereto. And according to the updating information, the test operation system can be partially updated on the basis of the installed test operation system. After the updating, an updated system file is generated according to the updated test run system.
For example, the test tool does not originally have a networking function, the updated test tool has an additional networking function, and then it can be judged according to the update information that the test tool has an additional networking function, and the installed test operation system is updated according to the update information, and then the updated test tool can be operated according to the updated test operation system.
And step 314, sending the updated system file to a server for storage.
After the test terminal obtains the updated system file, the updated system file can be sent to the server for storage. And other test terminals can download the updated system file from the server so as to update the test operation system.
In the system installation method provided by the embodiment, the test terminal obtains the test environment information for testing the device to be tested, determines and installs the corresponding test operation system according to the environment test information, and uploads the system file generated by the installed test operation system to the server for storage. After the retest tool is updated, the test terminal can update the installed test operation system according to the update information and upload the update system file to the server, so that the test terminal or other test terminals can directly install the test operation system according to the system file without repeatedly acquiring the test environment information, and the installation efficiency of the test operation system is improved according to the test environment information. Meanwhile, after the test operation system is updated, other test terminals can update the system according to the updated system file, and the installation efficiency of the test operation system is further improved.
As shown in fig. 5, in an embodiment, the system installation method may further include:
step 502, sending a file acquisition request to a server.
After the system file is generated, the identifier of the device to be tested can be obtained, and then the identifier of the device to be tested and the system file are sent to the server together. Therefore, when the system is installed, the test terminal can search the corresponding system file according to the identification of the device to be tested, and install the system according to the acquired system file. For example, the identifier of the device to be tested may be a model of the device to be tested, and the corresponding system file may be obtained according to the model of the device to be tested.
Specifically, after the server stores the system file, a file link may be generated according to the system file and a storage address of the system file on the server, and then the file link is sent to each test terminal for display, and the user may initiate a file acquisition request through the file link displayed by the test terminal.
In an embodiment, the test terminal or other test terminals that upload the system file may send a file acquisition request to the server, and after receiving the file acquisition request, the server may search for the corresponding system file according to the file acquisition request. The file acquisition request can carry information such as an identifier of the device to be tested, a test terminal identifier for sending the file acquisition request, request initiation time and the like, and after receiving the file acquisition request, the server can search a corresponding system file according to the identifier of the device to be tested.
Step 504, receiving the system file returned by the server according to the file acquisition request.
After the server finds the corresponding system file according to the file acquisition request, the server can find the test terminal sending the file acquisition request according to the test terminal identifier contained in the file acquisition request, and return the system file to the test terminal.
When the test terminal downloads the system file, the server can authenticate the authority of the test terminal and judge whether the test terminal has the authority of downloading the system file. Specifically, the server may perform authentication according to the test terminal identifier included in the file acquisition request, and when the authentication passes, acquire and return the corresponding system file. Specifically, step 504 may include: and receiving the system file returned after the server passes the identity authentication according to the file acquisition request.
Step 506, installing the test operation system according to the system file.
After the test terminal acquires the system file, the test operation system can be installed according to the system file, so that the test environment information does not need to be acquired repeatedly, and the test operation system is installed according to the test environment information, so that the system installation efficiency is improved.
It should be understood that although the steps in the flowcharts of fig. 2, 3, and 5 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2, 3, and 5 may include multiple sub-steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of performing the sub-steps or stages is not necessarily sequential, but may be performed alternately or alternatingly with other steps or at least some of the sub-steps or stages of other steps.
Fig. 6 is a block diagram of a system installation apparatus according to an embodiment. As shown in fig. 6, the system installation apparatus 600 includes an information acquisition module 602, a system installation module 604, and a file storage module 606. Wherein:
an information obtaining module 602, configured to obtain test environment information for testing a device to be tested.
And a system installation module 604, configured to determine a test operating system according to the test environment information, and install the test operating system.
The file storage module 606 is configured to generate a system file according to the installed test running system, and upload the system file to a server for storage, where the system file is used to instruct a test terminal or other test terminals to install the test running system.
According to the system installation device, the test terminal obtains the test environment information for testing the equipment to be tested, determines and installs the corresponding test operation system according to the environment test information, and uploads the system file generated by the installed test operation system to the server for storage. Therefore, the test terminal or other test terminals can directly install the test operation system according to the system file without repeatedly acquiring the test environment information and improving the installation efficiency of the test operation system according to the test environment information.
In one embodiment, the information obtaining module 602 is further configured to test the device to be tested through an original testing system installed in the testing terminal; when the test terminal detects that the test on the device to be tested is reported in error, test environment information for testing the device to be tested by the test terminal is obtained.
In one embodiment, the testing environment information includes first driving tool information and testing tool information, and the information obtaining module 602 is further configured to obtain the first driving tool information and the testing tool information of the device to be tested, where the first driving tool information is used to indicate information of a driving tool used by the testing terminal to communicate with the device to be tested, and the testing tool information is used to indicate information of a testing tool used by the testing terminal to test the device to be tested.
In an embodiment, the test environment information further includes second driving information, and the information obtaining module 602 is further configured to obtain first driving tool information, second driving tool information, and test tool information of the device to be tested, where the second driving tool information is used to represent information of a driving tool used by the test terminal to communicate with the test device, and the test device is used to obtain device parameters of the device to be tested in a process of testing the device to be tested by the test terminal.
In one embodiment, the file storage module 606 is further configured to perform mirroring on the installed test running system, and generate a system file.
In an embodiment, the system installation apparatus may further include a system update module, where the system update module is configured to obtain update information of the test tool when the test tool update is detected; updating the installed test operation system according to the updating information, and generating an updated system file according to the updated test operation system; and sending the updated system file to a server for storage.
In one embodiment, the system installation module 606 is further configured to send a file acquisition request to the server; receiving a system file returned by the server according to the file acquisition request; and installing a test operation system according to the system file.
The division of the modules in the system installation apparatus is only used for illustration, and in other embodiments, the system installation apparatus may be divided into different modules as needed to complete all or part of the functions of the system installation apparatus.
For specific limitations of the system installation apparatus, reference may be made to the above limitations of the system installation method, which are not described herein again. The respective modules in the system installation apparatus described above may be implemented in whole or in part by software, hardware, and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
The implementation of each module in the system installation apparatus provided in the embodiments of the present application may be in the form of a computer program. The computer program may be run on a test terminal or a server. The program modules constituted by the computer program may be stored on the memory of the test terminal or the server. Which when executed by a processor, performs the steps of the method described in the embodiments of the present application.
The embodiment of the application also provides the electronic equipment. As shown in fig. 7, for convenience of explanation, only the parts related to the embodiments of the present application are shown, and details of the technology are not disclosed, please refer to the method part of the embodiments of the present application. The electronic device may be any testing terminal device including a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of Sales), a vehicle-mounted computer, a wearable device, and the like, taking the electronic device as the mobile phone as an example:
fig. 7 is a block diagram of a partial structure of a mobile phone related to an electronic device provided in an embodiment of the present application. Referring to fig. 7, the handset includes: radio Frequency (RF) circuit 710, memory 720, input unit 730, display unit 740, sensor 750, audio circuit 760, wireless fidelity (WiFi) module 770, processor 780, and power supply 790. Those skilled in the art will appreciate that the handset configuration shown in fig. 7 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The RF circuit 710 may be used for receiving and transmitting signals during information transmission or communication, and may receive downlink information of a base station and then process the downlink information to the processor 780; the uplink data may also be transmitted to the base station. Typically, the RF circuitry includes, but is not limited to, an antenna, at least one Amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuit 710 may also communicate with networks and other devices via wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to Global System for Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE)), e-mail, Short Messaging Service (SMS), and the like.
The memory 720 may be used to store software programs and modules, and the processor 780 may execute various functional applications and data processing of the cellular phone by operating the software programs and modules stored in the memory 720. The memory 720 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function (such as an application program for a sound playing function, an application program for an image playing function, and the like), and the like; the data storage area may store data (such as audio data, an address book, etc.) created according to the use of the mobile phone, and the like. Further, the memory 720 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The input unit 730 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the cellular phone 700. Specifically, the input unit 730 may include a touch panel 731 and other input devices 732. The touch panel 731, which may also be referred to as a touch screen, can collect touch operations of a user (e.g., operations of the user on or near the touch panel 731 by using a finger, a stylus, or any other suitable object or accessory) thereon or nearby, and drive the corresponding connection device according to a preset program. In one embodiment, the touch panel 731 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts it to touch point coordinates, and sends the touch point coordinates to the processor 780, and can receive and execute commands from the processor 780. In addition, the touch panel 731 may be implemented by various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The input unit 730 may include other input devices 732 in addition to the touch panel 731. In particular, other input devices 732 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), and the like.
The display unit 740 may be used to display information input by the user or information provided to the user and various menus of the mobile phone. The display unit 740 may include a display panel 741. In one embodiment, the Display panel 741 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. In one embodiment, the touch panel 731 can cover the display panel 741, and when the touch panel 731 detects a touch operation on or near the touch panel 731, the touch operation is transmitted to the processor 780 to determine the type of the touch event, and then the processor 780 provides a corresponding visual output on the display panel 741 according to the type of the touch event. Although the touch panel 731 and the display panel 741 are two independent components in fig. 7 to implement the input and output functions of the mobile phone, in some embodiments, the touch panel 731 and the display panel 741 may be integrated to implement the input and output functions of the mobile phone.
The cell phone 700 may also include at least one sensor 750, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor that adjusts the brightness of the display panel 741 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 741 and/or a backlight when the mobile phone is moved to the ear. The motion sensor can comprise an acceleration sensor, the acceleration sensor can detect the magnitude of acceleration in each direction, the magnitude and the direction of gravity can be detected when the mobile phone is static, and the motion sensor can be used for identifying the application of the gesture of the mobile phone (such as horizontal and vertical screen switching), the vibration identification related functions (such as pedometer and knocking) and the like; the mobile phone may be provided with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor.
Audio circuitry 760, speaker 761, and microphone 762 may provide an audio interface between a user and a cell phone. The audio circuit 760 can transmit the electrical signal converted from the received audio data to the speaker 761, and the electrical signal is converted into a sound signal by the speaker 761 and output; on the other hand, the microphone 762 converts the collected sound signal into an electric signal, converts the electric signal into audio data after being received by the audio circuit 760, and then outputs the audio data to the processor 780 for processing, and then the processed audio data may be transmitted to another mobile phone through the RF circuit 710, or outputs the audio data to the memory 720 for subsequent processing.
WiFi belongs to short-distance wireless transmission technology, and the mobile phone can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 770, and provides wireless broadband Internet access for the user. Although fig. 7 shows WiFi module 770, it is understood that it does not belong to the essential components of handset 700 and may be omitted as desired.
The processor 780 is a control center of the mobile phone, connects various parts of the entire mobile phone by using various interfaces and lines, and performs various functions of the mobile phone and processes data by operating or executing software programs and/or modules stored in the memory 720 and calling data stored in the memory 720, thereby integrally monitoring the mobile phone. In one embodiment, processor 780 may include one or more processing units. In one embodiment, processor 780 may integrate an application processor and a modem processor, where the application processor primarily handles operating systems, user interfaces, applications, and the like; the modem processor handles primarily wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 780.
The handset 700 also includes a power supply 790 (e.g., a battery) for powering the various components, which may preferably be logically coupled to the processor 780 via a power management system that may be used to manage charging, discharging, and power consumption.
In one embodiment, the cell phone 700 may also include a camera, a bluetooth module, and the like.
In the embodiment of the present application, the electronic device includes a processor 680 that implements the steps of the system installation method when executing a computer program stored in a memory.
The embodiment of the application also provides a computer readable storage medium. One or more non-transitory computer-readable storage media containing computer-executable instructions that, when executed by one or more processors, cause the processors to perform the steps of the system installation method.
A computer program product containing instructions which, when run on a computer, cause the computer to perform a system installation method.
Any reference to memory, storage, database, or other medium used herein may include non-volatile and/or volatile memory. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM), which acts as external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms, such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), Enhanced SDRAM (ESDRAM), synchronous Link (Synchlink) DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and bus dynamic RAM (RDRAM).
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A system installation method is applied to a test terminal and is characterized by comprising the following steps:
the method comprises the steps of obtaining test environment information for testing a device to be tested, wherein the test environment information comprises second driving tool information, the second driving tool information is used for representing information of a driving tool for communicating a test terminal and the test device, the test terminal is connected with the test device, and the test device is used for controlling the test terminal to obtain device parameters of the device to be tested in the process of testing the device to be tested by the test terminal;
determining a test operation system according to the test environment information, and installing the test operation system;
and generating a system file according to the installed test operation system, and uploading the system file to a server for storage, wherein the system file is used for indicating the test terminal or other test terminals to install the test operation system.
2. The method of claim 1, wherein the obtaining test environment information for testing a device under test comprises:
testing the equipment to be tested through an original testing system installed in the testing terminal;
and when the test terminal detects that the test on the equipment to be tested is reported in error, acquiring test environment information for testing the equipment to be tested by the test terminal.
3. The method of claim 1, wherein the test environment information further includes first driver tool information and test tool information; the acquiring of the test environment information for testing the device to be tested further includes:
acquiring first driving tool information and testing tool information of the to-be-tested device, wherein the first driving tool information is used for representing information of a driving tool of the testing terminal communicating with the to-be-tested device, and the testing tool information is used for representing information of a testing tool of the testing terminal testing the to-be-tested device.
4. The method of claim 3, further comprising:
when the test tool is detected to be updated, acquiring the updating information of the test tool;
updating the installed test operation system according to the updating information, and generating an updated system file according to the updated test operation system;
and sending the updated system file to a server for storage.
5. The method of claim 1, wherein generating a system file from the installed test run system comprises:
and carrying out mirror image processing on the installed test running system to generate a system file.
6. The method according to any one of claims 1 to 5, further comprising:
sending a file acquisition request to the server;
receiving a system file returned by the server according to the file acquisition request;
and installing the test operation system according to the system file.
7. A system installation device applied to a test terminal is characterized by comprising:
the information acquisition module is used for acquiring test environment information for testing the equipment to be tested, wherein the test environment information comprises second driving tool information, the second driving tool information is used for representing information of a driving tool for communicating the test terminal and the test equipment, the test terminal is connected with the test equipment, and the test equipment is used for acquiring equipment parameters of the equipment to be tested in the process of testing the equipment to be tested by the test terminal under the control of the test terminal;
the system installation module is used for determining a test operation system according to the test environment information and installing the test operation system;
and the file storage module is used for generating a system file according to the installed test operation system and uploading the system file to a server for storage, wherein the system file is used for indicating the test terminal or other test terminals to install the test operation system.
8. The apparatus of claim 7, wherein the information obtaining module is further configured to test the device to be tested through an original testing system installed in a testing terminal; and when the test terminal detects that the test on the equipment to be tested is reported in error, acquiring test environment information for testing the equipment to be tested by the test terminal.
9. An electronic device comprising a memory and a processor, the memory having stored therein a computer program that, when executed by the processor, causes the processor to perform the steps of the method according to any one of claims 1 to 6.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 6.
CN201811415728.5A 2018-11-26 2018-11-26 System installation method and device, electronic equipment and computer readable storage medium Active CN109656573B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811415728.5A CN109656573B (en) 2018-11-26 2018-11-26 System installation method and device, electronic equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811415728.5A CN109656573B (en) 2018-11-26 2018-11-26 System installation method and device, electronic equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN109656573A CN109656573A (en) 2019-04-19
CN109656573B true CN109656573B (en) 2022-03-15

Family

ID=66112474

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811415728.5A Active CN109656573B (en) 2018-11-26 2018-11-26 System installation method and device, electronic equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN109656573B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1877543A (en) * 2005-06-06 2006-12-13 华为技术有限公司 Data-driven automatic testing system and method
CN102053845A (en) * 2009-11-10 2011-05-11 纬创资通股份有限公司 Electronic device for automatically and continuously mounting operating system and related method and system thereof
US7982866B2 (en) * 2003-12-16 2011-07-19 Trimble Jena Gmbh Calibration of a surveying instrument
CN105205005A (en) * 2015-10-29 2015-12-30 浪潮(北京)电子信息产业有限公司 CPU (central processing unit) test method of server and system
CN106341688A (en) * 2016-10-21 2017-01-18 北京小米移动软件有限公司 Test method and equipment for anti-shake performance of camera

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7982866B2 (en) * 2003-12-16 2011-07-19 Trimble Jena Gmbh Calibration of a surveying instrument
CN1877543A (en) * 2005-06-06 2006-12-13 华为技术有限公司 Data-driven automatic testing system and method
CN102053845A (en) * 2009-11-10 2011-05-11 纬创资通股份有限公司 Electronic device for automatically and continuously mounting operating system and related method and system thereof
CN105205005A (en) * 2015-10-29 2015-12-30 浪潮(北京)电子信息产业有限公司 CPU (central processing unit) test method of server and system
CN106341688A (en) * 2016-10-21 2017-01-18 北京小米移动软件有限公司 Test method and equipment for anti-shake performance of camera

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
高速压电板形仪工业化测试平台及其试验;杜凤山等;《钢铁》;20171231;第52卷(第1期);第92-97页 *

Also Published As

Publication number Publication date
CN109656573A (en) 2019-04-19

Similar Documents

Publication Publication Date Title
CN111313500B (en) Charging management method and device, electronic equipment and computer readable storage medium
CN106331370B (en) A kind of data transmission method and terminal device
CN109445917B (en) Application processing method and device, electronic equipment and computer readable storage medium
CN109634990B (en) Information processing method and system, electronic device, computer-readable storage medium
CN108834132B (en) Data transmission method and equipment and related medium product
WO2015035947A1 (en) Method for realizing cellphone without card, cellphone and server
WO2018161540A1 (en) Fingerprint registration method and related product
CN106203228A (en) Two-dimensional code information transmission method, device and equipment
CN104809055B (en) Application program testing method and device based on cloud platform
CN104901992B (en) A kind of method and apparatus of resource transfers
CN109218082B (en) Network configuration parameter processing method, device and equipment
CN106020945B (en) Shortcut item adding method and device
CN108491733A (en) Method and apparatus, storage medium, electronic equipment are recommended in privacy application
CN112997507B (en) Audio system control method, device, terminal and computer readable storage medium
CN111225105B (en) Method for controlling screen work, mobile terminal and storage medium
CN109656573B (en) System installation method and device, electronic equipment and computer readable storage medium
CN112740634B (en) Registration state acquisition method and device based on Wi-Fi voice service and electronic equipment
CN109348425B (en) Positioning information updating method, device, equipment and storage medium
CN109040457B (en) Screen brightness adjusting method and mobile terminal
CN106201536A (en) The replacing options of a kind of application icon and terminal unit
CN106610971B (en) ZIP compressed file identification determination method and device
CN106371948B (en) A kind of data back up method and terminal device
CN106445594B (en) System application installation method and device and terminal equipment
CN113168303A (en) Audio processing method and device, computer readable storage medium and electronic equipment
CN113961380B (en) Cross-application repair method, device, equipment and storage medium

Legal Events

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