CN111142954A - Startup control method and device and computer readable storage medium - Google Patents

Startup control method and device and computer readable storage medium Download PDF

Info

Publication number
CN111142954A
CN111142954A CN201911391517.7A CN201911391517A CN111142954A CN 111142954 A CN111142954 A CN 111142954A CN 201911391517 A CN201911391517 A CN 201911391517A CN 111142954 A CN111142954 A CN 111142954A
Authority
CN
China
Prior art keywords
starting
test
guide
program
target
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.)
Granted
Application number
CN201911391517.7A
Other languages
Chinese (zh)
Other versions
CN111142954B (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 CN201911391517.7A priority Critical patent/CN111142954B/en
Publication of CN111142954A publication Critical patent/CN111142954A/en
Application granted granted Critical
Publication of CN111142954B publication Critical patent/CN111142954B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4406Loading of operating system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • G06F9/453Help systems
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)
  • Stored Programmes (AREA)

Abstract

The application provides a startup control method, a startup control device and a computer readable storage medium, wherein a target control identifier of a startup guide program is configured according to a startup guide configuration instruction received in a first test mode; when a starting-up instruction is received in the second test mode, determining a target operation mode of a starting-up guide program based on the target control identification; and controlling the running state of the starting-up guide program in the starting-up process according to the target running mode. Through the implementation of the scheme, the running of the startup guide program is selectively controlled according to the control identification configured in advance during startup, so that the test workload can be reduced to a certain extent, and the test efficiency can be effectively improved.

Description

