CN113971048A - Application program starting method and device, storage medium and electronic equipment - Google Patents

Application program starting method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN113971048A
CN113971048A CN202111274148.0A CN202111274148A CN113971048A CN 113971048 A CN113971048 A CN 113971048A CN 202111274148 A CN202111274148 A CN 202111274148A CN 113971048 A CN113971048 A CN 113971048A
Authority
CN
China
Prior art keywords
application program
starting
abstraction layer
hardware abstraction
target data
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
CN202111274148.0A
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202111274148.0A priority Critical patent/CN113971048A/en
Publication of CN113971048A publication Critical patent/CN113971048A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4403Processor initialisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Abstract

The present disclosure relates to the field of application program starting technologies, and in particular, to a method and an apparatus for starting an application program, a computer-readable storage medium, and an electronic device, where the method includes: responding to the triggering operation of a user on the icon corresponding to the application program, starting a hardware abstraction layer corresponding to the application program and initializing the hardware abstraction layer; and starting the process corresponding to the application program according to the triggering operation so as to finish the starting of the application program. The technical scheme of the embodiment of the disclosure improves the starting speed of the application program.

Description

Application program starting method and device, storage medium and electronic equipment
Technical Field
The present disclosure relates to the field of application program starting technologies, and in particular, to a method and an apparatus for starting an application program, a computer-readable storage medium, and an electronic device.
Background
The starting speed of the application program directly influences the use experience of a user, the faster the starting speed is, the faster the user can enter the display interface of the application program, and the starting speed of the application program is directly influenced by the speed of initializing the hardware corresponding to the application program.
In the prior art, the initialization of hardware corresponding to an application program is already at the forefront of the whole application start, so that the initialization is difficult to advance, and meanwhile, the initialization process of the hardware is advanced, so that the phenomenon of CPU preemption occurs when the application program is started, and the starting speed is slow.
It is to be noted that the information disclosed in the above background section is only for enhancement of understanding of the background of the present disclosure, and thus may include information that does not constitute prior art known to those of ordinary skill in the art.
Disclosure of Invention
The present disclosure is directed to a method for starting an application, an apparatus for starting an application, a computer-readable medium, and an electronic device, so as to increase a starting speed of an application at least to a certain extent.
According to a first aspect of the present disclosure, there is provided a method for starting an application program, including: responding to the triggering operation of a user on an icon corresponding to an application program, starting a hardware abstraction layer corresponding to the application program and initializing the hardware abstraction layer; and starting the process corresponding to the application program according to the trigger operation to finish the starting of the application program.
According to a second aspect of the present disclosure, there is provided an application program starting apparatus, including: the hardware starting module is used for responding to the triggering operation of a user on an icon corresponding to an application program, starting a hardware abstraction layer corresponding to the application program and initializing the hardware abstraction layer; and the process starting module is used for starting the process corresponding to the application program according to the triggering operation so as to finish the starting of the application program.
According to a third aspect of the present disclosure, a computer-readable medium is provided, on which a computer program is stored, which computer program, when being executed by a processor, is adapted to carry out the above-mentioned method.
According to a fourth aspect of the present disclosure, there is provided an electronic apparatus, comprising: one or more processors; and memory storing one or more programs that, when executed by the one or more processors, cause the one or more processors to implement the above-described method.
According to the starting method of the application program provided by the embodiment of the disclosure, the triggering operation of the user on the icon corresponding to the application program is responded, the hardware abstraction layer corresponding to the application program is started, and the hardware abstraction layer is initialized; and starting the process corresponding to the application program according to the triggering operation so as to finish the starting of the application program. Compared with the prior art, when the user triggers the icon on the desktop, the initialization process of the hardware abstraction layer of the application program is started, the starting speed of the application program can be improved, meanwhile, the initialization of the hardware abstraction layer corresponding to the application program is started before the application program is started, the processor cannot be preempted with a key process in the application starting process, the fluency in the starting process is improved, and the starting speed of the application program is further improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure. It is to be understood that the drawings in the following description are merely exemplary of the disclosure, and that other drawings may be derived from those drawings by one of ordinary skill in the art without the exercise of inventive faculty. In the drawings:
fig. 1 shows a data flow diagram of a related art startup camera;
FIG. 2 schematically illustrates a flow chart of a method for launching an application in an exemplary embodiment of the disclosure;
FIG. 3 schematically illustrates a flow diagram for initializing an impact abstraction layer in an exemplary embodiment of the present disclosure;
FIG. 4 is a flow chart schematically illustrating a process for starting the application program according to an exemplary embodiment of the disclosure;
FIG. 5 schematically illustrates a data flow diagram for starting a camera in an exemplary embodiment of the disclosure;
fig. 6 schematically shows a composition diagram of a starting apparatus of an application program in an exemplary embodiment of the present disclosure;
fig. 7 shows a schematic diagram of an electronic device to which an embodiment of the disclosure may be applied.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
Furthermore, the drawings are merely schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus their repetitive description will be omitted. Some of the block diagrams shown in the figures are functional entities and do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor devices and/or microcontroller devices.
In the related art, an application is taken as an example of a camera, and a starting process of the application and the cetin are described in detail.
Referring to fig. 1, when the camera is started, step S110 may be executed first, process establishment and interface creation may be performed, then step S120 is executed, the hardware abstraction layer is initialized, specifically, the application sends an initialization instruction, that is, an OpenCamera instruction, to the image hardware abstraction layer 120 through the framework layer 110, after the initialization is completed, an initialization completion instruction, that is, an onPen instruction 130, may be fed back to the application, which represents that the camera is opened, step S130 may be executed, specifically, a configuration function configuration data stream is called, an onconfiguration 140 callback represents that data stream configuration is completed, and finally step S140 is executed, a request data stream, that is, setreating, is issued until a first frame preview frame represents that the entire camera starting process is completed.
The earlier the openCamera stage begins in the camera starting process, the earlier the whole camera starting process can be completed; at present, the OpenCamera phase is advanced to an interface creation phase, namely an onCreate phase of Activity, and even advanced to a process creation phase, namely an onCreate phase of Application.
The OpenCamera stage is advanced to the forefront of the APP starting process, and the bottleneck is reached when the starting performance of the camera is optimized in such a way; further, advancing OpenCamera results in a lack of CPU contention with some critical threads, resulting in slower start-up speed.
The following is a detailed description of an application starting method and an application starting apparatus according to exemplary embodiments of the present disclosure.
Fig. 2 shows a flow of a starting method of an application program in the present exemplary embodiment, which includes the following steps:
step S210, responding to the triggering operation of the user to the icon corresponding to the application program, starting the hardware abstraction layer corresponding to the application program and initializing the hardware abstraction layer
Step S220, starting the process corresponding to the application program according to the trigger operation to complete the starting of the application program.
Compared with the prior art, when the user triggers the icon on the desktop, the initialization process of the hardware abstraction layer of the application program is started, the starting speed of the application program can be improved, meanwhile, the initialization of the hardware abstraction layer corresponding to the application program is started before the application program is started, the processor cannot be preempted with a key process in the application starting process, the fluency in the starting process is improved, and the starting speed of the application program is further improved.
The above steps will be described in detail below.
In step S210, in response to a user triggering an icon corresponding to an application program, a hardware abstraction layer corresponding to the application program is started and initialized.
In an example embodiment of the present disclosure, the processor may respond to a user's trigger operation on an icon corresponding to an application program on the desktop, start a hardware abstraction layer corresponding to the application program, and initialize the hardware abstraction layer.
Specifically, the processor may determine, in response to a trigger operation of a user, location information corresponding to the trigger operation, then determine layout information of an application icon on the desktop, determine, according to the location information and the layout information, an application program corresponding to the trigger operation, and start the application program.
In the present exemplary embodiment, the triggering operation may be performed by clicking a screen through a touch panel, or may be performed by a user through a mouse, a keyboard, or the like, and the foregoing operation is not specifically limited in the present exemplary embodiment.
In this example embodiment, starting the hardware abstraction layer corresponding to the application program and initializing the hardware abstraction layer may include step S310 and step S320.
In step S310, the hardware abstraction layer is powered on, and initialized;
in this example embodiment, power supply to the hardware abstraction layer may be started, that is, a power-on process of the hardware abstraction layer is completed, a specific location supplies power to hardware corresponding to the application program, and then the hardware abstraction layer may be initialized, where initializing the hardware abstraction layer may include creating a terminal vector, setting a register, and the like, and may also include closing a "watchdog", initializing a clock, and the like, where initialized content may also be customized according to a user requirement, and is not specifically limited in this example embodiment.
In step S320, data to be configured of the application program is acquired.
In this example embodiment, after the initialization of the hardware abstraction layer is completed, the processor may obtain data to be configured corresponding to the application program, where the data to be configured may include one or more of a size, a display resolution, and a font size of the presentation interface.
In step S220, a process corresponding to the application program is started according to the trigger operation to complete the starting of the application program.
In this exemplary embodiment, when the process corresponding to the application program is started according to the trigger operation to complete the starting of the application program, the method may include the following steps:
step S410, acquiring the state of the hardware abstraction layer corresponding to the application program;
step S420, responding to the power-on state of the hardware abstraction layer, and configuring data to be configured corresponding to the application program to obtain target data;
and step S430, finishing the starting of the application program according to the target data.
The above steps will be described in detail below.
In step S410, the state of the hardware abstraction layer corresponding to the application program is obtained.
In an example embodiment of the present disclosure, the processor may obtain a state of the hardware abstraction layer, where the state of the hardware abstraction layer may include a powered-on state and a non-powered-on state.
In this exemplary embodiment, taking the application program as a camera as an example, the application program sends an initialization instruction, that is, an OpenCamera instruction, to the image hardware abstraction layer through the framework layer, and after the initialization is completed, an initialization completion instruction, that is, an onPen instruction, may be fed back to the application program, and at this time, the hardware abstraction layer is in a power-on state.
It should be noted that, in the present disclosure, the initialization process of the hardware abstraction layer is before the process is started, and therefore, when the OpenCamera instruction is sent, the hardware abstraction layer of the camera may directly feed back the onPen instruction, which greatly reduces the time required in the related art and increases the speed of starting the application program.
In step S420, in response to that the hardware abstraction layer is in the power-on state, configuring the data to be configured corresponding to the application program to obtain the target data.
In an example embodiment of the present disclosure, when the processor acquires the onPen instruction, that is, when it is determined that the hardware abstraction layer is in a power-on state, the processor may configure to-be-configured data corresponding to the application program to obtain a target data stream.
Specifically, if the user uses the application program for the first time, the data to be configured may be configured to be target data adapted to the terminal device according to the terminal device of the user, or the data to be configured may be directly configured to be a default value, if the user does not use the application program for the first time, the data to be configured of the application program is configured to be target data when the user closes the application program last time, or the data to be configured may be configured according to a user requirement to obtain the target data stream, which is not specifically limited in this exemplary embodiment.
In step S430, the application is started according to the target data.
In this example embodiment, after obtaining the target data, the processor may complete the starting of the application according to the target data. Specifically, the data obtaining instruction may be generated in response to completion of the configuration of the target data, the target data may be obtained according to the data obtaining instruction, and the application program may be started according to the target data.
In this exemplary embodiment, taking the above application as an example of a camera, specifically, the processor may call a configuration to configure target data, and the onconfiguration callback represents that the target data is configured, and at this time, the application may be started according to the target data.
In this exemplary embodiment, a display interface corresponding to the application program may be established according to the target data, and when the display interface meets a preset condition, a start completion signal is fed back. For example, if the application program is a camera, the preset condition may be that a first frame preview frame is acquired by the presentation interface, and if the application program is a chat software, the preset condition may be that the presentation interface is completely presented, and the preset condition may also be self-defined according to a user requirement, which is not specifically limited in this example embodiment.
In the present exemplary real-time method, the above steps will be described in detail by taking the above application as an example of a camera, as shown in fig. 5.
In this example real-time method, step S510 may be executed first, the trigger operation of the user is received, the hardware abstraction layer is started, step S520 is executed, the camera process is started through the AMS111 (active managed service, which is the most core service of Android) in the framework layer 110, step S530 is executed, an initialization instruction, that is, an OpenCamera instruction, is sent to the image hardware abstraction layer 120, after the initialization is completed, an initialization completion instruction, that is, an onPen instruction 130, may be fed back to the application program, representing that the camera is already opened, step S540 may be executed, specifically, a configuration is called to configure a data stream, an onconfiguration 140 callback represents that the data stream configuration is completed, and step S550 is executed, a request data stream, that is, setreading is issued, and waits until a first frame preview frame to represent that the entire camera starting process is completed.
In summary, in the exemplary embodiment, when the user triggers the icon on the desktop, the initialization process of the hardware abstraction layer of the application program is already started, which can improve the starting speed of the application program, and meanwhile, the initialization of the hardware abstraction layer corresponding to the application program is already executed before the application program is started, which does not preempt the processor with the critical process in the application starting process, thereby improving the fluency in the starting process and further improving the starting speed of the application program.
It is noted that the above-mentioned figures are merely schematic illustrations of processes involved in methods according to exemplary embodiments of the present disclosure, and are not intended to be limiting. It will be readily understood that the processes shown in the above figures are not intended to indicate or limit the chronological order of the processes. In addition, it is also readily understood that these processes may be performed synchronously or asynchronously, e.g., in multiple modules.
Further, referring to fig. 6, in the embodiment of the present example, an apparatus 600 for starting an application program is further provided, and includes a hardware starting module 610 and a process starting module 620. Wherein:
the hardware starting module 620 may be configured to respond to a user's trigger operation on an icon corresponding to an application program, start a hardware abstraction layer corresponding to the application program, and initialize the hardware abstraction layer; specifically, the hardware abstraction layer may be powered on and initialized; and acquiring data to be configured of the application program. The data to be configured may include one or more of a size, a display resolution, and a font size of the presentation interface.
The process starting module 620 may be configured to start a process corresponding to the application program according to the trigger operation to complete starting of the application program, and specifically, obtain a state of a hardware abstraction layer corresponding to the application program; responding to the power-on state of the hardware abstraction layer, and configuring data to be configured corresponding to the application program to obtain target data; and finishing the starting of the application program according to the target data.
In this exemplary embodiment, when the process starting module 620 completes starting of the application program according to the target data, it may first generate a data acquisition instruction in response to completion of configuration of the target data; and acquiring target data according to the data acquisition instruction, and finishing the starting of the application program according to the target data.
In an exemplary embodiment, when the application is started according to the target data, the process starting module 620 may start a process corresponding to the application according to the target data to create a display interface corresponding to the application; and responding that the display interface meets the preset condition, and feeding back a starting completion signal. The application program is a camera, the response that the display interface meets the preset condition, and the feeding back the start completion signal may include responding to the display interface to acquire a first frame preview frame and feeding back the camera start completion signal.
The specific details of each module in the above apparatus have been described in detail in the method section, and details that are not disclosed may refer to the method section, and thus are not described again.
As will be appreciated by one skilled in the art, aspects of the present disclosure may be embodied as a system, method or program product. Accordingly, various aspects of the present disclosure may be embodied in the form of: an entirely hardware embodiment, an entirely software embodiment (including firmware, microcode, etc.) or an embodiment combining hardware and software aspects that may all generally be referred to herein as a "circuit," module "or" system.
The following takes the mobile terminal 700 in fig. 7 as an example, and exemplifies the configuration of the electronic device. It will be appreciated by those skilled in the art that the configuration of figure 7 can also be applied to fixed type devices, in addition to components specifically intended for mobile purposes. In other embodiments, mobile terminal 700 may include more or fewer components than shown, or some components may be combined, some components may be split, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware. The interfacing relationship between the various components is shown schematically and does not constitute a structural limitation of mobile terminal 700. In other embodiments, the mobile terminal 700 may also interface differently than shown in FIG. 7, or a combination of multiple interfaces.
As shown in fig. 7, the mobile terminal 700 may specifically include: processor 710, internal memory 721, external memory interface 722, Universal Serial Bus (USB) interface 730, charging management module 740, power management module 741, battery 742, antenna 1, antenna 2, mobile communication module 750, wireless communication module 760, audio module 770, speaker 771, microphone 772, microphone 773, earphone interface 774, sensor module 780, display 790, camera module 791, indicator 792, motor 793, buttons 794, and Subscriber Identity Module (SIM) card interface 795, etc. Wherein the sensor module 780 may include a depth sensor 7801, a pressure sensor 7802, a gyroscope sensor 7803, and the like.
Processor 710 may include one or more processing units, such as: the Processor 710 may include an Application Processor (AP), a modem Processor, a Graphics Processing Unit (GPU), an Image Signal Processor (ISP), a controller, a video codec, a Digital Signal Processor (DSP), a baseband Processor, and/or a Neural-Network Processing Unit (NPU), and the like. The different processing units may be separate devices or may be integrated into one or more processors.
The NPU is a Neural-Network (NN) computing processor, which processes input information quickly by using a biological Neural Network structure, for example, by using a transfer mode between neurons of a human brain, and can also learn by itself continuously. The NPU can implement applications such as intelligent recognition of the mobile terminal 200, for example: image recognition, face recognition, speech recognition, text understanding, and the like.
A memory is provided in the processor 710. The memory may store instructions for implementing six modular functions: detection instructions, connection instructions, information management instructions, analysis instructions, data transmission instructions, and notification instructions, and execution is controlled by processor 710.
The charging management module 740 is configured to receive charging input from a charger, and may include a power management module 741 configured to couple the battery 742, the charging management module 740, and the processor 710.
The wireless communication function of the mobile terminal 700 may be implemented by the antenna 1, the antenna 2, the mobile communication module 750, the wireless communication module 760, a modem processor, a baseband processor, and the like.
The mobile terminal 700 implements a display function through the GPU, the display screen 790, the application processor, and the like. The GPU is a microprocessor for image processing, and is connected to a display screen 790 and an application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 710 may include one or more GPUs that execute program instructions to generate or alter display information.
The internal memory 721 may be used to store computer-executable program code, including instructions. The internal memory 721 may include a program storage area and a data storage area. The storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required by at least one function, and the like. The storage data area may store data (e.g., audio data, a phonebook, etc.) created during use of the mobile terminal 200, and the like. In addition, the internal memory 721 may include a high-speed random access memory, and may further include a nonvolatile memory, such as at least one magnetic disk Storage device, a Flash memory device, a Universal Flash Storage (UFS), and the like. The processor 710 performs various functional applications and data processing of the mobile terminal 700 by executing instructions stored in the internal memory 721 and/or instructions stored in a memory provided in the processor.
In this exemplary embodiment, the processor 710 may start a hardware abstraction layer corresponding to an application program and initialize the hardware abstraction layer in response to a user triggering an icon corresponding to the application program; specifically, the hardware abstraction layer may be powered on and initialized; and acquiring data to be configured of the application program. The data to be configured may include one or more of a size, a display resolution, and a font size of the presentation interface.
In an example embodiment, the processor 710 may further start a process corresponding to the application program according to a trigger operation to complete starting of the application program, and specifically, obtain a state of a hardware abstraction layer corresponding to the application program; responding to the power-on state of the hardware abstraction layer, and configuring data to be configured corresponding to the application program to obtain target data; and finishing the starting of the application program according to the target data.
When the processor 710 completes the start of the application program according to the target data, it may first respond to the completion of the configuration of the target data to generate a data acquisition instruction; and acquiring target data according to the data acquisition instruction, and finishing the starting of the application program according to the target data.
In an exemplary embodiment, when the processor 710 completes the starting of the application program according to the target data, the processor may start a process corresponding to the application program according to the target data to create a presentation interface corresponding to the application program; and responding that the display interface meets the preset condition, and feeding back a starting completion signal. The application program is a camera, the response that the display interface meets the preset condition, and the feeding back the start completion signal may include responding to the display interface to acquire a first frame preview frame and feeding back the camera start completion signal.
Exemplary embodiments of the present disclosure also provide a computer-readable storage medium having stored thereon a program product capable of implementing the above-described method of the present specification. In some possible embodiments, various aspects of the disclosure may also be implemented in the form of a program product comprising program code for causing a terminal device to perform the steps according to various exemplary embodiments of the disclosure described in the above-mentioned "exemplary methods" section of this specification, when the program product is run on the terminal device.
It should be noted that the computer readable media shown in the present disclosure may be computer readable signal media or computer readable storage media or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having 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 portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
Furthermore, program code for carrying out operations of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is to be limited only by the terms of the appended claims.

