CN115756615A - Quick starting method, device, equipment and storage medium - Google Patents

Quick starting method, device, equipment and storage medium Download PDF

Info

Publication number
CN115756615A
CN115756615A CN202211338763.8A CN202211338763A CN115756615A CN 115756615 A CN115756615 A CN 115756615A CN 202211338763 A CN202211338763 A CN 202211338763A CN 115756615 A CN115756615 A CN 115756615A
Authority
CN
China
Prior art keywords
dependency relationship
processes
target
chain
dependency
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.)
Pending
Application number
CN202211338763.8A
Other languages
Chinese (zh)
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.)
Huizhou Desay SV Automotive Co Ltd
Original Assignee
Huizhou Desay SV Automotive 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 Huizhou Desay SV Automotive Co Ltd filed Critical Huizhou Desay SV Automotive Co Ltd
Priority to CN202211338763.8A priority Critical patent/CN115756615A/en
Publication of CN115756615A publication Critical patent/CN115756615A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses a quick starting method, a quick starting device, equipment and a storage medium. The method comprises the following steps: acquiring the corresponding starting speed of the input target process; determining at least two processes of which the dependency relationship is to be released according to the corresponding starting speed of the target process; releasing the dependency relationship between at least two processes of which the dependency relationship is to be released in the system process dependency relationship chain to obtain a target dependency relationship chain; and executing the process in the target dependency chain, and rearranging the starting script and improving the starting speed of the vehicle-mounted cabin system by the technical scheme of the invention.

Description