Startup control method and device and computer readable storage medium
Technical Field
The present application relates to the field of electronic technologies, and in particular, to a power-on control method and apparatus, and a computer-readable storage medium.
Background
When a terminal device (e.g., a mobile phone, a computer, etc.) is started for the first time, a startup guide application is run in the terminal device to guide a user to perform reasonable configuration on the terminal device or to guide the user to install a recommended application.
However, in practical applications, two usage environments are included within the life cycle of the terminal device: the method comprises the steps that a testing use environment before leaving factory and a user use environment after leaving factory are tested, and starting up under the testing use environment is the first starting of the terminal equipment, so that the terminal equipment can start up and run a starting-up guide application program inevitably when starting up, a starting-up guide interface is displayed, and then a tester can start up the terminal equipment and enter a system of the terminal equipment after related operations of the starting-up guide interface are manually completed. Because the boot wizard is mainly served for the terminal user, the running of the boot wizard in the test use environment is an unnecessary process for the tester, which may lead to the increase of the workload of the tester and the reduction of the test efficiency.
Disclosure of Invention
The embodiment of the application provides a startup control method, a startup control device and a computer readable storage medium, which can at least solve the problems of increased test workload and lower test efficiency caused by the fact that a startup guide application program is inevitably operated when a terminal is started in a test use environment in the related art.
A first aspect of an embodiment of the present application provides a power-on control method, including:
configuring a target control identifier of a starting-up guide program according to a starting-up guide configuration instruction received in a first test mode;
when a starting-up instruction is received in a second test mode, determining a target operation mode of the starting-up guide program based on the target control identification;
and controlling the running state of the starting-up guide program in the starting-up process according to the target running mode.
A second aspect of the embodiments of the present application provides a boot control apparatus, including:
the configuration module is used for configuring a target control identifier of the starting-up guide program according to the received starting-up guide configuration instruction in the first test mode;
the determining module is used for determining a target operation mode of the starting-up guide program based on the target control identification when a starting-up instruction is received in a second test mode;
and the control module is used for controlling the running state of the starting-up guide program in the starting-up process according to the target running mode.
A third aspect of embodiments of the present application provides an electronic apparatus, including: the boot control method includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of the boot control method provided in the first aspect of the embodiments of the present application when executing the computer program.
A fourth aspect of the present embodiment provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the steps in the boot control method provided in the first aspect of the present embodiment are implemented.
As can be seen from the above, according to the boot control method, device and computer-readable storage medium provided in the present application, the target control identifier of the boot guide program is configured according to the boot guide configuration instruction received in the first test mode; when a starting-up instruction is received in the second test mode, determining a target operation mode of a starting-up guide program based on the target control identification; and controlling the running state of the starting-up guide program in the starting-up process according to the target running mode. Through the implementation of the scheme, the running of the startup guide program is selectively controlled according to the control identification configured in advance during startup, so that the test workload can be reduced to a certain extent, and the test efficiency is effectively improved.
Drawings
Fig. 1 is a schematic basic flow chart of a boot control method according to a first embodiment of the present application;
fig. 2 is a schematic flowchart of a startup operation control method according to a first embodiment of the present application;
fig. 3 is a schematic flowchart of a test program starting method according to a first embodiment of the present application;
fig. 4 is a detailed flowchart of a boot control method according to a second embodiment of the present application;
fig. 5 is a schematic diagram of program modules of a boot control apparatus according to a third embodiment of the present application;
fig. 6 is a schematic diagram of program modules of another boot control apparatus according to a third embodiment of the present application;
fig. 7 is a schematic structural diagram of an electronic device according to a fourth embodiment of the present application.
Detailed Description
In order to make the objects, features and advantages of the present invention more apparent and understandable, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are only a part of the embodiments of the present application, and not all the embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
When the terminal is started for the first time, the terminal will start a boot-up guide program so that the user can perform some initial settings, such as: the method comprises the steps of inputting a user interface, a terminal and a start-up guide program, wherein the user interface comprises a language, WiFi connection, a login password and the like, or some terminal use cautions are displayed for the user, after the user finishes operating all the matters on the start-up guide interface, the terminal is started up to enter a system, and the start-up guide program is not operated when the terminal is started up again in the follow.
Before the terminal leaves the factory, a factory needs to use a dedicated test program to test whether the terminal functions normally, and the terminal leaves the factory without the terminal user to touch the dedicated test program, and in order to achieve the purpose, the terminal manufacturer usually adopts the following two solutions:
the first mode adopts a one-stage production scheme, namely, software is refreshed only once from production to sale, a test program is integrated in a shipment software version, and terminal production and shipment share one software version. When the terminal is produced, a tester skips the boot guide manually after booting, and then inputs a specific instruction through the dial plate to enter a test program mode. After the test is finished, the data during the test is deleted through an instruction before delivery, and the state of waiting for the first startup is recovered, so that the user can start the guide interface after the first startup.
And the second mode adopts a two-section production scheme, namely, the software needs to be brushed twice from the production to the shipment, the terminal production and the shipment do not share the shipment software for producing and compiling the special test software version. The test program is directly placed on a desktop of the test software version, and the test environment is entered as a common application program is used during testing. And after the test is finished, upgrading to the delivery software version used by the user, and packaging for delivery. The mode is more suitable for the export model with more shipment software versions (different software in different countries), is more convenient for production and allocation, but has more software upgrading actions compared with the previous scheme.
In order to solve the defects of the related art that the terminal inevitably runs the boot guide application program when the terminal is booted in the test use environment, which results in increased test workload and lower test efficiency, a first embodiment of the present application provides a boot control method, for example, fig. 1 is a basic flowchart of the boot control method provided in this embodiment, and the boot control method includes the following steps:
step 101, configuring a target control identifier of a boot guide program according to a boot guide configuration instruction received in a first test mode.
Specifically, in practical applications, the terminal needs to go out of the factory after a plurality of hardware tests and software tests, so that the terminal may go through a plurality of test stages in a test use environment. In the first test mode of this embodiment, a boot guide configuration instruction of the external control device is received based on communication connection with the external control device, and the target control identifier is written in.
It should be noted that the currently commonly used terminal manufacturing process is: assembling into semi-finished products (without batteries, battery covers and the like), current testing, assembling into a whole machine, starting up and function testing. Therefore, the first test mode of this embodiment may be preferably a current test mode, and the terminal current test is performed before the battery is assembled to the terminal in the production process. The basic principle of the current test is to use a program-controlled power supply to supply power to the mobile phone and test the current of the mobile phone in different states. In this embodiment, when the current test station performs a current test, a communication connection between the terminal and an external control device (e.g., a computer) may be established through a preset interface (e.g., a USB interface or a serial port), then the terminal is subjected to the current test in a Factory Test Mode (FTM), and a target control identifier corresponding to the boot guide program is written into the terminal.
In an optional implementation manner of this embodiment, before configuring the target control identifier of the boot guide program according to the received boot guide configuration instruction in the first test mode, the method further includes: judging whether a preset startup control trigger condition is met or not at present; and when the starting control triggering condition is met, executing a step of configuring a target control identifier of the starting guide program according to the starting guide configuration instruction received in the first test mode.
Specifically, in practical application, the consumption of unmatching with a practical application scene or processing performance caused by blind execution of the boot control procedure of the embodiment is avoided, the embodiment performs trigger condition judgment in advance, and the boot control method of the embodiment is correspondingly triggered only when a preset condition is met.
Further, in this embodiment, the determining whether the preset startup control trigger condition is currently met includes: when a startup guide configuration instruction is received, carrying out validity check on the startup guide configuration instruction, and judging whether the startup guide configuration instruction passes the validity check; and when the boot guide configuration instruction passes the verification, the boot control triggering condition is met.
Specifically, when the terminal of this embodiment receives the start-up guide configuration instruction sent by the external control device, the terminal may check the validity of the instruction, on one hand, may check whether the external control device is a legal device, and on the other hand, may check whether the time of receiving the start-up guide configuration instruction is a legal time, which is not limited herein.
And 102, when a starting-up instruction is received in the second test mode, determining a target operation mode of the starting-up guide program based on the target control identification.
Specifically, after the test stage corresponding to the first test mode is completed, other test stages are executed in the following, the second test mode is a mode in which other test stages are executed in the following, and if the first test mode is the current test mode, the second test mode may be the functional test mode, and a corresponding test program needs to be started up to run in the test mode to perform the test. In this embodiment, when the boot instruction is received in the test mode, the operation mode of the boot wizard is determined according to the control flag written in the previous test process. It should be understood that the target operation modes of the present embodiment include prohibited operation and permitted operation.
And 103, controlling the running state of the starting-up guide program in the starting-up process according to the target running mode.
Specifically, in this embodiment, when the boot is started in the test phase, the boot wizard application is not necessarily run, but the running of the boot wizard is optionally controlled in the current boot process according to the control identifier configured in the test phase before the current test phase. When the target operation mode is operation prohibition, controlling the startup guide program to prohibit starting or closing in the startup process; and when the target operation mode is the allowable operation mode, controlling the starting guide program to start operation in the starting process. Therefore, the test workload can be reduced to a certain extent, and the test efficiency is effectively improved.
It should be noted that, in the present embodiment, the start-up wizard program may be disabled during the start-up process, or the start-up of the start-up wizard program may be directly disabled.
As shown in fig. 2, which is a schematic flow chart of the start-up operation control method provided in this embodiment, further, in some embodiments of this embodiment, controlling the start-up wizard to start up and operate in the start-up process specifically includes the following steps:
step 201, obtaining test attribute information of a second test mode;
step 202, determining running items of a startup guide program based on the test attribute information;
and step 203, controlling the startup guide program to run according to the running items in the startup process.
Specifically, in an actual application scenario, the startup wizard program includes a plurality of operation items in the operation process, for example, a plurality of different setting items and use notices may be included, and in the test process, even if the startup wizard program needs to be operated, not all the operation items need to be executed according to different actual test scenarios And the testing workload is reduced.
The embodiment further explains the above embodiment by using a specific example, for example, the execution of the four tasks of the language setting, the WiFi connection setting, the login password setting, the protocol and the declaration prompting is included in the running process of the startup wizard program, if the running item corresponding to the current test attribute information is the language setting, only the language setting interface is displayed, and the WiFi connection setting interface, the login password setting interface, the protocol and the declaration prompting interface are directly skipped when the startup wizard program is run in the current startup process.
As shown in fig. 3, which is a flowchart illustrating a method for starting a test program according to this embodiment, in some embodiments of this embodiment, after the startup wizard program is controlled to be prohibited from being started or closed during the startup process, the method further includes the following steps:
301, acquiring test attribute information of a second test mode;
step 302, determining a corresponding target test program based on the test attribute information;
and step 303, after the start-up is completed, controlling the target test program to start.
Specifically, in practical applications, after the terminal is turned on, a corresponding test program needs to be started to test the terminal, and at present, a corresponding instruction is usually input into a dial to trigger the test program to run.
In some embodiments of this embodiment, after controlling the boot-loader to prohibit starting or closing during the boot process, the method further includes: acquiring a test guide program corresponding to the second test mode; and controlling the test guide program to start running in the starting process.
Specifically, in this embodiment, in order to avoid a test error caused by the unfamiliarity of the tester with the test specification or the test flow, the embodiment skips the boot guide in the boot process, and then provides the test guide function, and displays the test guide interface corresponding to the current test mode, so as to prompt the tester about the relevant test specification, the test flow, the test parameter setting, and the like, thereby reducing the test error rate and improving the test efficiency.
In some embodiments of this embodiment, after controlling the operating state of the boot wizard in the boot process according to the target operating mode, the controlling further includes: when a test completion instruction is acquired, generating an identifier clearing instruction; and clearing the target control identification according to the identification clearing instruction.
Specifically, in this embodiment, after the factory completes the test, the control identifier is cleared from the terminal to restore the factory settings, so as to prevent the aforementioned mode for controlling the operation of the boot wizard program according to the control identifier from flowing into the market, and thus the boot wizard program is started by default when the terminal is started in the user environment.
Based on the technical scheme of the embodiment of the application, the target control identification of the starting-up guide program is configured according to the received starting-up guide configuration instruction in the first test mode; when a starting-up instruction is received in the second test mode, determining a target operation mode of a starting-up guide program based on the target control identification; and controlling the running state of the starting-up guide program in the starting-up process according to the target running mode. Through the implementation of the scheme, the running of the startup guide program is selectively controlled according to the control identification configured in advance during startup, so that the test workload can be reduced to a certain extent, and the test efficiency is effectively improved.
The method in fig. 4 is a detailed boot control method according to a second embodiment of the present application, and the boot control method includes:
step 401, when the power-on guide configuration instruction is received in the current test mode, performing validity check on the power-on guide configuration instruction.
In this embodiment, when receiving a boot guide configuration instruction sent by an external control device, the terminal may perform validity check on the instruction, so as to avoid mismatching with an actual application scenario or consumption of processing performance caused by blind execution of the boot control procedure of this embodiment.
And 402, when the boot guide configuration instruction passes the verification, configuring a start prohibition control identifier corresponding to the boot guide program according to the boot guide configuration instruction.
In this embodiment, when the current test station performs a current test, a communication connection between the terminal and an external control device (e.g., a computer) may be established through a preset interface (e.g., a USB interface or a serial port), then the terminal is subjected to a current test in a factory test mode, and a start-prohibition control flag corresponding to the boot-up wizard is written into the terminal.
And step 403, when a boot instruction is received in the function test mode, controlling the boot wizard to be prohibited from being started in the boot process based on the start prohibition control identifier.
After the current test is completed, the semi-finished product terminals are assembled into a complete machine, and then the machine is started to perform the function test. Since the startup wizard interface is usually served to the end user, and the startup wizard interface is unnecessary for the tester when the terminal is started for the first time in the test stage, the startup wizard program is prohibited in the startup process in the function test stage based on the startup prohibition control flag written in the previous current test stage, so that the startup wizard interface can be skipped directly for startup.
And step 404, acquiring a test guide program corresponding to the function test mode, and controlling the test guide program to start running in the starting process.
In the embodiment, after the start-up guide is skipped in the start-up process, a test guide function is provided, and the corresponding test guide interface in the current test mode is displayed so as to prompt relevant test specifications, test procedures, test parameter setting and the like to a tester, thereby reducing the test error rate and improving the test efficiency.
Step 405, determining a corresponding target test program based on the test attribute information of the functional test mode.
And step 406, controlling the target test program to start when the start-up completion indication is received.
Specifically, in this embodiment, in order to further simplify the operation and improve the test efficiency, the corresponding test program may be determined according to the test attribute of the test mode, and then the operation of the corresponding test program may be automatically triggered after the start-up is completed.
And 407, generating an identifier clearing instruction when the test completion instruction is received, and clearing the target control identifier according to the identifier clearing instruction.
In this embodiment, after the factory completes the test, the control flag is cleared from the terminal to restore the factory settings, so as to prevent the mode in which the start-up wizard program is controlled to run during the start-up process according to the start-up prohibition control flag from flowing into the market, and thus the start-up wizard program is started by default when the terminal is started up in the use environment of the user.
It should be understood that, the size of the serial number of each step in this embodiment does not mean the execution sequence of the step, and the execution sequence of each step should be determined by its function and inherent logic, and should not be limited uniquely to the implementation process of the embodiment of the present application.
The embodiment of the application discloses a startup control method, which comprises the steps of configuring a startup prohibition control identifier of a startup guide program according to a startup guide configuration instruction received in a current test mode; and when a starting instruction is received in the function test mode, the starting guide program is controlled to be prohibited from being started in the starting process based on the starting prohibition control identification. By implementing the scheme, when the terminal is started in the functional test use environment, the terminal prohibits the operation of the startup wizard program according to the previously configured startup prohibition control identification, so that the test workload can be effectively reduced, and the test efficiency can be effectively improved; in addition, the test guide program is started and operated in the starting process, so that the test error rate can be reduced, and the test efficiency can be further improved; and moreover, after the start-up is finished, the corresponding test program is automatically controlled to be started, so that the test operation is simplified, and the test efficiency is further improved.
Fig. 5 is a startup control device according to a third embodiment of the present application. The boot control apparatus can be used to implement the boot control method in the foregoing embodiments. As shown in fig. 5, the boot control apparatus mainly includes:
a configuration module 501, configured to configure a target control identifier of a boot guide program according to a boot guide configuration instruction received in a first test mode;
a determining module 502, configured to determine a target operation mode of the boot guide program based on the target control identifier when the boot instruction is received in the second test mode;
the control module 503 is configured to control an operation state of the boot wizard in the boot process according to the target operation mode.
In some embodiments of this embodiment, the control module 503 is specifically configured to: when the target operation mode is operation prohibition, controlling the startup guide program to prohibit starting or closing in the startup process; and when the target operation mode is the allowable operation mode, controlling the starting guide program to start operation in the starting process.
Further, in some embodiments of the present embodiment, when the control module 503 controls the startup wizard to start running in the startup process, it is specifically configured to: acquiring test attribute information of a second test mode; determining the operation items of the starting-up guide program based on the test attribute information; and controlling the starting-up guide program to run according to the running items in the starting-up process.
Further, in some embodiments of the present embodiment, the control module 503 is further configured to: after the startup guide program is controlled to be prohibited from being started or closed in the startup process, test attribute information of a second test mode is acquired; determining a corresponding target test program based on the test attribute information; and after the startup is finished, controlling the target test program to start.
Further, in some embodiments of the present embodiment, the control module 503 is further configured to: after the startup guide program is controlled to be prohibited from being started or closed in the startup process, a test guide program corresponding to the second test mode is obtained; and controlling the test guide program to start running in the starting process.
Referring to fig. 6, in some embodiments of the present embodiment, the boot control device further includes: a verification module 504 configured to: and carrying out validity check on the startup guide configuration instruction when the startup guide configuration instruction is received before the target control identification of the startup guide program is configured according to the startup guide configuration instruction received in the first test mode. Correspondingly, when the verification module 504 outputs the verification result of the boot guide configuration instruction, the configuration module 501 executes its function correspondingly.
Referring to fig. 6 again, in some embodiments of the present embodiment, the boot control device further includes: a clearing module 505, configured to generate an identifier clearing instruction when a test completion instruction is obtained after controlling an operation state of the boot wizard in the boot process according to the target operation mode; and clearing the target control identification according to the identification clearing instruction.
It should be noted that the power-on control methods in the first and second embodiments can be implemented based on the power-on control device provided in this embodiment, and it can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working process of the power-on control device described in this embodiment may refer to the corresponding process in the foregoing method embodiment, and is not described herein again.
According to the start-up control device provided by the embodiment, the target control identification of the start-up guide program is configured according to the start-up guide configuration instruction received in the first test mode; when a starting-up instruction is received in the second test mode, determining a target operation mode of a starting-up guide program based on the target control identification; and controlling the running state of the starting-up guide program in the starting-up process according to the target running mode. Through the implementation of the scheme, the running of the startup guide program is selectively controlled according to the control identification configured in advance during startup, so that the test workload can be reduced to a certain extent, and the test efficiency is effectively improved.
Referring to fig. 7, fig. 7 is an electronic device according to a fourth embodiment of the present disclosure. The electronic device can be used for realizing the starting-up control method in the embodiment. As shown in fig. 7, the electronic device mainly includes:
a memory 701, a processor 702, a bus 703 and a computer program stored on the memory 701 and executable on the processor 702, the memory 701 and the processor 702 being connected by the bus 703. The processor 702, when executing the computer program, implements the power-on control method in the foregoing embodiments. Wherein the number of processors may be one or more.
The Memory 701 may be a high-speed Random Access Memory (RAM) Memory or a non-volatile Memory (non-volatile Memory), such as a disk Memory. The memory 701 is used for storing executable program code, and the processor 702 is coupled with the memory 701.
Further, an embodiment of the present application also provides a computer-readable storage medium, where the computer-readable storage medium may be provided in an electronic device in the foregoing embodiments, and the computer-readable storage medium may be the memory in the foregoing embodiment shown in fig. 7.
The computer readable storage medium has stored thereon a computer program which, when executed by a processor, implements the power-on control method in the foregoing embodiments. Further, the computer-readable storage medium may be various media that can store program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a RAM, a magnetic disk, or an optical disk.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of modules is merely a division of logical functions, and an actual implementation may have another division, for example, a plurality of modules or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or modules, and may be in an electrical, mechanical or other form.
Modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
In addition, functional modules in the embodiments of the present application may be integrated into one processing module, or each of the modules may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
The integrated module, if implemented in the form of a software functional module and sold or used as a separate product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a readable storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method of the embodiments of the present application. And the aforementioned readable storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
It should be noted that, for the sake of simplicity, the above-mentioned method embodiments are described as a series of acts or combinations, but those skilled in the art should understand that the present application is not limited by the described order of acts, as some steps may be performed in other orders or simultaneously according to the present application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In view of the above description of the boot control method, device and computer readable storage medium provided by the present application, those skilled in the art will appreciate that there are variations in the embodiments and applications of the method and device according to the concepts of the present application.

