CN112685099A - Processing method and device - Google Patents

Processing method and device Download PDF

Info

Publication number
CN112685099A
CN112685099A CN202011631923.9A CN202011631923A CN112685099A CN 112685099 A CN112685099 A CN 112685099A CN 202011631923 A CN202011631923 A CN 202011631923A CN 112685099 A CN112685099 A CN 112685099A
Authority
CN
China
Prior art keywords
target
target component
application process
operation request
preset
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
CN202011631923.9A
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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN202011631923.9A priority Critical patent/CN112685099A/en
Publication of CN112685099A publication Critical patent/CN112685099A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Telephone Function (AREA)

Abstract

The application provides a processing method, comprising the following steps: obtaining an operation request for a target component of an electronic device; adjusting the operation parameters of the target component or outputting preset prompt information according to a determined processing strategy at least according to the type of the operation request; wherein the processing policy is related to an application process currently serviced by the target component. Simultaneously, this application still provides a processing apparatus.

Description

Processing method and device
Technical Field
The present disclosure relates to camera processing technologies, and in particular, to a processing method and apparatus.
Background
In the current computer program, the problem that the camera is occupied by other programs to cause the camera to be unusable often occurs. Or the camera resource can not be released correctly, so that the power lamp of the camera is always on, and the privacy of the user is worried.
Disclosure of Invention
The technical scheme of the application is realized as follows:
according to an aspect of the present application, there is provided a processing method including:
obtaining an operation request for a target component of an electronic device;
adjusting the operation parameters of the target component or outputting preset prompt information according to a determined processing strategy at least according to the type of the operation request;
wherein the processing policy is related to an application process currently serviced by the target component.
In the above solution, obtaining an operation request for a target component of an electronic device includes:
intercepting an operation request aiming at a target component of the electronic equipment through a preset filter driving program;
or, if the electronic equipment runs the target application process, intercepting the operation request of the target application process or the target subprocess thereof aiming at the respective corresponding target component by a preset filter driver;
or, if the electronic equipment runs the target application process, intercepting an operation request of the target application process for a required target component by the preset filter driving module of the target application process.
In the foregoing solution, at least according to the type of the operation request, adjusting the operating parameter of the target component or outputting a preset prompt message according to a determined processing policy further includes:
if the operation request is used for disconnecting the target component from the application process currently served by the target component, adjusting the target component from the current first operation parameter to a second operation parameter;
or, if the operation request is used for establishing the connection between the target component and the target application process, adjusting the target component from the current second operation parameter to a third operation parameter;
or, if the operation request is used for switching the application process currently served by the target component to the target application process, outputting preset prompt information or adjusting the target component from the current first operation parameter to a fourth operation parameter;
wherein the target component operates at the second operating parameter with a lower power consumption than it operates at the first operating parameter, the third operating parameter, or the fourth operating parameter.
In the above solution, if the operation request is used to disconnect the target component from the currently served application process, adjusting the target component from the current first operating parameter to the second operating parameter includes:
if the closing operation aiming at the current running application process of the electronic equipment or a target subprocess in the current running application process is obtained, determining to obtain an operation request for disconnecting the connection between a target component and the current service application process of the target component, wherein the current running application process or the target subprocess depends on the target component to provide a corresponding function;
and cleaning the registration information of the currently running application process or the target subprocess, and forwarding the operation request to a driver of the target component to stop the input or output of the target component.
In the foregoing solution, if the operation request is used to establish a connection between a target component and a target application process, adjusting the target component from a current second operation parameter to a third operation parameter includes:
if new operation aiming at a target application process or a target subprocess of the target application process in the electronic equipment is obtained, determining to obtain an operation request for establishing connection between a target component and the target application process, wherein the target application process or the target subprocess depends on the target component to provide a corresponding function;
and registering the target application process or the target subprocess to a preset form, and forwarding the operation request to a driver of the target component so as to enable input or output of the target component.
In the foregoing solution, if the operation request is used to switch an application process currently serviced by a target component to a target application process, outputting a preset prompt message or adjusting the target component from a current first operation parameter to a fourth operation parameter, including:
under the condition that the electronic equipment runs an application process for calling a target component, if a new establishment or running operation aiming at a target application process or a target sub-process of the target application process in the electronic equipment is obtained, determining to obtain an operation request for switching the application process currently served by the target component to the target application process;
and obtaining preset configuration information, and returning preset prompt information according to the preset configuration information, or ending the current input or current output of the target component so as to provide target input or target output for the target application process or a target subprocess thereof.
In the foregoing solution, returning preset prompt information according to the configuration information, or ending current input or current output of the target component to provide target input or target output to the target application process or a target sub-process thereof, includes:
and according to the configuration information, determining a comparison result of at least one of the priority, the power consumption, the processor utilization rate and the target component occupation parameter of the application process currently served by the target component and the target application process, and returning a currently occupied prompt message of the target component according to the comparison result, or ending the currently occupied state of the target component so as to provide target input or target output for the target application process or a target subprocess thereof.
In the above scheme, the method further comprises:
and obtaining the setting information of the target component, and controlling the target component to output preset information according to the setting information after the operation request is forwarded to the driver of the target component.
In the foregoing solution, adjusting the operating parameter of the target component according to the determined processing policy at least according to the type of the operation request further includes:
and obtaining network state information, running state information and/or user information of the electronic equipment, and adjusting the running parameters of the target component according to a determined processing strategy according to the type of the operation request and at least one of the network state information, the running state information and the user information.
According to another aspect of the present application, there is provided a processing apparatus comprising:
the acquisition module is used for acquiring an operation request aiming at a target component of the electronic equipment;
the adjusting module is used for adjusting the operating parameters of the target component or outputting preset prompt information according to the determined processing strategy at least according to the type of the operation request;
wherein the processing policy is related to an application process currently serviced by the target component.
According to a third aspect of the present application, there is provided an electronic device comprising: a processor and a memory for storing a computer program capable of running on the processor,
wherein the processor is configured to perform the method steps described in any of the above processing methods when running the computer program.
According to a fourth aspect of the present application, a computer-readable storage medium is provided, on which a computer program is stored which, when being executed by a processor, performs the method steps described in any of the above-mentioned processing methods.
According to the processing method and device provided by the application, the operation request for the target component (such as a camera) of the electronic device is obtained, the operation parameters of the target component are adjusted or preset prompt information is output according to the determined processing strategy according to the type of the operation request, for example, the current operation process of the camera is blocked through the filter driver corresponding to the target component, so that the current camera can be normally used.
Drawings
FIG. 1 is a first schematic diagram illustrating a first process implementation of the processing method of the present application;
FIG. 2 is a second schematic diagram of a flow implementation of the processing method of the present application;
FIG. 3 is a first schematic view of the structure of the processing apparatus;
fig. 4 is a schematic structural diagram of a processing apparatus according to the present application.
Detailed Description
The technical solution of the present application is further described in detail with reference to the drawings and specific embodiments of the specification.
Fig. 1 is a schematic view of a first flow implementation of the processing method in the present application, as shown in fig. 1, the method includes:
step 101, obtaining an operation request aiming at a target component of an electronic device;
in the application, the method is mainly applied to electronic equipment, the electronic equipment can be intelligent equipment such as a mobile phone, a computer, a telephone watch, a television and the like, and the electronic equipment at least comprises a camera, a microphone, a loudspeaker and the like.
In the application, a filter driver can be preset in the electronic device, and the filter driver can intercept an operation request aiming at a target component of the electronic device;
specifically, the electronic device has an operating system, the filter driver may be preset in the operating system, and when a user performs a call operation or a close operation on a target component in the electronic device, the operating system may send an operation request of the target component to the filter driver.
Or, a filter driver is preset in a chip corresponding to a target component in the electronic device, and when a user performs a call operation or a close operation on the target component in the electronic device, the operating system may send an operation request of the target component to the filter driver, so that the filter driver may intercept the operation request of the target component in the electronic device. For example, the target component is a camera, and a corresponding chip of the camera has a filter driver.
Alternatively, the electronic device may have a plurality of applications, and at least one of the applications is preset with a filter driver. If the electronic equipment runs with a target application process currently and the target application process has a filter driver, when the electronic equipment receives an operation request of the target application process on a target component, the electronic equipment can intercept the operation request of the target application process or a target subprocess thereof aiming at the corresponding target component through the filter driver preset by the target application process.
For example, the electronic device has instant messaging applications such as WeChat and QQ, and both the WeChat and the QQ are preset with filter drivers, and if a user wants to use a video chat function of the WeChat, since the video chat function needs to enable a camera of the electronic device, when the electronic device receives a call request sent by the user to the camera using the WeChat, the call request sent to the camera can be intercepted by the filter driver preset in the WeChat. Or, if the user wants to close the video chat function of the WeChat currently in use, since the video chat function needs to use the camera of the electronic device, when the electronic device receives a close request of the user for the camera, the close request sent for the camera can be intercepted through the filter driver preset in the WeChat.
Or, if the electronic device runs with a target application process, when receiving an operation request of the target application process for a target component, the electronic device intercepts the operation request of the target application process for the required target component through a preset filter driver of a chip corresponding to the target component. Or intercepting the operation request of the target application process for the required target component through a preset filter driver in the operating system.
For example, the electronic device has an instant messaging application such as WeChat and QQ, and when a user sends a call request for a camera, a microphone and a speaker through WeChat, if a filter driver is preset in the electronic device or the communication application, the electronic device may intercept an operation request of the target application process for a target component required by the electronic device through the filter driver.
In this application, the filter driver is different from the driver of the target component, the driver of the system, and the driver of the application process, and the main difference is that the driver is used to perform output or input to the target component, and the filter driver is used to filter and screen the operation request before sending the operation request to the driver. By filtering the operation request before sending it to the driver, illegal operation conditions on the target component can be filtered out.
Step 102, adjusting the operation parameters of the target component or outputting preset prompt information according to a determined processing strategy at least according to the type of the operation request;
in this application, the types of the operation request include a close request and a call request, and the processing policy is related to an application process currently served by the target component.
Specifically, if the operation request is a close request for the target component for disconnecting the target component from its currently serviced application process, the electronic device may adjust the target component from the current first operating parameter to the second operating parameter based on the close request.
For example, the target component is a camera, an application program currently served by the camera is WeChat, that is, the current camera is in an enabled state, and when receiving a closing request sent by a user to the camera through WeChat, the electronic device may adjust the camera from a current first operating parameter 1 to a second operating parameter 0 based on the closing request, where 1 represents that the camera is in the enabled state, and 0 represents that the camera is in the closed state.
Alternatively, if the operation request is a shutdown request for a target application that is dependent on the target component, the shutdown request may be used to disconnect the target component from its currently serviced application process, and the electronic device may adjust the target component from a current first operating parameter to a second operating parameter based on the shutdown request.
For example, the target application is a WeChat, the target component is a camera, wherein a video chat function in the WeChat application needs to depend on the camera, and if the electronic device receives a closing request for closing the WeChat program or a video chat function process in the WeChat program at this time, the connection between the camera and the WeChat is disconnected, and the camera is adjusted from a current first operating parameter 1 to a second operating parameter 0, wherein 1 represents that the camera is in an open or operating state, and 0 represents that the camera is in a closed state.
Or, if the operation request is a call request for the target component, for establishing a connection between the target component and the target application process, the electronic device may adjust the target component from the current second operating parameter to the third operating parameter based on the call request;
for example, if the target component is a camera and the current camera is in an idle state or an off state, if the user currently wants to use a video chat function in the WeChat, since the video chat function needs to enable the camera, the electronic device receives a call request sent by the user to the camera through the WeChat, and the electronic device can know that a target application process of the currently called camera is "WeChat" through parameters carried in the call request, and based on the call request, a connection between the camera and the WeChat process can be established, and the camera is adjusted from the current second operating parameter 0 to the third operating parameter 1. Wherein 0 represents that the camera is in a closed state, and 1 represents that the camera is in an enabled state.
Or, the operation request is a call request for a target component, if the target component is currently in a running state, the call request may be used to switch an application process currently served by the target component to the target application process, and the electronic device may output preset prompt information or adjust the target component from the current first running parameter to the fourth running parameter through the call request.
For example, if a camera on the electronic device is currently occupied by the QQ program, if a user currently wants to use a video chat function of a WeChat, since the video chat function needs to enable the camera, when the electronic device receives a call request sent by the user for the camera, based on relevant parameters carried in the call request, it may be determined that the current camera needs to be switched to a WeChat program process, but since the camera is currently occupied by the QQ program, at this time, the electronic device may output prompt information: such as when the camera is currently being occupied by a QQ program. Or, the camera is directly adjusted from the current first operating parameter 1A to the fourth operating parameter 1B. Wherein, 1A represents that the camera is in an open state and occupied by the first program, and 1B represents that the camera is in an open state and occupied by the second program.
Here, the target component operates at a second operating parameter with a lower power consumption than it operates at the first operating parameter, the third operating parameter, or the fourth operating parameter.
For example, the target component represents that the target component is in a closed state and the power consumption of the target component is 0 under the second operating parameter, and the target component represents that the target component is in an open or operating state and the power consumption of the target component is greater than 0 under the first operating parameter, the third operating parameter, or the fourth operating parameter.
According to the method and the device, the operation parameters of the target component are adjusted or the preset prompt information is output according to the determined processing strategy through the type of the operation request, so that when the current target component is occupied by other programs, a user can be informed of which program the target component is occupied by, and when the target component is occupied by other programs, the use resources of the target component can be correctly released, so that the risk that the user privacy is leaked due to the fact that the use resources of the target component cannot be correctly released is avoided.
In this application, if the electronic device obtains a closing operation for a currently running application process of the electronic device or a target sub-process in the currently running application process, since the currently running application process or the target sub-process in the currently running application process depends on a corresponding function provided by a target component in the electronic device, it may be determined that the electronic device obtains an operation request for disconnecting the target component from an application process currently served by the electronic device based on the closing operation.
For example, the target component is a microphone and a loudspeaker, the currently running application process is a wechat, and the target sub-process sequence may be a voice function in the wechat, wherein the voice function of the wechat depends on corresponding functions provided by the microphone and the loudspeaker, and if the electronic device receives a closing operation of a user for the wechat program or a closing operation of the voice function for the wechat, it may be determined that the electronic device has obtained a connection request for disconnecting the wechat or the wechat voice process and the microphone. At this time, the electronic device may adjust the current first operating parameter 1 of the microphone to a second operating parameter 0, where 1 represents that the microphone is in an on or operating state, and 0 represents that the microphone is in an off state.
In this application, the filter driver on the electronic device also maintains a preset form for recording the current application process occupying the target component. When the electronic device adjusts the operation parameters of the target component, the electronic device may further clear the registration information of the currently running application process or the target sub-process in the preset form, and forward the operation request for the target component to the driver of the target component to stop the input or output of the target component.
For example, when the wechat program on the electronic device uses the camera, the microphone, and the speaker on the electronic device, the process that the wechat program occupies the camera, the microphone, and the speaker may be registered in the preset form, and then the call request of the camera, the microphone, and the speaker is sent to the driver of the camera, the microphone, and the speaker, so as to enable the input or output of the camera, the microphone, and the speaker. When the WeChat program or the video chat function in the WeChat program is closed, the electronic equipment can know that the WeChat program in the preset form occupies the processes of the camera, the microphone and the loudspeaker, and meanwhile, a closing request of the camera, the microphone and the loudspeaker is sent to a driving program of the camera, the microphone and the loudspeaker so as to stop the input or output of the camera, the microphone and the loudspeaker.
In this application, if the electronic device obtains a new operation for a target application process or a target sub-process of the target application process in the electronic device, it may be determined to obtain an operation request for establishing a connection between a target component and a target application process, where the target application process or the target sub-process depends on the target component to provide a corresponding function.
For example, the target application process is a camera program, and since the camera needs to be started to output an image when the camera program is operated, when the electronic device acquires an opening operation of the camera program, it may be determined that an operation request for establishing a connection between the camera and the camera, that is, a camera call request is acquired, so that a current second operation parameter 0 of the camera is adjusted to a third operation parameter 1, where 0 represents that the camera is in a closed state, and 1 represents that the camera is in an open or operating state.
In this application, when the electronic device establishes a connection between the target component and the target application process or the target subprocess, the target application process or the target subprocess may also be registered in a preset form, and an operation request for the target component is forwarded to a driver of the target component, so as to enable input or output of the target component.
Here, the preset form may be stored in a filter driver of the target component, in a filter driver of an operating system of the electronic device, or in a filter driver of an application currently serviced by the target component. Since the preset form is maintained by the filter driver, the storage location of the preset form can be determined according to the preset location of the filter driver.
In the application, under the condition that the electronic equipment runs an application process for calling a target component, if a new establishment or running operation aiming at a target application process or a target sub-process of the target application process in the electronic equipment is obtained, the electronic equipment determines to obtain an operation request for switching the application process currently served by the target component to the target application process; and switching the application process currently served by the target component to the target application process, and outputting preset prompt information or adjusting the target component from the current first operation parameter to the fourth operation parameter.
For example, if the target component is a camera, a microphone and a speaker, and the camera, the microphone and the speaker are currently occupied by the wechat program, and if the user wants to open the QQ application or open the video chat function in the QQ application at this time, the electronic device receives the open, new or running operation for the QQ, and since the video chat function for the QQ needs to be realized depending on the camera, the microphone and the speaker on the electronic device, when the electronic device receives the open, new or running operation for the video chat function in the QQ or the QQ, it may be determined that the operation request for switching the wechat process currently served by the camera, the microphone and the speaker to the QQ process is obtained. At this time, the electronic device may provide the target input or the target output to the target application process or the target sub-process thereof by obtaining preset configuration information, returning preset prompt information according to the preset configuration information, or ending the current input or the current output of the target component.
Here, the preset configuration information is information preset by the user according to the actual situation, for example, the preset configuration information includes but is not limited to: if the current target component service has an application process and a call request aiming at the target component is received, outputting prompt information representing that the target component is occupied by the application process of the current service; if the current target component service has the application process and a call request aiming at the target component is received, the connection of the application process of the current target component service is directly disconnected, and the connection between the target component and the target application process is established.
In the application, the preset configuration information may further store an application process priority of the target component service, and the electronic device may determine, according to the preset configuration information, a comparison result between the application process currently serviced by the target component and at least one of the priority, power consumption, processor utilization rate, and target component occupation parameters of the target application process, and return a prompt message that the target component is currently occupied according to the comparison result; alternatively, the state in which the target component is currently occupied is concluded to provide target input or target output to the target application process or its target sub-process.
For example, the application process priority of the target component service stored in the preset configuration information is: WeChat, QQ, camera, music. If the current microphone service process is the WeChat program, when the electronic equipment receives a calling request of a QQ for a microphone, the microphone service WeChat program has higher priority than the QQ program, so that the electronic equipment can directly output prompt information that the microphone is occupied by WeChat. If the current microphone service progress is the QQ program, when the electronic device receives a request for calling the microphone by WeChat, the electronic device disconnects the microphone from the QQ program and establishes the microphone and WeChat connection because the QQ program has lower priority than the WeChat program.
In the application, when the electronic device receives that the operation request for the target component is a call request, the electronic device may further obtain setting information of the target component, so that after the operation request is forwarded to the driver of the target component, the electronic device controls the target component to output preset information according to the setting information.
Here, the setting information may be at least one of a preset image, a preset voice, and a preset file.
For example, when a camera is called by a camera program, if a user sets a preset image, the current environment image of the user may not be directly output but the preset image may be output after a call request of the camera is sent to a driver of the camera, so that the personal privacy of the user can be protected from being leaked. For another example, when the camera, the microphone, and the speaker are called through the WeChat program, if the user sets a preset image and a preset voice, the user may output the preset image and the preset voice instead of the current environment image and the environment sound after sending the call request of the camera, the microphone, and the speaker to the driver of the camera, the microphone, and the speaker, so that the personal privacy of the user can be protected. Of course, the preset file is also similar to the use method of the preset image and the preset voice, and will not be described here by way of example.
In the application, when the electronic device obtains an operation request for a target component of the electronic device and adjusts an operation parameter of the target component according to a determined processing policy according to a type of the operation request, network state information, operation state information and/or user information of the electronic device may be obtained.
Here, the network state information represents whether the signal strength of the network reaches a preset strength, and represents that the network state satisfies the adjustment condition of the target component when the signal strength of the network reaches the preset strength. Adjusting the operation parameters of the target component or outputting preset prompt information according to the determined processing strategy according to the type of the operation request and the network state information.
Here, the running state information refers to performance parameters of the electronic device, a card pause condition, a CPU occupancy rate, and whether the running state of the application process is foreground running or background running, where the performance parameters of the electronic device include, but are not limited to, a running speed of the CPU, a type of the motherboard, a size of the hard disk, a type of the graphics card, and the like. For example, if the operating speed of the CPU is determined to be low according to the performance parameters of the electronic device and the adjustment condition of the target component is not satisfied, when an operation request for the target component in the electronic device is received, the operation parameters of the target component will not be omitted or preset prompt information will not be output according to the determined processing policy according to the type of the operation request. On the contrary, if the performance parameter of the electronic device indicates that the running speed of the CPU is fast and meets the adjustment condition of the target component, when an operation request for the target component in the electronic device is received, the running parameter of the target component is adjusted or preset prompt information is output according to the determined processing policy according to the type of the operation request.
For another example, when the operating state information of the electronic device is the CPU occupancy rate, if the CPU occupancy rate reaches a preset value, it indicates that there are more applications occupying the CPU and the power consumption is large, at this time, when the electronic device receives an operation request for a target component in the electronic device, the electronic device does not omit adjusting the operating parameters of the target component or outputting preset prompt information according to the determined processing policy according to the type of the operation request. On the contrary, if the CPU occupancy does not reach the preset value, it indicates that the application program currently occupying the CPU is less and the power consumption is less, and at this time, when the electronic device receives an operation request for a target component in the electronic device, the operation parameter of the target component is omitted and adjusted or preset prompt information is output according to the determined processing policy according to the type of the operation request. Here, the CPU occupancy may also be one of the electronic device performance parameters.
For another example, when the running state information of the electronic device indicates that the application process currently requesting to invoke the target component is in a background running state, it indicates that the user does not currently use the application process, and at this time, if an operation request of the background application process for the target component in the electronic device is received, the running parameter of the target component is not adjusted or preset prompt information is output according to the determined processing policy and according to the type of the operation request. This is because the operation request may be an illegal operation by an illegal person, so in order to avoid the privacy of the user from being leaked due to the illegal operation, the scheme is not executed when the operation request is received, so as to protect the privacy of the user from being leaked. On the contrary, if the running state information of the electronic device indicates that the application process currently requesting to call the target component is in a foreground running state, which indicates that the user is currently using the application, when receiving an operation request of the foreground application for the target component in the electronic device, the running parameter of the target component may be omitted or preset prompt information may be output according to the determined processing policy according to the type of the operation request. To meet the use requirements of the user.
Here, the user information is whether the user account information requesting to operate the target component is a valid user (such as a host), and if the user account information requesting to operate the target component is a valid user, it is determined that the user information satisfies the adjustment condition of the target component. Specifically, user account information preset by a user may be stored in the electronic device, and when the obtained current user information is one of the preset account information, it is determined that the obtained user information is a valid user, and when an operation request for a target component in the electronic device is received, according to the type of the operation request, an operation parameter of the target component is adjusted or preset prompt information is output according to a determined processing policy. On the contrary, if the acquired current user information is not one of the preset account information, it is determined that the acquired user information is an illegal user, and when an operation request for a target component in the electronic device is received, the operation parameter of the target component is not adjusted or preset prompt information is output according to the determined processing strategy according to the type of the operation request.
Of course, the electronic device may also determine whether the currently acquired user information meets the adjustment condition of the target component according to the priority of the preset user account. For example, the preset user account includes a plurality of preset user accounts, where the level of one part of the user accounts is an account that can call the target component, and the level of the other part of the user accounts is an account that cannot call the target component, and if the currently acquired user account is in the level that cannot call the target component, when an operation request for the target component in the electronic device is received, the operation parameter of the target component is not adjusted or preset prompt information is output according to a determined processing policy according to the type of the operation request.
Of course, the electronic device may also determine whether the user information is an account of a valid user according to the login times of the user information, determine that the user information is the account information of the valid user when the login times of the user information reaches a preset number (for example, 5 times), and adjust the operating parameters of the target component or output preset prompt information according to the determined processing policy according to the type of the operation request and the user information when receiving the operation request for the target component in the electronic device.
The method and the device have the advantages that the calling request or the closing request of the target component can be effectively intercepted through the preset filter driving program, so that the calling of the target component by an illegal program is avoided. In addition, the connection between the target component and the application process of the current service can be automatically cut off or established according to the determined processing strategy through the type of the operation request, so that the efficiency of using the target component by the user is improved, and the privacy leakage risk of the user is reduced.
For example, the user uses a camera program built in the system to take a picture, receives a request for prompting a friend to send a WeChat video at the moment, and then clicks a button to agree with the video, and forgets to close the camera program first. The user expects the result of directly and seamlessly switching to the wechat program for wechat video. And prior art may only indicate that current camera is occupied, can not directly switch to the believe procedure a little, and through the scheme of this application, then can cut off the connection of camera and camera procedure automatically, and establish the connection of camera and believe procedure a little, so, can make the camera carry out seamless switching between camera and the letter procedure a little, make the letter video go on normally.
As another example, the user may be chatting with video while handling other things, causing the system to be stuck for other reasons. In order to recover as soon as possible, the user ends the program in an abnormal manner, and the camera is occupied due to the abnormal release of resources, so that the camera cannot be opened for subsequent reuse. This scenario is often manifested in that a third party's program using a camera is not robust enough. And through the scheme of this application, can directly cut off the camera and this third party's program between be connected for the resource of camera is correctly released, thereby does not influence the next use of camera.
For another example, due to an intrusion of a malicious program, the user finds that the camera is turned on, but does not know what program causes in the meantime. The user now expects the result to be a hurry to turn off the camera first. By the filter driver, the operation request of the illegal program can be effectively intercepted, so that the privacy of a user is protected.
Fig. 2 is a schematic view of a second implementation flow of the processing method in the present application, as shown in fig. 2, including:
in step 201, an application program sends an operation request to a target component (such as a camera).
At step 202, the filter driver of the electronic device captures the operation request.
Here, the filter driver may be preset in an operating system of the electronic device, may be preset in the application program, and may also be preset in the camera.
Specifically, when an application program sends an operation request for the camera to the electronic device, an operating system in the electronic device sends the operation request to the filter driver.
At step 203, the filter driver checks the type of the operation request.
Here, the filter driver can know whether the operation request is an open request or a close request, which operation request is initiated by which program, and which target component is opened or closed, through the relevant parameters carried in the operation request.
Here, when the filter driver determines that the request type is an open request based on the parameter information carried in the operation request, step 204 is executed, and when determining that the request type is a close request, step 213 is executed.
In step 204, the setting information of Privacy of the target component is checked.
Here, Privacy is a state switch of the target component, and when it is determined that the Privacy function is in an on state according to the setting information of Privacy, which means that the user wishes to protect his Privacy, step 205 may be executed to output a fixed predefined image, such as a pure black screen picture or animation effect. When it is determined that the Privacy function is in the off state according to the setting information of Privacy, meaning that the user does not need Privacy protection, step 206 may be performed.
The difference between the functionality of Privacy and the camera disabling is that the former device can work normally, while the latter device cannot work normally. For example, some web programs require that the camera be properly operated. And the Privacy function can be turned on or off by the user at any time.
In step 205, a predefined image is output to protect the privacy of the user.
Of course, predefined voices, files, graphics, symbols, backgrounds, etc. may also be output.
Step 206, detecting whether a registration module exists.
Here, the registration module refers to an application process currently serviced by the target component. If there is a registered module, it means that the current target component is in a running state and occupied by other applications, step 207 is executed, and if there is no registered module, it means that the target component is in an idle state and not occupied by other applications, step 210 is executed.
Specifically, when an application program calls a target component, the application process registers in a preset form. Where the preset form is typically maintained by a filter driver.
Step 207, detect the user configuration.
Here, the user configuration specifically refers to how the user configures decision when a target component (such as a camera) is occupied. For example, other programs, except a particular program, may end their process directly if hit; or directly ending the process when the system load is large; or inquiring the user when using the external power supply; or when the filter driver receives a call request aiming at the target component, immediately finishing all occupied programs currently served by the target component; or, the user configuration does not set a specific program for the target component, and as long as a call request for the target component is received, the prompt information that the current target component is occupied by the currently-served application program is output.
For example, when the application currently serviced by the target component is a program set in the user configuration, the process of the application currently serviced by the target component may be directly ended when an operation request for the target component is received from another application.
If the user configuration representation outputs prompt information for representing that the target component is occupied by the application program, step 208 is executed, and if the user configuration representation ends the application process currently served by the target component (such as the last application process of the application program sending the operation request), step 209 is executed.
And step 208, outputting prompt information for representing that the target component is occupied by the application program.
At this time, it may return to step 201 to continue receiving the operation request of the application program for the target process (e.g. camera).
Step 209 ends the application process currently serviced by the target component.
At step 210, the process of the current application is registered.
For example, if the current call request for the target component is a wechat program, the process of the wechat program is registered in the preset form.
In step 211, the operation request is sent to the driver of the target component (such as a camera).
Here, when the current application is successfully registered, the filter driver sends an operation request to a driver of the target component (e.g., a camera) to control the target component to input or output through the driver.
And step 212, outputting normally.
For example, when the target component is a camera, video and images are normally output, when the target component is a microphone, voice is normally input, and when the target component is a speaker, voice is normally output.
In step 213, the registration information of the currently running application process is cleared.
Specifically, the application process information registered in the preset form is deleted to release the use resource of the target component.
Step 214, forwarding the operation request to a driver of the target component (such as a camera).
In step 215, input or output of the target component (e.g., camera) is stopped.
The target component (such as a camera) is controlled by a driver of the target component (such as a camera) to stop input or output.
Therefore, when a certain illegal program maliciously occupies a target part, a call request initiated by the illegal program can be directly intercepted, in addition, when the illegal program maliciously occupies the target part, a user can be prompted to occupy the program name of the target part, the application process of the current service of the target part can be automatically cut off and established according to the setting of the user, the trouble that the target part cannot be normally used due to the fact that the target part is occupied by the program can be effectively solved, and the most fundamental use requirement of the user on the target part can be met.
Fig. 3 is a schematic structural composition diagram of a processing apparatus according to the present application, as shown in fig. 3, the apparatus includes:
an obtaining module 301, configured to obtain an operation request for a target component of an electronic device;
an adjusting module 302, configured to adjust an operating parameter of the target component or output a preset prompt message according to a determined processing policy at least according to the type of the operation request;
wherein the processing policy is related to an application process currently serviced by the target component.
In a preferred embodiment, the obtaining module 301 is specifically configured to intercept an operation request for a target component of the electronic device through a preset filter driver; or, if the electronic equipment runs the target application process, intercepting the operation request of the target application process or the target subprocess thereof aiming at the respective corresponding target component by a preset filter driver; or, if the electronic equipment runs the target application process, intercepting an operation request of the target application process for a required target component by the preset filter driving module of the target application process.
In a preferred embodiment, the adjusting module 302 is specifically configured to adjust the target component from the current first operating parameter to the second operating parameter if the operation request is used to disconnect the target component from the currently served application process; or, if the operation request is used for establishing the connection between the target component and the target application process, adjusting the target component from the current second operation parameter to a third operation parameter; or, if the operation request is used for switching the application process currently served by the target component to the target application process, outputting preset prompt information or adjusting the target component from the current first operation parameter to a fourth operation parameter; wherein the target component operates at the second operating parameter with a lower power consumption than it operates at the first operating parameter, the third operating parameter, or the fourth operating parameter.
In a preferred embodiment, the apparatus further comprises: a determining module 303, a cleaning module 304, a registering module 305 and a processing module 306;
specifically, the determining module 303 is configured to determine, if the obtaining module 301 obtains a closing operation for a currently running application process of the electronic device or a target sub-process in the currently running application process, that the operation request obtained by the obtaining module 301 is an operation request for disconnecting a target component from a currently served application process of the electronic device, where the currently running application process or the target sub-process depends on the target component to provide a corresponding function;
a clearing module 304, configured to clear the registration information of the currently running application process or the target sub-process when the determining module 303 determines that the operation request obtained by the obtaining module 301 is an operation request for disconnecting the connection between the target component and the application process currently served by the target component, and forward the operation request to the driver of the target component, so as to stop input or output of the target component.
In a preferred embodiment, the determining module 303 is further configured to determine that the operation request obtained by the obtaining module 301 is an operation request for establishing a connection between a target component and a target application process if the obtaining module 301 obtains a new operation for a target application process or a target sub-process of the target application process in the electronic device, where the target application process or the target sub-process relies on the target component to provide a corresponding function;
a registering module 305, configured to register the target application process or the target sub-process to a preset form and trigger the processing module 306 when the determining module 303 determines that the operation request obtained by the obtaining module 301 is an operation request for establishing a connection between the target component and the target application process.
A processing module 306, configured to forward the operation request to a driver of the target component to enable input or output of the target component.
In a preferred embodiment, the determining module 303 is further configured to, in a case that the electronic device runs an application process for invoking a target component, determine to obtain an operation request for switching an application process currently served by the target component to a target application process if a new creation or a running operation for the target application process or a target sub-process of the target application process in the electronic device is obtained;
the obtaining module 301 is further configured to obtain preset configuration information;
the processing module 306 is configured to return preset prompt information according to the preset configuration information, or end the current input or current output of the target component, so as to provide a target input or a target output to the target application process or a target sub-process thereof.
In a preferred embodiment, the determining module 303 is further configured to determine, according to the configuration information, a comparison result between the application process currently served by the target component and at least one of the priority, power consumption, processor utilization, and target component occupation parameters of the target application process;
the processing module 306 is configured to return a prompt message that the target component is currently occupied according to the comparison result, or end the currently occupied state of the target component, so as to provide a target input or a target output to the target application process or a target sub-process thereof.
In a preferred embodiment, the obtaining module 301 is further configured to obtain setting information of a target component, so as to control the target component to output preset information according to the setting information after the operation request is forwarded to the driver of the target component.
In a preferred embodiment, the obtaining module 301 is further configured to obtain network status information, operation status information, and/or user information of the electronic device;
the adjusting module 302 is specifically configured to adjust the operation parameter of the target component according to the determined processing policy according to the type of the operation request and at least one of the network status information, the operation status information, and the user information.
It should be noted that: in the processing apparatus provided in the above embodiment, when processing the operation request of the target component, only the division of the program modules is illustrated, and in practical applications, the processing may be distributed to different program modules according to needs, that is, the internal structure of the apparatus may be divided into different program modules to complete all or part of the processing described above. In addition, the processing apparatus and the processing method provided by the above embodiments belong to the same concept, and specific implementation processes thereof are described in the method embodiments and are not described herein again.
An embodiment of the present application further provides a processing apparatus, including: a processor and a memory for storing a computer program capable of running on the processor,
wherein the processor is configured to execute, when running the computer program: obtaining an operation request for a target component of an electronic device;
adjusting the operation parameters of the target component or outputting preset prompt information according to a determined processing strategy at least according to the type of the operation request;
wherein the processing policy is related to an application process currently serviced by the target component.
The processor is further configured to, when executing the computer program, perform: intercepting an operation request aiming at a target component of the electronic equipment through a preset filter driving program; or the like, or, alternatively,
if the electronic equipment runs the target application process, intercepting an operation request of the target application process or a target subprocess thereof aiming at the respective corresponding target component by a preset filter driver; or the like, or, alternatively,
and if the electronic equipment runs the target application process, intercepting an operation request of the target application process for a required target component by the target application process through a preset filter driver of the target application process.
The processor is further configured to, when executing the computer program, perform: if the operation request is used for disconnecting the target component from the application process currently served by the target component, adjusting the target component from the current first operation parameter to a second operation parameter; or the like, or, alternatively,
if the operation request is used for establishing the connection between the target component and the target application process, adjusting the target component from the current second operation parameter to a third operation parameter; or the like, or, alternatively,
if the operation request is used for switching the application process currently served by the target component to the target application process, outputting preset prompt information or adjusting the target component from the current first operation parameter to a fourth operation parameter;
wherein the target component operates at the second operating parameter with a lower power consumption than it operates at the first operating parameter, the third operating parameter, or the fourth operating parameter.
The processor is further configured to, when executing the computer program, perform: if the closing operation aiming at the current running application process of the electronic equipment or a target subprocess in the current running application process is obtained, determining to obtain an operation request for disconnecting the connection between a target component and the current service application process of the target component, wherein the current running application process or the target subprocess depends on the target component to provide a corresponding function;
and cleaning the registration information of the currently running application process or the target subprocess, and forwarding the operation request to a driver of the target component to stop the input or output of the target component.
The processor is further configured to, when executing the computer program, perform: if new operation aiming at a target application process or a target subprocess of the target application process in the electronic equipment is obtained, determining to obtain an operation request for establishing connection between a target component and the target application process, wherein the target application process or the target subprocess depends on the target component to provide a corresponding function;
and registering the target application process or the target subprocess to a preset form, and forwarding the operation request to a driver of the target component so as to enable input or output of the target component.
The processor is further configured to, when executing the computer program, perform: under the condition that the electronic equipment runs an application process for calling a target component, if a new establishment or running operation aiming at a target application process or a target sub-process of the target application process in the electronic equipment is obtained, determining to obtain an operation request for switching the application process currently served by the target component to the target application process;
and obtaining preset configuration information, and returning preset prompt information according to the preset configuration information, or ending the current input or current output of the target component so as to provide target input or target output for the target application process or a target subprocess thereof.
The processor is further configured to, when executing the computer program, perform: and according to the configuration information, determining a comparison result of at least one of the priority, the power consumption, the processor utilization rate and the target component occupation parameter of the application process currently served by the target component and the target application process, and returning a currently occupied prompt message of the target component according to the comparison result, or ending the currently occupied state of the target component so as to provide target input or target output for the target application process or a target subprocess thereof.
The processor is further configured to, when executing the computer program, perform: and obtaining the setting information of the target component, and controlling the target component to output preset information according to the setting information after the operation request is forwarded to the driver of the target component.
The processor is further configured to, when executing the computer program, perform: and obtaining network state information, running state information and/or user information of the electronic equipment, and adjusting the running parameters of the target component according to a determined processing strategy according to the type of the operation request and at least one of the network state information, the running state information and the user information.
Fig. 4 is a schematic structural diagram of a processing device 400 according to the present application, where the processing device 400 may be a mobile phone, a computer, a digital broadcast terminal, an information transceiver, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, and the like. The processing apparatus 400 shown in fig. 4 includes: at least one processor 401, memory 402, at least one network interface 404, and a user interface 403. The various components in the processing device 400 are coupled together by a bus system 405. It is understood that the bus system 405 is used to enable connection communication between these components. The bus system 405 includes a power bus, a control bus, and a status signal bus in addition to a data bus. For clarity of illustration, however, the various buses are labeled as bus system 405 in fig. 4.
The user interface 403 may include, among other things, a display, a keyboard, a mouse, a trackball, a click wheel, a key, a button, a touch pad, or a touch screen.
It will be appreciated that the memory 402 can be either volatile memory or nonvolatile memory, and can include both volatile and nonvolatile memory. Among them, the nonvolatile Memory may be a Read Only Memory (ROM), a Programmable Read Only Memory (PROM), an Erasable Programmable Read-Only Memory (EPROM), an Electrically Erasable Programmable Read-Only Memory (EEPROM), a magnetic random access Memory (FRAM), a Flash Memory (Flash Memory), a magnetic surface Memory, an optical disk, or a Compact Disc Read-Only Memory (CD-ROM); the magnetic surface storage may be disk storage or tape storage. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of illustration and not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Synchronous Static Random Access Memory (SSRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic Random Access Memory (SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Enhanced Synchronous Dynamic Random Access Memory (ESDRAM), Enhanced Synchronous Dynamic Random Access Memory (Enhanced DRAM), Synchronous Dynamic Random Access Memory (SLDRAM), Direct Memory (DRmb Access), and Random Access Memory (DRAM). The memory 402 described in embodiments herein is intended to comprise, without being limited to, these and any other suitable types of memory.
The memory 402 in the embodiments of the present application is used to store various types of data to support the operation of the processing device 400. Examples of such data include: any computer program for operating on the processing device 400, such as an operating system 4021 and application programs 4022; contact data; telephone book data; a message; a picture; video, etc. The operating system 4021 includes various system programs, such as a framework layer, a core library layer, a driver layer, and the like, and is configured to implement various basic services and process hardware-based tasks. The application 4022 may include various applications such as a Media Player (Media Player), a Browser (Browser), and the like for implementing various application services. A program for implementing the method according to the embodiment of the present application may be included in the application 4022.
The method disclosed in the embodiments of the present application may be applied to the processor 401, or implemented by the processor 401. The processor 401 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 401. The Processor 401 described above may be a general purpose Processor, a Digital Signal Processor (DSP), or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like. Processor 401 may implement or perform the methods, steps, and logic blocks disclosed in the embodiments of the present application. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the method disclosed in the embodiments of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software modules may be located in a storage medium located in the memory 402, and the processor 401 reads the information in the memory 402 and performs the steps of the aforementioned methods in conjunction with its hardware.
In an exemplary embodiment, the processing Device 400 may be implemented by one or more Application Specific Integrated Circuits (ASICs), DSPs, Programmable Logic Devices (PLDs), Complex Programmable Logic Devices (CPLDs), Field Programmable Gate Arrays (FPGAs), general purpose processors, controllers, Micro Controllers (MCUs), microprocessors (microprocessors), or other electronic components for performing the aforementioned methods.
In an exemplary embodiment, the present application further provides a computer readable storage medium, such as a memory 402, including a computer program), which can be executed by a processor 401 of a processing apparatus 400) to perform the steps of the foregoing method. The computer readable storage medium can be Memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface Memory, optical disk, or CD-ROM; or may be a variety of devices including one or any combination of the above memories, such as a mobile phone, computer, tablet device, personal digital assistant, etc.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
The methods disclosed in the several method embodiments provided in the present application may be combined arbitrarily without conflict to obtain new method embodiments.
Features disclosed in several of the product embodiments provided in the present application may be combined in any combination to yield new product embodiments without conflict.
The features disclosed in the several method or apparatus embodiments provided in the present application may be combined arbitrarily, without conflict, to arrive at new method embodiments or apparatus embodiments.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A method of processing, comprising:
obtaining an operation request for a target component of an electronic device;
adjusting the operation parameters of the target component or outputting preset prompt information according to a determined processing strategy at least according to the type of the operation request;
wherein the processing policy is related to an application process currently serviced by the target component.
2. The method of claim 1, wherein obtaining an operation request for a target component of an electronic device comprises:
intercepting an operation request aiming at a target component of the electronic equipment through a preset filter driving program; or the like, or, alternatively,
if the electronic equipment runs the target application process, intercepting an operation request of the target application process or a target subprocess thereof aiming at the respective corresponding target component by a preset filter driver; or the like, or, alternatively,
and if the electronic equipment runs the target application process, intercepting an operation request of the target application process for a required target component by the target application process through a preset filter driver of the target application process.
3. The method of claim 1 or 2, wherein adjusting the operating parameters of the target component or outputting a preset prompt message according to the determined processing strategy at least according to the type of the operation request comprises:
if the operation request is used for disconnecting the target component from the application process currently served by the target component, adjusting the target component from the current first operation parameter to a second operation parameter; or the like, or, alternatively,
if the operation request is used for establishing the connection between the target component and the target application process, adjusting the target component from the current second operation parameter to a third operation parameter; or the like, or, alternatively,
if the operation request is used for switching the application process currently served by the target component to the target application process, outputting preset prompt information or adjusting the target component from the current first operation parameter to a fourth operation parameter;
wherein the target component operates at the second operating parameter with a lower power consumption than it operates at the first operating parameter, the third operating parameter, or the fourth operating parameter.
4. The method of claim 3, wherein adjusting the target component from a current first operating parameter to a second operating parameter if the operation request is for disconnecting the target component from its currently serving application process comprises:
if the closing operation aiming at the current running application process of the electronic equipment or a target subprocess in the current running application process is obtained, determining to obtain an operation request for disconnecting the connection between a target component and the current service application process of the target component, wherein the current running application process or the target subprocess depends on the target component to provide a corresponding function;
and cleaning the registration information of the currently running application process or the target subprocess, and forwarding the operation request to a driver of the target component to stop the input or output of the target component.
5. The method of claim 3, wherein adjusting the target component from the current second operating parameter to a third operating parameter if the operation request is for establishing a connection between the target component and a target application process comprises:
if new operation aiming at a target application process or a target subprocess of the target application process in the electronic equipment is obtained, determining to obtain an operation request for establishing connection between a target component and the target application process, wherein the target application process or the target subprocess depends on the target component to provide a corresponding function;
and registering the target application process or the target subprocess to a preset form, and forwarding the operation request to a driver of the target component so as to enable input or output of the target component.
6. The method of claim 3, wherein if the operation request is for switching an application process currently served by a target component to a target application process, outputting a preset prompt message or adjusting the target component from a current first operating parameter to a fourth operating parameter comprises:
under the condition that the electronic equipment runs an application process for calling a target component, if a new establishment or running operation aiming at a target application process or a target sub-process of the target application process in the electronic equipment is obtained, determining to obtain an operation request for switching the application process currently served by the target component to the target application process;
and obtaining preset configuration information, and returning preset prompt information according to the preset configuration information, or ending the current input or current output of the target component so as to provide target input or target output for the target application process or a target subprocess thereof.
7. The method of claim 6, wherein returning preset prompt information or ending the current input or current output of the target component according to the configuration information to provide a target input or target output to the target application process or a target sub-process thereof comprises:
and according to the configuration information, determining a comparison result of at least one of the priority, the power consumption, the processor utilization rate and the target component occupation parameter of the application process currently served by the target component and the target application process, and returning a currently occupied prompt message of the target component according to the comparison result, or ending the currently occupied state of the target component so as to provide target input or target output for the target application process or a target subprocess thereof.
8. The method of claim 5 or 6, further comprising:
and obtaining the setting information of the target component, and controlling the target component to output preset information according to the setting information after the operation request is forwarded to the driver of the target component.
9. The method of any of claims 1, 2, 4, 5, 6, and 7, wherein adjusting the operational parameter of the target component according to the determined processing policy based at least on the type of the operation request further comprises:
and obtaining network state information, running state information and/or user information of the electronic equipment, and adjusting the running parameters of the target component according to a determined processing strategy according to the type of the operation request and at least one of the network state information, the running state information and the user information.
10. A processing apparatus, comprising:
the acquisition module is used for acquiring an operation request aiming at a target component of the electronic equipment;
the adjusting module is used for adjusting the operating parameters of the target component or outputting preset prompt information according to the determined processing strategy at least according to the type of the operation request;
wherein the processing policy is related to an application process currently serviced by the target component.
CN202011631923.9A 2020-12-31 2020-12-31 Processing method and device Pending CN112685099A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011631923.9A CN112685099A (en) 2020-12-31 2020-12-31 Processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011631923.9A CN112685099A (en) 2020-12-31 2020-12-31 Processing method and device

