CN112988242B - System and method for searching installed starter to select starter to be executed - Google Patents

System and method for searching installed starter to select starter to be executed Download PDF

Info

Publication number
CN112988242B
CN112988242B CN201911204874.8A CN201911204874A CN112988242B CN 112988242 B CN112988242 B CN 112988242B CN 201911204874 A CN201911204874 A CN 201911204874A CN 112988242 B CN112988242 B CN 112988242B
Authority
CN
China
Prior art keywords
launcher
program
operating system
application program
application
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
CN201911204874.8A
Other languages
Chinese (zh)
Other versions
CN112988242A (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.)
Inventec Pudong Technology Corp
Inventec Corp
Original Assignee
Inventec Pudong Technology Corp
Inventec Corp
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 Inventec Pudong Technology Corp, Inventec Corp filed Critical Inventec Pudong Technology Corp
Priority to CN201911204874.8A priority Critical patent/CN112988242B/en
Publication of CN112988242A publication Critical patent/CN112988242A/en
Application granted granted Critical
Publication of CN112988242B publication Critical patent/CN112988242B/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
    • 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/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)

Abstract

The invention relates to a system and a method for searching an installed starter to select a starter to be executed, which call a first starter program in the starting process through an operating system, wherein the first starter program can search application programs which are installed in the operating system and can be used as the starter after being executed, select a second starter program from the searched application programs, and call the selected second starter program.

Description