Claims (10)

1. A boot control method, comprising:
configuring a target control identifier of a starting-up guide program according to a starting-up guide configuration instruction received in a first test mode;
when a starting-up instruction is received in a second test mode, determining a target operation mode of the starting-up guide program based on the target control identification;
and controlling the running state of the starting-up guide program in the starting-up process according to the target running mode.
2. The boot control method according to claim 1, wherein the controlling the operating state of the boot wizard during the boot process according to the target operation mode comprises:
when the target operation mode is operation prohibition, controlling the starting-up guide program to prohibit starting up or closing in the starting-up process;
and when the target operation mode is the allowable operation mode, controlling the starting-up guide program to start up and operate in the starting-up process.
3. The power-on control method according to claim 2, wherein the controlling the start-up wizard to run during the power-on process comprises:
acquiring test attribute information of the second test mode;
determining the running items of the starting-up guide program based on the test attribute information;
and controlling the starting-up guide program to run according to the running items in the starting-up process.
4. The power-on control method according to claim 2, wherein after the controlling the power-on wizard program is prohibited from being started or closed during the power-on process, the method further comprises:
acquiring test attribute information of the second test mode;
determining a corresponding target test program based on the test attribute information;
and after the start-up is finished, controlling the target test program to start.
5. The power-on control method according to claim 2, wherein after the controlling the power-on wizard program is prohibited from being started or closed during the power-on process, the method further comprises:
acquiring a test guide program corresponding to the second test mode;
and controlling the test guide program to start and run in the starting process.
6. The power-on control method according to any one of claims 1 to 5, wherein before configuring the target control identifier of the power-on guide program according to the power-on guide configuration command received in the first test mode, the method further comprises:
when the starting-up guide configuration instruction is received, carrying out validity check on the starting-up guide configuration instruction;
and when the boot guide configuration instruction passes the verification, executing the step of configuring the target control identification of the boot guide program according to the boot guide configuration instruction received in the first test mode.
7. The power-on control method according to any one of claims 1 to 5, wherein the controlling controls the power-on wizard program to follow the running state in the power-on process according to the target running mode, further comprising:
when a test completion instruction is acquired, generating an identifier clearing instruction;
and clearing the target control identification according to the identification clearing instruction.
8. A power-on control device, comprising:
the configuration module is used for configuring a target control identifier of the starting-up guide program according to the received starting-up guide configuration instruction in the first test mode;
the determining module is used for determining a target operation mode of the starting-up guide program based on the target control identification when a starting-up instruction is received in a second test mode;
and the control module is used for controlling the running state of the starting-up guide program in the starting-up process according to the target running mode.
9. An electronic device, comprising: the system comprises a memory, a processor and a bus, wherein the bus is used for realizing connection communication between the memory and the processor; the processor is configured to execute a computer program stored on the memory, and when the processor executes the computer program, the processor implements the steps of the method of any one of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.
CN201911391517.7A 2019-12-30 2019-12-30 Startup control method and device and computer readable storage medium Active CN111142954B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911391517.7A CN111142954B (en) 2019-12-30 2019-12-30 Startup control method and device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911391517.7A CN111142954B (en) 2019-12-30 2019-12-30 Startup control method and device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN111142954A true CN111142954A (en) 2020-05-12
CN111142954B CN111142954B (en) 2023-06-23

