WO2022042573A1 - 应用程序控制方法、装置、电子设备及可读存储介质 - Google Patents

应用程序控制方法、装置、电子设备及可读存储介质 Download PDF

Info

Publication number
WO2022042573A1
WO2022042573A1 PCT/CN2021/114394 CN2021114394W WO2022042573A1 WO 2022042573 A1 WO2022042573 A1 WO 2022042573A1 CN 2021114394 W CN2021114394 W CN 2021114394W WO 2022042573 A1 WO2022042573 A1 WO 2022042573A1
Authority
WO
WIPO (PCT)
Prior art keywords
application
image
scene information
target
electronic device
Prior art date
Application number
PCT/CN2021/114394
Other languages
English (en)
French (fr)
Inventor
张彬熠
Original Assignee
维沃移动通信有限公司
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 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2022042573A1 publication Critical patent/WO2022042573A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Definitions

  • the present application belongs to the field of mobile communications, and in particular relates to an application control method, apparatus, electronic device and readable storage medium.
  • the purpose of the embodiments of the present application is to provide an application program control method, device, electronic device and readable storage medium, which can solve the problem in the prior art that when an application program is used for image retouching or shooting, between multiple application programs The problem of switching operations is cumbersome.
  • an embodiment of the present application provides an application control method, the method comprising:
  • the first image includes a picture stored in an electronic device or a preview image of a camera preview interface of the electronic device;
  • an embodiment of the present application further provides an application program control device, where the application program control device includes:
  • an information acquisition module configured to acquire scene information of a first image, where the first image includes a picture stored in the electronic device or a preview image of a camera preview interface of the electronic device;
  • An application startup module configured to start a target application program corresponding to the scene information.
  • an embodiment of the present application further provides an electronic device, the electronic device includes a memory, a processor, and a program or instruction stored in the memory and executable on the processor, where the processor executes the program or The steps in the application control method as described above are implemented when instructed.
  • an embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the above-mentioned application program control method is implemented. A step of.
  • an embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction, and implement the first aspect the method described.
  • the scene information of the first image is obtained; the target application program corresponding to the scene information is started, so as to avoid the user manually switching to the target application program, save the user's operation steps, and improve the convenience of using the electronic device; And based on the scene information, the target application is matched, the target application is used to perform the shooting operation or the image retouching operation, and the effect of the shooting operation or the image retouching operation is optimized.
  • FIG. 1 shows a flowchart of an application control method provided by an embodiment of the present application
  • FIG. 2 shows one of the schematic diagrams of the first example provided by the embodiment of the present application
  • FIG. 3 shows the second schematic diagram of the first example provided by the embodiment of the present application
  • FIG. 4 shows one of the schematic diagrams of the second example provided by the embodiment of the present application.
  • FIG. 5 shows the second schematic diagram of the second example provided by the embodiment of the present application.
  • FIG. 6 shows a flowchart of a third example provided by an embodiment of the present application.
  • FIG. 7 is a schematic diagram of a third example provided by an embodiment of the present application.
  • FIG. 8 shows a block diagram of an application control device provided by an embodiment of the present application.
  • FIG. 9 shows one of the block diagrams of the electronic device provided by the embodiment of the present application.
  • FIG. 10 shows the second block diagram of the electronic device provided by the embodiment of the present application.
  • an embodiment of the present application provides a method for controlling an application program.
  • the method can be applied to electronic devices, and the electronic devices include various handheld devices, vehicle-mounted devices, wearable devices, and computing devices. Or other processing equipment connected to the wireless modem, as well as various forms of mobile stations (Mobile Station, MS), terminal equipment (Terminal Device) and so on.
  • MS Mobile Station
  • Terminal Device Terminal Device
  • the method includes:
  • Step 101 Obtain scene information of a first image, where the first image includes a picture stored in an electronic device or a preview image of a camera preview interface of the electronic device.
  • the scene information such as character scene, scene scene, food scene, still life scene, pet scene and other information; when acquiring the scene information of the first image, it may be recognized according to a preset scene recognizer, or it may be obtained from the first image.
  • the image information of the image for example, in the case of the electronic device displaying the first image, firstly find out whether there is a relevant identifier of the scene information from the image information; if so, use the scene information corresponding to the identifier as the first image.
  • Scene information if not, start the scene recognizer to recognize the scene information in it.
  • the first image may be a picture stored in the electronic device, such as a picture stored in an album, and the first image may also be an image of a camera preview interface of the electronic device.
  • Step 102 Start the target application corresponding to the scene information.
  • the target application may be a photographing application or a retouching application; the target application may be a system application of the electronic device or a third-party application, such as a system camera of the electronic device.
  • the target application is a preset application corresponding to the scene information, for example, the electronic device preconfigures a default target application for each scene information by default, or the user sets the target application according to the scene information;
  • different target applications may have different processing effects for different scenes. Therefore, configure different target applications for different scene information to improve the shooting effect or image retouching effect and satisfy the user’s needs.
  • Different usage requirements For example, when shooting a food scene, the filters and other parameters used by application A are better in processing the food scene; therefore, after identifying the scene information as a food scene, start application A, and the electronic device uses the application A as the default target application for the food scene. Or, after the user uses the application A to shoot or retouch the food scene, and the user thinks that the effect is better, the user can set the application A as the target application of the food scene by himself.
  • the processing effect of application B is better than that of application A. Therefore, the electronic device can set application B as the target application of the scene scene to improve the shooting effect or retouching effect.
  • the target application program corresponding to the scene information is directly started, so as to avoid the need for the user to manually switch to the target application program when shooting or retouching pictures.
  • the interface shown in FIG. 2 is the setting interface of the electronic device, and the user can select whether to enable the scene recognition function on this setting interface, for example, select the function button 201 corresponding to “AI scene recognition”, and further Selecting whether to display the scene label can trigger the scene label button 202, and the scene note is the scene information.
  • the user selects the target application corresponding to each scene information in the setting menu of shooting;
  • the scene information shown in Figure 3 includes: people, animals, flowers, trees and the sky;
  • the pop-up drop-down menu includes: system camera 302, A camera 303 and B camera 304.
  • the user can choose the target application in the character scene by himself.
  • the target application is the A camera 303 .
  • the electronic device activates the A camera 303 to shoot, preventing the user from manually switching to the application A.
  • the scene information of the first image is acquired; the target application program corresponding to the scene information is started, so as to prevent the user from manually switching to the target application program, save the user's operation steps, and improve the convenience of using the electronic device; and Match the target application based on the scene information, use the target application to perform the shooting operation or retouching operation, and optimize the effect of the shooting operation or retouching operation.
  • the embodiments of the present application solve the problem in the prior art that when an application is used for image retouching or shooting, the operation of switching between multiple application programs is cumbersome.
  • the acquiring scene information of the first image includes at least one of the following:
  • the scene recognizer is pre-trained, and the scene recognizer executes a preset scene recognition algorithm or recognition model; in the process of training the recognition algorithm or recognition model, the form of deep learning and machine learning can be used to recognize the recognition through training.
  • the algorithm or recognition model obtains a scene recognizer that meets the accuracy requirements; in the process of training, a random forest algorithm or a support vector machine algorithm can be used to input images into the scene recognizer, and the scene recognizer automatically extracts all the images.
  • the features in the image are identified and the scene information of the image is obtained.
  • the scene information such as a character scene, a scene scene, a food scene, etc., can be customized by the user when training the scene recognizer.
  • the scene information may also be acquired from the image information of the first image; for example, firstly, find out whether there is a relevant identifier of the scene information from the image information; The scene information corresponding to the identifier is used as the scene information of the first image; if not, the scene recognizer is activated to recognize the scene information in the first image.
  • Recognizing the scene information by the scene recognizer can improve the accuracy of the scene information recognition; acquiring the scene information carried in the image information of the first image can improve the efficiency of the scene information recognition, and the operation efficiency of the shooting operation or the image retouching operation.
  • the method before starting the target application corresponding to the scene information, the method includes:
  • the preset parameter includes at least one of the following: a first frequency and a first preset priority; the first frequency is the frequency at which the first candidate application is selected as the target application.
  • the target application in the first candidate application can be determined according to at least one of the first frequency and the first preset priority; according to the first candidate application is selected as The frequency of the target application program selects the target application program, which fits the user's usage habits; selects the target application program according to the first preset priority, and the first preset priority may be preset by the electronic device or preset by the user, satisfying Application selection priority preset by the user or selection priority preset by the electronic device
  • the target application includes: a system application of the electronic device, a third-party application installed in the electronic device, and at least one of quick applications not installed in the electronic device One; third-party applications such as camera A and camera B in the first example and the second embodiment; a quick application is an application that does not need to be installed, and the user can directly click the quick application to realize the use of the quick application;
  • Various types of target applications are provided to provide users with rich preview images of effects.
  • the step of starting the target application corresponding to the scene information includes:
  • the method Before starting the target application corresponding to the scene information, the method includes:
  • the second candidate application with the highest second frequency and the second preset At least one of the second candidate applications with the highest priority is determined as the target application;
  • the second frequency is the frequency at which the second candidate application is selected as the target application.
  • the user presets multiple application programs corresponding to the scene information; or when identifying scene information, at least two scene information are identified, and the identified scene information The corresponding applications are different.
  • the first identifiers of the N second candidate application programs are displayed, and the target application program is determined from the second candidate application programs; the determination process can be selected by the user, for example, if the user selection target is received within the first preset time period For the first input of the application program, the application program corresponding to the first input is determined as the target application program to meet the usage requirements of the user;
  • the electronic device determines whether the first input of the user selecting the target application program is received within the first preset time period. For example, the electronic device counts the second frequency of each second candidate application program, and the second frequency is higher.
  • the candidate application program is selected as the target application program, or the second candidate application program with a higher second preset priority is selected as the target application program, so as to reduce the user's operation and quickly select the target application program.
  • the method includes: displaying an effect preview image
  • the effect preview image is an image obtained by shooting a screen of the camera preview interface through the second candidate application program according to target shooting parameters, and the target shooting parameters are shooting parameters associated with the scene information;
  • the effect preview image is an image obtained by performing image processing on the image stored in the electronic device through the second candidate application program according to the target image processing method, and the target image processing method is associating with the scene information image processing method.
  • the effect preview image is displayed, and the effect preview image is an image obtained by shooting the screen of the camera preview interface according to the target shooting parameters by the second candidate application program.
  • the target shooting parameters are shooting parameters associated with the scene information, such as parameters such as used filters and apertures.
  • the effect preview image is displayed on the shooting preview interface, so that the user can select the target application program according to the effect preview image;
  • the candidate applications are respectively application A (application corresponding to camera A 302 ), application B (application corresponding to camera B 303 ), and system camera 304 . At this time, the identification of each candidate application and the corresponding effect preview are displayed. image, the user can select the target application according to the effect preview image.
  • FIG. 5 is an image 501 captured when the target application is application A.
  • the effect preview image is an image obtained by performing image processing on the image stored in the electronic device through the second candidate application program according to the target image processing method, such as image retouching operation, cropping operation, etc.; the target image
  • the processing method is an image processing method associated with the scene information. For example, if the image processing method associated with the person scene information is "beauty”, the effect preview image is obtained by performing "beauty” processing on the image stored in the electronic device.
  • the target application is a first application
  • the method After the step of starting the target application corresponding to the scene information, the method includes:
  • the second input is used to control the captured image;
  • the second input may be in the form of touch input, handwriting input, or voice input;
  • controlling the first application to shoot a second image In response to the second input, controlling the first application to shoot a second image; controlling the first application corresponding to the scene information to perform a shooting operation;
  • the second application program is an image processing application program; that is, after the shooting is completed, start the image processing application program corresponding to the scene information, and continue to perform image processing on the second image , to avoid the user manually selecting a picture processing application, which is cumbersome to operate.
  • the first image includes a picture stored in the electronic device
  • the target processing operation is an image processing operation whose similarity with the image processing mode of the first image by the target application is greater than a preset threshold.
  • the third image is an image stored in the electronic device or in a storage area such as a server or a network disk of the electronic device, and has the same scene information as the first image;
  • An image processing operation with an image similarity greater than a preset threshold the processing operation is an image processing operation, such as adding a filter, blurring the background, etc., to realize the automatic processing operation on the third image.
  • the similarity between the target processing operation and the image processing method of the first image by the target application is greater than a preset threshold, that is, the similarity of the specific operation parameters of the two processing operations is greater than the preset threshold, for example, processing When the operations are all microdermabrasion operations, the similarity of the microdermabrasion percentage parameter is greater than the preset threshold.
  • FIG. 7 shows a specific example of the application program control method provided by the embodiment of the present application, including the following steps:
  • Step 601 Set the mapping relationship between the scene information and the application program through voice input.
  • the mapping relationship between different scenes and different third-party camera apps or system cameras is set; for example, referring to FIG. 3 , the user selects the target app corresponding to each scene information in the shooting setting menu.
  • the user In the daily use of electronic devices, you can wake up by voice at any time to set the mapping relationship between different scenes and applications.
  • the user (B icon 602) wakes up the voice input function module (A icon 601) of the electronic device; for example, the voice input function module first asks the user: “Hello, how can I help you”; the user inputs 5 seconds
  • the electronic device recognizes the voice input content as: "I hope to open the X camera in this scene in the future”; then the electronic device executes the mapping relationship between the scene and the X camera to bind, and replies to the user "Okay, I have helped you with this.
  • the scene (person class) is bound to the X camera and is about to jump to the X camera".
  • the electronic device When any camera (including the system camera and the third-party camera) is turned on, the electronic device recognizes the current scene information type by capturing the preview image on the preview interface.
  • Step 602 the camera is turned on, the electronic device recognizes the scene information and jumps to the corresponding target application.
  • a selection box will pop up and display the photographing effects of different third-party camera apps for the current scene in the form of thumbnails, so that users can choose the corresponding third-party cameras according to the effects of the thumbnails, as shown in the figure. 4 shown.
  • Step 603 start the target application.
  • the function of intelligently selecting the three-party camera app based on scene detection can be intelligently turned on or off through voice input.
  • the scene information of the first image is acquired; the target application program corresponding to the scene information is started, so as to prevent the user from manually switching to the target application program, save the user's operation steps, and improve the convenience of using the electronic device; and Match the target application based on the scene information, use the target application to perform the shooting operation or retouching operation, and optimize the effect of the shooting operation or retouching operation.
  • the execution body may be an application program control device, or a control module in the application program control device for executing the application program control method.
  • the application program control method provided by the embodiment of the present application is described by taking the application program control apparatus executing the application program control method as an example.
  • an embodiment of the present application further provides an application program control apparatus 800, including:
  • the information acquisition module 801 is configured to acquire scene information of a first image, where the first image includes a picture stored in an electronic device or a preview image of a camera preview interface of the electronic device.
  • the scene information such as character scene, scene scene, food scene, still life scene, pet scene and other information; when acquiring the scene information of the first image, it may be recognized according to a preset scene recognizer, or it may be obtained from the first image.
  • the image information of the image for example, in the case of the electronic device displaying the first image, firstly find out whether there is a relevant identifier of the scene information from the image information; if so, use the scene information corresponding to the identifier as the first image.
  • Scene information if not, start the scene recognizer to recognize the scene information in it.
  • the first image may be a picture stored in the electronic device, such as a picture stored in an album, and the first image may also be an image of a camera preview interface of the electronic device.
  • the application launching module 802 is configured to launch the target application corresponding to the scene information.
  • the target application may be a photographing application or a retouching application; the target application may be a system application of the electronic device or a third-party application, such as a system camera of the electronic device.
  • the target application is a preset application corresponding to the scene information, for example, the electronic device preconfigures a default target application for each scene information by default, or the user sets the target application according to the scene information;
  • different target applications may have different processing effects for different scenes. Therefore, configure different target applications for different scene information to improve the shooting effect or image retouching effect and satisfy the user’s needs.
  • Different usage requirements For example, when shooting a food scene, the filters and other parameters used by application A are better in processing the food scene; therefore, after identifying the scene information as a food scene, start application A, and the electronic device uses the application A as the default target application for the food scene. Or, after the user uses the application A to shoot or retouch the food scene, and the user thinks that the effect is better, the user can set the application A as the target application of the food scene by himself.
  • the processing effect of application B is better than that of application A. Therefore, the electronic device can set application B as the target application of the scene scene to improve the shooting effect or retouching effect.
  • the target application program corresponding to the scene information is directly started, so as to avoid the need for the user to manually switch to the target application program when shooting or retouching pictures.
  • the interface shown in Fig. 2 is the setting interface of the electronic device.
  • the user can select whether to enable the scene recognition function on this setting interface, for example, select the function button corresponding to "AI scene recognition", and further select Whether to display the scene label, the scene note is the scene information.
  • the scene information shown in Figure 3 includes: people, animals, flowers, trees and the sky; when the user When selecting the target application corresponding to the character, the pop-up drop-down menu includes: system camera, camera A, and camera B.
  • the user can select the target application in the character scene by himself. If the target application selected by the user is application A, the shooting will be performed later During operation, if the current scene information is identified as a person, the electronic device starts the application A to shoot, so as to prevent the user from manually switching to the application A.
  • the information acquisition module 801 includes at least one of the following first acquisition sub-modules and second acquisition sub-modules:
  • the first acquisition submodule is used to identify the scene information of the first image through a preset scene recognizer
  • the second obtaining sub-module is configured to obtain scene information carried in the attribute information of the first image.
  • the apparatus further includes:
  • a program acquisition module for acquiring at least one first candidate application program corresponding to the scene information
  • a first program determination module configured to determine a target application program in the at least one first candidate application program according to preset parameters
  • the preset parameter includes at least one of the following: a first frequency and a first preset priority; the first frequency is the frequency at which the first candidate application is selected as the target application.
  • the apparatus includes:
  • an identification display module for displaying N first identifications of the N second candidate application programs corresponding to the scene information
  • a second program determination module configured to determine an application program corresponding to the second identifier as a target application program in the case of receiving the first input from the user to the second identifier in the N first identifiers;
  • the second candidate application with the highest second frequency and the second preset At least one of the second candidate applications with the highest priority is determined as the target application
  • the second frequency is the frequency at which the second candidate application is selected as the target application.
  • the apparatus includes:
  • the effect display module is used to display the effect preview image
  • the effect preview image is an image obtained by shooting a screen of the camera preview interface through the second candidate application program according to target shooting parameters, and the target shooting parameters are shooting parameters associated with the scene information;
  • the effect preview image is an image obtained by performing image processing on the image stored in the electronic device through the second candidate application program according to the target image processing method, and the target image processing method is associating with the scene information image processing method.
  • the target application is a first application
  • the device includes:
  • a receiving module configured to receive a second input, where the second input is used to control capturing images
  • control module configured to control the first application to capture a second image in response to the second input
  • a program startup module configured to start a second application program corresponding to the scene information, where the second application program is an image processing application program.
  • the apparatus includes:
  • a processing module configured to acquire at least one third image with the same scene information as the first image, and perform a target processing operation on the at least one third image
  • the target processing operation is an image processing operation whose similarity with the image processing mode of the first image by the target application is greater than a preset threshold.
  • the information acquisition module 801 acquires scene information of the first image; the application startup module 802 starts the target application corresponding to the scene information, so as to avoid manual switching by the user Go to the target application, save the user's operation steps, and improve the convenience of using electronic devices; and match the target application based on scene information, use the target application to perform shooting operations or image retouching operations, and optimize the effect of shooting operations or image retouching operations.
  • the application program control device in this embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal.
  • the apparatus may be a mobile electronic device or a non-mobile electronic device.
  • the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant).
  • UMPC ultra-mobile personal computer
  • netbook or a personal digital assistant
  • non-mobile electronic devices can be servers, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (television, TV), teller machine or self-service machine, etc., this application Examples are not specifically limited.
  • Network Attached Storage NAS
  • personal computer personal computer, PC
  • television television
  • teller machine or self-service machine etc.
  • the application program control device in this embodiment of the present application may be a device having an operating system.
  • the operating system may be an Android (Android) operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
  • the application program control apparatus provided by the embodiments of the present application can implement each process implemented by the application program control apparatus in the method embodiments of FIG. 1 to FIG. 7 , and to avoid repetition, details are not described here.
  • an embodiment of the present application further provides an electronic device 900, including a processor 901, a memory 902, a program or instruction stored in the memory 902 and executable on the processor 901,
  • an electronic device 900 including a processor 901, a memory 902, a program or instruction stored in the memory 902 and executable on the processor 901,
  • the program or instruction is executed by the processor 901
  • each process of the above-mentioned application program control method embodiment can be realized, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
  • the electronic devices in the embodiments of the present application include the aforementioned mobile electronic devices and non-mobile electronic devices.
  • FIG. 10 is a schematic diagram of a hardware structure of an electronic device 1000 implementing various embodiments of the present application.
  • the electronic device 1000 includes but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, and a processor 1010, etc. part.
  • the electronic device 1000 may also include a power source (such as a battery) for supplying power to various components, and the power source may be logically connected to the processor 1010 through a power management system, so that the power management system can manage charging, discharging, and power functions. consumption management and other functions.
  • the structure of the electronic device shown in FIG. 10 does not constitute a limitation on the electronic device.
  • the electronic device may include more or less components than the one shown, or combine some components, or arrange different components, which will not be repeated here. .
  • the processor 1010 is configured to acquire scene information of a first image, where the first image includes a picture stored in an electronic device or a preview image of a camera preview interface of the electronic device;
  • the processor 1010 is configured to identify the scene information of the first image through a preset scene recognizer
  • the processor 1010 is configured to acquire at least one first candidate application program corresponding to the scene information
  • the preset parameter includes at least one of the following: a first frequency, a first preset priority; the first frequency is the frequency at which the first candidate application is selected as the target application.
  • the display unit 1006 is configured to display the N first identifiers of the N second candidate applications corresponding to the scene information
  • a processor 1010 configured to determine an application corresponding to the second identifier as a target application in the case of receiving a first input from a user to a second identifier in the N first identifiers;
  • the second candidate application with the highest second frequency and the second preset At least one of the second candidate applications with the highest priority is determined as the target application
  • the second frequency is the frequency at which the second candidate application is selected as the target application.
  • the display unit 1006 is used to display the effect preview image
  • the effect preview image is an image obtained by shooting a screen of the camera preview interface through the second candidate application program according to target shooting parameters, and the target shooting parameters are shooting parameters associated with the scene information;
  • the effect preview image is an image obtained by performing image processing on the image stored in the electronic device through the second candidate application program according to the target image processing method, and the target image processing method is associating with the scene information image processing method.
  • the target application is a first application
  • a processor 1010 configured to receive a second input, where the second input is used to control capturing images
  • a second application program corresponding to the scene information is started, and the second application program is an image processing application program.
  • the first image includes a picture stored in the electronic device
  • a processor 1010 configured to acquire at least one third image with the same scene information as the first image, and perform a target processing operation on the at least one third image
  • the target processing operation is an image processing operation whose similarity with the image processing mode of the first image by the target application is greater than a preset threshold.
  • the scene information of the first image is obtained; the target application program corresponding to the scene information is started, so as to avoid the user manually switching to the target application program, save the user's operation steps, and improve the convenience of using the electronic device; And based on the scene information, the target application is matched, the target application is used to perform the shooting operation or the image retouching operation, and the effect of the shooting operation or the image retouching operation is optimized.
  • Embodiments of the present application further provide a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, each process of the foregoing application program control method embodiment can be achieved, and the same can be achieved.
  • the technical effect, in order to avoid repetition, will not be repeated here.
  • the processor is the processor in the electronic device described in the foregoing embodiments.
  • the readable storage medium includes a computer-readable storage medium, such as a computer read-only memory (Read-Only 9e9ory, RO9), a random access memory (Rando9 Access 9e9ory, RA9), a magnetic disk or an optical disk, etc.
  • An embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used for running a program or an instruction to implement the foregoing application program control method embodiments and can achieve the same technical effect, in order to avoid repetition, it will not be repeated here.
  • the chip mentioned in the embodiments of the present application may also be referred to as a system-on-chip, a system-on-chip, a system-on-a-chip, or a system-on-a-chip, or the like.
  • the method of the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation.
  • the technical solution of the present application can be embodied in the form of a software product in essence or the part that contributes to the prior art, and the computer software product is stored in a storage medium (such as RO9/RA9, disk, CD-ROM), including several instructions to make a terminal (which may be a mobile phone, a computer, a server, or a network device, etc.) execute the methods described in the various embodiments of this application.
  • a storage medium such as RO9/RA9, disk, CD-ROM

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Studio Devices (AREA)

