CN109144596B - Quick starting method, device, terminal, server and system - Google Patents

Quick starting method, device, terminal, server and system Download PDF

Info

Publication number
CN109144596B
CN109144596B CN201710458199.6A CN201710458199A CN109144596B CN 109144596 B CN109144596 B CN 109144596B CN 201710458199 A CN201710458199 A CN 201710458199A CN 109144596 B CN109144596 B CN 109144596B
Authority
CN
China
Prior art keywords
starting
file
updated
starting mode
shortcut
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
CN201710458199.6A
Other languages
Chinese (zh)
Other versions
CN109144596A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201710458199.6A priority Critical patent/CN109144596B/en
Publication of CN109144596A publication Critical patent/CN109144596A/en
Application granted granted Critical
Publication of CN109144596B publication Critical patent/CN109144596B/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/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a quick starting method, a quick starting device, a quick starting terminal, a quick starting server and a quick starting system, and belongs to the field of computers. The method comprises the following steps: the management client acquires the updated starting mode file from the server; the management client loads the updated starting mode file; when the management client receives a starting operation of a target shortcut, starting an application program or a program function corresponding to the target shortcut by operating a starting mode corresponding to the target shortcut in the updated starting mode file; the problem that when the terminal acquires the updated starting mode file by acquiring the updated installation package of the management client, the management client needs to be installed again, the starting process can acquire the updated starting mode file only, and the efficiency of updating the starting mode file by the terminal is low is solved, and the efficiency of updating the starting mode file by the terminal is improved.

Description

