CN107220055B - Method and system for starting terminal and terminal - Google Patents
Method and system for starting terminal and terminal Download PDFInfo
- Publication number
- CN107220055B CN107220055B CN201710384752.6A CN201710384752A CN107220055B CN 107220055 B CN107220055 B CN 107220055B CN 201710384752 A CN201710384752 A CN 201710384752A CN 107220055 B CN107220055 B CN 107220055B
- Authority
- CN
- China
- Prior art keywords
- terminal
- wallpaper
- ams
- management service
- starting
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 105
- 230000008569 process Effects 0.000 claims abstract description 75
- 239000007858 starting material Substances 0.000 claims abstract description 6
- 238000012790 confirmation Methods 0.000 claims description 37
- 230000012447 hatching Effects 0.000 claims description 9
- 238000011534 incubation Methods 0.000 claims description 8
- 239000003999 initiator Substances 0.000 claims description 8
- 238000005516 engineering process Methods 0.000 description 14
- 238000010586 diagram Methods 0.000 description 9
- 230000000694 effects Effects 0.000 description 9
- 238000004891 communication Methods 0.000 description 8
- 230000004913 activation Effects 0.000 description 7
- 230000006870 function Effects 0.000 description 6
- 238000002360 preparation method Methods 0.000 description 6
- 238000010295 mobile communication Methods 0.000 description 5
- 230000002093 peripheral effect Effects 0.000 description 5
- 230000036316 preload Effects 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 230000000977 initiatory effect Effects 0.000 description 2
- 230000001413 cellular effect Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 229920000642 polymer Polymers 0.000 description 1
- 238000003825 pressing Methods 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 230000002035 prolonged effect Effects 0.000 description 1
- 238000004904 shortening Methods 0.000 description 1
- 238000003860 storage Methods 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/4401—Bootstrapping
- G06F9/4406—Loading of operating system
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44505—Configuring for program initiating, e.g. using registry, configuration files
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Stored Programmes (AREA)
Abstract
The invention relates to a method for starting a terminal, which comprises the steps of running a system boot loader to create an incubator process after receiving a trigger for starting the terminal; operating system core services and preloading simplified classes respectively when the incubator is initialized; after the system core service process is started and the preloaded simplified class is operated, the AMS confirms that the system is started; and starting a desktop starter after the AMS confirms that the system is started, so as to control the terminal to start. The invention also provides a system for starting the terminal and the terminal. The method and the device for starting the terminal and the terminal can shorten the starting-up running time of the terminal and improve the user experience.
Description
Technical Field
The present invention relates to the field of terminal quick start technologies, and in particular, to a method, a system, and a terminal for terminal start.
Background
Under the environment of the Android market, android systems are larger and larger, built-in applications of Android devices are larger and larger, so that the Android devices are heavier and heavier in load when being started, and the starting time is longer and longer, and seriously puzzles users.
In the prior art, most manufacturers are physically accelerated by the performance of the press hardware or by means of external devices. The method only utilizes the multi-core characteristic of the current CPU, when the hardware condition becomes a bottleneck, the method can not take effect, even the system is blocked because of unreasonable utilization of resources of software, thus the starting time is prolonged, the method is deviated from the original purpose of design, the dependency relationship and the execution sequence among all the links of the starting are not utilized, the links are simply executed in series, and the utilization rate of partial scene resources is insufficient.
Disclosure of Invention
The invention aims to provide a method, a system and a terminal for starting a terminal, which can shorten the starting-up running time of the terminal and improve the user experience.
The invention provides a method for starting a terminal, which comprises the following steps: after receiving a trigger for starting a terminal, running a system boot loader to create an incubator process; operating system core services and preloading simplified classes respectively when the incubator is initialized; after the system core service process is started and the preloaded simplified class is operated, the AMS confirms that the system is started; and starting a desktop starter after the AMS confirms that the system is started, so as to control the terminal to start.
Further, the step of running the system boot loader to create an incubator process includes: loading the kernel to an operable position after the system boot loader begins to operate; executing system initialization when the kernel is loaded to an executable position; the incubator process is created upon initializing the kernel.
Further, the step after the system core service process is started includes: loading AMS, application package management service and window management service after the system core service process is started; operating wallpaper management service after operating the AMS, application package management service and window management service; and after the wallpaper management service is operated, the wallpaper management service confirmation is carried out to confirm that the wallpaper is ready.
Further, the step after the system core service process is started further comprises: AMS confirmation is carried out simultaneously after the wallpaper management service is operated so as to confirm that the system is ready; and when the wallpaper is ready and the system is ready, performing the AMS to confirm that the system is started to be completed.
Further, the method for starting the terminal further comprises the following steps: the user operable state is entered after the desktop initiator is activated.
The invention also provides a system for starting the terminal, which comprises: the guiding device is used for running a system boot loader after receiving the start of the trigger terminal so as to create an incubator process; the process hatching device is connected with the starting device and is used for respectively operating the core service of the system and preloading the simplified class when the incubator is initialized; the AMS confirmation system starting device is connected with the process incubation device and is used for completing the starting of the AMS confirmation system when the system core service process is started and the preloaded simplified class is operated; the desktop starting device is connected with the AMS confirmation system starting device and is used for starting the desktop starter after the AMS confirmation system is started, so as to control the terminal to start.
Further, the system for starting the terminal further comprises a kernel device and an initializing device; the kernel device is connected with the guide device and is used for loading the kernel to an operable position after the guide process starts to operate; the initialization device is connected with the kernel device and the process hatching device and is used for executing a system initialization process when the kernel is loaded to an executable position so as to create the hatching process.
Further, the system for starting the terminal further comprises a system service device, a wallpaper service device and a wallpaper readiness device; the system service device is connected with the process incubation device and is used for loading AMS, application package management service and window management service after the system core service process is started; the wallpaper service device is connected with the system service device and is used for running wallpaper management service after running the AMS, the application package management service and the window management service; and the wallpaper readiness device is connected with the wallpaper service device and is used for confirming the wallpaper management service after the wallpaper management service is operated so as to confirm that the wallpaper is ready.
Further, the system for terminal startup further comprises a system readiness device and a user operation device; the system readiness device is connected with the wallpaper service device and is used for simultaneously carrying out AMS confirmation after the wallpaper management service is operated so as to confirm that the system readiness; the AMS confirms the system starting device, connect the said system readiness device, is used for after the said wallpaper is ready, and after the said system readiness, confirm the system starting to finish while being said AMS; the user operation device is connected with the desktop starting device and is used for displaying a user interface and receiving user operation.
The invention also provides a terminal comprising the system for starting the terminal.
According to the method and device for starting the terminal and the terminal, the system core service can be directly carried out after the process incubator in the starting process of the terminal, the pre-loading class does not need to be operated before the system core service operates, and the system core service and the pre-loading simplified class can be simultaneously executed in a multithreading mode after the process incubator, so that the starting operation time of the terminal can be shortened, meanwhile, the wallpaper readiness and the AMS readiness can be simultaneously confirmed in a multithreading mode after the wallpaper management service is carried out, the starting operation time of the terminal is further shortened, the waiting time of a user in the starting process of the terminal is shortened, and the user experience is improved.
The foregoing description is only an overview of the present invention, and is intended to be implemented in accordance with the teachings of the present invention, as well as the preferred embodiments thereof, together with the following detailed description of the invention, given by way of illustration only, together with the accompanying drawings.
Drawings
Fig. 1 is a schematic structural view of a terminal.
Fig. 2 is a flowchart of a method for terminal startup according to a first embodiment of the present invention.
Fig. 3 is a flow chart illustrating a sub-step of step S11 in fig. 2.
Fig. 4 is a flow chart of the sub-steps after step S13 in fig. 2.
Fig. 5 is a flow chart of a method for terminal start-up.
Fig. 6 is a schematic structural diagram of a system for terminal startup according to a second embodiment of the present invention.
Fig. 7 is a schematic structural diagram of a system for terminal startup according to a third embodiment of the present invention.
Fig. 8 is a schematic structural diagram of a system for terminal startup according to a fourth embodiment of the present invention.
Fig. 9 is a schematic structural diagram of a terminal according to a fifth embodiment of the present invention.
Detailed Description
In order to further describe the technical means and effects adopted by the present invention to achieve the preset purpose, the following detailed description refers to the specific implementation, method, step, structure, feature and effect of the method, system and terminal for terminal startup according to the present invention with reference to the accompanying drawings and preferred embodiments.
The foregoing and other features, aspects, and advantages of the present invention will become more apparent from the following detailed description of the preferred embodiments, which proceeds with reference to the accompanying drawings. While the invention may be susceptible to further details of embodiments and examples of means and effects for achieving the desired purpose, the drawings are provided for the purpose of reference and illustration only and are not intended to be limiting.
Fig. 1 shows a block diagram of a terminal. The method and system for terminal start-up of the present invention may be applied, but not limited to, to a terminal 10 as shown in fig. 1. As shown in fig. 1, the terminal 10 includes a memory 102, a memory controller 104, one or more (only one is shown), a processor 106, a peripheral interface 108, a radio frequency module 110, a positioning module 112, a camera module 114, an audio module 116, a screen 118, and a key module 120. These components communicate with each other via one or more communication buses/signal lines 122.
It is to be understood that the configuration shown in fig. 1 is merely illustrative and that the terminal 10 may also include more or fewer components than shown in fig. 1 or have a different configuration than shown in fig. 1. The components shown in fig. 1 may be implemented in hardware, software, or a combination thereof.
The memory 102 may be used to store software programs and modules, such as program instructions/modules corresponding to the method and system for terminal startup in the embodiment of the present invention, and the processor 106 executes the software programs and modules stored in the memory controller 104 to perform various functional applications and data processing, i.e., implement the method and system for terminal startup described above.
Memory 102 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 102 may further include memory located remotely from the processor 106, which may be connected to the terminal 10 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof. Access to the memory 102 by the processor 106 and possibly other components may be under the control of the memory controller 104.
The peripheral interface 108 couples various input/output devices to the CPU and memory 102. The processor 106 executes various software, instructions within the memory 102 to perform various functions of the terminal 10 and to perform data processing.
In some embodiments, the peripheral interface 108, the processor 106, and the memory controller 104 may be implemented in a single chip. In other examples, they may be implemented by separate chips.
The rf module 110 is configured to receive and transmit electromagnetic waves, and to implement mutual conversion between the electromagnetic waves and the electrical signals, so as to communicate with a communication network or other devices. The radio frequency module 110 may include various existing circuit elements for performing these functions, such as an antenna, a radio frequency transceiver, a digital signal processor, an encryption/decryption chip, a Subscriber Identity Module (SIM) card, memory, and the like. The rf module 110 may communicate with various networks such as the internet, intranets, wireless networks, or other devices via wireless networks. The wireless network may include a cellular telephone network, a wireless local area network, or a metropolitan area network. The Wireless network may use various communication standards, protocols, and technologies including, but not limited to, global system for mobile communications (Global System for Mobile Communication, GSM), enhanced mobile communications technology (Enhanced Data GSM Environment, EDGE), wideband code division multiple access technology (wideband code division multiple access, W-CDMA), code division multiple access technology (Code division access, CDMA), time division multiple access technology (time division multiple access, TDMA), bluetooth, wireless Fidelity (WiFi) (e.g., institute of electrical and electronics engineers (IEEE 802.11a,IEEE 802.11b,IEEE802.11g) and/or IEEE802.11 n), internet telephony (Voice over internet protocal, voIP), worldwide interoperability for microwave access (Worldwide Interoperability for Microwave Access, wi-Max), other protocols for mail, instant messaging, and short messaging, as well as any other suitable communication protocols, even those not currently developed.
The positioning module 112 is used to obtain the current position of the terminal 10. Examples of the positioning module 112 include, but are not limited to, global satellite positioning system (GPS), wireless local area network or mobile communication network based positioning technology.
The camera module 114 is used to take pictures or videos. The photographed photo or video may be stored into the memory 102 and may be transmitted through the radio frequency module 110.
The audio module 116 provides an audio interface to the user, which may include one or more microphones, one or more speakers, and audio circuitry. The audio circuit receives sound data from the peripheral interface 108, converts the sound data to electrical information, and transmits the electrical information to the speaker. The speaker converts electrical energy into sound waves that can be heard by the human ear. The audio circuit also receives electrical information from the microphone, converts the electrical signal into sound data, and transmits the sound data to the peripheral interface 108 for further processing. The audio data may be retrieved from the memory 102 or through the radio frequency module 110. In addition, audio data may also be stored in the memory 102 or transmitted through the radio frequency module 110. In some examples, the audio module 116 may also include a headphone jack for providing an audio interface to headphones or other devices.
Screen 118 provides an output interface between terminal 10 and the user. Specifically, screen 118 displays video output to the user, the content of which may include text, graphics, video, and any combination thereof. Some output results correspond to some user interface objects. It is understood that the screen 118 may also include a touch screen. The touch screen provides both an output and input interface between the terminal 10 and the user. In addition to displaying video output to users, the touch screen also receives user inputs, such as user clicks, swipes, and the like, in order for the user interface object to respond to these user inputs. The technique of detecting user input may be based on resistive, capacitive, or any other possible touch detection technique. Specific examples of touch screen display units include, but are not limited to, liquid crystal displays or light emitting polymer displays.
The key module 120 also provides an interface for a user to input to the terminal 10, which may cause the terminal 10 to perform different functions by pressing different keys.
Fig. 2 is a flowchart of a method for terminal startup according to a first embodiment of the present invention. As shown in fig. 2, the method for terminal startup includes the steps of:
step S11: and after the trigger terminal is started, the system boot loader is operated to create the incubator process.
Specifically, when a user triggers a start button of the terminal, the terminal obtains a start trigger signal, and starts up after receiving the start trigger signal. Referring to fig. 3 together, fig. 3 is a flow chart illustrating a sub-step of step S11 in fig. 2. As shown in fig. 3, in the present embodiment, the step of running a system Boot Loader (Boot Loader) to create an incubator (zygate) process further includes the sub-steps of:
in a substep S111, the kernel is loaded into an executable position after the system boot loader starts running.
Specifically, after the system boot loader is executed, the software and hardware environment of the system can be brought into a proper state to prepare for running the operating system, for example, after the system boot loader is executed, a kernel (kernel) can be loaded to a runnable position to guide the kernel to initialize, where the operating system can be, but is not limited to, an Android operating system (Android).
Sub-step S112, system initialization is performed when the kernel is loaded into an executable position.
Specifically, when the kernel is loaded into the executable position, the terminal initializes the kernel, and thus enters into a system initialization (Init) to initialize a system environment, such as a terminal start script Init.
Substep S113, create an incubator process when initializing the kernel.
Specifically, after initializing the kernel, the terminal creates an incubator process, the incubator process receives a new process creation command sent by an upper layer application through a socket, for example, for the kernel, the incubator process mainly calls a fork system call of the kernel to create a new process, and can simultaneously create system core services and preloaded simplified classes through a multithreading technology.
Step S12: the system core services and pre-loaded reduced classes are run separately when the incubator is initialized.
Specifically, in this embodiment, the preloaded reduced class (Preload sample classes) is a preloaded class obtained by preloading a part of the preloaded classes without a dependency relationship with a system core service and simplifying the preloaded classes. Specifically, in this embodiment, after the incubator is initialized by using the multithreading technology, a system core service (system server) and the preloaded simplified class are performed in parallel, and it can be understood that after the incubator is initialized, the terminal performs the system core service and the preloaded simplified class simultaneously, so that the starting time of the terminal can be shortened.
Step S13, the system core service process is started.
Referring to fig. 4 together, fig. 4 is a flow chart illustrating the sub-steps after step S13 in fig. 2. As shown in fig. 4, in the present embodiment, the steps after the system core service process is started include the following sub-steps:
substep S131, loading AMS, application package management service and window management service after the system core service process is started.
Specifically, in the present embodiment, the activity management service (Activity Manager Service, AMS) and the incubator can interact with each other through Socket communication. The terminal loads the system services such as AMS, application package management service (Package Manager Service, PMS) and window management service (Window Manager Service, WMS) after the system core service process is started, so that the starting of the client and the user interface can be realized.
Substep S132, running the wallpaper management service after running the AMS, the application package management service, and the window management service.
In an embodiment, the sub-step S133 and the sub-step S134 are performed simultaneously after the sub-step S132, and in particular, the parallel execution of the sub-step S133 and the sub-step S134 may be implemented by a multi-threading technology, but is not limited thereto.
Substep S133, performing wallpaper management service confirmation after running the wallpaper management service to confirm that the wallpaper is ready.
Specifically, in this embodiment, the wallpaper management service (wallpaper Manager Service) may manage wallpapers of the screen locking interface and the user interface of the terminal, and after the wallpaper management service is operated in the starting process, the terminal will perform wallpaper management service confirmation, so as to confirm whether the wallpapers of the screen locking interface and the user interface are ready.
Substep S134, AMS confirmation is performed concurrently after running the wallpaper management service to confirm that the system is ready. .
Specifically, the wallpaper management service confirmation and the AMS confirmation are performed simultaneously by the terminal, and in this embodiment, the wallpaper management service confirmation and the AMS confirmation may be performed simultaneously by a multithreading technology.
In one embodiment, sub-step S133 and sub-step S134 are performed at the same time at the terminal.
Substep S135, when the wallpaper is ready and the system is ready, AMS confirms that the system startup is complete.
Specifically, the terminal performs AMS confirmation and wallpaper management service confirmation simultaneously after running the wallpaper management service, and in this embodiment, AMS confirmation and wallpaper management service confirmation may be performed in parallel by using a multi-thread technology, so that the wallpaper management service may be performed in advance, and AMS related to the wallpaper management service may be performed in advance, thereby shortening the time for powering on the terminal.
Further, after the preloaded simplified class is operated, the terminal enters the AMS to confirm that the system is started and completed after the wallpaper is ready and the system is ready, so as to confirm that the system service is started and completed.
Step S14, preloading the simplified class operation.
And step S15, after the system core service process is started and the preloaded simplified class is operated, the AMS confirms that the system is started.
Specifically, in this embodiment, after the pre-loaded simplified class is run, and the wallpaper is ready and the system is ready, the AMS confirms that the system is started, so as to confirm that the system service is started.
And S16, starting a desktop starter after the AMS confirms that the system is started, so as to control the terminal to start.
Specifically, the terminal may start the desktop initiator after the AMS confirms that the system start is completed, so that the user interface of the terminal is entered to control the terminal start. In this embodiment, the launch desktop launcher includes the positions of each client of the user interface and its corresponding icon, and so on.
Referring to fig. 5 together, fig. 5 is a flowchart of a method for terminal startup. As shown in fig. 2 to 5, in the present embodiment, the operating system of the terminal may be, but is not limited to, android, and an Android-based frame layer is described below as an example, but is not limited to this. When a user triggers a starting key of the terminal, the terminal acquires a triggering starting signal, and operates a system boot loader according to the triggering starting signal, so that a Linux kernel can be loaded to an operable position to prepare for creating each process. The terminal can perform system initialization after the kernel is loaded to an operable position so as to enter a process incubator. After the incubator is started, the terminal can parallelly carry out system core service and preloaded simplified classes through a multithreading technology, so that the terminal does not need to firstly preload the classes and then enter the system core service, and the starting-up operation time of the terminal is shortened. Further, after the system core service is operated, the terminal loads the system services such as AMS, PMS, WMS and the like, and then operates the wallpaper management service. The terminal can realize that the AMS confirms that the system is ready and confirms the wallpaper is ready to be carried out simultaneously through a multithreading technology after the wallpaper management service is finished, and enters the AMS to confirm that the system is started to be finished after the AMS confirms that the system is ready and confirms the wallpaper is ready to be run and the preloaded class is finished to be run, so that the service start of the system is confirmed to be finished, and the starting and running time of the terminal can be further shortened. The terminal starts the desktop initiator after the AMS confirms that the system start-up is completed, thereby entering a user-operable state, such as entering a user interface of the terminal, and the like.
According to the method for starting the terminal, the system core service can be directly carried out after the process incubator in the starting process of the terminal, the pre-loading class does not need to be operated before the system core service operates, and the system core service and the pre-loading simplified class can be simultaneously executed in a multithreading mode after the process incubator, so that the starting operation time of the terminal can be shortened, meanwhile, the wallpaper readiness and the AMS readiness can be simultaneously confirmed in a multithreading mode after the wallpaper management service is carried out, the starting operation time of the terminal is further shortened, the waiting time of a user in the starting process of the terminal is shortened, and the user experience is improved.
Fig. 6 is a schematic structural diagram of a system 60 for terminal startup according to a second embodiment of the present invention. The system 60 for terminal startup as shown in fig. 6 includes a booting device 61, a process incubation device 62, an AMS confirmation system startup device 63, and a desktop startup device 64. One end of the guiding device 61 is connected to one end of the process hatching device 62, the other end of the process hatching device 62 is connected to one end of the AMS confirmation system starting device 63, and the other end of the AMS confirmation system starting device 63 is connected to one end of the desktop starting device, wherein the connection manner can be but is not limited to electrical connection or communication connection.
Specifically, the guiding device 61 is configured to run a system boot loader to create an incubator process after receiving a trigger terminal start-up. The process incubation means 62 are used to run the system core services and pre-load the reduced classes, respectively, when the incubator is initialized. The AMS confirmation system startup device 63 is configured to perform AMS confirmation system startup completion when the system core service process is started and the preloaded reduced class is running. The desktop initiator 64 is used to initiate a desktop initiator after the AMS confirms that the system initiation is completed, to control the terminal initiation.
In one embodiment, the system 60 for terminal startup further includes a power-on button (not shown), which is electrically connected to the guiding device 61, and when the power-on button is triggered, a trigger power-on signal is sent to the guiding device 61. Further, the power-on key is arranged on a shell (not shown) of the terminal, in this embodiment, the power-on key is arranged on a right side frame of the terminal and is arranged close to the lower end of the terminal, so that one-hand operation of a user can be facilitated, triggering of the power-on key can be easily achieved, and user experience is improved. Specifically, the right side frame of the terminal is for the display screen of the terminal, but is not limited thereto, for example, in other embodiments, the power-on button may be disposed at other positions.
Specifically, in the present embodiment, the process may be, but not limited to, by a control signal or a drive signal in an integrated circuit chip, or the like.
In the present embodiment, the above-described respective means may be implemented by, but not limited to, hardware such as an integrated circuit chip.
In this embodiment, for a specific process of implementing respective functions of each functional device of the system for terminal start, please refer to the specific contents described in the embodiments shown in fig. 2 to 5, which are not described herein again.
Fig. 7 is a schematic structural diagram of a system for terminal startup according to a third embodiment of the present invention. As shown in fig. 7, in an embodiment, the system 70 for terminal startup further includes a kernel device 71 and an initializing device 72. One end of the kernel device 71 is connected to one end of the guiding device, the other end of the kernel device 71 is connected to the other end of the initializing device 72, and the other end of the initializing device 72 is connected to one end of the process hatching device, wherein the connection manner can be but not limited to electric connection or communication connection.
The kernel means 71 is for loading the kernel into an executable position after the start of the system boot loader operation. The system initialization means 72 is for performing a system initialization when the kernel is loaded into an executable position.
Specifically, in the present embodiment, the process may be, but not limited to, by a control signal or a drive signal in an integrated circuit chip, or the like.
In the present embodiment, the above-described respective means may be implemented by, but not limited to, hardware such as an integrated circuit chip.
In this embodiment, for a specific process of implementing respective functions of each functional device of the system for terminal start, please refer to the specific contents described in the embodiments shown in fig. 2 to fig. 6, which are not described herein again.
Fig. 8 is a schematic structural diagram of a system for terminal startup according to a fourth embodiment of the present invention. As shown in fig. 8, in an embodiment, the system 80 for terminal startup further includes: a system service device 81, a wallpaper service device 82, a wallpaper preparation device 83, a system preparation device 84, an AMS confirmation system startup device 85, a desktop startup device 86, and a user operation device 87. Specifically, one end of the system service device 81 is connected to the other end of the process incubation device, and the other end of the system service device 81 is connected to one end of the wallpaper service device 82. The other end of the wallpaper service 82 is connected to one end of the wallpaper preparation device 83 and one end of the system preparation device 84, respectively, the other end of the wallpaper preparation device 83 is connected to one end of the AMS confirmation system activation device 85, and the other end of the system preparation device 84 is connected to one end of the AMS confirmation system activation device 85. The other end of the AMS confirmation system activation device 85 is connected to one end of the desktop activation device 86, and the other end of the desktop activation device 86 is connected to the user operation device 87, wherein the connection manner may be, but not limited to, an electrical connection or a communication connection.
The system service device 81 is used for loading AMS, application package management service and window management service when the system core service process is started. Wallpaper service 82 is configured to operate wallpaper management services after operating AMS, application package management services, and window management services. Wallpaper readiness means 83 is for performing wallpaper management service confirmation after running the wallpaper management service to confirm wallpaper readiness. The system readiness device 84 is used to simultaneously make AMS acknowledgements after running the wallpaper management service to confirm system readiness. The AMS confirms that the system startup device 85 is used for performing AMS confirmation that the system startup is completed when the wallpaper is ready and the system is ready. Further, the desktop initiator 86 is configured to initiate a desktop initiator after the AMS confirms that the system is started, so as to control the terminal to be started. The user operation device 87 is for displaying a user interface and receiving a user operation.
Further, the system for terminal startup further includes: an activity management service device (not shown), an application package management service device (not shown), and a window management service device (not shown). One end of the activity management device, the application package management service device and the window management service device are respectively connected with the other end of the system service device. The activity management service device is used for controlling the starting of the terminal, the application package management service device is used for carrying out application package management, and the window management service device is used for carrying out window management.
Specifically, in the present embodiment, the process may be, but not limited to, by a control signal or a drive signal in an integrated circuit chip, or the like.
In the present embodiment, the above-described respective means may be implemented by, but not limited to, hardware such as an integrated circuit chip.
In this embodiment, for a specific process of implementing respective functions of each functional device of the system for terminal start, please refer to the specific contents described in the embodiments shown in fig. 2 to fig. 7, which are not described herein again.
Fig. 9 is a schematic structural diagram of a terminal 80 according to a fifth embodiment of the present invention. As shown in fig. 7, the terminal 90 includes a system 91 for terminal activation, and the specific structure of the system 91 for terminal activation is shown in fig. 6 to 8 and the corresponding description, which are not repeated here. In addition, the structure of the terminal 90 may also refer to fig. 1.
According to the system for starting the terminal and the terminal, the system core service can be directly carried out after the process hatching device in the starting process of the terminal, the pre-loading class does not need to be operated before the system core service operates, and the system core service and the pre-loading simplified class can be simultaneously executed in a multithreading mode after the process hatching device, so that the starting operation time of the terminal can be shortened, meanwhile, the wallpaper readiness and the AMS readiness can be simultaneously confirmed in a multithreading mode after the wallpaper management service is carried out, the starting operation time of the terminal is further shortened, the waiting time of a user in the starting process of the terminal is shortened, and the user experience is improved.
It should be noted that, in the present specification, each embodiment is described in a progressive manner, and each embodiment is mainly described as different from other embodiments, and identical and similar parts between the embodiments are all enough to be referred to each other. For system-like embodiments, the description is relatively simple as it is substantially similar to method embodiments, and reference should be made to the description of method embodiments for relevant points.
The present invention is not limited to the above-mentioned embodiments, but is intended to be limited to the following embodiments, and any modifications, equivalent changes and variations in the above-mentioned embodiments can be made by those skilled in the art without departing from the scope of the present invention.
Claims (7)
1. A method for terminal start-up, comprising:
after receiving the start of the trigger terminal, running a system boot loader to create an incubator process;
operating system core services and preloaded reduced classes when the incubator is initialized, wherein the preloaded reduced classes are preloaded classes which are obtained after a part of preloaded classes has no dependency relationship with the system core services;
when the system core service process is started, loading an AMS (advanced control system), an application package management service and a window management service, running a wallpaper management service after running the AMS, the application package management service and the window management service, and simultaneously carrying out wallpaper management service confirmation and AMS confirmation after running the wallpaper management service so as to respectively and simultaneously confirm wallpaper readiness and system readiness;
after the preloaded simplified class is operated, and wallpaper is ready and a system is ready, carrying out AMS to confirm that system starting is completed;
and starting a desktop starter after the AMS confirms that the system is started, so as to control the terminal to start.
2. The method for terminal startup according to claim 1, wherein the step of running a system boot loader to create an incubator process comprises:
loading the kernel to an operable position after the system boot loader begins to operate;
executing system initialization when the kernel is loaded to an executable position;
the incubator process is created upon initializing the kernel.
3. The method for terminal startup of claim 1, wherein the method for terminal startup further comprises:
the user operable state is entered after the desktop initiator is activated.
4. A system for terminal start-up, the system for terminal start-up comprising:
the guiding device is used for running a system boot loader after receiving the start of the trigger terminal so as to create an incubator process;
the process hatching device is connected with the guiding device and is used for respectively operating system core services and preloaded simplified classes when the incubator is initialized, wherein part of preloaded simplified classes are preloaded classes which are obtained after the preloaded classes are simplified, and part of preloaded classes are independent of the system core services;
the system service device is connected with the process incubation device and is used for loading AMS, application package management service and window management service after the system core service process is started;
the wallpaper service device is connected with the system service device and is used for running the wallpaper management service after running the AMS, the application package management service and the window management service;
wallpaper readiness means connected to the wallpaper service means for performing the wallpaper management service confirmation after running the wallpaper management service to confirm wallpaper readiness;
the system readiness device is connected with the wallpaper service device and is used for simultaneously carrying out AMS confirmation after the wallpaper management service is operated so as to confirm that the system is ready;
the AMS confirmation system starting device is respectively connected with the wallpaper readiness device, the system readiness device and the process incubation device and is used for carrying out AMS confirmation system starting after the preloaded simplified class is operated and the wallpaper readiness and the system readiness are finished;
the desktop starting device is connected with the AMS confirmation system starting device and is used for starting the desktop starter after the AMS confirmation system is started, so as to control the terminal to start.
5. The system for terminal startup of claim 4, further comprising a kernel means, an initializing means;
the kernel device is connected with the guide device and is used for loading the kernel to an operable position after the guide process starts to operate;
the initialization device is connected with the kernel device and the process incubation device and is used for executing a system initialization process when the kernel is loaded to an executable position so as to create the incubator process.
6. The system for terminal actuation according to claim 4, characterized in that said system for terminal actuation further comprises user operation means;
the user operation device is connected with the desktop starting device and is used for displaying a user interface and receiving user operation.
7. A terminal, characterized in that it comprises a system for terminal start-up according to any of claims 4 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710384752.6A CN107220055B (en) | 2017-05-26 | 2017-05-26 | Method and system for starting terminal and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710384752.6A CN107220055B (en) | 2017-05-26 | 2017-05-26 | Method and system for starting terminal and terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107220055A CN107220055A (en) | 2017-09-29 |
CN107220055B true CN107220055B (en) | 2024-03-29 |
Family
ID=59946790
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710384752.6A Active CN107220055B (en) | 2017-05-26 | 2017-05-26 | Method and system for starting terminal and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107220055B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108182085B (en) * | 2017-12-27 | 2022-03-08 | 上海传英信息技术有限公司 | Terminal screen awakening method and device, terminal and storage medium |
CN115019418B (en) * | 2021-11-26 | 2023-09-05 | 荣耀终端有限公司 | Bluetooth car key car control method, device and storage medium |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102830996A (en) * | 2012-08-08 | 2012-12-19 | 广东欧珀移动通信有限公司 | Fast boot method of handheld device |
CN103699398A (en) * | 2012-09-27 | 2014-04-02 | 联想(北京)有限公司 | Terminal equipment and starting control method thereof |
CN104102506A (en) * | 2014-04-25 | 2014-10-15 | 华南理工大学 | ARM (Advanced RISC Machine) platform based Android startup acceleration method |
CN104252363A (en) * | 2013-06-25 | 2014-12-31 | 上海博泰悦臻电子设备制造有限公司 | Rapid starting method for vehicle-mounted system based on Android system |
CN104598254A (en) * | 2015-02-17 | 2015-05-06 | 福州瑞芯微电子有限公司 | Method and device for rapidly powering on Android system |
US9161209B1 (en) * | 2013-08-21 | 2015-10-13 | Sprint Communications Company L.P. | Multi-step mobile device initiation with intermediate partial reset |
WO2016007737A1 (en) * | 2014-07-10 | 2016-01-14 | Harman International Industries, Incorporated | Operating system startup acceleration |
CN105511874A (en) * | 2015-12-02 | 2016-04-20 | 海信集团有限公司 | Embedded system starting method and intelligent terminal |
CN105549958A (en) * | 2015-12-02 | 2016-05-04 | 海信集团有限公司 | Embedded system starting method and intelligent terminal |
CN105607921A (en) * | 2015-10-29 | 2016-05-25 | Tcl集团股份有限公司 | System service startup method and system based on Android system |
CN106648773A (en) * | 2016-12-16 | 2017-05-10 | 四川长虹电器股份有限公司 | Method for achieving rapid starting based on Android system |
-
2017
- 2017-05-26 CN CN201710384752.6A patent/CN107220055B/en active Active
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102830996A (en) * | 2012-08-08 | 2012-12-19 | 广东欧珀移动通信有限公司 | Fast boot method of handheld device |
CN103699398A (en) * | 2012-09-27 | 2014-04-02 | 联想(北京)有限公司 | Terminal equipment and starting control method thereof |
CN104252363A (en) * | 2013-06-25 | 2014-12-31 | 上海博泰悦臻电子设备制造有限公司 | Rapid starting method for vehicle-mounted system based on Android system |
US9161209B1 (en) * | 2013-08-21 | 2015-10-13 | Sprint Communications Company L.P. | Multi-step mobile device initiation with intermediate partial reset |
CN104102506A (en) * | 2014-04-25 | 2014-10-15 | 华南理工大学 | ARM (Advanced RISC Machine) platform based Android startup acceleration method |
WO2016007737A1 (en) * | 2014-07-10 | 2016-01-14 | Harman International Industries, Incorporated | Operating system startup acceleration |
CN104598254A (en) * | 2015-02-17 | 2015-05-06 | 福州瑞芯微电子有限公司 | Method and device for rapidly powering on Android system |
CN105607921A (en) * | 2015-10-29 | 2016-05-25 | Tcl集团股份有限公司 | System service startup method and system based on Android system |
CN105511874A (en) * | 2015-12-02 | 2016-04-20 | 海信集团有限公司 | Embedded system starting method and intelligent terminal |
CN105549958A (en) * | 2015-12-02 | 2016-05-04 | 海信集团有限公司 | Embedded system starting method and intelligent terminal |
CN106648773A (en) * | 2016-12-16 | 2017-05-10 | 四川长虹电器股份有限公司 | Method for achieving rapid starting based on Android system |
Non-Patent Citations (4)
Title |
---|
NativeProtector: Protecting Android Applications by Isolating and Intercepting Third-Party Native Libraries;Hong, YY等;《IFIP Advances in Information and Communication Technology》;20161109;全文 * |
基于Android的智能电视开机速度优化方案;高毅;赵宝龙;王兴;孙卓;李新国;;广播与电视技术;20130815(08);全文 * |
玩转开机启动项 优化系统开机速度;ASL;;电脑迷;20150401(04);全文 * |
面向S5PV210嵌入式平台的Android系统移植与优化的研究;莫太平;周园园;赵翔翔;;电视技术;20160917(09);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN107220055A (en) | 2017-09-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112527403B (en) | Application starting method and electronic equipment | |
CN106507173B (en) | Mobile terminal and split-screen display control method | |
CN107258034B (en) | Electronic device comprising an antenna arrangement | |
WO2018103484A1 (en) | Data processing method, apparatus and system for live broadcast page | |
EP3163803B1 (en) | Method and device for establishing connection | |
CN112738143B (en) | Account number binding method, device and system | |
US20170280494A1 (en) | Method for providing video call and electronic device therefor | |
CN108601097B (en) | Networking control method, device and equipment for dual-card terminal and computer storage medium | |
KR20200116519A (en) | Software update management method, server, terminal, device, and storage medium | |
US9350852B1 (en) | Intelligent auto screen lock | |
US9042945B2 (en) | Parallelization of application launch and activation of mobile data connection for applications requiring remote data in a device | |
CN107220055B (en) | Method and system for starting terminal and terminal | |
CN116939356A (en) | Camera starting method, device and storage medium | |
CN111078316B (en) | Layout file loading method and device, storage medium and electronic equipment | |
CN110568925A (en) | lock screen display control method, terminal and computer storage medium | |
CN109491655B (en) | Input event processing method and device | |
US11269699B2 (en) | Method and device for processing an application | |
CN107122174B (en) | Application program updating method and device | |
CN116349382A (en) | Random access resource allocation method, device, equipment and storage medium | |
CN111344670B (en) | Shortcut operation method and mobile terminal | |
CN113220134B (en) | Input method, device and device for inputting | |
CN110019629B (en) | Map snapshot method and intelligent terminal | |
CN112083981B (en) | Page view component creation method and device | |
WO2016188227A1 (en) | Intelligent terminal shortcut establishment method and device | |
CN113238887A (en) | Data processing method, device and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20221213 Address after: 201203 1st floor, building 1, Lane 36, Xuelin Road, Pudong New Area (Shanghai) pilot Free Trade Zone, Shanghai Applicant after: SHANGHAI TRANSSION INFORMATION TECHNOLOGY Ltd. Address before: Room 3201, Building 2, No. 1077, Zuchongzhi Road, Zhangjiang Hi Tech Park, Pudong New Area, Shanghai, March 2012 Applicant before: SHANGHAI SPREADRISE COMMUNICATION TECHNOLOGY Ltd. |
|
TA01 | Transfer of patent application right | ||
GR01 | Patent grant | ||
GR01 | Patent grant |