Abstract

一种应用程序控制方法、装置、电子设备及可读存储介质,所述方法包括:获取第一图像的场景信息,所述第一图像包括电子设备中存储的图片或所述电子设备的相机预览界面的预览图像(101);启动与所述场景信息对应的目标应用程序(102)。

Description

应用程序控制方法、装置、电子设备及可读存储介质
相关申请的交叉引用
本申请主张在2020年08月31日在中国提交的中国专利申请号202010901690.3的优先权,其全部内容通过引用包含于此。
技术领域
本申请属于移动通信领域,具体涉及一种应用程序控制方法、装置、电子设备及可读存储介质。
背景技术
随着移动通信技术的迅速发展,以智能手机为首的电子设备已成为人们生活中各方面不可或缺的工具。电子设备的各种应用程序(Application,APP)的功能也逐渐完善,不再只是单纯地起到通信作用,较多的是为用户提供各种智能化服务,给用户工作、生活带来了极大的便利。
就拍照功能以及修图功能来说,各种越来越多的消费者使用手机等移动终端取代相机拍摄照片或视频,并进行修图操作;并且由于移动终端的便捷性,移动终端占据较大的市场份额。因此,拍照功能以及修图功能作为移动终端的必备功能,成为用户衡量和选购移动终端的重要标准。
然而,随着提供拍照功能、修图功能的应用程序数量逐渐增多,每个功能的应用程序用户通常会在电子设备上安装多个,这样,在使用这类应用程序进行拍摄或修图时,用户常常需要在多个应用程序之间切换,操作繁琐。。
发明内容
本申请实施例的目的是提供一种应用程序控制方法、装置、电子设备及可读存储介质,能够解决现有技术中,在使用应用程序进行修图或拍摄时,在多个应用程序之间切换操作繁琐的问题。
为了解决上述技术问题,本申请是这样实现的:
第一方面,本申请实施例提供了一种应用程序控制方法,所述方法包括:
获取第一图像的场景信息,所述第一图像包括电子设备中存储的图片或所述电子设备的相机预览界面的预览图像;
启动与所述场景信息对应的目标应用程序。
第二方面,本申请实施例还提供了一种应用程序控制装置,所述应用程序控制装置包括:
信息获取模块,用于获取第一图像的场景信息,所述第一图像包括电子设备中存储的图片或所述电子设备的相机预览界面的预览图像;
应用启动模块,用于启动与所述场景信息对应的目标应用程序。
第三方面,本申请实施例还提供了一种电子设备,该电子设备包括存储器、处理 器及存储在存储器上并可在处理器上运行的程序或指令,所述处理器执行所述程序或指令时实现如上所述的应用程序控制方法中的步骤。
第四方面,本申请实施例还提供了一种可读存储介质,该可读存储介质上存储有程序或指令,所述程序或指令被处理器执行时实现如上所述的应用程序控制方法中的步骤。
第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法。
在本申请实施例中,获取第一图像的场景信息;启动与所述场景信息对应的目标应用程序,避免用户手动切换至目标应用程序,节省用户的操作步骤,提升使用电子设备的便捷程度;且基于场景信息匹配目标应用程序,使用目标应用程序执行拍摄操作或修图操作,优化拍摄操作或修图操作的效果。
附图说明
为了更清楚地说明本申请实施例的技术方案,下面将对本申请实施例的描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1表示本申请实施例提供的应用程序控制方法的流程图;
图2表示本申请实施例提供的第一示例的示意图之一;
图3表示本申请实施例提供的第一示例的示意图之二;
图4表示本申请实施例提供的第二示例的示意图之一;
图5表示本申请实施例提供的第二示例的示意图之二;
图6表示本申请实施例提供的第三示例的流程图;
图7表示本申请实施例提供的第三示例的示意图;
图8表示本申请的实施例提供的应用程序控制装置的框图;
图9表示本申请的实施例提供的电子设备的框图之一;
图10表示本申请的实施例提供的电子设备的框图之二。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
应理解,说明书通篇中提到的“一个实施例”或“一实施例”意味着与实施例有关的特定特征、结构或特性包括在本申请的至少一个实施例中。因此,在整个说明书各处出现的“在一个实施例中”或“在一实施例中”未必一定指相同的实施例。此外,这些特定的特征、结构或特性可以任意适合的方式结合在一个或多个实施例中。在本申请的各种实施例中,应理 解,下述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的应用程序控制方法进行详细地说明。
参见图1,本申请一实施例提供了一种应用程序控制方法,可选地,所述方法可应用于电子设备,所述电子设备包括各种手持设备、车载设备、可穿戴设备、计算设备或连接到无线调制解调器的其它处理设备,以及各种形式的移动台(Mobile Station,MS),终端设备(Terminal Device)等等。
所述方法包括:
步骤101,获取第一图像的场景信息,所述第一图像包括电子设备中存储的图片或所述电子设备的相机预览界面的预览图像。
其中,场景信息例如人物场景、景物场景、美食场景、静物场景、宠物场景等信息;获取第一图像的场景信息时,可以是根据预设的场景识别器识别的,还可以是获取自第一图像的图像信息中的;比如,在电子设备显示第一图像的情况下,首先从图像信息中查找是否有场景信息的相关标识;若有,则以该标识对应的场景信息作为第一图像的场景信息;若没有,则启动场景识别器识别其中的场景信息。
第一图像可以是电子设备中存储的图片,比如相册中存储的图片,第一图像还可以是电子设备的相机预览界面的图像。
步骤102,启动与所述场景信息对应的目标应用程序。
目标应用程序可以是拍摄类应用程序或修图类应用程序;目标应用程序可以是电子设备的***应用程序或者第三方应用程序,***应用程序例如电子设备的***相机。
目标应用程序为与所述场景信息对应的预先设定的应用程序,比如电子设备默认为每个场景信息预先配置一默认的目标应用程序,或用户根据场景信息自行设定目标应用程序;对于拍摄操作或修图操作而言,对于不同场景,可能不同的目标应用程序具有不同的处理效果,因此,为不同的场景信息配置不同的目标应用程序,以提升拍摄效果或修图效果,满足用户的不同使用需求。比如,在拍摄美食场景时,应用程序A所使用的滤镜等其他参数,在处理美食场景的效果更好;因此,在识别场景信息为美食场景之后,启动应用程序A,电子设备以应用程序A作为美食场景的默认目标应用程序。或者,用户在使用应用程序A对美食场景进行拍摄或修图处理之后,用户觉得效果较好,则用户可以自行设定应用程序A作为美食场景的目标应用程序。
而对于其他场景,比如景物场景,应用程序B的处理效果更优于应用程序A,因此,电子设备可设定应用程序B作为景物场景的目标应用程序,以提升拍摄效果或修图效果。
后续在识别到场景信息时,直接启动与场景信息对应的目标应用程序,避免用户在拍摄时或修图时需要手动切换至目标应用程序。
作为第一示例,参见图2,图2所示界面为电子设备的设置界面,用户可在此设置界面选择场景识别功能是否开启,例如选择“AI场景识别”对应的功能按键201,还可进一步选择是否显示场景标签,可触发场景标签按键202,场景便签即场景信息。参见图3,以拍摄功能为例,用户在拍摄的设置菜单中,选择每个场景信息对应的目标应用程序;图3中所示场景信息包括:人物、动物、花朵、树木以及天空;当用户选择人物对应的目标应用程序时,触控APP选择301按键时,弹出下拉菜单包括:***相机302、A相机303以及B相机304,用户可自行选择人物场景中的目标应用程序,若用户选择的目标应用程序为A相机303,后续在执行拍摄操作时,若识别当前场景信息为人物,则电子设备启动A相机303进行拍摄,避免用户手动切换至应用A。
本申请实施例中,获取第一图像的场景信息;启动与所述场景信息对应的目标应用程序,避免用户手动切换至目标应用程序,节省用户的操作步骤,提升使用电子设备的便捷程度;且基于场景信息匹配目标应用程序,使用目标应用程序执行拍摄操作或修图操作,优化拍摄操作或修图操作的效果。本申请实施例解决了现有技术中,在使用应用程序进行修图或拍摄时,在多个应用程序之间切换操作繁琐的问题。
在一个可选实施例中,所述获取第一图像的场景信息,包括以下至少一项:
通过预设的场景识别器识别所第一图像的场景信息;
获取第一图像的属性信息中携带的场景信息。
其中,场景识别器为预先经过训练得到的,场景识别器执行预设的场景识别算法或识别模型;在训练识别算法或识别模型的过程中,可采用深度学习、机器学习的形式,通过训练识别算法或识别模型得到满足精确度需求的场景识别器;在训练的过程中,具体可采用随机森林算法或支持向量机算法等,实现向所述场景识别器中输入图像,场景识别器自动提取所述图像中的特征,识别得到所述图像的场景信息,场景信息例如人物场景、景物场景、美食场景等,场景信息可由用户在训练场景识别器时自定义。
此外,获取第一图像的场景信息的过程中,还可以是获取自第一图像的图像信息中的场景信息;比如,首先从图像信息中查找是否有场景信息的相关标识;若有,则以该标识对应的场景信息作为第一图像的场景信息;若没有,则启动场景识别器识别其中的场景信息。
通过场景识别器识别场景信息,可提升场景信息识别的准确率;获取第一图像的图像信息中携带的场景信息,可提升场景信息识别的效率,提升拍摄操作或修图操作的操作效率。
在一个可选实施例中,所述启动与所述场景信息对应的目标应用程序之前,所述方法包括:
获取与所述场景信息对应的至少一个第一候选应用程序;
按照预设参数,确定所述至少一个第一候选应用程序中的目标应用程序;
其中,所述预设参数包括以下至少一项:第一频率、第一预设优先级;所述第一频率为所述第一候选应用程序被选中为目标应用程序的频率。
若第一候选应用程序存在至少两个,则可根据第一频率以及第一预设优先级中的至少一个,确定第一候选应用程序中的目标应用程序;根据第一候选应用程序被选中为目标应用程序的频率选择目标应用程序,贴合用户的使用习惯;根据第一预设优先级选择目标应用程序,第一预设优先级可以是电子设备预设的,或用户预设的,满足用户预先设定的应用程序选择优先级或电子设备预先设定的选择优先级
在一个可选实施例中,所述目标应用程序包括:所述电子设备的***应用程序,所述电子设备中安装的第三方应用程序,以及所述电子设备中未安装的快应用中的至少一种;第三方应用程序例如第一示例以及第二实施例中的相机A以及相机B;快应用是一种无需安装的应用程序,用户可直接点击快应用即可实现快应用的使用;通过提供多种类型的目标应用程序,为用户提供丰富的效果预览图像。
在一个可选实施例中,所述启动与所述场景信息对应的目标应用程序的步骤,包括:
所述启动与所述场景信息对应的目标应用程序之前,所述方法包括:
显示所述场景信息对应的N个第二候选应用程序的N个第一标识;
在接收到用户对所述N个第一标识中的第二标识的第一输入的情况下,将所述第一标识对应的应用程序确定为目标应用程序;
在第一预设时间段内未接收到用户对所述N个第一标识的任一个第一标识的输入的情况下,将第二频率最高的所述第二候选应用程序以及第二预设优先级最高的所述第二候选应用程序中的至少一种,确定为目标应用程序;
其中,所述第二频率为所述第二候选应用程序被选中为目标应用程序的频率。
当第二候选应用程序具有至少两个时,比如用户预先设定了与该场景信息对应的多个应用程序;或者在识别场景信息时,识别得到至少两个场景信息,而识别得到的场景信息对应的应用程序不同。
此时显示N个第二候选应用程序的第一标识,并从第二候选应用程序中确定目标应用程序;确定过程中可由用户选择,比如在第一预设时间段内若接收到用户选择目标应用程序的第一输入,则将第一输入对应的应用程序确定为目标应用程序,以满足用户的使用需求;
在第一预设时间段内若未接收到用户选择目标应用程序的第一输入,则由电子设备确定,比如电子设备统计每个第二候选应用程序的第二频率,选择第二频率较高的候选应用程序作为目标应用程序,或选择第二预设优先级较高的第二候选应用程序作为目标应用程序,以减少用户的操作,快速选择目标应用程序。
在一个可选实施例中,所述方法包括:显示效果预览图像;
其中,所述效果预览图像为按照目标拍摄参数,通过所述第二候选应用程序,拍摄所述相机预览界面的画面得到的图像,所述目标拍摄参数为与所述场景信息关联的拍摄参数;
或者,所述效果预览图像为按照目标图像处理方式,通过所述第二候选应用程序,对 所述电子设备中存储的图像进行图像处理得到的图像,目标图像处理方式为与所述场景信息关联的图像处理方式。
显示效果预览图像,效果预览图像为通过所述第二候选应用程序,按照目标拍摄参数,拍摄所述相机预览界面的画面得到的图像。所述目标拍摄参数为与所述场景信息关联的拍摄参数,拍摄参数例如所使用的滤镜、光圈等参数。当具有至少两个候选应用程序时,在拍摄预览界面显示效果预览图像,以便于用户根据效果预览图像选择目标应用程序;作为第二示例,参见图4,与当前场景信息相匹配的具有三个候选应用程序,分别为应用A(A相机302对应的应用程序)、应用B(B相机303对应的应用程序)以及***相机304,此时显示每个候选应用程序的标识以及各自对应的效果预览图像,用户可根据效果预览图像选择目标应用程序。参见图5,图5为在目标应用程序为应用A时拍摄所得图像501。
所述效果预览图像为按照目标图像处理方式,通过所述第二候选应用程序,对所述电子设备中存储的图像进行图像处理得到的图像,图像处理例如修图操作,裁剪操作等;目标图像处理方式为与所述场景信息关联的图像处理方式。比如,与人物场景信息关联的图像处理方式为“美颜”,则在对所述电子设备中存储的图像进行“美颜”处理得到效果预览图像。
在一个可选实施例中,在所述第一图像包括所述预览图像的情况下,所述目标应用程序为第一应用程序;
所述启动与所述场景信息对应的目标应用程序的步骤之后,所述方法包括:
接收第二输入,所述第二输入用于控制拍摄图像;第二输入可以是触控输入、手写输入或语音输入等形式;
响应于所述第二输入,控制所述第一应用程序拍摄第二图像;控制与场景信息对应的第一应用程序执行拍摄操作;
启动与所述场景信息对应的第二应用程序,所述第二应用程序为图像处理应用程序;即在拍摄完成之后,启动与场景信息对应的图像处理应用程序,继续对第二图像进行图片处理,避免用户手动选择图片处理应用程序,操作繁琐。
在一个可选实施例中,在所述第一图像包括电子设备中存储的图片的情况下,
获取与所述第一图像的场景信息相同的至少一张第三图像,对所述至少一张第三图像执行目标处理操作;
其中,所述目标处理操作为与所述目标应用程序对所述第一图像的图像处理方式的相似度大于预设阈值的图像处理操作。
第三图像为存储于电子设备中或电子设备的服务器、网盘等存储区域的图像,且与第一图像的场景信息相同;此时,可对于每个所述第三图像,进行与第一图像相似度大于预设阈值的图像处理操作,处理操作即图片处理操作,例如添加滤镜、背景虚化等操作,实现对第三图像自动进行处理操作。其中,目标处理操作与所述目标应用程序对所述第一图像的图像处理方式的相似度大于预设阈值,即二者的处理操作的具体操作参数的相似度大于预设阈值,比如,处理操作均为磨皮操作时,磨皮的百分比参数的相似度大于预设阈值。
作为第三示例,参见图6以及图7,图7示出了本申请实施例提供的应用程序控制方法的具体示例,包括以下步骤:
步骤601,通过语音输入,设定场景信息与应用程序之间的映射关系。
以拍摄功能为例,设定不同场景与不同第三方相机app或***相机之间的映射关系;例如,参见图3,用户在拍摄的设置菜单中,选择每个场景信息对应的目标应用程序。
在电子设备的日常使用中,任何时候都可以通过语音唤醒,来进行不同场景与应用程序的映射关系的设定。参见图7,用户(B图标602)唤醒电子设备的语音输入功能模块(A图标601);比如语音输入功能模块首先询问用户:“你好,请问有什么可以帮到你”;用户输入5秒的语音,电子设备识别语音输入内容为:“我希望以后在此场景打开X相机”;则电子设备执行该场景与X相机的映射关系绑定,并回复用户“好的,已帮您将此场景(人物类)与X相机绑定,并即将跳转至X相机”。
在打开任一相机(包括***相机与三方相机)时,电子设备通过拍摄预览界面的预览图像识别出当前场景信息类型。
步骤602,相机打开,电子设备识别场景信息并跳到对应的目标应用程序。
若当前场景信息类型的标签中存在匹配的第三方相机,则有以下三种情况:
情况一,如果匹配的第三方相机只有一个,则直接跳转到第三方相机。
情况二,如果匹配的第三方相机存在多个,则弹出选择框并以缩略图形式展示不同三方相机app对于当前场景的拍照效果,让用户可以根据缩略图的效果自行选择对应三方相机,如图4所示。
情况三,如果当前场景信息类型的标签中不存在匹配的三方相机,则默认选择***相机。
步骤603,启动目标应用程序。
基于场景检测智能选择三方相机app的功能,可以通过语音输入智能开启或关闭。
本申请实施例中,获取第一图像的场景信息;启动与所述场景信息对应的目标应用程序,避免用户手动切换至目标应用程序,节省用户的操作步骤,提升使用电子设备的便捷程度;且基于场景信息匹配目标应用程序,使用目标应用程序执行拍摄操作或修图操作,优化拍摄操作或修图操作的效果。
以上介绍了本申请实施例提供的应用程序控制方法,下面将结合附图介绍本申请实施例提供的应用程序控制装置。
需要说明的是,本申请实施例提供的应用程序控制方法,执行主体可以为应用程序控制装置,或者该应用程序控制装置中的用于执行应用程序控制方法的控制模块。本申请实施例中以应用程序控制装置执行应用程序控制方法为例,说明本申请实施例提供的应用程序控制方法。
参见图8,本申请实施例还提供了一种应用程序控制装置800,包括:
信息获取模块801,用于获取第一图像的场景信息,所述第一图像包括电子设备中存 储的图片或所述电子设备的相机预览界面的预览图像。
其中,场景信息例如人物场景、景物场景、美食场景、静物场景、宠物场景等信息;获取第一图像的场景信息时,可以是根据预设的场景识别器识别的,还可以是获取自第一图像的图像信息中的;比如,在电子设备显示第一图像的情况下,首先从图像信息中查找是否有场景信息的相关标识;若有,则以该标识对应的场景信息作为第一图像的场景信息;若没有,则启动场景识别器识别其中的场景信息。
第一图像可以是电子设备中存储的图片,比如相册中存储的图片,第一图像还可以是电子设备的相机预览界面的图像。
应用启动模块802,用于启动与所述场景信息对应的目标应用程序。
目标应用程序可以是拍摄类应用程序或修图类应用程序;目标应用程序可以是电子设备的***应用程序或者第三方应用程序,***应用程序例如电子设备的***相机。
目标应用程序为与所述场景信息对应的预先设定的应用程序,比如电子设备默认为每个场景信息预先配置一默认的目标应用程序,或用户根据场景信息自行设定目标应用程序;对于拍摄操作或修图操作而言,对于不同场景,可能不同的目标应用程序具有不同的处理效果,因此,为不同的场景信息配置不同的目标应用程序,以提升拍摄效果或修图效果,满足用户的不同使用需求。比如,在拍摄美食场景时,应用程序A所使用的滤镜等其他参数,在处理美食场景的效果更好;因此,在识别场景信息为美食场景之后,启动应用程序A,电子设备以应用程序A作为美食场景的默认目标应用程序。或者,用户在使用应用程序A对美食场景进行拍摄或修图处理之后,用户觉得效果较好,则用户可以自行设定应用程序A作为美食场景的目标应用程序。
而对于其他场景,比如景物场景,应用程序B的处理效果更优于应用程序A,因此,电子设备可设定应用程序B作为景物场景的目标应用程序,以提升拍摄效果或修图效果。
后续在识别到场景信息时,直接启动与场景信息对应的目标应用程序,避免用户在拍摄时或修图时需要手动切换至目标应用程序。
作为第一示例,参见图2,图2所示界面为电子设备的设置界面,用户可在此设置界面选择场景识别功能是否开启,例如选择“AI场景识别”对应的功能按键,还可进一步选择是否显示场景标签,场景便签即场景信息。参见图3,以拍摄功能为例,用户在拍摄的设置菜单中,选择每个场景信息对应的目标应用程序;图3中所示场景信息包括:人物、动物、花朵、树木以及天空;当用户选择人物对应的目标应用程序时,弹出下拉菜单包括:***相机、相机A以及相机B,用户可自行选择人物场景中的目标应用程序,若用户选择的目标应用程序为应用A,后续在执行拍摄操作时,若识别当前场景信息为人物,则电子设备启动应用A进行拍摄,避免用户手动切换至应用A。
在一个可选实施例中,所述信息获取模块801包括以下第一获取子模块以及第二获取子模块中至少一项:
所述第一获取子模块,用于通过预设的场景识别器识别所第一图像的场景信息;
所述第二获取子模块,用于获取第一图像的属性信息中携带的场景信息。
在一个可选实施例中,所述装置还包括:
程序获取模块,用于获取与所述场景信息对应的至少一个第一候选应用程序;
第一程序确定模块,用于按照预设参数,确定所述至少一个第一候选应用程序中的目标应用程序;
其中,所述预设参数包括以下至少一项:第一频率、第一预设优先级;所述第一频率为所述第一候选应用程序被选中为目标应用程序的频率。
在一个可选实施例中,所述装置包括:
标识显示模块,用于显示所述场景信息对应的N个第二候选应用程序的N个第一标识;
第二程序确定模块,用于在接收到用户对所述N个第一标识中的第二标识的第一输入的情况下,将所述第二标识对应的应用程序确定为目标应用程序;
在第一预设时间段内未接收到用户对所述N个第一标识的任一个第一标识的输入的情况下,将第二频率最高的所述第二候选应用程序以及第二预设优先级最高的所述第二候选应用程序中的至少一种,确定为目标应用程序
其中,所述第二频率为所述第二候选应用程序被选中为目标应用程序的频率。
在一个可选实施例中,所述装置包括:
效果显示模块,用于显示效果预览图像;
其中,所述效果预览图像为按照目标拍摄参数,通过所述第二候选应用程序,拍摄所述相机预览界面的画面得到的图像,所述目标拍摄参数为与所述场景信息关联的拍摄参数;
或者,所述效果预览图像为按照目标图像处理方式,通过所述第二候选应用程序,对所述电子设备中存储的图像进行图像处理得到的图像,目标图像处理方式为与所述场景信息关联的图像处理方式。
在一个可选实施例中,在所述第一图像包括所述预览图像的情况下,所述目标应用程序为第一应用程序;
所述装置包括:
接收模块,用于接收第二输入,所述第二输入用于控制拍摄图像;
控制模块,用于响应于所述第二输入,控制所述第一应用程序拍摄第二图像;
程序启动模块,用于启动与所述场景信息对应的第二应用程序,所述第二应用程序为图像处理应用程序。
在一个可选实施例中,所述装置包括:
处理模块,用于获取与所述第一图像的场景信息相同的至少一张第三图像,对所述至少一张第三图像执行目标处理操作;
其中,所述目标处理操作为与所述目标应用程序对所述第一图像的图像处理方式的相似度大于预设阈值的图像处理操作。
本申请的实施例中,在电子设备显示第一图像的情况下,信息获取模块801获取第一 图像的场景信息;应用启动模块802启动与所述场景信息对应的目标应用程序,避免用户手动切换至目标应用程序,节省用户的操作步骤,提升使用电子设备的便捷程度;且基于场景信息匹配目标应用程序,使用目标应用程序执行拍摄操作或修图操作,优化拍摄操作或修图操作的效果
本申请实施例中的应用程序控制装置可以是装置,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。
本申请实施例中的应用程序控制装置可以为具有操作***的装置。该操作***可以为安卓(Android)操作***,可以为iOS操作***,还可以为其他可能的操作***,本申请实施例不作具体限定。
本申请实施例提供的应用程序控制装置能够实现图1至图7的方法实施例中应用程序控制装置实现的各个过程,为避免重复,这里不再赘述。
可选的,如图9所示,本申请实施例还提供一种电子设备900,包括处理器901,存储器902,存储在存储器902上并可在所述处理器901上运行的程序或指令,该程序或指令被处理器901执行时实现上述应用程序控制方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
需要注意的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。
图10为实现本申请各个实施例的一种电子设备1000的硬件结构示意图;
该电子设备1000包括但不限于:射频单元1001、网络模块1002、音频输出单元1003、输入单元1004、传感器1005、显示单元1006、用户输入单元1007、接口单元1008、存储器1009、以及处理器1010等部件。本领域技术人员可以理解,电子设备1000还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理***与处理器1010逻辑相连,从而通过电源管理***实现管理充电、放电、以及功耗管理等功能。图10中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。
其中,处理器1010,用于获取第一图像的场景信息,所述第一图像包括电子设备中存储的图片或所述电子设备的相机预览界面的预览图像;
启动与所述场景信息对应的目标应用程序。
可选地,处理器1010,用于通过预设的场景识别器识别所第一图像的场景信息;
获取第一图像的属性信息中携带的场景信息。
可选地,处理器1010,用于获取与所述场景信息对应的至少一个第一候选应用程序;
按照预设参数,确定所述至少一个第一候选应用程序中的目标应用程序;
其中,所述预设参数包括以下至少一项:第一频率、第一预设优先级;所述第一频率为所述第一候选应用程序被选中为目标应用程序的频率。
可选地,显示单元1006用于显示所述场景信息对应的N个第二候选应用程序的N个第一标识;
处理器1010,用于在接收到用户对所述N个第一标识中的第二标识的第一输入的情况下,将所述第二标识对应的应用程序确定为目标应用程序;
在第一预设时间段内未接收到用户对所述N个第一标识的任一个第一标识的输入的情况下,将第二频率最高的所述第二候选应用程序以及第二预设优先级最高的所述第二候选应用程序中的至少一种,确定为目标应用程序
其中,所述第二频率为所述第二候选应用程序被选中为目标应用程序的频率。
可选地,显示单元1006用于显示效果预览图像;
其中,所述效果预览图像为按照目标拍摄参数,通过所述第二候选应用程序,拍摄所述相机预览界面的画面得到的图像,所述目标拍摄参数为与所述场景信息关联的拍摄参数;
或者,所述效果预览图像为按照目标图像处理方式,通过所述第二候选应用程序,对所述电子设备中存储的图像进行图像处理得到的图像,目标图像处理方式为与所述场景信息关联的图像处理方式。
可选地,在所述第一图像包括所述预览图像的情况下,所述目标应用程序为第一应用程序;
处理器1010,用于接收第二输入,所述第二输入用于控制拍摄图像;
响应于所述第二输入,控制所述第一应用程序拍摄第二图像;
启动与所述场景信息对应的第二应用程序,所述第二应用程序为图像处理应用程序。
可选地,在所述第一图像包括电子设备中存储的图片的情况下,
处理器1010,用于获取与所述第一图像的场景信息相同的至少一张第三图像,对所述至少一张第三图像执行目标处理操作;
其中,所述目标处理操作为与所述目标应用程序对所述第一图像的图像处理方式的相似度大于预设阈值的图像处理操作。
本申请的实施例中,获取第一图像的场景信息;启动与所述场景信息对应的目标应用程序,避免用户手动切换至目标应用程序,节省用户的操作步骤,提升使用电子设备的便捷程度;且基于场景信息匹配目标应用程序,使用目标应用程序执行拍摄操作或修图操作,优化拍摄操作或修图操作的效果。
本申请实施例还提供一种可读存储介质,可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述应用程序控制方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质, 包括计算机可读存储介质,如计算机只读存储器(Read-Only 9e9ory,RO9)、随机存取存储器(Rando9 Access 9e9ory,RA9)、磁碟或者光盘等。
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述应用程序控制方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
应理解,本申请实施例提到的芯片还可以称为***级芯片、***芯片、芯片***或片上***芯片等。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如RO9/RA9、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。