Quick starting method, device, terminal, server and system
Technical Field
The embodiment of the invention relates to the field of computers, in particular to a quick starting method, a quick starting device, a quick starting terminal, a quick starting server and a quick starting system.
Background
At least one application is run in the terminal, each application providing at least one program function. Some operating systems are provided with a quick start interface, wherein the quick start interface is displayed with application programs and/or shortcuts of designated program functions in the application programs, and a user can directly start the corresponding application programs or program functions after clicking the shortcuts. For example, the shortcut start interface is a pull-down interface of the notification bar, and a shortcut of a switch of a wireless local area network, a shortcut of a switch of a data network, a shortcut of the application 1, a shortcut of a function of one of the applications 2, and the like are displayed on the pull-down interface.
And a management client for managing the quick start interface is also operated in the terminal. And the management client provides a starting process and a starting mode of each shortcut after being triggered, and after a user clicks the shortcut 1 in the shortcut starting interface, the starting process of the management client starts a corresponding application program or program function according to the starting mode corresponding to the shortcut 1.
The starting modes corresponding to the same shortcut may be different on terminals of different hardware platforms and/or different versions of operating systems. If the starting mode corresponding to a certain shortcut in the terminal is not suitable for the current hardware platform and/or operating system of the terminal, the starting process may fail to start the application program or program function corresponding to the shortcut. At this time, the starting mode corresponding to the shortcut needs to be updated.
In a typical updating method, a server sends an updated installation package corresponding to a management client to a terminal, wherein the updated installation package comprises an updated starting mode file, and the updated starting mode file comprises a starting mode corresponding to at least one shortcut; and after the terminal reinstalls the management client according to the updated installation package, the starting process loads the updated starting mode file. At this time, when the user clicks a shortcut in the shortcut start interface, the start process runs the start mode corresponding to the shortcut to start the corresponding application program or program function.
The terminal acquires the updated starting mode file by acquiring the updated installation package, so that the management client needs to be installed again when the terminal updates the starting mode file each time, and the efficiency of updating the starting mode file by the terminal is low.
Disclosure of Invention
In order to solve the problem that the efficiency of updating the starting mode file by the terminal is low because the terminal acquires the updated starting mode file by acquiring the updated installation package of the management client, embodiments of the present invention provide a quick starting method, apparatus, terminal, server and system. The technical scheme is as follows:
in a first aspect, a fast boot method is provided, where the method includes:
the method comprises the steps that a management client side obtains an updated starting mode file from a server, the starting mode file comprises a starting mode corresponding to at least one shortcut in a quick starting interface, and the quick starting interface is used for providing the shortcut of at least one application program and/or program function;
the management client loads the updated starting mode file;
and when the management client receives the starting operation of the target shortcut, starting the application program or program function corresponding to the target shortcut by operating the starting mode corresponding to the target shortcut in the updated starting mode file.
In a second aspect, a shortcut start method is provided, where the method includes:
pushing a download address of an updated starting mode file to a terminal, wherein the starting mode file comprises a starting mode corresponding to at least one shortcut in a quick starting interface in the terminal, and the quick starting interface is used for providing the shortcut of at least one application program and/or program function;
receiving a file acquisition request sent by the terminal, wherein the file acquisition request comprises a download address of the updated starting mode file;
and sending the updated starting mode file to the terminal, wherein the updated starting mode file is used for loading by a management client in the terminal, and when receiving a starting operation on a target shortcut in the at least one shortcut, operating a target starting mode corresponding to the target shortcut in the starting mode file, and starting an application program or a program function corresponding to the target shortcut.
In a third aspect, a quick start apparatus is provided, the apparatus comprising:
the acquisition module is used for acquiring an updated starting mode file from a server, wherein the starting mode file comprises a starting mode corresponding to at least one shortcut in a quick starting interface, and the quick starting interface is used for providing the shortcut of at least one application program and/or program function;
the loading module is used for loading the updated starting mode file;
and the starting module is used for starting the application program or program function corresponding to the target shortcut by operating the starting mode corresponding to the target shortcut in the updated starting mode file when the starting operation of the target shortcut is received.
In a fourth aspect, a quick start device is provided, the device comprising:
the terminal comprises a first sending module, a second sending module and a starting module, wherein the first sending module is used for pushing a download address of an updated starting mode file to the terminal, the starting mode file comprises a starting mode corresponding to at least one shortcut in a quick starting interface in the terminal, and the quick starting interface is used for providing the shortcut of at least one application program and/or program function;
a receiving module, configured to receive a file acquisition request sent by the terminal, where the file acquisition request includes a download address of the updated start-up mode file;
and the second sending module is used for sending the updated starting mode file to the terminal, wherein the updated starting mode file is used for loading by a management client in the terminal, and when receiving a starting operation on a target shortcut in the at least one shortcut, the second sending module runs a target starting mode corresponding to the target shortcut in the starting mode file and starts an application program or a program function corresponding to the target shortcut.
In a fifth aspect, a terminal is provided, where the terminal includes a processor and a memory, where the memory stores at least one instruction, at least one program, a code set, or a set of instructions, and the at least one instruction, the at least one program, the code set, or the set of instructions is loaded and executed by the processor to implement the fast boot method provided in the first aspect.
In a sixth aspect, a server is provided, which includes a processor and a memory, where at least one instruction, at least one program, a set of codes, or a set of instructions is stored in the memory, and the at least one instruction, the at least one program, the set of codes, or the set of instructions is loaded and executed by the processor to implement the fast boot method provided in the second aspect.
In a seventh aspect, a quick start system is provided, which includes a terminal and a server,
the terminal comprises the terminal provided by the fifth aspect;
the server comprises the server provided by the sixth aspect.
In an eighth aspect, a computer-readable storage medium is provided, in which at least one instruction, at least one program, a set of codes, or a set of instructions is stored, and the at least one instruction, the at least one program, the set of codes, or the set of instructions is loaded and executed by a processor to implement the quick start method provided in the first aspect.
In a ninth aspect, a computer-readable storage medium is provided, in which at least one instruction, at least one program, code set, or instruction set is stored, and the at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by a processor to implement the shortcut boot method provided in the second aspect.
The technical scheme provided by the embodiment of the invention has the following beneficial effects:
the method comprises the steps of obtaining an updated starting mode file in a server and loading the updated starting mode file; when the management client starts the target shortcut, the starting mode corresponding to the target shortcut in the updated starting mode file can be operated; the problem that when the terminal acquires the updated starting mode file by acquiring the updated installation package of the management client, the terminal needs to reinstall the management client, the starting process can acquire the updated starting mode file, and the efficiency of updating the starting mode file by the terminal is low is solved; because the management client can directly acquire the updated starting mode file in the server and use the updated starting mode file to start the application program or program function corresponding to the target shortcut, the terminal does not need to acquire and install the updated installation package of the management client, and the efficiency of updating the starting mode file by the terminal is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic diagram of a shortcut startup system according to an embodiment of the present invention;
FIG. 2 is a diagram of an updated boot rule provided by one embodiment of the present invention;
FIG. 3 is a flowchart of a shortcut boot method provided in one embodiment of the present invention;
FIG. 4 is a diagram illustrating loading an updated boot mode file, according to an embodiment of the present invention;
FIG. 5 is a diagram illustrating an updated boot mode file, according to an embodiment of the present invention;
FIG. 6 is a diagram illustrating an updated boot mode file, according to an embodiment of the present invention;
FIG. 7 is a diagram of a shortcut initiation interface provided by an embodiment of the present invention
FIG. 8 is a flowchart of a shortcut boot method provided in one embodiment of the present invention;
FIG. 9 is a block diagram of a quick start apparatus provided by one embodiment of the present invention;
FIG. 10 is a block diagram of a quick launch device provided in accordance with one embodiment of the present invention;
fig. 11 is a schematic structural diagram of a terminal according to an embodiment of the present invention;
fig. 12 is a schematic structural diagram of a server according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
First, a number of terms related to embodiments of the present invention will be described.
Program functions: one function provided by an application in the terminal comprises one or more program functions. Such as: the system comprises a communication function provided by a social application, a network connection function provided by a networking application, an electronic transaction function provided by a shopping application, a photographing function, a two-dimensional code scanning function and the like.
Starting a mode file: the method comprises at least one starting mode of the shortcut, and each shortcut comprises at least one starting mode. When the same shortcut includes multiple startup modes, each startup mode is suitable for terminals of different hardware platforms and/or different versions of operating systems.
The starting mode is as follows: for starting the application and/or program function corresponding to the shortcut.
Illustratively, the starting mode file is a dex file; the starting mode is a function method stored in a dex file. The dex file is an executable file in an android system, and the suffix of the executable file is.
Quick start interface: for providing at least one shortcut function.
Alternatively, the quick start interface may also be referred to as a quick start bar, a pull-down interface of a notification bar, and the like, which is not limited in this embodiment.
And the shortcut is used for rapidly starting the corresponding application program and/or program function according to the starting operation. Optionally, the shortcut includes an identification and a start interface. Optionally, the identification comprises at least one of a name of the shortcut and an icon of the shortcut, the identification being visible to the user. The starting interface is used for determining a starting mode corresponding to the shortcut and is invisible to the user. Optionally, the starting operation may be a click operation, a slide operation, a voice input operation, a long press operation, and the like, which is not limited in this embodiment.
Managing a client: the method is used for managing the quick start interface provided by the operating system. The administration client may be a system security application such as xx security butler, xx cleanup engineer.
Optionally, the management client comprises at least one of the following functions: the method comprises the steps of adding a shortcut function in a quick starting interface, deleting the shortcut function in the quick starting interface, adjusting the position of each shortcut in the quick starting interface, and updating a starting mode corresponding to the shortcut in the quick starting interface.
Optionally, the management client may further include other functions for other management shortcut start interfaces, which are not listed here.
Optionally, after the management client is successfully installed in the terminal and started, the operating system starts a background process corresponding to the management client, where the background process has a networking function.
Optionally, in this embodiment, the background process has a function of receiving the starting mode file sent by the server.
Optionally, after the shortcut of the management shortcut start interface of the management client is triggered, the operating system starts a start process corresponding to the management client, where the start process loads a start mode file acquired by the background process to a memory corresponding to the start process, and runs the start mode file in the memory to start an application program or a program function corresponding to at least one shortcut in the shortcut start interface.
An application scenario of the embodiment of the present invention is described below.
Referring to fig. 1, a schematic structural diagram of a shortcut startup system according to an embodiment of the present invention is shown. The system includes at least one terminal 110 and a server 120.
The terminal 110 may be a mobile phone, a tablet computer, a wearable device, a laptop portable computer, a desktop computer, and the like, which is not limited in this embodiment.
The terminal 110 has a management client 111 installed therein.
Optionally, the terminal 110 is also installed with at least one application 112. The management client 111 and the application 112 provide at least one program function.
The operating system of the terminal 110 is provided with a quick start interface, and the management client 111 has a function of managing the quick start interface.
Optionally, when the management client 111 is started, the operating system starts a background process corresponding to the management client 111, and the background process establishes a communication connection with the server 120 in a wireless network manner or a wired network manner.
Optionally, after the background process is started, the startup mode file in the installation package of the management client 111 is loaded into the specified file, and the file information of the startup mode file is added to the file directory corresponding to the specified file.
The file information of the starting mode file comprises at least one of the following information: the file name of the starting mode file, the storage address of the starting mode file and the file structure information of the starting mode file.
Optionally, the file information of the startup mode file further includes other information, which is not listed here.
Optionally, when the shortcut of the management shortcut start interface of the management client 111 is started, the operating system starts a start process corresponding to the management client 111, and the start process loads the start mode file in the specified file to a memory corresponding to the start process according to the file directory. And when the starting process receives the starting operation of a certain shortcut, operating a starting mode corresponding to the shortcut in the memory to start the shortcut.
Optionally, in this embodiment, the background process and the start process share the same file directory.
The server 120 is used to provide services for the management client.
Optionally, in this embodiment, the server 120 may send the updated starting method file to the terminal.
And the updated starting mode file comprises a starting mode corresponding to the shortcut in the quick starting interface. The updated startup-mode file is edited by the developer and uploaded to the server 120.
Optionally, the updated starting mode file further includes starting modes corresponding to other shortcuts. The other shortcuts refer to shortcuts corresponding to applications and/or program functions that are not displayed in the shortcut starting interface and are already installed in the terminal 110.
Optionally, before the server 120 sends the updated start-up mode file to the terminal 110, a download address of the updated start-up mode file is sent to the terminal 110. The terminal 110 downloads the updated start-up mode file according to the download address.
Optionally, the download address of the updated start-up mode file is carried in the updated start-up rule.
The updated starting rule comprises a file identifier of the updated starting mode file and a download address of the updated starting mode file.
Illustratively, the file identifier of the updated startup mode file is represented by md5 code; the download address of the updated startup mode file is a Uniform Resource Locator (URL).
Optionally, the updated start rule further includes at least one of type information, display mode and identification of the application program and/or program function.
The type information is used to indicate the type of the application and/or program function, such as: switch type, social type, electronic transaction type, startup mode file type, etc.
The display mode is used for indicating at least one of a display position, a display condition, a display name and a display icon of the shortcut corresponding to the application program and/or the program function in the shortcut notification bar. The display condition is a condition whether the shortcut is displayed, such as displaying the shortcut when the version number of the operating system is greater than a preset version number.
The identification is used to uniquely identify the application and/or program function. Illustratively, the identification of the application is the package name of the application, and the identification of the program function is the function name or class name.
Referring to the structural diagram of the startup rule shown in fig. 2, in the startup rule, when the value of data1 is 1, the updated startup mode file is indicated, at this time, data2 corresponding to data1 is the identifier of the updated startup mode file, and data3 corresponding to data1 is the download address of the updated startup mode file.
When the value of the data1 is 2, the shortcut corresponding to the application program and/or the program function is indicated to be the shortcut which is displayed in the quick start interface by default by the operating system, at this time, the data2 corresponding to the data1 is the identifier of the application program and/or the program, the data3 corresponding to the data1 is the display position of the application program and/or the shortcut corresponding to the program in the quick start interface, and the data4 corresponding to the data1 is the name of the application program and/or the shortcut corresponding to the program in the quick start interface.
The present embodiment is only described by taking the above classification manner as an example, and in actual implementation, the start rule may include other classification manners and may also include other information, which is not limited in this embodiment.
When the server 120 receives the updated start rule, the updated start rule is sent to the background process of the terminal 110, and the background process sends a file acquisition request to the server 110 according to the download address of the updated start mode file in the updated start rule; after receiving the file acquisition request, the server 110 searches for the updated start mode file according to the download address of the start mode file, and sends the updated start mode file to the background process of the terminal 110.
After receiving the updated start-up mode file, the background process of the terminal 110 loads the updated start-up mode file into the specified file, and adds the file information of the updated start-up mode file to the file directory corresponding to the specified file.
And the background process sends a loading message to the starting process to inform the starting process to load the updated starting mode file into the corresponding memory.
Optionally, the wireless or wired networks described above use standard communication techniques and/or protocols. The Network is typically the Internet, but may be any Network including, but not limited to, a Local Area Network (LAN), a Metropolitan Area Network (MAN), a Wide Area Network (WAN), a mobile, wireline or wireless Network, a private Network, or any combination of virtual private networks. In some embodiments, data exchanged over a network is represented using techniques and/or formats including HyperText Mark-up Language (HTML), Extensible Mark-up Language (XML), and so forth. All or some of the links may also be encrypted using conventional encryption techniques such as Secure Socket Layer (SSL), Transport Layer Security (TLS), Virtual Private Network (VPN), Internet protocol Security (IPsec). In other embodiments, custom and/or dedicated data communication techniques may also be used in place of, or in addition to, the data communication techniques described above.
Referring to fig. 3, a flowchart of a shortcut startup method according to an embodiment of the present invention is shown. The shortcut starting method is applied to the terminal 110 of the shortcut starting system shown in fig. 1, and may include the following steps:
step 301, the management client obtains the updated starting mode file from the server.
And the management client is used for managing the quick start interface.
The starting mode file comprises a starting mode corresponding to at least one shortcut in a quick starting interface, and the quick starting interface is used for providing the shortcut of at least one application program and/or program function.
Wherein, the starting mode corresponding to the shortcut means that: and starting the starting mode of the application program and/or program function corresponding to the shortcut.
In this embodiment, the management client corresponds to a background process and a start process. The background process is provided with a networking shortcut, and the background process can acquire the updated starting mode file sent by the server in the background through the networking shortcut. Therefore, the terminal does not need to acquire the updated starting mode file by acquiring the updated installation package of the management client from the server, and the efficiency of acquiring the updated starting mode file by the terminal is improved.
Step 302, the management client loads the updated start mode file.
And after the background process acquires the updated starting mode file, the background process informs the starting process to load the updated starting mode file, so that the starting process starts the application program or program function corresponding to the shortcut by using the updated starting mode file.
The background process and the starting process are different running examples corresponding to the management client.
Step 303, when the management client receives the starting operation of the target shortcut, the management client starts the application program or program function corresponding to the target shortcut by running the starting mode corresponding to the target shortcut in the updated starting mode file.
The terminal displays a shortcut starting bar, wherein the shortcut starting bar comprises at least one shortcut; when a user selects a target shortcut in the at least one shortcut, a starting process receives a starting operation of the target shortcut, and at the moment, the starting process calls a starting mode corresponding to the target shortcut in an updated starting mode file through a starting interface corresponding to the target shortcut; and the starting process starts the application program or program function corresponding to the target shortcut by running the starting mode.
In summary, the quick start method provided by the present invention obtains the updated start method file in the server, and loads the updated start method file; when the management client starts the target shortcut, the starting mode corresponding to the target shortcut in the updated starting mode file can be operated; the problem that when the terminal acquires the updated starting mode file by acquiring the updated installation package of the management client, the terminal needs to reinstall the management client, the starting process can acquire the updated starting mode file, and the efficiency of updating the starting mode file by the terminal is low is solved; because the management client can directly acquire the updated starting mode file in the server and use the updated starting mode file to start the application program or program function corresponding to the target shortcut, the terminal does not need to acquire and install the updated installation package of the management client, and the efficiency of updating the starting mode file by the terminal is improved.
The following respectively describes in detail the manner of acquiring the updated start mode file in step 301, the manner of loading the updated start mode file in step 302, and the manner of starting the application program or program function corresponding to the target shortcut in step 303.
Firstly, acquiring an updated starting mode file.
The method for acquiring the updated starting mode file from the server by the management client comprises the following steps:
1) and the server pushes the download address of the updated starting mode file to the terminal.
In this embodiment, after receiving the updated start mode file, the server actively pushes the download address of the updated start mode file to the terminal. Therefore, whether the starting mode file in the server is updated or not is not required to be continuously monitored by the background process of the management client, and resources consumed by the background process are saved.
2) And a background process in the terminal receives the download address of the updated starting mode file sent by the server.
3) And the background process in the terminal sends a file acquisition request to the server according to the download address.
And the background process carries the updated download address of the starting mode file in the file acquisition request and sends the file acquisition request to the server.
4) And the server receives a file acquisition request sent by the terminal.
The file acquisition request carries a download address of the updated starting mode file.
And the server determines the updated starting mode file according to the download address of the updated starting mode file.
5) And the server sends the updated starting mode file to the background process.
6) And the background process receives the updated starting mode file sent by the server according to the file acquisition request.
In summary, according to the quick start method provided by the present invention, the server pushes the download address of the updated start mode file to the background process, and the terminal obtains the updated start mode file according to the download address; the background process does not need to monitor whether the updated starting mode file in the server is updated in real time, and resources consumed by the background process are saved.
Alternatively, steps 1, 4, 5 may be implemented separately as a server-side method embodiment; steps 2, 3, and 6 can be implemented as a terminal-side method embodiment alone, which is not limited in this embodiment.
Optionally, the background process may not successfully acquire the updated starting method file according to the download address of the updated starting method file, for example: the network condition is poor, and the background process is unsuccessful in downloading the updated starting mode file.
In order to ensure that the terminal can acquire the updated starting mode file, the background process can detect whether a second file identifier corresponding to the existing starting mode file in the designated file is the same as a first file identifier of the updated starting mode file sent by the server every preset time; when the first file identification is different from the second file identification, the starting process does not acquire the updated starting mode file, and at the moment, the background process sends a file acquisition request to the server again according to the download address of the updated starting mode file; and the background process receives the updated starting mode file sent by the server according to the file acquisition request.
Optionally, the first file identifier corresponding to the updated start mode file and the download address of the updated start mode file are issued to the terminal by the server together. Illustratively, the first file identifier and the second file identifier are both md5 codes.
And secondly, loading the updated starting mode file.
The method for loading the updated starting mode file by the management client comprises the following steps:
1) and the background process stores the updated starting mode file to the specified file.
Optionally, the specified file is created during the operation of the management client. And after the background process stores the updated starting mode file to the specified file, loading the file information of the updated starting mode file under the file directory corresponding to the specified file. In this way, the starting process can determine the position of the updated starting mode file according to the file directory, so that the updated starting mode file can be acquired from the specified file.
Wherein, the starting process and the background process share the same file directory. Illustratively, the file is designated as a/data/data/file, and the file directory is a package name directory corresponding to the/data/data/file.
2) The background process sends a load message to the start process.
The loading message is used for indicating the starting process to load the updated starting mode file from the specified file.
And after the background process stores the updated starting mode file into the specified file, a loading message is sent to the starting process so as to inform the starting process that the starting mode file is updated.
Optionally, the loading information includes file information of the updated start-up mode file, and illustratively, the loading information includes a package name of the updated start-up mode file.
3) And the starting process loads the updated starting mode file in the specified file to the corresponding memory according to the loading message.
Optionally, each process in the terminal has a corresponding memory, and the process executes a corresponding operation by running a program loaded into the memory. In this embodiment, the start process loads the updated start mode file in the specified file to the memory corresponding to the start process according to the file information in the loading information, and starts the application program or program function corresponding to the shortcut by running the updated start mode file in the memory.
Optionally, when the start-up process receives the loading message, the start-up process is restarted to load the updated start-up mode file.
Optionally, the start process loads the updated start mode file to a memory corresponding to the start process through a class loader provided by the operating system. Illustratively, the Class Loader is a Dex Class Loader.
Optionally, if the starting process successfully loads the updated starting mode file in the specified file to the corresponding memory, the starting process deletes the existing starting mode file in the specified file, and deletes the file information of the existing starting mode file in the file directory.
The existing starting mode file is the starting mode file acquired by the background process from the server before the updated starting mode file is acquired, or the existing starting mode file is the starting mode file carried in the installation package of the management client.
Optionally, if the starting process fails to load the updated starting method file in the specified file into the memory, the starting process loads the existing starting method file in the specified file into the memory.
Optionally, if the updated starting mode file and the existing starting mode file are loaded by the starting process unsuccessfully, the terminal waits for the server to push the updated starting mode file next time through the background process.
Refer to fig. 4 for a schematic diagram of the boot process loading the updated boot mode file. The background process receives the updated start mode file 410 sent by the server, stores the updated start mode file 410 to the specified file 420, and loads the file information 1 of the updated start mode file 410 in the file directory 430 corresponding to the specified file 420. Wherein, the designated file 420 includes the existing startup mode file; the file directory 430 includes file information 2 of the existing startup-mode file.
The background process sends a loading message to the start process, the start process determines that the updated start mode file 410 is stored in the specified file 420 according to the file information 1 of the updated start mode file 410 in the file directory 430 after receiving the loading message, acquires the updated start mode file 410 from the specified file 420, and loads the updated start mode file 410 to the corresponding memory.
In summary, according to the quick start method provided by the present invention, the background process sends the loading message to the start process, so that the start process can load the updated start-up mode file according to the loading message, and the start process can acquire the updated start-up mode file without reinstalling the installation package of the management client by the terminal, thereby improving the efficiency of acquiring the updated start-up mode file by the start process.
And thirdly, starting the application program or program function corresponding to the target shortcut.
In this embodiment, the updated start mode file may include at least two corresponding start modes of the target shortcut, and the at least two start modes are respectively applicable to terminals of different hardware platforms and/or operating systems of different versions.
And starting the application program or program function corresponding to the target shortcut by running the starting mode corresponding to the target shortcut in the updated starting mode file, wherein the method comprises the following steps.
1) And the management client operates the ith starting mode according to the operation sequence of the at least two starting modes, wherein i is a positive integer.
And presetting the running sequence of each starting mode corresponding to each shortcut in the updated starting mode file, and running at least two starting modes corresponding to the target shortcut by the starting process according to the running sequence.
Optionally, the running order is represented by an order identifier, such as: 1 indicates an operating sequence of 1, 2 indicates an operating sequence of 2, and so on.
Optionally, the running sequence of the starting mode is determined according to the success rate of the starting process running the starting mode to start the application program or the program function. The higher the success rate, the earlier the running sequence of the starting mode.
Referring to the schematic diagram of the updated starting manner file shown in fig. 5, in the updated starting manner file, the shortcut 1 corresponds to the starting manner 1, the starting manner 2, and the starting manner 3; the shortcut 2 corresponds to the activation method 4 and the activation method 5.
Optionally, the updated starting method file further includes a starting method corresponding to each model. And the starting process acquires the model of the current terminal, selects the starting mode corresponding to the model from at least one starting mode corresponding to the target shortcut, and operates the starting mode corresponding to the model according to the operation sequence.
Referring to the schematic diagram of the updated starting manner file shown in fig. 6, in the updated starting manner file, a shortcut 1 corresponds to a starting manner 1, a starting manner 2, and a starting manner 3, where the starting manners 1 and 2 are starting manners corresponding to a model 1, and the starting manner 3 is a starting manner corresponding to a model 2; the shortcut 2 corresponds to a starting mode 4 and a starting mode 5, wherein the starting mode 4 corresponds to the model 1, and the starting mode 5 corresponds to the model 2.
And if the shortcut 1 is a target shortcut selected by the user and the model of the current terminal is model 1, starting a starting mode 2 in which the process running model 1 corresponds to and runs in a front running sequence in the starting mode.
Optionally, the updated boot mode file further includes a boot mode corresponding to each os version. And the starting process acquires the operating system version of the current terminal, selects the starting mode corresponding to the operating system version from at least two starting modes corresponding to the target shortcut and operates the starting mode corresponding to the operating system version according to the running sequence.
Optionally, the updated boot mode file further includes a boot mode corresponding to each os version and model. And the starting process acquires the version and the model of the operating system of the current terminal, selects the starting mode corresponding to the version and the model of the operating system from at least two starting modes corresponding to the target shortcut, and operates the starting modes corresponding to the version and the model of the operating system according to the operation sequence.
Optionally, the updated starting mode file may also classify the starting modes corresponding to the same shortcut according to other classification modes, which is not limited in this embodiment.
In this embodiment, by setting the running order of at least two starting manners corresponding to each shortcut in the updated starting manner file, the starting process can preferentially run the starting manner with a higher success rate, and the number of times of running the starting manner by the starting process is reduced as much as possible, thereby saving resources consumed by the starting process.
2) And if the application program or the program function corresponding to the target shortcut is not successfully started by operating the ith starting mode, continuously operating the (i + 1) th starting mode indicated by the operating sequence until the starting process is stopped when the application program or the program function corresponding to the target shortcut is successfully started.
Schematically, in fig. 5, if the starting process preferentially runs the starting mode 2 and is not successful, the starting process continues to run the starting mode 1; and if the starting mode 1 is not successfully operated, the starting process continues to operate the starting mode 3 until the starting process successfully starts the application program or the program function corresponding to the shortcut.
Optionally, if at least two starting modes corresponding to the starting process running the target shortcut do not successfully start the application program or the program function, the process is ended.
Optionally, before step 1), the start process may preferentially run the local start mode in the memory, and if the start process fails to run the local start mode, the start mode corresponding to the shortcut in the updated start mode file is called through an external file interface preset in the memory.
The local starting mode is derived from an installation package of the management client, and is loaded into the memory when the starting process runs.
In summary, the shortcut starting method provided by the present invention runs at least two starting manners corresponding to the target shortcut according to the running sequence, so that the starting process can preferentially run the starting manner with a higher starting success rate, and the number of times of running the starting manner by the starting process is reduced as much as possible, thereby saving resources consumed by the starting process.
Optionally, in each of the above embodiments, the server carries the download address and the file identifier of the updated start mode file in the updated start rule, where the updated start rule further includes a display mode of a plurality of shortcuts, for example: the updated start-up rules shown in fig. 2. The plurality of shortcuts comprise shortcuts which are displayed in a shortcut starting interface by default by an operating system and/or extended shortcuts provided by a management client.
And when the starting process displays the quick starting interface, displaying the shortcut which is displayed in the quick starting interface by default by the operating system according to the updated starting rule.
Referring to the schematic diagram of the shortcut start interface shown in fig. 7, the shortcuts default-displayed by the operating system in the shortcut start interface include a wireless network switch shortcut, a data network switch shortcut, a flight mode switch shortcut, and a bluetooth switch shortcut.
Optionally, the starting process displays the extension shortcut in the updated starting rule in the shortcut starting interface. The extension shortcut is a shortcut corresponding to an application program and/or a program function which is not displayed in the shortcut starting interface and is installed in the terminal.
In this case, the updated starting mode file further includes a display mode of the extended shortcut, and the starting process runs the display mode of the extended shortcut according to a display rule specified by the updated starting rule to display the extended shortcut.
Referring to fig. 7, after the user clicks the edit option 702 in the shortcut start interface 701, the start process displays the application installed in the terminal and/or the extension shortcut 703 corresponding to the program function according to the updated start rule and the display mode of the extension shortcut.
Referring to fig. 8, a flowchart of a shortcut startup method according to an embodiment of the present invention is shown. The method comprises the following steps:
step 801, starting a background process when a management client starts running.
The background process is provided with a networking shortcut, and the background process is connected with the server through the networking shortcut.
Step 802, the background process loads the startup mode file in the installation package of the management client into the specified file.
And the background process loads the starting mode file in the installation package into the specified file and loads the file information of the starting mode file in the installation package in the file directory corresponding to the specified file.
And step 803, when the start rule in the server is updated, sending the updated start rule to the background process.
The updated start rule includes an address of the updated start mode file.
And step 804, the background process receives the updated start rule sent by the server.
Step 805, the background process sends a file acquisition request to the server according to the updated download address of the start mode file.
Step 806, the server receives the file obtaining request, determines the updated starting mode file according to the download address of the updated starting mode file in the file obtaining request, and sends the updated starting mode file to the background process.
In step 807, the background process receives the updated startup mode file.
Step 808, the background process loads the updated startup mode file into the specified file.
And the background process loads the updated starting mode file into the specified file and loads the file information of the updated starting mode file in the file directory corresponding to the specified file.
And step 809, starting the starting process when the function for managing the quick starting interface in the management client is started.
Optionally, the function of managing the shortcut start interface in the management client may be turned on by default; or, a management function switch is arranged in the management client, and when the starting operation acted on the switch is received, the function for managing the quick start interface in the management client is started.
Optionally, this step may be performed before step 802 and 809; alternatively, it may be performed after step 802 and 809; alternatively, the step 802 and the step 809 may be executed simultaneously, which is not limited in this embodiment.
In step 810, the background process sends a load message to the start process.
Step 811, after receiving the loading message, the start-up process detects whether the file directory includes the file information of the updated start-up mode file.
If the starting process detects that the file directory includes the file information of the updated starting mode file, execute step 812; if the starting process detects that the file directory does not include the file information of the updated starting mode file, step 814 is executed.
In step 812, the start process loads the updated start mode file in the designated file to the corresponding memory.
And after the starting process successfully loads the updated starting mode file to the corresponding memory, deleting the starting mode file in the installation package in the specified file, and deleting the file information of the starting mode file in the installation package in the file directory.
Step 813, the starting process receives the starting operation of the target shortcut, and the starting mode corresponding to the target shortcut in the memory is operated to start the application program or program function corresponding to the target shortcut, and the process is ended.
In step 814, the start process loads the start mode file in the installation package in the specified file to the corresponding memory, and executes step 813.
And after the starting process successfully loads the starting mode file in the installation package to the corresponding memory, deleting the updated starting mode file in the specified file, and deleting the file information of the updated starting mode file in the file directory.
Optionally, when the background process receives the updated start rule sent by the server again, the step 805 continues to be performed in step 814, at this time, the start mode file in the installation package in the specified file may be the updated start mode file sent by the server last time.
In summary, the quick start method provided by the present invention obtains the updated start method file in the server, and loads the updated start method file; when the management client starts the target shortcut, the starting mode corresponding to the target shortcut in the updated starting mode file can be operated; the problem that when the terminal acquires the updated starting mode file by acquiring the updated installation package of the management client, the terminal needs to reinstall the management client, the starting process can acquire the updated starting mode file, and the efficiency of updating the starting mode file by the terminal is low is solved; because the management client can directly acquire the updated starting mode file in the server and use the updated starting mode file to start the application program or program function corresponding to the target shortcut, the terminal does not need to acquire and install the updated installation package of the management client, and the efficiency of updating the starting mode file by the terminal is improved.
The following are embodiments of the apparatus of the present invention that may be used to perform embodiments of the method of the present invention. For details which are not disclosed in the embodiments of the apparatus of the present invention, reference is made to the embodiments of the method of the present invention.
Referring to fig. 9, a block diagram of a shortcut startup device provided in an embodiment of the present invention is shown. The apparatus has a function of executing the above method example at the terminal side, and the function may be implemented by hardware, or may be implemented by hardware executing corresponding software. The apparatus may include: an acquisition module 910, a loading module 920, and a start module 930.
An obtaining module 910, configured to obtain an updated starting mode file from a server, where the starting mode file includes a starting mode corresponding to at least one shortcut in a quick starting interface, and the quick starting interface is used to provide at least one application program and/or a shortcut of a program function;
a loading module 920, configured to load the updated boot mode file;
a starting module 930, configured to start, when receiving a starting operation for a target shortcut, an application or a program function corresponding to the target shortcut by running a starting manner corresponding to the target shortcut in the updated starting manner file.
Optionally, the obtaining module 910 includes: the device comprises a first receiving unit, a first sending unit and a second receiving unit.
The first receiving unit is used for receiving the download address of the updated starting mode file pushed by the server;
the first sending unit is used for sending a file acquisition request to the server according to the download address;
and the second receiving unit is used for receiving the updated starting mode file sent by the server according to the file acquisition request.
Optionally, the obtaining module includes: the device comprises a third receiving unit, a detecting unit, a second sending unit and a fourth receiving unit.
A third receiving unit, configured to receive the download address of the updated start-up mode file and the first file identifier of the updated start-up mode file, where the download address is pushed by the server;
the detection unit is used for detecting whether a second file identifier corresponding to a starting mode file existing in the designated file is the same as the first file identifier or not at intervals of preset time;
a second sending unit, configured to send a file acquisition request to the server according to the download address when the second file identifier is different from the first file identifier;
and the fourth receiving unit is used for receiving the updated starting mode file sent by the server according to the file acquisition request.
Optionally, in the updated start mode file, the target shortcut corresponds to at least two start modes, the at least two start modes are respectively applicable to terminals of different hardware platforms and/or operating systems of different versions, and the start module is configured to:
operating the ith starting mode according to the operation sequence of the at least two starting modes;
and when the application program or the program function corresponding to the target shortcut is not successfully started by running the ith starting mode, continuing to run the (i + 1) th starting mode indicated by the running sequence until the starting process stops when the application program or the program function corresponding to the target shortcut is successfully started.
Optionally, the management client has a background process and a starting process;
the loading module comprises: the device comprises a storage unit, a third sending unit and a loading unit.
The storage unit is used for storing the updated starting mode file to a specified file;
a third sending unit, configured to send a loading message to the boot process, where the loading message is used to instruct the boot process to load the updated boot mode file from the specified file;
and the loading unit is used for loading the updated starting mode file in the specified file to a corresponding memory according to the loading message.
Optionally, the apparatus further comprises: and a local file loading module.
A local file loading module, configured to load an existing starting method file in the specified file into the memory when the starting process fails to load the updated starting method file in the specified file into the memory;
the existing starting mode file is the starting mode file acquired by the background process from the server before the updated starting mode file is acquired, or the existing starting mode file is the starting mode file carried in the installation package of the management client.
Referring to fig. 10, a block diagram of a shortcut startup device provided in an embodiment of the present invention is shown. The apparatus has a function of executing the above method example at the terminal side, and the function may be implemented by hardware, or may be implemented by hardware executing corresponding software. The apparatus may include: a first transmitting module 1010, a receiving module 1020, and a second transmitting module 1030.
A first sending module 1010, configured to push a download address of an updated start mode file to a terminal, where the start mode file includes a start mode corresponding to at least one shortcut in a quick start interface in the terminal, and the quick start interface is used to provide at least one application program and/or a shortcut of a program function;
a receiving module 1020, configured to receive a file acquisition request sent by the terminal, where the file acquisition request includes a download address of the updated start-up mode file;
a second sending module 1030, configured to send the updated starting mode file to the terminal, where the updated starting mode file is used for a management client in the terminal to load, and when receiving a starting operation on a target shortcut in the at least one shortcut, run a target starting mode corresponding to the target shortcut in the starting mode file, and start an application program or a program function corresponding to the target shortcut.
It should be noted that: the quick starting device provided in the above embodiment is only illustrated by dividing the functional modules, and in practical applications, the function distribution may be completed by different functional modules according to needs, that is, the internal structure of the server is divided into different functional modules, so as to complete all or part of the functions described above. In addition, the embodiments of the quick start device and the quick start method provided by the embodiments belong to the same concept, and specific implementation processes thereof are detailed in the embodiments of the methods and are not described herein again.
Embodiments of the present invention also provide a computer-readable storage medium, which may be a computer-readable storage medium contained in a memory; or it may be a separate computer-readable storage medium not incorporated in the terminal. The computer readable storage medium stores at least one instruction, at least one program, a set of codes, or a set of instructions, which is loaded and executed by a processor to implement the method for shortcut boot at the terminal side provided by the above-mentioned method embodiments.
Embodiments of the present invention also provide a computer-readable storage medium, which may be a computer-readable storage medium contained in a memory; or it may be a computer-readable storage medium that exists separately and is not assembled into a server. The computer readable storage medium stores at least one instruction, at least one program, a set of codes, or a set of instructions that is loaded and executed by a processor to implement the server-side shortcut boot method provided by the various method embodiments described above.
Fig. 11 is a schematic diagram illustrating a structure of a terminal 1100 according to an embodiment of the present invention, where the terminal may include a Radio Frequency (RF) circuit 1101, a memory 1102 including one or more computer-readable storage media, an input unit 1103, a display unit 1104, a sensor 1105, an audio circuit 1106, a Wireless Fidelity (WiFi) module 1107, a processor 1108 including one or more processing cores, and a power supply 1109. Those skilled in the art will appreciate that the terminal structure shown in fig. 11 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. Wherein:
the RF circuit 1101 may be used for receiving and transmitting signals during a message transmission or communication process, and in particular, for receiving downlink information from a base station and then processing the received downlink information by one or more processors 1108; in addition, data relating to uplink is transmitted to the base station. In general, the RF circuitry 1101 includes, but is not limited to, an antenna, at least one amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuit 1101 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to Global System for Mobile communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Message Service (SMS), and the like.
The memory 1102 may be used for storing software programs and modules, and the processor 1108 may execute various functional applications and data processing by operating the software programs and modules stored in the memory 1102. The memory 1102 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 by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the terminal, etc. Further, the memory 1102 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. Accordingly, the memory 1102 may also include a memory controller to provide the processor 1108 and the input unit 1103 with access to the memory 1102.
The input unit 1103 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, in a particular embodiment, the input unit 1103 may include a touch-sensitive surface as well as other input devices. The touch-sensitive surface, also referred to as a touch display screen or a touch pad, may collect touch operations by a user (e.g., operations by a user on or near the touch-sensitive surface using a finger, a stylus, or any other suitable object or attachment) thereon or nearby, and drive the corresponding connection device according to a predetermined program. Alternatively, the touch sensitive surface may comprise two parts, a touch detection means 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 the touch information into touch point coordinates, sends the touch point coordinates to the processor 1108, and can receive and execute commands sent by the processor 1108. In addition, touch sensitive surfaces may be implemented using various types of resistive, capacitive, infrared, and surface acoustic waves. The input unit 1103 may include other input devices in addition to the touch-sensitive surface. In particular, other input devices may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 1104 may be used to display information input by or provided to the user and various graphical user interfaces of the terminal, which may be made up of graphics, text, icons, video, and any combination thereof. The display unit 1104 may include a display panel, and optionally, the display panel may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch-sensitive surface may overlay the display panel, and when a touch operation is detected on or near the touch-sensitive surface, the touch operation is transmitted to the processor 1108 to determine the type of touch event, and the processor 1108 then provides a corresponding visual output on the display panel according to the type of touch event. Although in FIG. 11 the touch-sensitive surface and the display panel are two separate components to implement input and output functions, in some embodiments the touch-sensitive surface may be integrated with the display panel to implement input and output functions.
The terminal may also include at least one sensor 1105, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel according to the brightness of ambient light, and a proximity sensor that may turn off the display panel and/or the backlight when the terminal is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when the mobile phone is stationary, and can be used for applications of recognizing the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured in the terminal, detailed description is omitted here.
Audio circuitry 1106, a speaker, and a microphone may provide an audio interface between the user and the terminal. The audio circuit 1106 may transmit the electrical signal converted from the received audio data to a speaker, and the electrical signal is converted into a sound signal by the speaker and output; on the other hand, the microphone converts the collected sound signal into an electric signal, which is received by the audio circuit 1106 and converted into audio data, which is then processed by the audio data output processor 1108, and then passed through the RF circuit 1101 to be sent to, for example, another terminal, or output to the memory 1102 for further processing. The audio circuitry 1106 may also include an earbud jack to provide peripheral headset communication with the terminal.
WiFi belongs to short distance wireless transmission technology, and the terminal can help the user to send and receive e-mail, browse web page and access streaming media etc. through the WiFi module 1107, which provides wireless broadband internet access for the user. Although fig. 11 shows the WiFi module 1107, it is understood that it does not belong to the essential constitution of the terminal, and it may be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 1108 is a control center of the terminal, connects various parts of the entire handset using various interfaces and lines, and performs various functions of the terminal and processes data by operating or executing software programs and/or modules stored in the memory 1102 and calling data stored in the memory 1102, thereby performing overall monitoring of the handset. Optionally, processor 1108 may include one or more processing cores; preferably, the processor 1108 may integrate an application processor, which primarily handles operating systems, user interfaces, application programs, etc., and a modem processor, which primarily handles wireless communications. It is to be appreciated that the modem processor described above may not be integrated into processor 1108.
The terminal also includes a power supply 1109 (e.g., a battery) for powering the various components, which may preferably be logically connected to the processor 1108 via a power management system that may provide management of charging, discharging, and power consumption. The power supply 1109 may also include any component of one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.
Although not shown, the terminal may further include a camera, a bluetooth module, and the like, which will not be described herein.
In particular, terminal 1100 can also include memory and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the one or more processors. The one or more programs include instructions for performing the terminal-side shortcut boot method.
Fig. 12 is a schematic structural diagram of a server according to an embodiment of the present invention. The server 1200 includes a Central Processing Unit (CPU) 1201, a system memory 1204 including a Random Access Memory (RAM) 1202 and a read-only memory (ROM) 1203, and a system bus 1205 connecting the system memory 1204 and the CPU 1201. The server 1200 also includes a basic input/output system (I/O system) 1206 to facilitate transfer of information between devices within the computer, and a mass storage device 1207 for storing an operating system 1213, application programs 1214, and other program modules 1215.
The basic input/output system 1206 includes a display 1208 for displaying information and an input device 1209, such as a mouse, keyboard, etc., for a user to input information. Wherein the display 1208 and input device 1209 are connected to the central processing unit 1201 through an input/output controller 1210 coupled to the system bus 1205. The basic input/output system 1206 may also include an input/output controller 1210 for receiving and processing input from a number of other devices, such as a keyboard, mouse, or electronic stylus. Similarly, an input/output controller 1210 also provides output to a display screen, a printer, or other type of output device.
The mass storage device 1207 is connected to the central processing unit 1201 through a mass storage controller (not shown) connected to the system bus 1205. The mass storage device 1207 and its associated computer-readable media provide non-volatile storage for the server 1200. That is, the mass storage device 1207 may include a computer-readable medium (not shown) such as a hard disk or a Compact Disc-Only Memory (CD-ROM) drive.
Without loss of generality, the computer-readable media may comprise computer storage media and communication media. Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Computer storage media include RAM, ROM, erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other solid state memory technology, CD-ROM, Digital Versatile Disks (DVD), or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage, or other magnetic storage devices. Of course, those skilled in the art will appreciate that the computer storage media is not limited to the foregoing. The system memory 1204 and mass storage device 1207 described above may be collectively referred to as memory.
The server 1200 may also operate as a remote computer connected to a network via a network, such as the internet, in accordance with various embodiments of the present invention. That is, the server 1200 may be connected to the network 1212 through a network interface unit 1211 coupled to the system bus 1205, or the network interface unit 1211 may be used to connect to other types of networks or remote computer systems (not shown).
Specifically, in the embodiment of the present invention, the server 1200 further includes a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by one or more processors. The one or more programs include instructions for performing the server-side shortcut boot method.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (14)