Quick starting method, device, equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of computers, in particular to a quick starting method, a quick starting device, quick starting equipment and a storage medium.
Background
The vehicle-mounted cabin system is a system with high requirement on starting speed, and particularly has high requirement on starting speed for a reversing image, a panoramic parking system, an android system of the cabin system and an instrument system of the cabin. For example, the requirements for the starting speed of the reverse image and the instrumentation system generally vary from 2 seconds to 5 seconds.
Operating system vendors typically provide on-board cabin system fast boot guidance including how to load the mirror faster and suggest optimization methods, but do not provide a method of how to reorder the boot script to start the on-board cabin system at the fastest speed.
Disclosure of Invention
The embodiment of the invention provides a quick starting method, a quick starting device, equipment and a storage medium, and solves the problem that an operating system manufacturer does not provide a method for starting at the highest speed only by rearranging a starting script.
According to an aspect of the present invention, there is provided a fast boot method, the method including:
acquiring the corresponding starting speed of the input target process;
determining at least two processes of which the dependency relationship is to be released according to the corresponding starting speed of the target process;
releasing the dependency relationship between at least two processes of which the dependency relationship is to be released in the system process dependency relationship chain to obtain a target dependency relationship chain;
executing the process in the target dependency chain.
According to another aspect of the present invention, there is provided a quick start apparatus, comprising:
the target process information acquisition module is used for acquiring the corresponding starting speed of the input target process;
the process determining module is used for determining at least two processes of which the dependency relationship is to be relieved according to the corresponding starting speed of the target process;
the target dependency relationship chain obtaining module is used for removing the dependency relationship between at least two processes of which the dependency relationship is to be removed in the system process dependency relationship chain to obtain a target dependency relationship chain;
and the process execution module is used for executing the process in the target dependency chain.
According to another aspect of the present invention, there is provided an electronic apparatus including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein, the first and the second end of the pipe are connected with each other,
the memory stores a computer program executable by the at least one processor, the computer program being executable by the at least one processor to enable the at least one processor to perform the fast boot method according to any of the embodiments of the present invention.
According to another aspect of the present invention, there is provided a computer-readable storage medium storing computer instructions for causing a processor to implement the fast boot method according to any one of the embodiments of the present invention when the computer instructions are executed.
The embodiment of the invention obtains the corresponding starting speed of the input target process; determining at least two processes of which the dependency relationships are to be relieved according to the corresponding starting speeds of the target processes; releasing the dependency relationship between at least two processes of which the dependency relationship is to be released in the system process dependency relationship chain to obtain a target dependency relationship chain; and executing the process in the target dependency chain, solving the problem that an operating system manufacturer does not provide a method for resetting the starting script to start at the highest speed, and being capable of resetting the starting script and improving the starting speed of the vehicle-mounted cabin system.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present invention, nor do they necessarily limit the scope of the invention. Other features of the present invention will become apparent from the following description.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
FIG. 1 is a flowchart of a fast boot method according to a first embodiment of the present invention;
FIG. 2 is a diagram illustrating a system process dependency chain according to an embodiment of the present invention;
FIG. 3 is a diagram of another system process dependency chain in accordance with one embodiment of the present invention;
fig. 4 is a schematic structural diagram of a quick start device according to a second embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device in a third embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example one
Fig. 1 is a flowchart of a quick start method in a first embodiment of the present invention, which is applicable to a situation of quick start of an onboard cabin system, and the method may be executed by a quick start device in an embodiment of the present invention, and the device may be implemented by software and/or hardware, as shown in fig. 1, and the method specifically includes the following steps:
and S110, acquiring the corresponding starting speed of the input target process.
The input target process is a process with a starting speed requirement determined according to a user requirement, the starting speed corresponding to the target process is determined according to the user requirement, and it should be noted that there may be a plurality of target processes, for example, a reverse image starting process, an AVM starting process, and an instrument starting process.
Specifically, the manner of obtaining the corresponding start speed of the input target process may be: and acquiring the starting speed corresponding to the target process according to the self requirement of the user.
And S120, determining at least two processes of which the dependency is to be released according to the corresponding starting speed of the target process.
At least two processes of which the dependency relationship is to be released are processes associated with the target process, and the dependency relationship exists between the at least two processes of which the dependency relationship is to be released and the target process.
Specifically, the manner of determining at least two processes to be relieved of the dependency relationship according to the corresponding starting speed of the target process may be: acquiring and combing a system process chain, determining all processes with dependency relationship with a target process according to the system process chain and the target process, screening all processes with dependency relationship with the target process according to the corresponding starting speed of the target process and the execution time of the processes with dependency relationship with the target process, and determining at least two processes with dependency relationship to be relieved.
Optionally, determining at least two processes to be relieved of the dependency relationship according to the corresponding starting speed of the target process includes:
determining a process set having a dependency relationship with the target process according to the system process dependency relationship chain;
and screening the process set according to the corresponding starting speed of the target process to obtain at least two processes of which the dependency relationship is to be relieved.
The system process dependency relationship chain is a chain structure built according to the dependency relationship among the processes in the system. For example, fig. 2 is a schematic diagram of a system process dependency chain in one embodiment of the present invention, as shown in fig. 2, A0, A1, A2, and A3 depend on C0, B1, and B2 also depend on C0, A1 and A2 depend on A0, and A3 depends on A1.
The process set is a set formed by processes which have dependency relationship with a target process and are easy to release in a system process dependency relationship chain. The at least two processes with the dependency relationship to be released are at least two processes which have the dependency relationship with the target process and are easy to release the dependency relationship.
Specifically, the method for determining the process set having a dependency relationship with the target process according to the system process dependency relationship chain may be: acquiring and carding a system process dependency relationship chain, acquiring a process easy to release the dependency relationship according to the system process dependency relationship chain, selecting a process easy to release the dependency relationship associated with a target process according to the acquired process easy to release the dependency relationship, and further determining a process set having the dependency relationship with the target process.
Specifically, the manner of obtaining at least two processes whose dependency is to be removed by screening the process set according to the corresponding start speed of the target process may be: and determining a process set with a dependency relationship with the target process according to the system process dependency relationship chain, and screening the processes in the process set according to the corresponding starting speed of the target process to obtain at least two processes of which the dependency relationship is to be released.
Optionally, determining, according to the system process dependency chain, a process set having a dependency relationship with the target process, includes:
acquiring at least two first processes of which the inter-process relation in a system process dependency relationship chain is an easily releasable dependency relationship;
and generating a process set according to the process which has the dependency relationship with the target process in the at least two first processes.
The dependency relationship which is easy to be released is a dependency relationship which is artificially introduced during early design of the system or an unnecessary dependency relationship. The at least two first processes are at least two processes with the easily-releasable dependency relationship, and the embodiment of the invention does not make any special specification on the first processes, wherein the easily-releasable dependency relationship processes can be inquired from historical data.
Specifically, the manner of obtaining at least two first processes of which the inter-process relationship in the system process dependency relationship chain is the dependency relationship that is easy to release may be: and acquiring and combing a system process dependency chain, and selecting at least two processes with easy-to-remove dependency relations according to the relation among the processes in the system process dependency chain. It should be noted that, if the processes having dependency relationship with the target process all belong to processes that are not easy to release the dependency relationship, the processes may be selected to be loaded into the memory in parallel before blocking the dependency, and the initialization/function of the independent blocking condition may be executed in parallel first, so as to accelerate the system startup time. For example, fig. 3 is a schematic diagram of another system process dependency chain in the first embodiment of the present invention, as shown in fig. 3, a dependency relationship between sv _ spi and spi in fig. 3 is inherent, the start of sv _ spi requires that spi be executed, the dependency relationship between sv _ spi and spi is not easily relieved, sv _ spi may be loaded into a memory first, a name of a/dev/spi device is waited before the/dev/spi device is turned on, and sv _ spi may run in parallel with the spi driver.
Specifically, the manner of generating the process set according to the process having a dependency relationship with the target process in the at least two first processes may be: the method comprises the steps of obtaining at least two first processes of which the inter-process relation in a system process dependency relation chain is easy to release, and obtaining processes which have dependency relation with a target process according to the obtained at least two first processes to form a process set.
Optionally, the screening the process set according to the corresponding starting speed of the target process to obtain at least two processes whose dependency relationships are to be released includes:
acquiring the execution time of each process in the process set;
and screening the process set according to the execution time of each process and the corresponding starting speed of the target process to obtain at least two processes of which the dependency relationship is to be relieved.
Specifically, the manner of obtaining the execution time of each process in the process set may be: and acquiring a process set with a dependency relationship with the target process, and acquiring the execution time of each process in the process set according to historical test data.
Specifically, the manner of obtaining at least two processes whose dependency is to be removed by screening the process set according to the execution time of each process and the corresponding start speed of the target process may be: the execution time of each process in the process set is obtained, the processes in the process set are sorted according to the execution time of each process, and at least two processes which can meet the requirement of the starting speed corresponding to the target process and have the dependency relationship to be relieved are selected according to the sorted processes and the starting speed corresponding to the target process.
And S130, releasing the dependency relationship between at least two processes of which the dependency relationship is to be released in the system process dependency relationship chain to obtain a target dependency relationship chain.
And the target dependency chain is a dependency chain which is combed again after the dependency is removed at the corresponding starting speed of the target process.
Specifically, the manner of obtaining the target dependency chain by releasing the dependency relationship between at least two processes of the dependency relationship chain to be released may be: determining at least two processes of which the dependency relationship is to be removed according to the corresponding starting speed of the target process and the acquired execution time of each process in the process set, removing the dependency relationship between at least two processes of which the dependency relationship is to be removed, and carding a process chain according to the processes of which the dependency relationship is removed to obtain a target dependency relationship chain. It should be noted that at least two processes to be subjected to dependency relationship release may also be acquired in the process of dependency relationship release, and the acquisition mode may be: acquiring the execution time of each process in the process set, sequencing the processes in the process set according to the execution time of each process, selecting at least two processes with the first dependency relationship to be relieved and the longest process execution time to relieve the dependency relationship, carding the process chain again, comparing the process chain with the starting speed corresponding to the target process, if the process chain does not accord with the starting speed, adding at least two processes with the second dependency relationship to be relieved again according to the difference between the starting speed corresponding to the target process and the starting speed after executing the process chain, and determining the at least two processes with the first dependency relationship to be relieved and the at least two processes with the second dependency relationship to be relieved as the at least two processes with the to be relieved.
In a specific example, as shown in fig. 3, the way of releasing the dependency relationship may be: in the figure, sv _ spi is responsible for forwarding the message of mcu and providing a read-write interface to a remote services module, the remote services module is responsible for a pps message interface and communication with an android side, and logo _ svr/psm _ svr/cluster _ app depends on the pps message interface of the remote services. And remote service depends on Ethernet configuration at the same time, because the Ethernet configuration needs a long time to be completed, a pps message interface is put to sv _ spi so as to remove the dependence of sv _ spi on remote service.
S140, executing the process in the target dependency chain.
Specifically, the way to execute the process in the target dependency chain may be: and acquiring a target dependency chain according to the dependency between at least two processes of which the dependency to be released in the system process dependency chain is released, and executing the processes according to the target dependency chain.
It should be noted that, in the process of executing the target dependency chain process, the root node needs to be started first, and then the leaf nodes of the dependency root node need to be started, but if the first node and the second node are the same-level nodes and the starting speed corresponding to the first node is faster than that of the second node, the priority of the first node is adjusted to be higher than that of the second node. The dispatching system seizes the CPU according to the priority, and if the CPU is idle, all nodes in the same level are executed in parallel; if the CPU is busy, the CPU resource gives priority to the process with high priority, and the execution speed of the process with high priority is increased, so that the starting speed requirement corresponding to the target process is met.
In a specific example, as shown in fig. 2, processes corresponding to all root nodes and leaf nodes in the dependency chain are obtained, the corresponding processes are started according to the sequence of the root nodes and the leaf nodes in the dependency chain, and if the CPU is idle, a branched chain at a position A0 and a branched chain at a position B0 may run in parallel; if the CPU is busy and the starting speed of A0 is required to be faster than that of B0, the priority of A0 is adjusted to be higher than that of B0, the scheduling system performs CPU preemption according to the priority, and CPU resources are preferentially given to A0. It should be noted that, the priority of the process is also related to the service requirement, if the service requirement requires that the priority of a certain service (denoted as a first service) in the B0 process must be higher than the priority of a certain service (denoted as a second service) in the A0 process, and the priority of A0 is higher than the priority of B0 according to the requirement of the corresponding starting speed of the process, the priority of the first service thread may be specified to be higher than the priority of the second service thread, but the priority of the A0 process may still be higher than the priority of the B0 process.
Optionally, the method further includes:
and after the target process is executed, displaying the first identification on the instrument interface.
And the first identifier is a first frame display identifier appearing on the instrument interface after the target process is executed. For example, the instrument interface first frame display ready is to set an HMI _1stfrm _readyflag, and after the HMI _1stfrm _readyis set, other processes without start speed requirements are started. It should be noted that before the first identification occurs, the CPU of the system is primarily dedicated to work related to the target process, maximizing boot resources.
Specifically, after the target process is executed, the manner of displaying the first identifier on the instrument interface may be: and setting a first identifier for the target process, and displaying the first identifier on the instrument interface when the target process is executed. It should be noted that the first identifier may set a plurality of identifiers according to the needs of the target process.
According to the technical scheme of the embodiment, the corresponding starting speed of the input target process is obtained; determining at least two processes of which the dependency relationship is to be released according to the corresponding starting speed of the target process; releasing the dependency relationship between at least two processes of which the dependency relationship is to be released in the system process dependency relationship chain to obtain a target dependency relationship chain; and executing the process in the target dependency chain, solving the problem that an operating system manufacturer does not provide a method for resetting the starting script to start at the highest speed, and being capable of resetting the starting script and improving the starting speed of the vehicle-mounted cabin system.
Example two
Fig. 4 is a schematic structural diagram of a quick start device in a second embodiment of the present invention. The present embodiment may be applicable to the case of a rapid start of an onboard cabin system, and the device may be implemented in software and/or hardware, and may be integrated into any device that provides a rapid start function, as shown in fig. 4, where the rapid start device specifically includes: a target process information obtaining module 210, a process determining module 220, a target dependency chain obtaining module 230, and a process executing module 240.
The target process information obtaining module 210 is configured to obtain an input starting speed corresponding to a target process;
a process determining module 220, configured to determine at least two processes whose dependency relationships are to be resolved according to the corresponding starting speed of the target process;
a target dependency relationship chain obtaining module 230, configured to release a dependency relationship between at least two processes of the system process dependency relationship chain whose dependency relationship is to be released, so as to obtain a target dependency relationship chain;
a process execution module 240, configured to execute the process in the target dependency chain.
Optionally, the process determining module is specifically configured to:
determining a process set having a dependency relationship with the target process according to the system process dependency relationship chain;
and screening the process set according to the corresponding starting speed of the target process to obtain at least two processes of which the dependency relationship is to be relieved.
Optionally, the process determining module is specifically configured to:
acquiring the execution time of each process in the process set;
and screening the process set according to the execution time of each process and the corresponding starting speed of the target process to obtain at least two processes of which the dependency relationship is to be relieved.
Optionally, the process determining module is specifically configured to:
acquiring at least two first processes of which the inter-process relation in a system process dependency relationship chain is an easily releasable dependency relationship;
and generating a process set according to the process which has the dependency relationship with the target process in the at least two first processes.
Optionally, the method further includes:
and the first identifier display module is used for displaying the first identifier on the instrument interface after the target process is executed.
The product can execute the method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method.
According to the technical scheme of the embodiment, the corresponding starting speed of the input target process is obtained; determining at least two processes of which the dependency relationship is to be released according to the corresponding starting speed of the target process; releasing the dependency relationship between at least two processes of which the dependency relationship is to be released in the system process dependency relationship chain to obtain a target dependency relationship chain; the process in the target dependency chain is executed, the problem that an operating system manufacturer does not provide a method for starting the vehicle-mounted cabin system at the highest speed by rearranging the starting script is solved, the starting script can be rearranged, and the starting speed of the vehicle-mounted cabin system is improved.
EXAMPLE III
Fig. 5 is a schematic structural diagram of an electronic device in a third embodiment of the present invention. The electronic device 10 is intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smart phones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 5, the electronic device 10 includes at least one processor 11, and a memory communicatively connected to the at least one processor 11, such as a Read Only Memory (ROM) 12, a Random Access Memory (RAM) 13, and the like, wherein the memory stores a computer program executable by the at least one processor, and the processor 11 can perform various suitable actions and processes according to the computer program stored in the Read Only Memory (ROM) 12 or the computer program loaded from a storage unit 18 into the Random Access Memory (RAM) 13. In the RAM 13, various programs and data necessary for the operation of the electronic apparatus 10 may also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other via a bus 14. An input/output (I/O) interface 15 is also connected to bus 14.
A number of components in the electronic device 10 are connected to the I/O interface 15, including: an input unit 16 such as a keyboard, a mouse, or the like; an output unit 17 such as various types of displays, speakers, and the like; a storage unit 18 such as a magnetic disk, an optical disk, or the like; and a communication unit 19 such as a network card, modem, wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
The processor 11 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, or the like. The processor 11 performs the various methods and processes described above, such as the fast boot method.
In some embodiments, the fast boot method may be implemented as a computer program tangibly embodied on a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 10 via the ROM 12 and/or the communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the fast boot method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the fast boot method by any other suitable means (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), system on a chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be performed. A computer program can execute entirely on a machine, partly on a machine, as a stand-alone software package partly on a machine and partly on a remote machine or entirely on a remote machine or server.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. A computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the internet.
The computing system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical host and VPS service are overcome.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present invention may be executed in parallel, sequentially, or in different orders, and are not limited herein as long as the desired results of the technical solution of the present invention can be achieved.
The above-described embodiments should not be construed as limiting the scope of the invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A method of fast startup, comprising:
acquiring the corresponding starting speed of the input target process;
determining at least two processes of which the dependency relationships are to be relieved according to the corresponding starting speeds of the target processes;
releasing the dependency relationship between at least two processes of which the dependency relationship is to be released in the system process dependency relationship chain to obtain a target dependency relationship chain;
executing the process in the target dependency chain.
2. The method according to claim 1, wherein determining at least two processes to be de-depended according to the corresponding starting speed of the target process comprises:
determining a process set having a dependency relationship with the target process according to the system process dependency relationship chain;
and screening the process set according to the corresponding starting speed of the target process to obtain at least two processes of which the dependency relationship is to be relieved.
3. The method according to claim 2, wherein the step of screening the process set according to the corresponding starting speed of the target process to obtain at least two processes with dependency relationships to be relieved comprises the steps of:
acquiring the execution time of each process in the process set;
and screening the process set according to the execution time of each process and the corresponding starting speed of the target process to obtain at least two processes of which the dependency relationship is to be relieved.
4. The method of claim 2, wherein determining the set of processes having a dependency relationship with the target process according to the system process dependency relationship chain comprises:
acquiring at least two first processes of which the inter-process relation in a system process dependency relationship chain is an easily releasable dependency relationship;
and generating a process set according to the processes which have the dependency relationship with the target process in the at least two first processes.
5. The method of claim 1, further comprising:
and after the target process is executed, displaying the first identifier on the instrument interface.
6. A quick-start device, comprising:
the target process information acquisition module is used for acquiring the corresponding starting speed of the input target process;
the process determining module is used for determining at least two processes of which the dependency relationship is to be released according to the corresponding starting speed of the target process;
the target dependency relationship chain obtaining module is used for removing the dependency relationship between at least two processes of which the dependency relationship is to be removed in the system process dependency relationship chain to obtain a target dependency relationship chain;
and the process execution module is used for executing the process in the target dependency chain.
7. The apparatus of claim 6, wherein the progress determination module is specifically configured to:
determining a process set having a dependency relationship with the target process according to the system process dependency relationship chain;
and screening the process set according to the corresponding starting speed of the target process to obtain at least two processes of which the dependency relationship is to be relieved.
8. The apparatus of claim 6, wherein the progress determination module is specifically configured to:
acquiring the execution time of each process in the process set;
and screening the process set according to the execution time of each process and the corresponding starting speed of the target process to obtain at least two processes of which the dependency relationship is to be relieved.
9. An electronic device, characterized in that the electronic device comprises:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the fast boot method of any one of claims 1-5.
10. A computer-readable storage medium storing computer instructions for causing a processor to perform the fast boot method of any one of claims 1-5 when executed.
CN202211338763.8A 2022-10-28 2022-10-28 Quick starting method, device, equipment and storage medium Pending CN115756615A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211338763.8A CN115756615A (en) 2022-10-28 2022-10-28 Quick starting method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211338763.8A CN115756615A (en) 2022-10-28 2022-10-28 Quick starting method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115756615A true CN115756615A (en) 2023-03-07