Claims (12)

  1. 一种应用程序控制方法,所述方法包括:
    获取第一图像的场景信息,所述第一图像包括电子设备中存储的图片或所述电子设备的相机预览界面的预览图像;
    启动与所述场景信息对应的目标应用程序。
  2. 根据权利要求1所述的应用程序控制方法,其中,所述获取第一图像的场景信息,包括以下至少一项:
    通过预设的场景识别器识别所第一图像的场景信息;
    获取第一图像的属性信息中携带的场景信息。
  3. 根据权利要求1所述的应用程序控制方法,其中,所述启动与所述场景信息对应的目标应用程序之前,所述方法包括:
    获取与所述场景信息对应的至少一个第一候选应用程序;
    按照预设参数,确定所述至少一个第一候选应用程序中的目标应用程序;
    其中,所述预设参数包括以下至少一项:第一频率、第一预设优先级;所述第一频率为所述第一候选应用程序被选中为目标应用程序的频率。
  4. 根据权利要求1所述的应用程序控制方法,其中,所述启动与所述场景信息对应的目标应用程序之前,所述方法包括:
    显示所述场景信息对应的N个第二候选应用程序的N个第一标识;
    在接收到用户对所述N个第一标识中的第二标识的第一输入的情况下,将所述第二标识对应的应用程序确定为目标应用程序;
    在第一预设时间段内未接收到用户对所述N个第一标识的任一个第一标识的输入的情况下,将第二频率最高的所述第二候选应用程序以及第二预设优先级最高的所述第二候选应用程序中的至少一种,确定为目标应用程序
    其中,所述第二频率为所述第二候选应用程序被选中为目标应用程序的频率。
  5. 根据权利要求4所述的应用程序控制方法,其中,所述方法还包括:
    显示效果预览图像;
    其中,所述效果预览图像为按照目标拍摄参数,通过所述第二候选应用程序,拍摄所述相机预览界面的画面得到的图像,所述目标拍摄参数为与所述场景信息关联的拍摄参数;
    或者,所述效果预览图像为按照目标图像处理方式,通过所述第二候选应用程序,对所述电子设备中存储的图像进行图像处理得到的图像,目标图像处理方式为与所述场景信息关联的图像处理方式。
  6. 根据权利要求1所述的应用程序控制方法,其中,在所述第一图像包括所述预览图像的情况下,所述目标应用程序为第一应用程序;
    所述启动与所述场景信息对应的目标应用程序之后,所述方法包括:
    接收第二输入,所述第二输入用于控制拍摄图像;
    响应于所述第二输入,控制所述第一应用程序拍摄第二图像;
    启动与所述场景信息对应的第二应用程序,所述第二应用程序为图像处理应用程序。
  7. 根据权利要求1所述的应用程序控制方法,其中,在所述第一图像包括电子设备中存储的图片的情况下,所述启动与所述场景信息对应的目标应用程序之后,所述方法包括:
    获取与所述第一图像的场景信息相同的至少一张第三图像,对所述至少一张第三图像执行目标处理操作;
    其中,所述目标处理操作为与所述目标应用程序对所述第一图像的图像处理方式的相似度大于预设阈值的图像处理操作。
  8. 一种应用程序控制装置,包括:
    信息获取模块,用于获取第一图像的场景信息;所述第一图像包括电子设备中存储的图片或所述电子设备的相机预览界面的预览图像;
    应用启动模块,用于启动与所述场景信息对应的目标应用程序。
  9. 一种电子设备,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1至7中任一项所述的应用程序控制方法的步骤。
  10. 一种应用程序控制装置,被配置成用于执行如权利要求1-7中任一项所述的应用程序控制方法的步骤。
  11. 一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1至7中任一项所述的应用程序控制方法的步骤。
  12. 一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求1至7中任一项所述的应用程序控制方法的步骤。