Claims (10)

1. A method for starting an application program, comprising:
responding to the triggering operation of a user on an icon corresponding to an application program, starting a hardware abstraction layer corresponding to the application program and initializing the hardware abstraction layer; and
and starting the process corresponding to the application program according to the trigger operation to finish the starting of the application program.
2. The method of claim 1, wherein starting and initializing a hardware abstraction layer corresponding to the application program comprises:
powering on the hardware abstraction layer, and initializing the hardware abstraction layer;
and acquiring data to be configured of the application program.
3. The method of claim 2, wherein starting the process corresponding to the application program according to the trigger operation to complete the starting of the application program comprises:
acquiring the state of a hardware abstraction layer corresponding to the application program;
responding to the power-on state of the hardware abstraction layer, and configuring data to be configured corresponding to the application program to obtain target data;
and finishing the starting of the application program according to the target data.
4. The method of claim 3, wherein completing the launching of the application based on the target data comprises:
responding to the completion of the target data configuration, and generating a data acquisition instruction;
and acquiring the target data according to the data acquisition instruction, and finishing the starting of the application program according to the target data.
5. The method of claim 4, wherein completing the launching of the application based on the target data comprises:
starting a process corresponding to the application program according to the target data to create a display interface corresponding to the application program;
and responding that the display interface meets the preset condition, and feeding back a starting completion signal.
6. The method of claim 5, wherein the application is a camera, and the feeding back the start-up completion signal in response to the presentation interface satisfying a predetermined condition comprises:
and feeding back a camera starting completion signal in response to the display interface acquiring the first frame preview frame.
7. The method of claim 5, wherein the data to be configured comprises one or more of a size, a display resolution, and a font size of the presentation interface.
8. An apparatus for starting an application program, comprising:
the hardware starting module is used for responding to the triggering operation of a user on an icon corresponding to an application program, starting a hardware abstraction layer corresponding to the application program and initializing the hardware abstraction layer;
and the process starting module is used for starting the process corresponding to the application program according to the triggering operation so as to finish the starting of the application program.
9. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out a method for starting an application program according to any one of claims 1 to 7.
10. An electronic device, comprising:
one or more processors; and
memory for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to implement a method of launching an application program as claimed in any of claims 1 to 7.
CN202111274148.0A 2021-10-29 2021-10-29 Application program starting method and device, storage medium and electronic equipment Pending CN113971048A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111274148.0A CN113971048A (en) 2021-10-29 2021-10-29 Application program starting method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111274148.0A CN113971048A (en) 2021-10-29 2021-10-29 Application program starting method and device, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN113971048A true CN113971048A (en) 2022-01-25