1. A quick start method, comprising:
the method comprises the steps that a management client side obtains an updated starting mode file from a server, the starting mode file comprises a starting mode corresponding to at least one shortcut in a quick starting interface, and the quick starting interface is used for providing the shortcut of at least one application program and/or program function;
the management client loads the updated starting mode file;
and when the management client receives the starting operation of the target shortcut, starting the application program or program function corresponding to the target shortcut by operating the starting mode corresponding to the target shortcut in the updated starting mode file.
2. The method of claim 1, wherein the obtaining, by the management client, the updated startup-mode file from the server comprises:
receiving a download address of the updated starting mode file pushed by the server;
sending a file acquisition request to the server according to the download address;
and receiving the updated starting mode file sent by the server according to the file acquisition request.
3. The method of claim 1, wherein the obtaining, by the management client, the updated startup-mode file from the server comprises:
receiving a download address of the updated starting mode file and a first file identifier of the updated starting mode file, which are pushed by the server;
detecting whether a second file identifier corresponding to a starting mode file existing in a designated file is the same as the first file identifier every preset time length;
when the second file identification is different from the first file identification, sending a file acquisition request to the server according to the download address;
and receiving the updated starting mode file sent by the server according to the file acquisition request.
4. The method according to claim 1, wherein the target shortcut corresponds to at least two launching modes in the updated launching mode file, the at least two launching modes are respectively applicable to different hardware platform terminals and/or different versions of operating systems,
the starting the application program or program function corresponding to the target shortcut by operating the starting mode corresponding to the target shortcut in the updated starting mode file comprises the following steps:
the management client side runs the ith starting mode according to the running sequence of the at least two starting modes, wherein i is a positive integer;
and if the application program or the program function corresponding to the target shortcut is not successfully started by operating the ith starting mode, continuing to operate the (i + 1) th starting mode indicated by the operating sequence until the starting process stops when the application program or the program function corresponding to the target shortcut is successfully started.
5. The method of claim 1, wherein the management client has a background process and a start-up process;
the loading of the updated starting mode file by the management client comprises the following steps:
the background process stores the updated starting mode file to a specified file;
the background process sends a loading message to the starting process, wherein the loading message is used for indicating the starting process to load the updated starting mode file from the specified file;
and the starting process loads the updated starting mode file in the specified file to a corresponding memory according to the loading message.
6. The method of claim 5, wherein after the background process sends a load message to the start process, further comprising:
if the starting process fails to load the updated starting mode file in the specified file into the memory, the starting process loads the existing starting mode file in the specified file into the memory;
the existing starting mode file is the starting mode file acquired by the background process from the server before the updated starting mode file is acquired, or the existing starting mode file is the starting mode file carried in the installation package of the management client.
7. A quick start method, comprising:
pushing a download address of an updated starting mode file to a terminal, wherein the starting mode file comprises a starting mode corresponding to at least one shortcut in a quick starting interface in the terminal, and the quick starting interface is used for providing the shortcut of at least one application program and/or program function;
receiving a file acquisition request sent by the terminal, wherein the file acquisition request comprises a download address of the updated starting mode file;
and sending the updated starting mode file to the terminal, wherein the updated starting mode file is used for loading by a management client in the terminal, and when receiving a starting operation on a target shortcut in the at least one shortcut, operating a target starting mode corresponding to the target shortcut in the starting mode file, and starting an application program or a program function corresponding to the target shortcut.
8. A quick start device, comprising:
the acquisition module is used for acquiring an updated starting mode file from a server, wherein the starting mode file comprises a starting mode corresponding to at least one shortcut in a quick starting interface, and the quick starting interface is used for providing the shortcut of at least one application program and/or program function;
the loading module is used for loading the updated starting mode file;
and the starting module is used for starting the application program or program function corresponding to the target shortcut by operating the starting mode corresponding to the target shortcut in the updated starting mode file when the starting operation of the target shortcut is received.
9. A quick start device, comprising:
the terminal comprises a first sending module, a second sending module and a starting module, wherein the first sending module is used for pushing a download address of an updated starting mode file to the terminal, the starting mode file comprises a starting mode corresponding to at least one shortcut in a quick starting interface in the terminal, and the quick starting interface is used for providing the shortcut of at least one application program and/or program function;
a receiving module, configured to receive a file acquisition request sent by the terminal, where the file acquisition request includes a download address of the updated start-up mode file;
and the second sending module is used for sending the updated starting mode file to the terminal, wherein the updated starting mode file is used for loading by a management client in the terminal, and when receiving a starting operation on a target shortcut in the at least one shortcut, the second sending module runs a target starting mode corresponding to the target shortcut in the starting mode file and starts an application program or a program function corresponding to the target shortcut.
10. A terminal, characterized in that the terminal comprises a processor and a memory, in which at least one instruction, at least one program, a set of codes or a set of instructions is stored, which is loaded and executed by the processor to implement the shortcut boot method according to any of claims 1 to 6.
11. A server, comprising a processor and a memory, wherein at least one instruction, at least one program, a set of codes, or a set of instructions is stored in the memory, and wherein the at least one instruction, the at least one program, the set of codes, or the set of instructions is loaded and executed by the processor to implement the quick launch method of claim 7.
12. A quick start system is characterized in that the quick start system comprises a terminal and a server,
the terminal comprises the terminal of claim 10;
the server comprising the server of claim 11.
13. A computer readable storage medium having stored therein at least one instruction, at least one program, a set of codes, or a set of instructions, which is loaded and executed by a processor to implement the quick launch method of any of claims 1 to 6.
14. A computer readable storage medium having stored therein at least one instruction, at least one program, a set of codes, or a set of instructions that is loaded and executed by a processor to implement the quick launch method of claim 7.
CN201710458199.6A 2017-06-16 2017-06-16 Quick starting method, device, terminal, server and system Active CN109144596B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710458199.6A CN109144596B (en) 2017-06-16 2017-06-16 Quick starting method, device, terminal, server and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710458199.6A CN109144596B (en) 2017-06-16 2017-06-16 Quick starting method, device, terminal, server and system