PCT/CN2021/114394 2020-08-31 2021-08-24 应用程序控制方法、装置、电子设备及可读存储介质 WO2022042573A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010901690.3A CN112035042A (zh) 2020-08-31 2020-08-31 应用程序控制方法、装置、电子设备及可读存储介质
CN202010901690.3 2020-08-31

Publications (1)

Publication Number Publication Date
WO2022042573A1 true WO2022042573A1 (zh) 2022-03-03

Family

ID=73587263

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/114394 WO2022042573A1 (zh) 2020-08-31 2021-08-24 应用程序控制方法、装置、电子设备及可读存储介质

Country Status (2)

Country Link
CN (1) CN112035042A (zh)
WO (1) WO2022042573A1 (zh)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112035042A (zh) * 2020-08-31 2020-12-04 维沃移动通信有限公司 应用程序控制方法、装置、电子设备及可读存储介质
CN113329121B (zh) * 2021-05-28 2022-11-08 维沃软件技术有限公司 操作执行方法、操作执行装置、电子设备和可读存储介质
CN113360038A (zh) * 2021-05-31 2021-09-07 维沃移动通信(杭州)有限公司 应用功能查找方法、装置及电子设备
CN113542599A (zh) * 2021-07-05 2021-10-22 维沃移动通信(杭州)有限公司 图像拍摄方法及装置
CN114791704A (zh) * 2022-04-27 2022-07-26 北京京东方技术开发有限公司 设备控制方法、设备控制装置、电子设备、程序及介质
CN115297272B (zh) * 2022-08-01 2024-03-15 北京字跳网络技术有限公司 一种视频处理方法、装置、设备及存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107404577A (zh) * 2017-07-20 2017-11-28 维沃移动通信有限公司 一种图像处理方法、移动终端及计算机可读存储介质
CN108897786A (zh) * 2018-06-08 2018-11-27 Oppo广东移动通信有限公司 应用程序的推荐方法、装置、存储介质及移动终端
CN109886138A (zh) * 2019-01-27 2019-06-14 武汉星巡智能科技有限公司 基于场景识别的控制方法、装置及计算机可读存储介质
CN110659581A (zh) * 2019-08-29 2020-01-07 腾讯科技(深圳)有限公司 一种图像处理方法、装置、设备和存储介质
CN112035042A (zh) * 2020-08-31 2020-12-04 维沃移动通信有限公司 应用程序控制方法、装置、电子设备及可读存储介质

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111599157A (zh) * 2020-06-04 2020-08-28 云南电网有限责任公司电力科学研究院 一种智慧城市智能终端应用***

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107404577A (zh) * 2017-07-20 2017-11-28 维沃移动通信有限公司 一种图像处理方法、移动终端及计算机可读存储介质
CN108897786A (zh) * 2018-06-08 2018-11-27 Oppo广东移动通信有限公司 应用程序的推荐方法、装置、存储介质及移动终端
CN109886138A (zh) * 2019-01-27 2019-06-14 武汉星巡智能科技有限公司 基于场景识别的控制方法、装置及计算机可读存储介质
CN110659581A (zh) * 2019-08-29 2020-01-07 腾讯科技(深圳)有限公司 一种图像处理方法、装置、设备和存储介质
CN112035042A (zh) * 2020-08-31 2020-12-04 维沃移动通信有限公司 应用程序控制方法、装置、电子设备及可读存储介质