Family

ID=79589005

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111274148.0A Pending CN113971048A (en) 2021-10-29 2021-10-29 Application program starting method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN113971048A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116700819A (en) * 2022-12-22 2023-09-05 荣耀终端有限公司 Method and device for starting camera hardware module and storage medium
CN117149294A (en) * 2023-02-27 2023-12-01 荣耀终端有限公司 Camera application configuration method, device and storage medium

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103106117A (en) * 2012-12-25 2013-05-15 青岛海信电器股份有限公司 Resource allocation method and electronic equipment
CN104133711A (en) * 2014-08-07 2014-11-05 深圳市元征科技股份有限公司 Camera safe switching method based on Android system
CN107391106A (en) * 2017-06-09 2017-11-24 深圳市金立通信设备有限公司 The initial method and terminal of camera parameter
EP3275170A1 (en) * 2015-03-23 2018-01-31 Intel Corporation Workload scheduler for computing devices with camera
WO2019056242A1 (en) * 2017-09-21 2019-03-28 深圳传音通讯有限公司 Camera photographing parameter setting method for smart terminal, setting device, and smart terminal
CN109739468A (en) * 2019-01-07 2019-05-10 Oppo广东移动通信有限公司 Running optimizatin method, apparatus, storage medium and terminal device
CN111371998A (en) * 2020-03-16 2020-07-03 Oppo广东移动通信有限公司 Camera starting control method and related device
WO2020248640A1 (en) * 2019-06-10 2020-12-17 海信视像科技股份有限公司 Display device
CN112612536A (en) * 2020-12-15 2021-04-06 麒麟软件有限公司 Method and device for controlling camera shooting based on Android application program in Linux system
CN112882778A (en) * 2021-01-28 2021-06-01 湖北亿咖通科技有限公司 Method for drawing display interface of vehicle air conditioner and computer storage medium
CN113032030A (en) * 2021-03-29 2021-06-25 北京小米移动软件有限公司 Camera starting method and device, terminal equipment and storage medium

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103106117A (en) * 2012-12-25 2013-05-15 青岛海信电器股份有限公司 Resource allocation method and electronic equipment
CN104133711A (en) * 2014-08-07 2014-11-05 深圳市元征科技股份有限公司 Camera safe switching method based on Android system
EP3275170A1 (en) * 2015-03-23 2018-01-31 Intel Corporation Workload scheduler for computing devices with camera
CN107391106A (en) * 2017-06-09 2017-11-24 深圳市金立通信设备有限公司 The initial method and terminal of camera parameter
WO2019056242A1 (en) * 2017-09-21 2019-03-28 深圳传音通讯有限公司 Camera photographing parameter setting method for smart terminal, setting device, and smart terminal
CN109739468A (en) * 2019-01-07 2019-05-10 Oppo广东移动通信有限公司 Running optimizatin method, apparatus, storage medium and terminal device
WO2020248640A1 (en) * 2019-06-10 2020-12-17 海信视像科技股份有限公司 Display device
CN111371998A (en) * 2020-03-16 2020-07-03 Oppo广东移动通信有限公司 Camera starting control method and related device
CN112612536A (en) * 2020-12-15 2021-04-06 麒麟软件有限公司 Method and device for controlling camera shooting based on Android application program in Linux system
CN112882778A (en) * 2021-01-28 2021-06-01 湖北亿咖通科技有限公司 Method for drawing display interface of vehicle air conditioner and computer storage medium
CN113032030A (en) * 2021-03-29 2021-06-25 北京小米移动软件有限公司 Camera starting method and device, terminal equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116700819A (en) * 2022-12-22 2023-09-05 荣耀终端有限公司 Method and device for starting camera hardware module and storage medium
CN117149294A (en) * 2023-02-27 2023-12-01 荣耀终端有限公司 Camera application configuration method, device and storage medium