System and method for searching installed starter to select starter to be executed
Technical Field
The present invention relates to a system and method for starting a computing device, and more particularly, to a system and method for searching an installed initiator to select an initiator to be executed.
Background
An Operating System (OS) is System software that manages the hardware and software resources of a computing device, and is also the core and foundation of a computer System. The operating system needs to handle basic transactions such as managing and configuring memory, prioritizing system resources, controlling input and output devices, operating networks, and managing file systems. The operating system also provides an operator interface for user interaction with the system, with some operating systems incorporating graphical user interfaces.
A portion of the operating system may call a preset initiator during a boot process of the computing device, and the initiator may present a graphical user interface of the operating system, such as a Desktop (Desktop), after being executed. Generally speaking, the starter is protected by itself, and the starter can update the preset starter to itself after being installed, that is, the starter replaces the originally set preset starter as a new preset starter. When the user wishes to change the launcher, the user may adjust the operating system's system settings to change the default launcher.
However, applications may not allow a user to modify a preset initiator on a computing device in certain circumstances. At this time, if the starter needs to be switched, only the preset starter can be uninstalled and then a new starter is installed. That is, when a developer or a tester of the initiator needs to test a plurality of initiators, the operation of uninstalling and installing the initiators needs to be performed continuously, and such a test process is inconvenient for the developer or the tester of the plurality of initiators and is time-consuming.
In summary, it is known that there is a problem that the prior art cannot change the initiator by first uninstalling the old initiator and then installing the new initiator when the initiator is switched by the operating system for a long time, and therefore, an improved technical means is needed to solve the problem.
Disclosure of Invention
In view of the problem in the prior art that the existing starter can not be switched by the operating system, the present invention only unloads the old starter and then installs the new starter, and the present invention discloses a system and a method for searching the installed starter to select the starter to be executed, wherein:
the invention discloses a system for searching installed starter to select the starter to be executed, which is applied to the computing equipment, and the system at least comprises: an operating system installed in a computing device; the application program is installed in the operating system; the first launcher program is installed in the operating system, is a default launcher of the operating system, is used for searching at least one application program which can be used as the launcher after being called by the operating system, is used for selecting a second launcher program from the application programs, and calls the second launcher program.
The invention discloses a method for searching an installed starter to select a starter to be executed, which at least comprises the following steps: installing a first launcher program in an operating system installed on a computing device; setting a first launcher program as a default launcher of the operating system; when the first launcher program is called by the operating system, the first launcher program searches for an application program which is installed in the operating system and can be used as a launcher; the first launcher application selects a second launcher application from the application and calls the second launcher application.
The difference between the system and the method disclosed by the invention and the prior art is that the operating system calls the first starter program in the starting process, the first starter program can search the application programs which are installed in the operating system and can be used as the starter after being executed, selects the second starter program from the searched application programs and calls the selected second starter program, thereby solving the problems in the prior art and achieving the technical effect of meeting the testing requirement under the condition of meeting the requirement of not changing the starting process used by a user.
Drawings
FIG. 1 is a diagram of a system architecture for first searching for installed initiators to select an initiator to be executed according to the present invention.
Fig. 2A is a flowchart of a method for searching an installed initiator to select an initiator to be executed according to the present invention.
Fig. 2B is a flowchart of a method for selecting a second launcher program according to the first launcher program of the present invention.
Fig. 2C is a flowchart of a method for setting a first launcher program as a designated launcher of an operating system according to the present invention.
[ List of reference numerals ]
101. Storage medium
110. Operating system
120. Application program
130. First initiator program
150. Compiler program
160. Setting program
Detailed Description
The features and embodiments of the present invention will be described in detail with reference to the drawings and examples, which are sufficient for those skilled in the art to easily understand the technical means applied to solve the technical problems and to implement the technical means, thereby achieving the effects achieved by the present invention.
The invention can make the operating system call the starter program of the new state which can manage the starter in a centralized way to search and install the starter in the operating system before actually calling the real starter (launcher) in the starting process, thereby providing the user to select the starter to be executed when starting.
The operation of the system of the present invention will be described with reference to fig. 1, which shows a system architecture diagram of the present invention in which an installed initiator is first searched to select an initiator to be executed. As shown in fig. 1, the system of the present invention is applied to a computing device, and includes an operating system 110, an application program 120, a first launcher program 130, and an attachable compiler 150 and a setter 160.
The operating system 110 is responsible for performing boot-up operations after the computing device is booted. The operating system 110 may call the first launcher program 130 as a default launcher according to the system settings during the boot process. Generally, after a user of a computing device to which the present invention is applied installs the first launcher program 130 in the operating system 110, the operating system 110 may be set such that the operating system 110 sets a default launcher to the first launcher program 130; the operating system 110 may also be set by the first launcher program 130 itself as the default launcher for the operating system 110 during installation of the first launcher program 130.
In some embodiments, the operating system 110 also includes a Remote debug (Remote debug) interface. A user of a computing device employing the present invention may operate a client (not shown) to interface with the computing device via a remote debug interface and install new applications 120 in the operating system 110 and/or remove installed applications 120 from the operating system 110 via the remote debug interface.
The application program 120 is installed in the operating system 110 and may start to be executed after being called by the operating system 110.
The first launcher program 130 is installed in the operating system 110 and starts to be executed after being called by the operating system 110.
The first launcher program 130 is responsible for searching all the application programs installed in the operating system 110 as launchers, for example, the first launcher program 130 may read the name of each application program installed in the operating system 110 from the storage medium 101 of the computing device, and determine whether the application program can be used as a launcher according to the read name of the application program. However, the manner in which the first launcher application 130 searches for an application that can be used as a launcher is not limited to the above.
The first launcher application 130 is also responsible for selecting one of the searched applications as the second launcher application, and for calling the selected second launcher application to cause the called second launcher application to begin execution. In more detail, the first launcher program 130 may first calculate the number of searched applications (this number is also referred to as program number in the present invention), and may select the searched applications as the second launcher program when determining that the calculated program number is equal to one, that is, only one application is searched as a launcher; the first launcher program 130 may also display a list including all the searched applications when it is determined that the calculated program number is greater than one, that is, when two or more applications are searched as launchers, and may select a second launcher program from the applications displayed on the list according to an input operation. Wherein, the list can contain the name, representative icon, brief introduction, installation time, etc. of the application program; the input operation is, for example, clicking or the like.
Compiler 150 may compile the launcher program into application 120. The compiler 150 may modify the compiling setting parameter when compiling the launcher program, so as to compile the launcher program, which can be used as a launcher, into a general application program during the compiling process.
The setup program 160 may obtain the ROOT authority of the operating system 110, and may set the first initiator program 130 as a designated initiator of the operating system 110 according to the obtained ROOT authority, so that other initiator programs cannot set itself as a default initiator after being installed in the operating system 110.
Next, an embodiment of the operating system and method of the present invention is described, and please refer to fig. 2A, which is a flowchart illustrating a method for searching an installed initiator to select an initiator to be executed. In the embodiment, the computing device is assumed to be a mobile device such as a mobile phone, but the invention is not limited thereto.
First, a user may operate a computing device executing an operating system 110, whereby a first launcher program 130 supporting the present invention is installed in the operating system executing on the computing device (step 210).
After the operating system 110 begins installing the first launcher program 130, the first launcher program 130 may be set as the default launcher for the operating system 110 (step 220). In this embodiment, the first launcher program 130 may set itself as the default launcher of the operating system 110 during installation to the operating system 110; if the user also installs another application 120 that can be a launcher through the remote debug interface of the operating system 110 after the first launcher program 130 is successfully installed in the operating system 110 and set as a preset launcher, the user may also operate the operating system 110 through the remote debug interface of the operating system 110 to set the default launcher as the first launcher program 130.
After the first launcher program 130 is set as the default launcher for the operating system 110 (step 220), when the computing device is restarted, the operating system 110 may execute the boot program and may call the first launcher program 130 as the default launcher among the boot programs.
The first launcher application 130, after being called by the operating system 110, may search for applications 120 installed in the operating system 110 that may act as a launcher (step 230). In this embodiment, it is assumed that the first launcher program 130 can determine whether the application installed in the operating system 110 can be used as a launcher according to the name of the application.
After the first launcher application 130 has searched for the application 120 installed in the operating system 110 that is capable of acting as a launcher (step 230), the first launcher application 130 may select a second launcher application from the searched applications 120 (step 240). In this embodiment, it is assumed that the first launcher program 130 can be as shown in the flow of fig. 2B, after the first launcher program 130 determines whether the application installed in the operating system 110 can be used as a launcher (step 231) to search for the application 120 that can be used as a launcher according to the name of the application, the number of searched applications 120 is first calculated (step 241), and it is determined whether the number of searched applications 120 is equal to one (step 243). When the number of the applications 120 searched by the first launcher program 130 is equal to one, that is, when the first launcher program 130 searches only one application 120, the first launcher program 130 can directly select the searched application 120 as the second launcher program (step 249); when the number of the applications 120 searched by the first launcher application 130 is greater than one, that is, when the first launcher application 130 searches for two or more applications 120, the first launcher application 130 may display a list of the searched applications on the display screen of the computing device (step 245), and provide the user with a choice of one application from the displayed list, so as to select the application selected by the user as the second launcher application according to an input operation such as clicking performed by the user to select the application (step 247).
Returning to fig. 2A, after the first launcher application 130 selects a second launcher application from the searched applications 120 (step 240), the first launcher application 130 may call the selected second launcher application (step 250), i.e., call the actual launcher application, so that the second launcher application starts executing, thereby completing the booting of the computing device.
Thus, with the present invention, when only one launcher enabling application 120 is installed in the operating system 110 of the computing device, the first launcher application 130 may automatically call the launcher enabling application 120 to execute, and when multiple launcher enabling applications 120 are installed in the operating system 110, the first launcher application 130 may provide the user with the option to execute the launcher enabling application 120.
In the above embodiment, before the operating system 110 installs the first launcher program 130 (step 210), the application program that can be used as the launcher may be generated by the compiler 150 compiling the launcher program (step 201). Where compiler 150 may be installed in a computing device or other external device.
Further, if the setting program 160 is also installed in the operating system 110, as shown in the flow of fig. 2C, the setting module 160 may acquire the ROOT authority of the operating system 110 (step 271) after the first launcher program 130 is installed in the operating system 110 (step 210), and may set the first launcher program 130 as the designated launcher of the operating system 110 (step 275) so that the preset launcher is fixed as the first launcher program 130 when the ROOT authority of the operating system 110 is acquired. Thus, after the first launcher program 130 is successfully installed in the operating system 110 and set as the default launcher, the default launcher will not be changed by other application programs 120 and remains the first launcher program 130 when the user also installs other application programs 120 that can be used as the launcher through the remote debug interface of the operating system 110.
In summary, it can be seen that the difference between the present invention and the prior art is that the present invention has a technical means that the operating system calls the first starter program in the boot process, the first starter program can search the application program installed in the operating system and used as the starter after being executed, and selects the second starter program from the searched application programs, and calls the selected second starter program, and by means of the technical means, the problem that the existing technology can only uninstall the old starter and then install the new starter when the starter can not be switched by the operating system can be solved, thereby achieving the technical efficacy of meeting the testing requirement while meeting the requirement of the boot process without changing the habit of the user.
Furthermore, the method of the present invention of first searching for installed initiators to select an initiator to be executed may be implemented in hardware, software, or a combination of hardware and software, or may be implemented in a centralized fashion in a computer system or in a distributed fashion where different elements are spread across several interconnected computer systems.
Although the embodiments of the present invention have been described above, the description is not intended to limit the scope of the invention. Workers skilled in the art will recognize that changes may be made in form and detail without departing from the spirit and scope of the disclosure. The scope of the invention is defined by the appended claims.