Family

ID=85354143

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211338763.8A Pending CN115756615A (en) 2022-10-28 2022-10-28 Quick starting method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115756615A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117290074A (en) * 2023-11-23 2023-12-26 知行汽车科技(苏州)股份有限公司 Method, device, equipment and medium for setting process in vehicle type configuration

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117290074A (en) * 2023-11-23 2023-12-26 知行汽车科技(苏州)股份有限公司 Method, device, equipment and medium for setting process in vehicle type configuration
CN117290074B (en) * 2023-11-23 2024-02-02 知行汽车科技(苏州)股份有限公司 Method, device, equipment and medium for setting process in vehicle type configuration

Similar Documents

Publication Publication Date Title
CN110442396B (en) Application program starting method and device, storage medium and electronic equipment
CN113656175B (en) Method and equipment for training model based on distributed system
CN110704173A (en) Task scheduling method, scheduling system, electronic device and computer storage medium
CN112540806A (en) Applet page rendering method and device, electronic equipment and storage medium
CN115756615A (en) Quick starting method, device, equipment and storage medium
CN115357310A (en) System starting method and device, electronic equipment and storage medium
CN115168130A (en) Chip testing method and device, electronic equipment and storage medium
CN114968567A (en) Method, apparatus and medium for allocating computing resources of a compute node
CN117112222A (en) Request processing method and device, electronic equipment and storage medium
CN116243983A (en) Processor, integrated circuit chip, instruction processing method, electronic device, and medium
CN115495151A (en) Rule engine migration method, device, equipment, storage medium and program product
CN113821174B (en) Storage processing method, storage processing device, network card equipment and storage medium
CN116069497A (en) Method, apparatus, device and storage medium for executing distributed task
CN116893893B (en) Virtual machine scheduling method and device, electronic equipment and storage medium
CN117407111A (en) Method and device for starting graphic display service, electronic equipment and storage medium
CN114064301A (en) Data storage and reading method, device and equipment for single writer and multiple readers
CN115202791A (en) Method and device for determining first screen loading resource, server and storage medium
CN115309568A (en) Method, device, equipment and medium for realizing multi-process file sharing
CN117032712A (en) Pipeline compiling and constructing method and device, electronic equipment and storage medium
CN115268790A (en) Data reading and writing method and device, electronic equipment and storage medium
CN115390992A (en) Virtual machine creating method, device, equipment and storage medium
CN116719552A (en) Game heat updating method and device, electronic equipment and storage medium
CN115904550A (en) Service request processing method and device, electronic equipment and storage medium
CN114546651A (en) Multithreading operation method, device, equipment and storage medium
CN117742892A (en) Object memory recycling method, device, equipment and storage medium

Legal Events

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