Publications (1)

Publication Number Publication Date
CN112685099A true CN112685099A (en) 2021-04-20

Family

ID=75456111

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011631923.9A Pending CN112685099A (en) 2020-12-31 2020-12-31 Processing method and device

Country Status (1)

Country Link
CN (1) CN112685099A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101299847A (en) * 2008-06-25 2008-11-05 嘉兴闻泰通讯科技有限公司 Method for setting, controlling and switching forward and backward CCD camera of mobile terminal
CN103793246A (en) * 2014-01-22 2014-05-14 深圳Tcl新技术有限公司 Method and system for coordinating camera resources
CN104133711A (en) * 2014-08-07 2014-11-05 深圳市元征科技股份有限公司 Camera safe switching method based on Android system
CN105955779A (en) * 2016-05-03 2016-09-21 深圳Tcl数字技术有限公司 Process closing method and device
CN106791356A (en) * 2016-11-10 2017-05-31 北京智能管家科技有限公司 For the method and device of camera data distribution
CN108924290A (en) * 2018-06-12 2018-11-30 Oppo广东移动通信有限公司 Camera control method, device, mobile terminal and computer-readable medium
CN110519506A (en) * 2019-07-22 2019-11-29 华为技术有限公司 A kind of camera lift control method and electronic equipment
CN111651763A (en) * 2020-05-26 2020-09-11 珠海豹趣科技有限公司 Process monitoring method and device, electronic equipment and storage medium
CN111723353A (en) * 2019-03-22 2020-09-29 北京小米移动软件有限公司 Identity authentication method, device, terminal and storage medium based on face recognition

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101299847A (en) * 2008-06-25 2008-11-05 嘉兴闻泰通讯科技有限公司 Method for setting, controlling and switching forward and backward CCD camera of mobile terminal
CN103793246A (en) * 2014-01-22 2014-05-14 深圳Tcl新技术有限公司 Method and system for coordinating camera resources
CN104133711A (en) * 2014-08-07 2014-11-05 深圳市元征科技股份有限公司 Camera safe switching method based on Android system
CN105955779A (en) * 2016-05-03 2016-09-21 深圳Tcl数字技术有限公司 Process closing method and device
CN106791356A (en) * 2016-11-10 2017-05-31 北京智能管家科技有限公司 For the method and device of camera data distribution
CN108924290A (en) * 2018-06-12 2018-11-30 Oppo广东移动通信有限公司 Camera control method, device, mobile terminal and computer-readable medium
CN111723353A (en) * 2019-03-22 2020-09-29 北京小米移动软件有限公司 Identity authentication method, device, terminal and storage medium based on face recognition
CN110519506A (en) * 2019-07-22 2019-11-29 华为技术有限公司 A kind of camera lift control method and electronic equipment
CN111651763A (en) * 2020-05-26 2020-09-11 珠海豹趣科技有限公司 Process monitoring method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
RU2746271C1 (en) Method and device for data transmission
CN107797841B (en) Window control method and device, terminal equipment and storage medium
CN105979067B (en) Control method and electronic device
CN106792892B (en) Access control method and device for application program
JP2015504618A (en) Imaging processing method and terminal device
JP3854863B2 (en) Function control method for information communication terminal, terminal control device, and information communication terminal
CN115361184A (en) Privacy protection method and related product
US20180213027A1 (en) Receiving a communication event
CN113934331A (en) Information processing method, device and storage medium
EP3145152B1 (en) Short message service reading method and device
CN112866022B (en) Method, device and medium for reducing system breakdown times of modem
WO2018006591A1 (en) Multi-user terminal service processing method and device
CN107371222B (en) Virtual card disabling method and device
US10015314B2 (en) Call collision processing method for terminal device, and terminal device
CN112464208B (en) File access method, mobile terminal and computer readable storage medium
WO2023241455A1 (en) Group chat operation processing method and apparatus, electronic device, and storage medium
CN109511118B (en) Wireless local area network access exception handling method, mobile terminal and USIM card
CN111966425A (en) Process cleaning method and device, storage medium and mobile terminal
CN112685099A (en) Processing method and device
US20220398334A1 (en) Notification Prompt Method, Server, and Storage Medium
WO2020087418A1 (en) Method and device for handling pseudo base station, mobile terminal, and storage medium
WO2021057858A1 (en) Method for answering incoming call in instant messaging application, mobile terminal and computer storage medium
CN107396415B (en) Communication method of dual-card intelligent terminal and terminal
CN111722919A (en) Method and device for running background application program, storage medium and electronic equipment
WO2023035123A1 (en) Methods and apparatus for indicating and determining capabilities, communication apparatus, 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