Claims (8)

1. A method for searching installed starter to select the starter to be executed is applied to a computing device, an operating system is installed on the computing device, and the method at least comprises the following steps:
installing a first launcher program in the operating system;
setting the first launcher program as the default launcher of the operating system;
when the first launcher program is called by the operating system, the first launcher program searches at least one application program which is installed in the operating system and can be used as a launcher; and
the first launcher program selects a second launcher program from the at least one application program, and calls the second launcher program;
the step of searching the at least one application program which is installed in the operating system and can be used as a launcher by the first launcher program further comprises the step of judging whether the at least one application program can be used as the launcher by the first launcher program according to the name of the at least one application program.
2. The method as claimed in claim 1, wherein the step of the first launcher selecting the second launcher from the at least one application program further comprises the steps of the first launcher calculating the number of the at least one application program searched, determining that the number of the at least one application program is equal to one, selecting the searched application program as the second launcher program, determining that the number of the at least one application program is greater than one, displaying the list of the at least one application program searched, and selecting the second launcher program from the at least one application program according to an input operation.
3. The method as claimed in claim 1, wherein the method further comprises the step of compiling at least one launcher program into the at least one application program by a compiler before the step of installing the first launcher program in the operating system.
4. The method of claim 1, wherein the method further comprises installing the at least one application via a remote debug interface of the computing device prior to the step of first searching for an installed launcher to select a launcher to be executed.
5. A system for searching installed initiators to select an initiator to be executed, applied in a computing device, the system at least comprising:
an operating system installed in the computing device;
at least one application program installed in the operating system; and
the first launcher program is installed in the operating system, is a default launcher of the operating system, and is used for searching the at least one application program which can be used as the launcher after being called by the operating system, and is used for selecting a second launcher program from the at least one application program and calling the second launcher program;
the first launcher program judges whether the at least one application program can be used as a launcher or not according to the name of the at least one application program so as to search the at least one application program which is installed in the operating system and can be used as a launcher.
6. The system according to claim 5, wherein the first launcher program is configured to count the number of the at least one searched application program, determine that the number of the at least one searched application program is equal to one, select the searched application program as the second launcher program, determine that the number of the at least one searched application program is greater than one, display a list of the at least one searched application program, and select the second launcher program from the at least one searched application program according to an input operation.
7. The system of claim 5, wherein the system further comprises a compiler for compiling at least one launcher program into the at least one application program.
8. The system of claim 5, wherein the operating system further comprises a remote debug interface for providing installation and/or removal of the at least one application.
CN201911204874.8A 2019-11-29 2019-11-29 System and method for searching installed starter to select starter to be executed Active CN112988242B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911204874.8A CN112988242B (en) 2019-11-29 2019-11-29 System and method for searching installed starter to select starter to be executed

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911204874.8A CN112988242B (en) 2019-11-29 2019-11-29 System and method for searching installed starter to select starter to be executed

