CN115113946A - A method and device for optimizing camera startup - Google Patents
A method and device for optimizing camera startup Download PDFInfo
- Publication number
- CN115113946A CN115113946A CN202110285997.XA CN202110285997A CN115113946A CN 115113946 A CN115113946 A CN 115113946A CN 202110285997 A CN202110285997 A CN 202110285997A CN 115113946 A CN115113946 A CN 115113946A
- Authority
- CN
- China
- Prior art keywords
- camera
- background service
- target background
- service process
- killing
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44505—Configuring for program initiating, e.g. using registry, configuration files
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44594—Unloading
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Studio Devices (AREA)
Abstract
本发明属于智能设备领域,公开了一种优化相机启动方法和装置,其方法包括:在init.rc文件中定义目标后台服务进程的杀进程服务;当相机启动连接时,触发所述杀进程服务,以关闭所述目标后台服务进程。通过本发明可以在打开相机时,精准杀掉不影响系统运行的后台进程,释放了被杀掉的后台进程的内存,为相机操作增加了系统可用内存,使相机操作卡顿减少。
The invention belongs to the field of intelligent devices, and discloses a method and device for optimizing camera startup. The method includes: defining a process killing service of a target background service process in an init.rc file; and triggering the killing process service when a camera starts a connection , to close the target background service process. The invention can accurately kill the background process that does not affect the system running when the camera is turned on, release the memory of the killed background process, increase the available memory of the system for the camera operation, and reduce the jamming of the camera operation.
Description
技术领域technical field
本发明涉及智能设备领域,尤指一种优化相机启动方法和装置。The present invention relates to the field of smart devices, in particular to an optimized camera startup method and device.
背景技术Background technique
随着用户对智能终端产品的多样化需求的增加,手机、平板电路(PAD)、智能穿戴设备等终端功能不断创新,其应用范围不断扩展。As users' diverse demands for smart terminal products increase, terminal functions such as mobile phones, tablet circuits (PADs), and smart wearable devices continue to innovate, and their application scope continues to expand.
目前,在低内存的Android设备上,由于使用高一点像素的相机需要占用很大的内存,而系统本身剩余的可用内存就比较少,所以打开相机后的操作会非常卡顿,影响用户体验。At present, on Android devices with low memory, since the use of a higher-pixel camera requires a large amount of memory, and the remaining available memory of the system itself is relatively small, the operation after turning on the camera will be very laggy, affecting the user experience.
发明内容SUMMARY OF THE INVENTION
本发明的目的是提供一种优化相机启动方法和装置,解决上述问题。The purpose of the present invention is to provide an optimized camera startup method and device to solve the above problems.
本发明提供的技术方案如下:The technical scheme provided by the present invention is as follows:
一方面,提供一种优化相机启动方法,包括:In one aspect, a method for optimizing camera startup is provided, including:
在init.rc文件中定义目标后台服务进程的杀进程服务;Define the killing process service of the target background service process in the init.rc file;
当相机启动连接时,触发所述杀进程服务,以关闭所述目标后台服务进程。When the camera starts to connect, the process killing service is triggered to close the target background service process.
进一步优选的,还包括:Further preferred, also includes:
标记目标后台服务进程,所述目标后台服务进程包括可关闭的后台服务进程;Marking a target background service process, the target background service process includes a closeable background service process;
当监测到所述目标后台服务进程开启时,保存所述目标后台服务进程的进程ID。When it is detected that the target background service process is started, the process ID of the target background service process is saved.
进一步优选的,所述当相机启动连接时,触发所述杀进程服务,以执行关闭对应的目标后台服务进程,包括:Further preferably, when the camera initiates the connection, triggering the killing process service to execute and close the corresponding target background service process, including:
基于所述目标后台服务进程的进程ID,触发对应的杀进程服务,以关闭所述目标后台服务进程。Based on the process ID of the target background service process, a corresponding process killing service is triggered to close the target background service process.
进一步优选的,还包括:Further preferred, also includes:
获取所述相机的属性;Get the properties of the camera;
当所述相机的属性为使能开启属性时,关闭所述目标后台服务进程的自动重启路径。When the attribute of the camera is the enable attribute, the automatic restart path of the target background service process is closed.
进一步优选的,所述当所述相机的属性为使能开启属性时,关闭目标后台服务进程的自动重启路径,包括:Further preferably, when the attribute of the camera is the enable attribute, closing the automatic restart path of the target background service process, including:
基于预设关闭标识,关闭所述目标后台服务进程的自动重启路径。Based on the preset shutdown identifier, the automatic restart path of the target background service process is closed.
进一步优选的,在所述当相机启动连接时,触发所述杀进程服务,以关闭所述目标后台服务进程之前,包括:Further preferably, before triggering the killing process service to close the target background service process when the camera starts to connect, the process includes:
当相机启动连接时,设置所述相机的使能属性为使能开启属性。When the camera initiates the connection, the enabled property of the camera is set to the enabled property.
进一步优选的,包括:Further preferred, including:
在所述相机关闭时,将所述相机的使能属性设置为使能关闭属性。When the camera is turned off, the enabled property of the camera is set to the enabled shutdown property.
一种优化相机启动装置,包括:An optimized camera activation device, comprising:
定义模块,用于在init.rc文件中定义目标后台服务进程的杀进程服务;Define the module, which is used to define the killing process service of the target background service process in the init.rc file;
触发模块,用于当相机启动连接时,触发所述杀进程服务,以关闭所述目标后台服务进程。The triggering module is used for triggering the killing process service to close the target background service process when the camera starts to connect.
进一步优选的,还包括:Further preferred, also includes:
标记模块,用于标记目标后台服务进程,所述目标后台服务进程包括可关闭的后台服务进程;a marking module, used to mark a target background service process, the target background service process includes a closeable background service process;
保存模块,用于当监测到所述目标后台服务进程开启时,保存所述目标后台服务进程的进程ID。The saving module is configured to save the process ID of the target background service process when it is monitored that the target background service process is started.
进一步优选的,所述触发模块,还用于:Further preferably, the trigger module is also used for:
基于所述目标后台服务进程的进程ID,触发对应的杀进程服务,以关闭所述目标后台服务进程。Based on the process ID of the target background service process, a corresponding process killing service is triggered to close the target background service process.
本发明提供的一种优化相机启动方法和装置至少具有以下技术效果:An optimized camera startup method and device provided by the present invention have at least the following technical effects:
本发明通过本发明的优化相机启动方法,能够对内存进行有效管理,并使得相机快速开启。Through the optimized camera startup method of the present invention, the memory can be effectively managed, and the camera can be started quickly.
附图说明Description of drawings
下面结合附图和具体实施方式对本发明作进一步详细说明:The present invention is described in further detail below in conjunction with the accompanying drawings and specific embodiments:
图1是本发明的一种优化相机启动方法的一个实施例的示意图;FIG. 1 is a schematic diagram of an embodiment of an optimized camera startup method of the present invention;
图2是本发明的一种优化相机启动装置的一个实施例的示意图。FIG. 2 is a schematic diagram of an embodiment of an optimized camera activation device of the present invention.
具体实施方式Detailed ways
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to explain the embodiments of the present invention or the technical solutions in the prior art more clearly, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can also be obtained according to these drawings without creative efforts.
为使图面简洁,各图中只示意性地表示出了与本发明相关的部分,它们并不代表其作为产品的实际结构。另外,以使图面简洁便于理解,在有些图中具有相同结构或功能的部件,仅示意性地绘示了其中的一个,或仅标出了其中的一个。在本文中,“一个”不仅表示“仅此一个”,也可以表示“多于一个”的情形。In order to keep the drawings concise, the drawings only schematically show the parts related to the present invention, and they do not represent its actual structure as a product. In addition, in order to make the drawings concise and easy to understand, in some drawings, only one of the components having the same structure or function is schematically shown, or only one of them is marked. As used herein, "one" not only means "only one", but also "more than one".
还应当进一步理解,在本申请说明书和所附权利要求书中使用的术语“和/或”是指相关联列出的项中的一个或多个的任何组合以及所有可能组合,并且包括这些组合。It should also be further understood that, as used in this specification and the appended claims, the term "and/or" refers to and including any and all possible combinations of one or more of the associated listed items .
在本文中,需要说明的是,除非另有明确的规定和限定,术语“安装”、“相连”、“连接”应做广义理解,例如,可以是固定连接,也可以是可拆卸连接,或一体地连接;可以是机械连接,也可以是电连接;可以是直接相连,也可以通过中间媒介间接相连,可以是两个元件内部的连通。对于本领域的普通技术人员而言,可以具体情况理解上述术语在本发明中的具体含义。In this article, it should be noted that, unless otherwise expressly specified and limited, the terms "installed", "connected" and "connected" should be understood in a broad sense, for example, it may be a fixed connection or a detachable connection, or It can be connected in one piece; it can be a mechanical connection or an electrical connection; it can be directly connected or indirectly connected through an intermediate medium, and it can be internal communication between two components. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood in specific situations.
另外,在本申请的描述中,术语“第一”、“第二”等仅用于区分描述,而不能理解为指示或暗示相对重要性。In addition, in the description of the present application, the terms "first", "second" and the like are only used to distinguish the description, and cannot be understood as indicating or implying relative importance.
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对照附图说明本发明的具体实施方式。显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图,并获得其他的实施方式。In order to more clearly describe the embodiments of the present invention or the technical solutions in the prior art, the specific embodiments of the present invention will be described below with reference to the accompanying drawings. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can also be obtained from these drawings without creative efforts, and obtain other implementations.
实施例一Example 1
本发明提供一种优化相机启动方法的一个实施例,如图1所示,包括:The present invention provides an embodiment of an optimized camera startup method, as shown in FIG. 1 , including:
S100在init.rc文件中定义目标后台服务进程的杀进程服务。S100 defines the killing process service of the target background service process in the init.rc file.
具体的,在init.rc文件中定义一个kill_pid的service,专门用于kill保存在sys.update.pid中的pid对应的进程。Specifically, a kill_pid service is defined in the init.rc file, which is specially used to kill the process corresponding to the pid stored in sys.update.pid.
示例性的,linux系统中存储有启动文件,即init.rc文件,这种一般是应用启动前被自动执行的脚本文件。Exemplarily, a startup file, that is, an init.rc file, is stored in the linux system, which is generally a script file that is automatically executed before an application is started.
具体的,需要杀的后台服务进程pid保存在系统属性中,比如sys.killed.pid,服务进程通过读取系统属性sys.killed.pid获得对应的pid。Specifically, the pid of the background service process to be killed is stored in the system attribute, such as sys.killed.pid, and the service process obtains the corresponding pid by reading the system attribute sys.killed.pid.
其中,Init.rc可以直接定义service,类似如下方式:Among them, Init.rc can directly define service, similar to the following way:
service prd_pid/system/bin/prod_cmdservice prd_pid/system/bin/prod_cmd
user rootuser root
disableddisabled
oneshotoneshot
seclabel u:r:xtc_init:s0seclabel u:r:xtc_init:s0
因为打开相机操作本身就是性能瓶颈,在本实施例中直接通过保存好了pid杀进程,比其他厂商使用的查询哪些需要杀的进程pid速度更快,同时对CPU资源消耗更小。Because the operation of opening the camera itself is a performance bottleneck, in this embodiment, the process is directly killed by saving the pid, which is faster than the query used by other manufacturers which process pids need to be killed, and at the same time consumes less CPU resources.
S200当相机启动连接时,触发所述杀进程服务,以关闭所述目标后台服务进程。S200 , when the camera starts to connect, the process killing service is triggered to close the target background service process.
具体的,在相机硬件执行到CameraService::connect时,设置属性sys.camera.enable=true,并触发kill_pid这个service,杀掉对应的后台进程,并且在相机退出时设置sys.camera.enable=false。Specifically, when the camera hardware executes CameraService::connect, set the property sys.camera.enable=true, and trigger the service kill_pid, kill the corresponding background process, and set sys.camera.enable=false when the camera exits .
示例性的,Init.rc中可以通过设置属性监听来启动定义的service,比如下面代码就是当sys.camera.enable变成true时,就会启动名为prd_pid的service on property:sys.camera.enable=true start prd_pid。其中,杀进程的方式是逐一kill对应的pid进程。Exemplarily, the defined service can be started by setting property monitoring in Init.rc. For example, the following code will start the service on property named prd_pid when sys.camera.enable becomes true: sys.camera.enable = true start prd_pid. Among them, the way to kill the process is to kill the corresponding pid process one by one.
本发明通过本发明的优化相机启动方法,能够对内存进行有效管理,并使得相机快速开启。Through the optimized camera startup method of the present invention, the memory can be effectively managed, and the camera can be started quickly.
实施例二Embodiment 2
基于上述实施例,在本实施例中于上述实施例相同的部分就不一一赘述了,本实施例提供一种优化相机启动方法,优选的,还包括:Based on the above-mentioned embodiments, the same parts as those in the above-mentioned embodiments will not be repeated in this embodiment. This embodiment provides an optimized camera startup method, which preferably further includes:
标记目标后台服务进程,所述目标后台服务进程包括可关闭的后台服务进程。A target background service process is marked, and the target background service process includes a closeable background service process.
当监测到所述目标后台服务进程开启时,保存所述目标后台服务进程的进程ID。When it is detected that the target background service process is started, the process ID of the target background service process is saved.
优选的,所述当相机启动连接时,触发所述杀进程服务,以执行关闭对应的目标后台服务进程,包括:Preferably, when the camera initiates a connection, triggering the killing process service to execute and close the corresponding target background service process, including:
基于所述目标后台服务进程的进程ID,触发对应的杀进程服务,以关闭所述目标后台服务进程。Based on the process ID of the target background service process, a corresponding process killing service is triggered to close the target background service process.
具体的,在init.rc文件中,定义目标后台服务进程的杀进程服务之前,需要对可以被杀掉的后台服务进程进行标记,具体包括:找到一类经常在系统后台运行,但又可以随时被杀掉的进程,将这些进程作为目标后台服务进程,在这类目标后台服务进程启动时,把目标后台服务进程的pid(全称progress id)保存起来。Specifically, in the init.rc file, before defining the killing process service of the target background service process, it is necessary to mark the background service process that can be killed, including: finding a type that often runs in the background of the system, but can be used at any time For the killed processes, these processes are regarded as the target background service process, and the pid (full name progress id) of the target background service process is saved when this type of target background service process is started.
示例性的,比如把update进程的pid保存在sys.update.pid中。Exemplarily, such as saving the pid of the update process in sys.update.pid.
在本实施例中,由于相机开启需要占用大量的cpu资源,例如,因为相机的像素太多,导致cpu处理负担大,所以当常规打开相机的时候、以及拍照的时候都会卡顿。In this embodiment, since the camera needs to take up a lot of CPU resources to open, for example, because the camera has too many pixels, the CPU processing burden is heavy, so when the camera is opened normally and when taking pictures, it will freeze.
为了尽量减少cpu的使用,提升系统整个性能,通过在需要被杀死的相关进程,即目标后台服务进程开启的时候,记录对应的进程ID,系统不需要通过cpu重复查询目标后台服务进程,能够减少cpu的负担,进一步提高cpu的效率。In order to minimize the use of CPU and improve the overall performance of the system, by recording the corresponding process ID when the relevant process that needs to be killed, that is, the target background service process is started, the system does not need to repeatedly query the target background service process through the CPU. Reduce the burden on the cpu and further improve the efficiency of the cpu.
在本实施例中,还包括:当所述相机的属性为使能开启属性时,关闭目标后台服务进程的自动重启路径。In this embodiment, the method further includes: when the attribute of the camera is the enable attribute, closing the automatic restart path of the target background service process.
优选的,所述当所述相机的属性为使能开启属性时,关闭目标后台服务进程的自动重启路径,包括:Preferably, when the attribute of the camera is the enable attribute, closing the automatic restart path of the target background service process, including:
基于预设关闭标识,关闭目标后台服务进程的自动重启路径。Based on the preset shutdown flag, close the automatic restart path of the target background service process.
具体的,正常情况下android服务进程被杀后5s内又会重启,影响相机性能,对比其他厂商杀服务进程后该进程会反复自动重启。Specifically, under normal circumstances, the android service process will restart within 5s after it is killed, which affects the performance of the camera. Compared with other manufacturers, the process will automatically restart repeatedly after killing the service process.
因为重启服务需要占用系统资源,当检测到相机处于使用的时候,被cpu停掉的不允许再次启动,以此减少cpu的负担,优化相机使用的性能。Because restarting the service requires system resources, when it is detected that the camera is in use, it is not allowed to restart if it is stopped by the CPU, so as to reduce the burden on the CPU and optimize the performance of the camera.
本实施例中,通过设置关闭标识,不准许在相机使用过程中,被杀的服务进程重启,避免了后台服务进程反复重启。In this embodiment, by setting the shutdown flag, the killed service process is not allowed to be restarted during the use of the camera, which avoids the background service process from restarting repeatedly.
优选的,在所述当所述相机的属性为使能开启属性时,关闭目标后台服务进程的自动重启路径之前,包括:Preferably, before the automatic restart path of the target background service process is closed when the attribute of the camera is the enable attribute, the method includes:
设置所述相机的使能属性为使能开启属性。Set the enable property of the camera to enable on property.
具体的,判断如果sys.camera.enable为true,则系统不准许被杀掉的后台服务进程自动重启。Specifically, it is judged that if sys.camera.enable is true, the system does not allow the killed background service process to restart automatically.
优选的,包括:Preferred include:
在所述相机关闭时,将使能属性设置为使能关闭属性,以关闭所述相机。When the camera is turned off, the enable property is set to the enable off property to turn off the camera.
在本实施例中,在打开相机时,精准杀掉不影响系统运行的后台进程,释放了这部分后台进程的内存,为相机操作增加了系统可用内存,使相机操作卡顿减少。同时,直接指定pid来kill进程,CPU占用更小。In this embodiment, when the camera is turned on, the background processes that do not affect the running of the system are precisely killed, the memory of this part of the background processes is released, the available memory of the system is increased for the camera operation, and the camera operation lag is reduced. At the same time, directly specify the pid to kill the process, and the CPU usage is smaller.
通过设置属性sys.camera.enable来启动在init.rc中定义的service属于异步进程操作,不影响打开相机主线程的性能。Starting the service defined in init.rc by setting the property sys.camera.enable is an asynchronous process operation and does not affect the performance of the main thread opening the camera.
实施例三Embodiment 3
另一方面,本发明还提供一种优化相机启动装置的一个实施例,如图2所示,包括:On the other hand, the present invention also provides an embodiment of an optimized camera activation device, as shown in FIG. 2 , including:
定义模块100,用于在init.rc文件中定义目标后台服务进程的杀进程服务。The
触发模块200,用于当相机启动连接时,触发所述杀进程服务,以关闭所述目标后台服务进程。The triggering
优选的,还包括:Preferably, it also includes:
标记模块,用于标记目标后台服务进程,所述目标后台服务进程包括可关闭的后台服务进程。The marking module is used for marking a target background service process, where the target background service process includes a closeable background service process.
保存模块,用于当监测到所述目标后台服务进程开启时,保存所述目标后台服务进程的进程ID。The saving module is configured to save the process ID of the target background service process when it is monitored that the target background service process is started.
优选的,所述触发模块,还用于:Preferably, the trigger module is also used for:
基于所述目标后台服务进程的进程ID,触发对应的杀进程服务,以关闭所述目标后台服务进程。Based on the process ID of the target background service process, a corresponding process killing service is triggered to close the target background service process.
本实施例中,在打开相机时,精准杀掉不影响系统运行的后台进程,释放了这部分后台进程的内存,为相机操作增加了系统可用内存,使相机操作卡顿减少。同时,直接指定pid来kill进程,CPU占用更小。In this embodiment, when the camera is turned on, the background processes that do not affect the running of the system are precisely killed, the memory of this part of the background processes is released, the available memory of the system is increased for the camera operation, and the camera operation freeze is reduced. At the same time, directly specify the pid to kill the process, and the CPU usage is smaller.
通过设置属性sys.camera.enable来启动在init.rc中定义的service属于异步进程操作,不影响打开相机主线程的性能。Starting the service defined in init.rc by setting the property sys.camera.enable is an asynchronous process operation and does not affect the performance of the main thread opening the camera.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详细描述或记载的部分,可以参见其他实施例的相关描述。In the above-mentioned embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference may be made to the relevant descriptions of other embodiments.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of this application.
在本申请所提供的实施例中,应该理解到,所揭露的装置/电子设备和方法,可以通过其他的方式实现。示例性的,以上所描述的装置/电子设备实施例仅仅是示意性的,示例性的,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,示例性的,多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通讯连接可以是通过一些接口,装置或单元的间接耦合或通讯连接,可以是电性、机械或其他的形式。In the embodiments provided in this application, it should be understood that the disclosed apparatus/electronic device and method may be implemented in other manners. Exemplarily, the above-described embodiments of the apparatus/electronic device are only illustrative, and the division of the modules or units is merely a logical function division, and there may be other division methods in actual implementation, Illustratively, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, which may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
另外,在本申请各个实施例中的各功能单元可能集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.
应当说明的是,上述实施例均可根据需要自由组合。以上所述仅是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。It should be noted that the above embodiments can be freely combined as required. The above are only the preferred embodiments of the present invention. It should be pointed out that for those skilled in the art, without departing from the principles of the present invention, several improvements and modifications can be made. It should be regarded as the protection scope of the present invention.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202110285997.XA CN115113946A (en) | 2021-03-17 | 2021-03-17 | A method and device for optimizing camera startup |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202110285997.XA CN115113946A (en) | 2021-03-17 | 2021-03-17 | A method and device for optimizing camera startup |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN115113946A true CN115113946A (en) | 2022-09-27 |
Family
ID=83322924
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202110285997.XA Pending CN115113946A (en) | 2021-03-17 | 2021-03-17 | A method and device for optimizing camera startup |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN115113946A (en) |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103024538A (en) * | 2012-11-12 | 2013-04-03 | 北京奇虎科技有限公司 | Memory management method and system |
| WO2015196967A1 (en) * | 2014-06-24 | 2015-12-30 | 北京奇虎科技有限公司 | Method and apparatus for application to permanently reside in background of operating system |
| CN105824668A (en) * | 2016-03-16 | 2016-08-03 | 广东欧珀移动通信有限公司 | Process control method, device and terminal equipment |
| CN106250223A (en) * | 2016-07-28 | 2016-12-21 | 宇龙计算机通信科技(深圳)有限公司 | A kind of background process management method and terminal unit |
| CN108307236A (en) * | 2018-02-01 | 2018-07-20 | 深圳创维-Rgb电子有限公司 | A kind of method, storage medium and the smart television of smart television memory optimization |
-
2021
- 2021-03-17 CN CN202110285997.XA patent/CN115113946A/en active Pending
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103024538A (en) * | 2012-11-12 | 2013-04-03 | 北京奇虎科技有限公司 | Memory management method and system |
| WO2015196967A1 (en) * | 2014-06-24 | 2015-12-30 | 北京奇虎科技有限公司 | Method and apparatus for application to permanently reside in background of operating system |
| CN105824668A (en) * | 2016-03-16 | 2016-08-03 | 广东欧珀移动通信有限公司 | Process control method, device and terminal equipment |
| CN106250223A (en) * | 2016-07-28 | 2016-12-21 | 宇龙计算机通信科技(深圳)有限公司 | A kind of background process management method and terminal unit |
| CN108307236A (en) * | 2018-02-01 | 2018-07-20 | 深圳创维-Rgb电子有限公司 | A kind of method, storage medium and the smart television of smart television memory optimization |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP2312438A1 (en) | Method and apparatus for remote modification of system configuration | |
| CN115658113A (en) | Server self-starting method, device, readable storage medium and electronic equipment | |
| JP2013543627A (en) | Method for provisioning firmware in an operating system (OS) absent service environment | |
| CN103345414B (en) | Self-aided terminal controls the method for hardware device, equipment manager and processor | |
| CN109753297A (en) | Software upgrade method, device and readable storage medium when terminal is in standby | |
| CN108920195A (en) | starting processing method and related product | |
| CN109960523A (en) | Firmware upgrade method and device for embedded device | |
| CN112955879B (en) | Electronic device and method for transmitting and receiving control signals | |
| CN108307236A (en) | A kind of method, storage medium and the smart television of smart television memory optimization | |
| CN109413164B (en) | Access service recovery method, device, equipment and readable storage medium | |
| CN115986887A (en) | Charging method, device and electronic equipment | |
| US20180284837A1 (en) | System and Method for Enhancing Real-Time Clock Usage in an Information Handling System | |
| CN119025171A (en) | Method and device for starting server equipment | |
| CN111399874A (en) | A system upgrade method, device, storage medium and smart wearable device | |
| CN108833981B (en) | Startup and shutdown method | |
| CN105263181A (en) | WIFI-based file downloading method and WIFI-based file downloading system of mobile terminal | |
| CN106980513A (en) | A kind of switching method and device of dual boot file | |
| CN115113946A (en) | A method and device for optimizing camera startup | |
| CN105554275A (en) | Method and device for starting mobile terminal | |
| CN107704399B (en) | Method and device for storing data | |
| CN119045900A (en) | Pluggable device management method and device based on SONiC operating system | |
| CN114327781B (en) | Virtual terminal control method and device, system, electronic device, and storage medium | |
| CN102752365B (en) | The method and apparatus of information processing | |
| CN105117300A (en) | Apparatus for realizing high availability of heartbeat | |
| CN110083484A (en) | FPGA reloads method, equipment, storage medium and system |
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 | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20220927 |
|
| RJ01 | Rejection of invention patent application after publication |