Family

ID=70521815

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911391517.7A Active CN111142954B (en) 2019-12-30 2019-12-30 Startup control method and device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN111142954B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112068918A (en) * 2020-09-14 2020-12-11 上海商米科技集团股份有限公司 Method for starting electronic equipment and electronic equipment

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103425506A (en) * 2013-05-20 2013-12-04 华为技术有限公司 Powering off method, starting up method and communication terminal
CN107087164A (en) * 2017-04-20 2017-08-22 广州视源电子科技股份有限公司 A kind of method and apparatus of device power-up
CN107479924A (en) * 2017-08-09 2017-12-15 四川长虹电器股份有限公司 Software upgrading method of calibration based on android system
CN107885683A (en) * 2017-10-10 2018-04-06 华勤通讯技术有限公司 A kind of current test method of terminal and terminal
CN107979690A (en) * 2017-11-06 2018-05-01 深圳天珑无线科技有限公司 A kind of mobile terminal and its method and system for skipping start guide
CN107977240A (en) * 2016-10-20 2018-05-01 中兴通讯股份有限公司 A kind of starting up's collocation method, system and terminal
CN108920195A (en) * 2018-06-19 2018-11-30 Oppo(重庆)智能科技有限公司 starting processing method and related product
CN109062616A (en) * 2018-06-21 2018-12-21 中兴通讯股份有限公司 System self-adaption method, mobile terminal and the storage medium of mobile terminal
CN109168167A (en) * 2018-11-27 2019-01-08 Oppo(重庆)智能科技有限公司 Verify method, apparatus, terminal and the storage medium of the terminal true and false
CN109358827A (en) * 2018-12-05 2019-02-19 深圳市创维软件有限公司 Method, system, equipment and the storage medium of serially printing are applied in control
CN109709923A (en) * 2018-12-28 2019-05-03 Oppo(重庆)智能科技有限公司 Test control method and device, system, computer readable storage medium
CN110514925A (en) * 2019-08-13 2019-11-29 Oppo(重庆)智能科技有限公司 Test method and system and storage medium

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103425506A (en) * 2013-05-20 2013-12-04 华为技术有限公司 Powering off method, starting up method and communication terminal
CN107977240A (en) * 2016-10-20 2018-05-01 中兴通讯股份有限公司 A kind of starting up's collocation method, system and terminal
CN107087164A (en) * 2017-04-20 2017-08-22 广州视源电子科技股份有限公司 A kind of method and apparatus of device power-up
CN107479924A (en) * 2017-08-09 2017-12-15 四川长虹电器股份有限公司 Software upgrading method of calibration based on android system
CN107885683A (en) * 2017-10-10 2018-04-06 华勤通讯技术有限公司 A kind of current test method of terminal and terminal
CN107979690A (en) * 2017-11-06 2018-05-01 深圳天珑无线科技有限公司 A kind of mobile terminal and its method and system for skipping start guide
CN108920195A (en) * 2018-06-19 2018-11-30 Oppo(重庆)智能科技有限公司 starting processing method and related product
CN109062616A (en) * 2018-06-21 2018-12-21 中兴通讯股份有限公司 System self-adaption method, mobile terminal and the storage medium of mobile terminal
CN109168167A (en) * 2018-11-27 2019-01-08 Oppo(重庆)智能科技有限公司 Verify method, apparatus, terminal and the storage medium of the terminal true and false
CN109358827A (en) * 2018-12-05 2019-02-19 深圳市创维软件有限公司 Method, system, equipment and the storage medium of serially printing are applied in control
CN109709923A (en) * 2018-12-28 2019-05-03 Oppo(重庆)智能科技有限公司 Test control method and device, system, computer readable storage medium
CN110514925A (en) * 2019-08-13 2019-11-29 Oppo(重庆)智能科技有限公司 Test method and system and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
曲天柱: "手机测试***的研究与实现", 《中国优秀硕士学位论文全文数据库 信息科技》, no. 3, pages 138 - 736 *
翁万春: "智能手机自动化测试***的设计与实现", 《中国优秀硕士学位论文全文数据库 信息科技辑》, no. 3, pages 136 - 1722 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112068918A (en) * 2020-09-14 2020-12-11 上海商米科技集团股份有限公司 Method for starting electronic equipment and electronic equipment