Also Published As

Publication number Publication date
CN112035042A (zh) 2020-12-04

Similar Documents

Publication Publication Date Title
WO2022042573A1 (zh) 应用程序控制方法、装置、电子设备及可读存储介质
CN114679537B (zh) 一种拍摄方法及终端
CN112714214B (zh) 一种内容接续方法、设备、***、gui及计算机可读存储介质
US11895399B2 (en) Photographing processing method and apparatus, terminal device, and storage medium
CN109961453B (zh) 一种图像处理方法、装置与设备
CN106210539B (zh) 一种获取全景图像的方法及终端
WO2022042776A1 (zh) 一种拍摄方法及终端
WO2018000585A1 (zh) 界面主题的推荐方法、装置、终端及服务器
WO2019120016A1 (zh) 图像处理方法、装置、存储介质及电子设备
CN109379572B (zh) 图像转换方法、装置、电子设备及存储介质
WO2022063023A1 (zh) 视频拍摄方法、视频拍摄装置及电子设备
JP2016531362A (ja) 肌色調整方法、肌色調整装置、プログラム及び記録媒体
CN111866392B (zh) 拍摄提示方法、装置、存储介质及电子设备
WO2019183775A1 (zh) 一种智能辅助控制方法和终端设备
CN113067983B (zh) 视频处理方法、装置、电子设备和存储介质
CN108093177B (zh) 图像获取方法、装置、存储介质及电子设备
CN112532885B (zh) 防抖方法、装置及电子设备
CN108111763B (zh) 图像处理方法、装置、存储介质及电子设备
CN113965694A (zh) 录像方法、电子设备及计算机可读存储介质
CN114025092A (zh) 拍摄控件显示方法、装置、电子设备及介质
CN112734661A (zh) 图像处理方法及装置
CN112887615A (zh) 拍摄的方法及装置
CN110110742B (zh) 多特征融合方法、装置、电子设备及存储介质
CN111222041A (zh) 拍摄资源数据获取方法、装置、电子设备及存储介质
WO2022063189A1 (zh) 显著性元素识别方法及装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21860408

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21860408

Country of ref document: EP

Kind code of ref document: A1