Publications (2)

Publication Number Publication Date
CN109144596A CN109144596A (en) 2019-01-04
CN109144596B true CN109144596B (en) 2020-09-18

Family

ID=64830685

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710458199.6A Active CN109144596B (en) 2017-06-16 2017-06-16 Quick starting method, device, terminal, server and system

Country Status (1)

Country Link
CN (1) CN109144596B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110018765B (en) * 2019-04-09 2022-02-22 腾讯科技(深圳)有限公司 Page display method, device, terminal and storage medium
CN110187889A (en) * 2019-05-23 2019-08-30 腾讯科技(深圳)有限公司 A kind of application starting method, apparatus and storage medium
US11126518B1 (en) * 2020-03-16 2021-09-21 Quanta Computer Inc. Method and system for optimal boot path for a network device
CN115080149B (en) * 2022-07-20 2023-06-27 荣耀终端有限公司 Control method of terminal equipment and terminal equipment

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1250182A (en) * 1998-10-02 2000-04-12 国际商业机器公司 Simple use of smart card
CN101639787A (en) * 2009-09-07 2010-02-03 中兴通讯股份有限公司 Method and device for starting application program
CN101751296A (en) * 2009-12-24 2010-06-23 深圳华为通信技术有限公司 Method and device for call management of application program
CN101944072A (en) * 2010-09-01 2011-01-12 中兴通讯股份有限公司 Method and equipment for configuring starting mode of terminal equipment
CN102523268A (en) * 2011-12-08 2012-06-27 北京新媒传信科技有限公司 Client side upgrading method and system
CN103034512A (en) * 2012-11-28 2013-04-10 北京奇虎科技有限公司 Method and device for updating programs
CN103197921A (en) * 2012-01-05 2013-07-10 腾讯科技(深圳)有限公司 Method and system for processing program start menu
CN103984532A (en) * 2013-02-07 2014-08-13 腾讯科技(深圳)有限公司 Position set method and device of mobile terminal function set keys
CN104142798A (en) * 2013-05-10 2014-11-12 北京三星通信技术研究有限公司 Application start method and intelligent terminal equipment provided with touch screen

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7506149B2 (en) * 2004-08-27 2009-03-17 Intel Corporation Method, program and system to update files in a computer system

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1250182A (en) * 1998-10-02 2000-04-12 国际商业机器公司 Simple use of smart card
CN101639787A (en) * 2009-09-07 2010-02-03 中兴通讯股份有限公司 Method and device for starting application program
CN101751296A (en) * 2009-12-24 2010-06-23 深圳华为通信技术有限公司 Method and device for call management of application program
CN101944072A (en) * 2010-09-01 2011-01-12 中兴通讯股份有限公司 Method and equipment for configuring starting mode of terminal equipment
CN102523268A (en) * 2011-12-08 2012-06-27 北京新媒传信科技有限公司 Client side upgrading method and system
CN103197921A (en) * 2012-01-05 2013-07-10 腾讯科技(深圳)有限公司 Method and system for processing program start menu
CN103034512A (en) * 2012-11-28 2013-04-10 北京奇虎科技有限公司 Method and device for updating programs
CN103984532A (en) * 2013-02-07 2014-08-13 腾讯科技(深圳)有限公司 Position set method and device of mobile terminal function set keys
CN104142798A (en) * 2013-05-10 2014-11-12 北京三星通信技术研究有限公司 Application start method and intelligent terminal equipment provided with touch screen