Publications (2)

Publication Number Publication Date
CN112988242A CN112988242A (en) 2021-06-18
CN112988242B true CN112988242B (en) 2023-02-03

Family

ID=76330916

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911204874.8A Active CN112988242B (en) 2019-11-29 2019-11-29 System and method for searching installed starter to select starter to be executed

Country Status (1)

Country Link
CN (1) CN112988242B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6727920B1 (en) * 1999-03-11 2004-04-27 Micron Technology, Inc. Multiple operating system quick boot utility
CN105245954A (en) * 2015-10-12 2016-01-13 Tcl集团股份有限公司 Smart television starting method and smart television starting device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6727920B1 (en) * 1999-03-11 2004-04-27 Micron Technology, Inc. Multiple operating system quick boot utility
CN105245954A (en) * 2015-10-12 2016-01-13 Tcl集团股份有限公司 Smart television starting method and smart television starting device

Also Published As

Publication number Publication date
CN112988242A (en) 2021-06-18

Similar Documents

Publication Publication Date Title
EP3504626B1 (en) Multi-layer test suite generation
US20180357068A1 (en) Method And System For Automated Agent Injection In Container Environments
RU2421785C2 (en) Automated control of device drivers
EP2040162A1 (en) Systems and methods for patching computer programs
CN110096424B (en) Test processing method and device, electronic equipment and storage medium
JP2004005419A (en) Install processing apparatus, processing method, storage medium, and program
KR20070049095A (en) Servicing a component-base software product
JP2012088901A (en) Software management device, software management method, and software management program
US20150186126A1 (en) System and Method of Automating Installation of Applications
US20200379742A1 (en) Validation of configurations of factory installations
CN102043662A (en) Data modification method for multiple operation systems
CN112988242B (en) System and method for searching installed starter to select starter to be executed
CN112256588A (en) Resource allocation method for application program test, computer readable storage medium and tester
WO2014112973A1 (en) Server-platform simulation service
US20200356361A1 (en) Management method for preset third-party applications, intelligent terminal and storage medium
CN102455919A (en) Automatic optimization setting method for basic input output system(BIOS)
CN113342376B (en) Method and device for upgrading operating system of Internet of things equipment
US20040205730A1 (en) System and method for building libraries and groups of computer programs
CN115237441A (en) Upgrade test method, device and medium based on cloud platform
TW202123034A (en) System for choosing and executing one of installed launchers after searching installed launchers and method thereof
CN110806876B (en) Lightweight Linux system customization method based on slit, device computer equipment and storage medium
GB2515598A (en) Information processing apparatus and information processing method
CN113031964A (en) Management method, device, equipment and storage medium for big data application
CN112988554B (en) SDK detection method, device, SDK program, device, and storage medium
EP3944085A1 (en) An information processing system with intelligent program smoke testing

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