Also Published As

Publication number Publication date
CN111142954B (en) 2023-06-23

Similar Documents

Publication Publication Date Title
CN105404525B (en) Manage the method and device of the basic input output system configuration in computer system
CN105573743B (en) Chip burning system and method and electronic equipment
US8171276B2 (en) Minimal startup mode for performing multiple-reboot configuration
CN101937351B (en) Method and system for automatically installing application software
CN106980597B (en) System-on-chip verification method and system
CN103853586A (en) Method of realizing wireless card driver in UEFI (unified extensible firmware interface) layer
CN111414285A (en) Test method, test device and test equipment for starting function of server system
CN110119623A (en) A kind of credible main board implementation method for realizing that firmware is actively measured using TPCM
CN108733403B (en) BIOS setting method and device
CN109634659A (en) Method, apparatus, equipment and the storage medium that a kind of couple of BMC is controlled
CN104572225A (en) Novel method for testing online updating stability of BIOS
CN109002331A (en) Starting method, apparatus, computer equipment and the storage medium of touch screen
WO2022199335A1 (en) Method, apparatus and device for controlling firmware upgrade of server component, and storage medium
CN115291946A (en) Hongmong system transplanting method, device, electronic equipment and readable medium
CN110515671A (en) Initial method, apparatus for initializing, terminal device and readable storage medium storing program for executing
CN111142954A (en) Startup control method and device and computer readable storage medium
CN102880479B (en) A kind of method of remotely modifying BIOS property parameters and device
CN113918197A (en) Firmware upgrading method, system, storage medium and equipment
CN113190279A (en) Pre-boot function control method, system and medium
CN106484442B (en) Server system and method for updating startup mapping file
CN111158769A (en) Method and device for checking and modifying BIOS (basic input output System) options
CN102750167B (en) Application program launching method, device and computer system
CN107391329B (en) Method, system and storage device for testing repeated use of mobile terminal
CN115951949A (en) Recovery method and device for configuration parameters of BIOS (basic input output System) and computing equipment
CN114138312A (en) Upgrade test method, device, electronic equipment and computer readable storage medium

Legal Events

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