Also Published As

Publication number Publication date
CN109144596A (en) 2019-01-04

Similar Documents

Publication Publication Date Title
US10635449B2 (en) Method and apparatus for running game client
US10320719B2 (en) Message withdrawal method, apparatus and storage medium
CN108039963B (en) Container configuration method and device and storage medium
CN109144596B (en) Quick starting method, device, terminal, server and system
CN106775833B (en) Device driver loading method, terminal and system
WO2018077041A1 (en) Method and apparatus for running application
CN110020293B (en) Multimedia data display method, device and storage medium
CN106713608B (en) Application function state modification method and device and terminal
CN106953898B (en) Method and device for acquiring software package
EP2869604B1 (en) Method, apparatus and device for processing a mobile terminal resource
US10298590B2 (en) Application-based service providing method, apparatus, and system
CN105227598B (en) Resource sharing method, device and system based on cloud storage
CN107025574B (en) Promotion information display method and device
CN106095423B (en) Method, terminal and server for providing browsing service
CN106020945B (en) Shortcut item adding method and device
CN111273955A (en) Thermal restoration plug-in optimization method and device, storage medium and electronic equipment
CN110196662B (en) Method, device, terminal and storage medium for displaying synchronization state
EP3129883B1 (en) Method and apparatus for repairing dynamic link library file
CN112328304B (en) Script adaptation method, system, equipment and computer storage medium
CN107463395B (en) Component calling method and device
CN106933626B (en) Application association method and device
CN107122204B (en) Application unloading state detection method and device
US10057740B2 (en) Methods and devices for processing mobile terminal resource
CN109002535B (en) Data updating method and device
CN108280798B (en) Method and device for rendering and displaying browser kernel

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