Similar Documents

Publication Publication Date Title
US20220405986A1 (en) Virtual image generation method, device, terminal and storage medium
CN107632706B (en) Application data processing method and system of multi-modal virtual human
CN108181992A (en) Voice awakening method, device, equipment and computer-readable medium based on gesture
CN113971048A (en) Application program starting method and device, storage medium and electronic equipment
WO2016197590A1 (en) Method and apparatus for providing screenshot service on terminal device and storage medium and device
US10950240B2 (en) Information processing device and information processing method
CN113393367B (en) Image processing method, apparatus, device and medium
WO2023098732A1 (en) Cross-device interaction method and apparatus, electronic device, and storage medium
CN115470381A (en) Information interaction method, device, equipment and medium
US20200125603A1 (en) Electronic device and system which provides service based on voice recognition
US20210098012A1 (en) Voice Skill Recommendation Method, Apparatus, Device and Storage Medium
US11264031B2 (en) Method for processing plans having multiple end points and electronic device applying the same method
WO2023221941A1 (en) Image processing method and apparatus, device, and storage medium
WO2023227045A1 (en) Display object determination method and apparatus, electronic device, and storage medium
CN116596748A (en) Image stylization processing method, apparatus, device, storage medium, and program product
CN115631251B (en) Method, device, electronic equipment and medium for generating image based on text
CN113641439B (en) Text recognition and display method, device, electronic equipment and medium
CN109064527A (en) Implementation method, device, storage medium and the android terminal of dynamic configuration animation
CN113407318A (en) Operating system switching method and device, computer readable medium and electronic equipment
CN113126859A (en) Contextual model control method, contextual model control device, storage medium and terminal
CN108804104A (en) Implementation method, device, storage medium and the terminal of the self-defined animation of Android system
CN112911403B (en) Event analysis method and device, television and computer readable storage medium
CN116721007B (en) Task control method, system and device, electronic equipment and storage medium
CN115129469B (en) Cross-process communication method, device, equipment and storage medium
US20220262391A1 (en) Electronic device and method for speech recognition processing of electronic device

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