CN110519433B - Camera application control method, device, equipment and storage medium - Google Patents

Camera application control method, device, equipment and storage medium Download PDF

Info

Publication number
CN110519433B
CN110519433B CN201910936794.5A CN201910936794A CN110519433B CN 110519433 B CN110519433 B CN 110519433B CN 201910936794 A CN201910936794 A CN 201910936794A CN 110519433 B CN110519433 B CN 110519433B
Authority
CN
China
Prior art keywords
sliding
touch
area
folding
camera application
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.)
Active
Application number
CN201910936794.5A
Other languages
Chinese (zh)
Other versions
CN110519433A (en
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.)
Shanghai Wentai Information Technology Co Ltd
Original Assignee
Shanghai Wentai Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Wentai Information Technology Co Ltd filed Critical Shanghai Wentai Information Technology Co Ltd
Priority to CN201910936794.5A priority Critical patent/CN110519433B/en
Publication of CN110519433A publication Critical patent/CN110519433A/en
Application granted granted Critical
Publication of CN110519433B publication Critical patent/CN110519433B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/0206Portable telephones comprising a plurality of mechanically joined movable body parts, e.g. hinged housings
    • H04M1/0208Portable telephones comprising a plurality of mechanically joined movable body parts, e.g. hinged housings characterized by the relative motions of the body parts
    • H04M1/0214Foldable telephones, i.e. with body parts pivoting to an open position around an axis parallel to the plane they define in closed position
    • H04M1/0216Foldable in one direction, i.e. using a one degree of freedom hinge
    • H04M1/0218The hinge comprising input and/or output user interface means
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/026Details of the structure or mounting of specific components
    • H04M1/0266Details of the structure or mounting of specific components for a display module assembly
    • H04M1/0268Details of the structure or mounting of specific components for a display module assembly including a flexible display panel
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72406User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by software upgrading or downloading
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions

Abstract

The embodiment of the application discloses a control method, a device, equipment and a storage medium for camera application. The method comprises the following steps: if the folding screen is detected to be in a folding state, identifying the triggering operation acting on the preset triggering area; wherein the preset trigger area comprises an area located at a folding position of the folding screen; and controlling the camera application according to the recognition processing result of the trigger operation so as to start a photographing function or a shooting function of the camera application. By adopting the technical scheme, under the folding state of the folding screen, no matter the folding screen is in the condition of turning off or turning on the screen or displaying other running applications, the camera application can be quickly started as long as the triggering operation meeting the conditions is executed in the folding area, and the camera is opened by using the physical shortcut key or the shortcut icon control without closing the currently running application, so that the camera is more convenient to use, and the use experience of a user is improved.

Description

Camera application control method, device, equipment and storage medium
Technical Field
The embodiment of the application relates to the technical field of touch screens, in particular to a control method, a control device, control equipment and a storage medium for camera application.
Background
With the continuous development of terminal devices, the application of cameras becomes necessary, especially for users who like to take a snapshot, and the cameras are often used to quickly take a snapshot of a nice scene.
However, in an actual scene, if a user wants to use a camera to capture a picture, the user needs to click a camera application in a bright screen condition, enter a camera interface, and then switch a photographing or shooting function of the camera to capture a surrounding scene, so that complicated operations seriously affect the photographing experience of the user. Although the defect of complex operation can be overcome by setting the physical key to start the camera, the default function of the physical key cannot be used after the physical key is set, and the use experience of other functions is influenced and is not paid.
Disclosure of Invention
The embodiment of the application provides a control method, a control device, equipment and a storage medium of a camera application, so as to realize quick start control of the camera application in terminal equipment.
In a first aspect, an embodiment of the present application provides a method for controlling a camera application, including:
if the folding screen is detected to be in a folding state, identifying the triggering operation acting on the preset triggering area; wherein the preset trigger area comprises an area located at a folding position of the folding screen;
and controlling the camera application according to the recognition processing result of the trigger operation so as to start a photographing function or a shooting function of the camera application.
In a second aspect, an embodiment of the present application further provides a control device for camera application, including:
the trigger operation identification module is used for identifying the trigger operation acting on the preset trigger area if the folding screen is detected to be in the folding state; wherein the preset trigger area comprises an area located at a folding position of the folding screen;
and the camera function control module is used for controlling the camera application according to the identification processing result of the trigger operation so as to start the photographing function or the shooting function of the camera application.
In one embodiment, the trigger area is embodied as a sliding area, and the trigger operation is a touch sliding operation performed on the sliding area.
In one embodiment, the apparatus further comprises: and the folding screen detection module is used for detecting whether two folding surfaces of the folding screen are in a folding state or not when detecting that an external object starts to touch and slide on a preset sliding area before the step of identifying the triggering operation acting on the preset triggering area.
In one embodiment, the folding screen is folded at the folding position in an off-screen folding mode, and after the folding, a sliding area is formed outside the folding screen.
In one embodiment, the trigger operation identification module specifically includes: determining a plurality of sliding touch points during a period from a start of touch sliding to an end of touch sliding in a touch sliding operation of a preset sliding area; wherein the plurality of sliding touch points include at least a position point when the touch sliding is started and a position point when the touch sliding is ended.
In one embodiment, the camera function control module specifically includes: determining a touch sliding direction and a touch sliding distance of the touch sliding operation according to a plurality of sliding touch points in the touch sliding operation; if the touch sliding distance is larger than or equal to a preset sliding distance threshold value, starting a function of a camera application associated with the touch sliding direction; wherein different touch sliding directions are respectively associated with a photographing function and a photographing function of the camera application.
In a third aspect, an embodiment of the present application further provides an electronic device, including:
one or more processors;
storage means for storing one or more programs;
when the one or more programs are executed by the one or more processors, the one or more processors implement the control method of the camera application as provided in any embodiment of the present application.
In a fourth aspect, a computer-readable storage medium is also provided in embodiments of the present application, on which a computer program is stored, which when executed by a processor, implements a control method for a camera application as provided in any of the embodiments of the present application.
The embodiment of the application provides a control method and device for a camera application, an electronic device and a computer readable storage medium, under the condition that a folding screen is in a folding state, if a user performs trigger operation meeting conditions in a folding area of the folding screen, the camera can be rapidly opened according to the trigger operation meeting requirements of the user in the folding area of the folding screen, and a corresponding photographing function or a corresponding shooting function is started. By adopting the technical scheme, under the folding screen folding state, no matter the folding screen is in the condition of turning off or turning on the screen, or is in the condition of displaying and running other applications, the camera application can be quickly started as long as the triggering operation meeting the conditions is executed in the folding area, the camera is opened by using the physical shortcut key or the shortcut icon control without closing the application running at present, the use of the camera is more convenient, so that the user can be ensured to quickly start the camera application to capture a beautiful scene, and the use experience of the user is improved.
The foregoing description is only an overview of the technical solutions of the present application, and the present application can be implemented in accordance with the content of the description so as to make the technical means of the present application more clearly understood, and the detailed description of the present application will be given below in order to make the above and other objects, features, and advantages of the present application more clearly understandable.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the application. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a flowchart of a control method of a camera application provided in an embodiment of the present application;
FIG. 2 is a schematic view of a folded screen provided in an embodiment of the present application;
fig. 3 is a flowchart of another control method of a camera application provided in an embodiment of the present application;
fig. 4 is a schematic diagram of a photographing function interface activated in a folded state according to an embodiment of the present application;
fig. 5 is a schematic diagram of an interface for starting a camera function in a folded state provided in an embodiment of the present application;
fig. 6 is a block diagram of a control device for a camera application provided in an embodiment of the present application;
fig. 7 is a schematic structural diagram of an electronic device provided in an embodiment of the present application.
Detailed Description
The present application will be described in further detail with reference to the following drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the disclosure and are not limiting of the application. It should be further noted that, for the convenience of description, only some of the structures related to the present application are shown in the drawings, not all of the structures.
Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the operations (or steps) as a sequential process, many of the operations (or steps) can be performed in parallel, concurrently or simultaneously. In addition, the order of the operations may be re-arranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
Fig. 1 is a flowchart of a control method of a camera application provided in an embodiment of the present application. The embodiment of the application is suitable for the condition of quickly starting the camera function on the equipment with the folding screen. The method may be performed by a control apparatus of a camera application, which may be implemented in software and/or hardware, and which may be configured in an electronic device having a network communication function. As shown in fig. 1, the method for controlling a camera application provided in the embodiment of the present application specifically includes the following steps:
s110, if the folding screen is detected to be in a folding state, identifying the trigger operation acting on the preset trigger area; the preset trigger area includes an area located at a folding position of the folding screen.
In this embodiment, the folding screen refers to the touch display screen that allows to fold and expand, and similar all support the folding screen on electronic equipment such as computer, cell-phone, flat board, the screen size after the electronic equipment that adopts the folding screen expands is big and folding light and handy portable's advantage after, obtains the promotion on the market.
In this embodiment, fig. 2 is a schematic folding diagram of a folding screen provided in an embodiment of the present application. Referring to fig. 2, the folding screen may be composed of at least two folding surfaces, and a folding angle between the folding surfaces of the folding screen may be adjusted. When the two folding surfaces of the folding screen are folded, a folding area can be formed at the folding position and can be used as a trigger area; and when the two folding surfaces of the folding screen are unfolded, the two folding surfaces and the area at the folding position can form a complete screen. Optionally, in order to facilitate the user to perform the triggering operation in the triggering area, the foldable screen is folded at the folding position in an off-screen folding manner, and the triggering area is formed outside the foldable screen after folding, so that it is ensured that the triggering area formed after folding is outwardly displayed to the user.
In this embodiment, optionally, the trigger area is specifically a sliding area in the present application, and the triggered operation is a touch sliding operation performed on the sliding area; or the trigger area is specifically a click area, and the touch operation is a click operation performed on the click area. For the specific case that the trigger area is the sliding area, the user may perform a touch sliding operation on the sliding area, and accordingly, the trigger operation at this time may be a touch sliding operation performed on the sliding area. For the trigger area specifically being the click area, the user may perform a click operation in the click area, and accordingly, the trigger operation at this time may be a touch click operation performed in the click area. It is considered that the camera application function has two functions including a photographing function and a photographing function. If rely on click to trigger, need discern click operation's number of times to this decides which function needs to be started, needs the user to come the accurate number of times of clicking preset like this, considers touching by mistake moreover, can not be with presetting less of the number of times of clicking threshold setting, and this undoubtedly can cause the user to need to pay attention to more loaded down with trivial details when starting camera application. Therefore, the scheme of the application can preferentially adopt the sliding operation for triggering, and the whole process does not require a user to pay attention to the number of clicks and only needs to pay attention to the sliding direction during sliding.
In this embodiment, the trigger area is specifically exemplified as a sliding area, when the folding surface of the folding screen is completely unfolded, the sliding area in the folding screen can perform a conventional display, and only in the folding state, the sliding area can be used as a virtual control area for triggering the camera application, and the conventional display is not required. For this reason, when the camera application is controlled by the touch slide operation of the user in the slide area, it is necessary to first detect whether the folding screen is in the folded state. If the folding screen is detected to be in the folding state, the sliding area can be used as a virtual control area for triggering the camera application, and at the moment, the touch sliding operation acting on the preset sliding area can be identified; if the folding screen is detected to be not in the folding state, the sliding area cannot be used as a virtual control area for triggering the camera application, and at this time, the touch sliding operation acting on the preset sliding area does not need to be identified, and the touch sliding operation of the user is directly ignored.
In an optional manner of this embodiment, before the step of performing recognition processing on the trigger operation acting on the preset trigger area, the method further includes: when it is detected that an external object starts touch sliding on a preset sliding area, whether two folding surfaces of the folding screen are in a folding state or not is detected.
In this embodiment, taking the trigger area as a sliding area, and taking the trigger operation as a touch sliding operation performed on the sliding area as an example, if it is detected that the touch pressure variation value acting on the preset sliding area is greater than the preset pressure threshold value, it indicates that the external object starts touch sliding on the preset sliding area. The touch pressure change value is an external pressure change value received by the sliding area within a preset time, if the touch pressure change value is larger, the sliding area is instantly pressed by the touch of an external object, and at the moment, the external object is indicated to carry out touch sliding operation in the sliding area; otherwise, it indicates a possible false touch. Wherein, the external object may refer to a body part of the user, such as a finger; other touch devices, such as a stylus, may also be referred to.
In this embodiment, the folding screen includes a hall sensor, and the folding condition of the folding surface of the folding screen can be identified by the hall sensor, that is, the determination of the unfolding state and the folding state of the folding screen is performed according to the hall sensor. Optionally, the folding screen is provided with a hall sensor at a folding area between the folding surfaces, and when the two folding surfaces of the folding screen are folded, the magnetic induction state of the hall sensor changes from 0 to 1. At the moment, whether the folding screen is in the folding state or not can be judged by detecting the magnetic induction state of the Hall sensor.
S120, controlling the camera application according to the identification processing result of the trigger operation so as to start a photographing function or a shooting function of the camera application; .
In this embodiment, taking the trigger area as a sliding area, and taking the trigger operation as a touch sliding operation performed on the sliding area as an example, the user may perform different types of touch sliding operations on a preset sliding area formed in the folded state of the folding screen through a body part or other touch devices. Each type of touch slide operation may control a different function of the camera application. For this reason, when the user performs the touch slide operation in the slide area, if it is detected that the folding screen is in the folded state, the touch slide operation applied to the preset slide area may be subjected to recognition processing, and it is determined to which type of slide operation the touch slide operation performed by the user belongs, so as to control whether to start the photographing function of the camera application or to start the image capturing function of the camera application according to the type of touch slide operation.
The embodiment of the application provides a control method for camera application, under the condition that a folding screen is in a folding state, if a user performs touch sliding operation meeting conditions in a folding area of the folding screen, the camera can be directly opened according to the touch sliding operation of the user in the folding area of the folding screen, and a corresponding photographing function or a corresponding shooting function is started. By adopting the technical scheme, under the folding screen folding state, no matter the folding screen is in the screen-off or screen-on state, or under the condition of displaying other running applications, the camera application can be quickly started as long as the touch sliding operation meeting the conditions is executed in the folding area, the camera is opened by using the physical shortcut key or the shortcut icon control without closing the currently running application, the camera is more convenient to use, so that the user can be ensured to quickly start the camera application to take a candid photograph of a beautiful scene, and the use experience of the user is improved.
Fig. 3 is a flowchart of another control method of a camera application provided in the embodiment of the present application. The embodiments of the present application are optimized based on the embodiments described above, and the embodiments of the present application may be combined with various alternatives in one or more of the embodiments described above. As shown in fig. 3, the method for controlling a camera application provided in the embodiment of the present application specifically includes the following steps:
and S310, if the folded screen is detected to be in the folded state, determining a plurality of sliding touch points in the period from the beginning of touch sliding to the end of touch sliding in the touch sliding operation acting on the preset sliding area.
In this embodiment, no matter the folding screen is awaken up or the dormancy state, the folding screen predetermine the slip region can not power down, and the slip region of predetermineeing of folding screen keeps the circular telegram always promptly, can guarantee like this that no matter the folding screen is bright screen or goes out the screen, still is showing the interface of other applications, in case there is the touch sliding operation who is used for predetermineeing the slip region, so electronic equipment homoenergetic detects to can guarantee follow-up direct trigger and open camera application. When an external object performs touch sliding in a preset sliding area of the folding screen, the electronic device using the folding screen records a plurality of sliding touch points applied to the sliding area by a user in the process of performing touch sliding operation, and specifically, the plurality of sliding touch points during the period from the beginning of touch sliding to the end of touch sliding can be determined. Once the external object touches the sliding area with a certain touch pressure, it indicates that the touch-and-slide operation performed in the sliding area is started, and once the external object leaves the sliding area, it indicates that the touch-and-slide operation performed in the sliding area is ended.
In the present embodiment, the plurality of slide touch points include at least a position point when the touch slide is started and a position point when the touch slide is ended. Alternatively, the plurality of slide touch points during the period from the start of touch slide to the end of touch slide may include an intermediate slide track point involved in the touch slide trajectory, in addition to the position point at the start of touch slide and the position point at the end of touch slide.
And S320, determining the touch sliding direction and the touch sliding distance of the touch sliding operation according to the plurality of sliding touch points in the touch sliding operation.
In the present embodiment, when recording a plurality of sliding touch points during the period from the start of touch sliding to the end of touch sliding, the position coordinates of each sliding touch point in the sliding area are recorded at the same time. The electronic device may calculate in which direction of the sliding region the touch-sliding operation that acts on the preset sliding region is sliding, from the position point when the touch-sliding is started and the position point when the touch-sliding is ended. Specifically, the coordinate difference between the position point at the time of starting the touch sliding and the position point at the time of ending the touch sliding may be calculated according to the position coordinates of the position point at the time of starting the touch sliding and the position point at the time of ending the touch sliding in the sliding region, and the sliding direction may be determined according to the coordinate difference between the two position points.
Fig. 4 is a schematic diagram of a camera function interface started in a folded state provided in an embodiment of the present application, and fig. 5 is a schematic diagram of a camera function interface started in a folded state provided in an embodiment of the present application. Taking fig. 4 and 5 as an example, in fig. 4, the sliding direction is from bottom to top according to the position coordinates of the position point at the time of starting the touch sliding and the position point at the time of ending the touch sliding in the sliding area, and in fig. 5, the sliding manner is from top to bottom according to the position coordinates of the position point at the time of starting the touch sliding and the position point at the time of ending the touch sliding in the sliding area.
In this embodiment, after the position point at the time of starting the touch slide and the position point at the time of ending the touch slide of the slide area are obtained, the distance between the start point and the end point may be calculated from the position coordinates of the position point at the time of starting the touch slide and the position point at the time of ending the touch slide, and may be referred to as the slide distance experienced from the start of the touch slide to the end of the touch slide. The position point when the touch sliding is started and the position point when the touch sliding is ended can be represented by the distance length of each position point on the boundary of the sliding area, and in this case, the sliding distance can be represented by a length unit; the row and column information of the pixels corresponding to the position points in the sliding area can also be used for representing, and in this case, the sliding distance can be represented by the number of pixels which are passed by the touch sliding operation from the beginning to the end.
S330, if the touch sliding distance is larger than or equal to a preset sliding distance threshold value, starting a function of a camera application related to the touch sliding direction; wherein the different touch sliding directions are respectively associated with a photographing function and a photographing function of the camera application.
In the present embodiment, if the camera application is controlled only using the touch slide regardless of the distance of the touch slide, it may cause the user to frequently open the camera application due to a malfunction, thereby causing a poor user experience. For this reason, an effective sliding distance of the touch sliding needs to be set, and once the actual touch sliding distance of the user is greater than the effective sliding distance, which indicates that the user wants to open the camera application, it may be determined that the touch sliding distance satisfies a condition for opening the camera application.
In this embodiment, although the condition for opening the camera application is satisfied when the touch sliding distance is greater than or equal to the preset sliding distance threshold, the camera application has a photographing function and an image capturing function, and in order to quickly open the camera application and enter the camera function that is desired to enter, association relations between different touch sliding directions and the photographing function and the image capturing function in the camera application may be specifically preset. In this way, the camera application function matching the touch slide direction can be simultaneously entered when the camera application is opened.
Exemplarily, taking fig. 4 and fig. 5 as an example, the touch sliding direction in fig. 4 is from bottom to top, if the touch sliding direction is from bottom to top related to the photographing function of the camera application, and the touch sliding distance is greater than or equal to the preset sliding distance threshold, the photographing function interface entering the camera application is directly opened, so that the user takes a snapshot in the photographing function interface; in fig. 5, the touch sliding direction is from top to bottom, and if the touch sliding distance is greater than or equal to the preset sliding distance threshold, the camera shooting function interface entering the camera application is directly opened, so that the user can shoot a video on the camera shooting function interface.
The embodiment of the application provides a control scheme of camera application, adopt above-mentioned technical scheme, in folding screen fold condition, no matter the folding screen is in the screen of putting out or bright screen, still be in the condition of showing other applications of operation, as long as the touch sliding operation who satisfies the condition is carried out at the folding region just can start the camera application fast, need not to close the application back of current operation, reuse physics shortcut key or swift icon control piece open the camera, make the use of camera more convenient, thereby can guarantee that the user can start the camera application fast and take a candid photograph nice and beautiful scene, user's use experience has been improved.
Fig. 6 is a block diagram of a control device for a camera application provided in the embodiment of the present application. The embodiment of the application is suitable for the condition of quickly starting the camera function on the equipment with the folding screen. The apparatus may be implemented in software and/or hardware, and may be configured in an electronic device with a network communication function. As shown in fig. 6, the control device for camera application provided in the embodiment of the present application includes: a trigger operation recognition module 610 and a camera function control module. Wherein:
the trigger operation identification module 610 is configured to, if it is detected that the folding screen is in a folded state, perform identification processing on a trigger operation acting on a preset trigger area; wherein the preset trigger area comprises an area located at a folding position of the folding screen;
and a camera function control module 620, configured to control the camera application according to the recognition processing result of the trigger operation, so as to start a photographing function or a shooting function of the camera application.
On the basis of the technical solution in the foregoing embodiment, optionally, the trigger area is specifically a sliding area, and the trigger operation is a touch sliding operation performed on the sliding area.
On the basis of the technical solution in the above embodiment, optionally, the apparatus further includes:
a folded screen detection module 630, configured to detect whether two folded surfaces of the folded screen are in a folded state when it is detected that an external object starts touch sliding on a preset sliding region before the step of performing recognition processing on a trigger operation acting on a preset trigger region.
On the basis of the technical solution in the above embodiment, optionally, the folding screen is folded at the folding position in an off-screen folding manner, and a sliding area is formed outside the folding screen after folding.
On the basis of the technical solution in the foregoing embodiment, optionally, the trigger operation identifying module 610 includes:
determining a plurality of sliding touch points during a period from a start of touch sliding to an end of touch sliding in a touch sliding operation of a preset sliding area; wherein the plurality of sliding touch points include at least a position point when the touch sliding is started and a position point when the touch sliding is ended.
On the basis of the technical solution in the foregoing embodiment, optionally, the camera function control module 620 includes:
determining a touch sliding direction and a touch sliding distance of the touch sliding operation according to a plurality of sliding touch points in the touch sliding operation;
if the touch sliding distance is larger than or equal to a preset sliding distance threshold value, starting a function of a camera application associated with the touch sliding direction; wherein different touch sliding directions are respectively associated with a photographing function and a photographing function of the camera application.
The control device for camera application provided in the embodiments of the present application may execute the control method for camera application provided in any embodiments of the present application, and has corresponding functions and advantages for executing the control method for camera application.
Fig. 7 is a schematic structural diagram of an electronic device provided in an embodiment of the present application. As shown in fig. 7, the electronic device provided in the embodiment of the present application includes: one or more processors 710 and storage 720; the processor 710 in the electronic device may be one or more, and one processor 710 is taken as an example in fig. 7; storage 720 for storing one or more programs; the one or more programs are executed by the one or more processors 710, so that the one or more processors 710 implement the control method of the camera application as described in any one of the embodiments of the present application.
The electronic device may further include: an input device 730 and an output device 740.
The processor 710, the storage device 720, the input device 730, and the output device 740 in the electronic apparatus may be connected by a bus or other means, and fig. 7 illustrates an example of connection by a bus.
The storage device 720 in the electronic device serves as a computer-readable storage medium for storing one or more programs, which may be software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the control method of the camera application provided in the embodiment of the present application (for example, modules in the control device of the camera application shown in fig. 6). The processor 710 executes various functional applications and data processing of the electronic device by executing software programs, instructions and modules stored in the storage 720, that is, implements the control method of the camera application in the above method embodiment.
The storage 720 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of the electronic device, and the like. Additionally, the storage 720 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, the storage 720 may further include memory located remotely from the processor 710, which may be connected to the device over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 730 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic apparatus. The output device 740 may include a display device such as a display screen.
And, when the one or more programs included in the electronic device are executed by the one or more processors 710, the programs perform the following operations:
if the folding screen is detected to be in a folding state, identifying the triggering operation acting on the preset triggering area; wherein the preset trigger area comprises an area located at a folding position of the folding screen;
and controlling the camera application according to the recognition processing result of the trigger operation so as to start a photographing function or a shooting function of the camera application.
Of course, it can be understood by those skilled in the art that when one or more programs included in the electronic device are executed by the one or more processors 710, the programs may also perform related operations in the control method of the camera application provided in any embodiment of the present application.
One embodiment of the present application provides a computer-readable storage medium having stored thereon a computer program for executing a control method of a camera application when the program is executed by a processor, the method including:
if the folding screen is detected to be in a folding state, identifying the triggering operation acting on the preset triggering area; wherein the preset trigger area comprises an area located at a folding position of the folding screen;
and controlling the camera application according to the recognition processing result of the trigger operation so as to start a photographing function or a shooting function of the camera application.
Alternatively, the program may be configured to execute the control method of the camera application provided in any of the embodiments of the present application when executed by the processor.
The computer storage media of the embodiments of the present application may take any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a Read Only Memory (ROM), an Erasable Programmable Read Only Memory (EPROM), a flash Memory, an optical fiber, a portable CD-ROM, an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. A computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take a variety of forms, including, but not limited to: an electromagnetic signal, an optical signal, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, Radio Frequency (RF), etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present application may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
In the description herein, reference to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present application and the technical principles employed. It will be understood by those skilled in the art that the present application is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the application. Therefore, although the present application has been described in more detail with reference to the above embodiments, the present application is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present application, and the scope of the present application is determined by the scope of the appended claims.

Claims (7)

1. A method of controlling a camera application, the method comprising:
if the folding screen is detected to be in a folding state, identifying the triggering operation acting on the preset triggering area; wherein the preset trigger area comprises an area located at a folding position of the folding screen;
the identification processing of the trigger operation acting on the preset trigger area comprises the following steps:
determining a plurality of sliding touch points during a period from a start of touch sliding to an end of touch sliding in a touch sliding operation of a preset sliding area; wherein the plurality of sliding touch points include at least a position point when the touch sliding is started and a position point when the touch sliding is ended;
controlling the camera application according to the recognition processing result of the trigger operation so as to start a photographing function or a shooting function of the camera application;
controlling the camera application according to the recognition processing result of the trigger operation so as to start a photographing function or a shooting function of the camera application, wherein the method comprises the following steps:
determining a touch sliding direction and a touch sliding distance of the touch sliding operation according to a plurality of sliding touch points in the touch sliding operation;
if the touch sliding distance is larger than or equal to a preset sliding distance threshold value, starting a function of a camera application associated with the touch sliding direction; wherein different touch sliding directions are respectively associated with a photographing function and a photographing function of the camera application;
the trigger area is specifically a sliding area, and the trigger operation is a touch sliding operation performed on the sliding area.
2. The method according to claim 1, wherein before the step of identifying the trigger operation acting on the preset trigger area, the method further comprises:
when detecting that an external object starts touch sliding on a preset sliding area, detecting whether two folding surfaces of the folding screen are in a folding state.
3. The method of claim 1, wherein the folding screen is folded in an off-screen folding manner at a folded position, and after folding, a sliding region is formed on the outside of the folding screen.
4. A control device for camera applications, the device comprising:
the trigger operation identification module is used for identifying the trigger operation acting on the preset trigger area if the folding screen is detected to be in the folding state; wherein the preset trigger area comprises an area located at a folding position of the folding screen;
the trigger operation identification module comprises:
determining a plurality of sliding touch points during a period from a start of touch sliding to an end of touch sliding in a touch sliding operation of a preset sliding area; wherein the plurality of sliding touch points include at least a position point when the touch sliding is started and a position point when the touch sliding is ended;
the camera function control module is used for controlling the camera application according to the identification processing result of the trigger operation so as to start a photographing function or a shooting function of the camera application;
the camera function control module is further configured to determine a touch sliding direction and a touch sliding distance of the touch sliding operation according to a plurality of sliding touch points in the touch sliding operation;
if the touch sliding distance is larger than or equal to a preset sliding distance threshold value, starting a function of a camera application associated with the touch sliding direction; wherein different touch sliding directions are respectively associated with a photographing function and a photographing function of the camera application;
the camera function control module includes:
the trigger area is specifically a sliding area, and the trigger operation is a touch sliding operation performed on the sliding area.
5. The device according to claim 4, wherein the trigger area is a slide area, and the trigger operation is a touch slide operation performed on the slide area.
6. An electronic device, comprising:
one or more processors;
storage means for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the method of controlling a camera application of any one of claims 1-3.
7. A computer-readable storage medium on which a computer program is stored, characterized in that the program, when executed by a processor, implements the control method of a camera application of any one of claims 1 to 3.
CN201910936794.5A 2019-09-29 2019-09-29 Camera application control method, device, equipment and storage medium Active CN110519433B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910936794.5A CN110519433B (en) 2019-09-29 2019-09-29 Camera application control method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910936794.5A CN110519433B (en) 2019-09-29 2019-09-29 Camera application control method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110519433A CN110519433A (en) 2019-11-29
CN110519433B true CN110519433B (en) 2021-09-10

Family

ID=68632999

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910936794.5A Active CN110519433B (en) 2019-09-29 2019-09-29 Camera application control method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110519433B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114740952B (en) * 2022-04-02 2023-12-19 西安中诺通讯有限公司 Intelligent terminal with folding screen and control method and device thereof

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104580729A (en) * 2015-01-12 2015-04-29 成都品果科技有限公司 Method for achieving manual adjustment of focal distance in smart mobile device
CN105120052A (en) * 2015-06-25 2015-12-02 努比亚技术有限公司 Mobile terminal and information processing method
CN105843379A (en) * 2016-03-17 2016-08-10 努比亚技术有限公司 Frame inductive area conversion device and method of mobile terminal
CN106899805A (en) * 2017-02-27 2017-06-27 努比亚技术有限公司 A kind of dual camera control method, device and terminal

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9936138B2 (en) * 2015-07-29 2018-04-03 Samsung Electronics Co., Ltd. User terminal apparatus and control method thereof
CN105100627A (en) * 2015-08-27 2015-11-25 广东欧珀移动通信有限公司 Shooting control method and terminal
CN106933620A (en) * 2017-02-14 2017-07-07 珠海市魅族科技有限公司 A kind of filming control method and system
CN107566579B (en) * 2017-10-19 2020-01-24 Oppo广东移动通信有限公司 Shooting method, shooting device, shooting terminal and storage medium
CN107831981A (en) * 2017-10-24 2018-03-23 广东欧珀移动通信有限公司 Terminal control method, device, terminal and computer-readable recording medium
CN110209436A (en) * 2019-05-10 2019-09-06 珠海格力电器股份有限公司 A kind of application starting method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104580729A (en) * 2015-01-12 2015-04-29 成都品果科技有限公司 Method for achieving manual adjustment of focal distance in smart mobile device
CN105120052A (en) * 2015-06-25 2015-12-02 努比亚技术有限公司 Mobile terminal and information processing method
CN105843379A (en) * 2016-03-17 2016-08-10 努比亚技术有限公司 Frame inductive area conversion device and method of mobile terminal
CN106899805A (en) * 2017-02-27 2017-06-27 努比亚技术有限公司 A kind of dual camera control method, device and terminal

Also Published As

Publication number Publication date
CN110519433A (en) 2019-11-29

Similar Documents

Publication Publication Date Title
KR102571369B1 (en) Display control method, storage medium and electronic device for controlling the display
US11846877B2 (en) Method and terminal for acquiring panoramic image
CN109167894B (en) Camera control method and device, mobile terminal and storage medium
US9591209B2 (en) Method for photographing control and electronic device thereof
KR102649254B1 (en) Display control method, storage medium and electronic device
US20180011554A1 (en) Information processing apparatus, program, and control method
RU2663338C1 (en) Method of opening file in folder and terminal
CN112153283B (en) Shooting method and device and electronic equipment
US20130135228A1 (en) Device and method for displaying object in terminal
CN106250021B (en) Photographing control method and mobile terminal
KR102165818B1 (en) Method, apparatus and recovering medium for controlling user interface using a input image
CN105549814B (en) Photographing method based on mobile terminal and mobile terminal
US20170366743A1 (en) Method for setting image capture conditions and electronic device performing the same
US9811246B2 (en) Method for setting image capture conditions and electronic device performing the same
CN107360375B (en) Shooting method and mobile terminal
US20210084228A1 (en) Tracking shot method and device, and storage medium
US10055813B2 (en) Electronic device and operation method thereof
US9430806B2 (en) Electronic device and method of operating the same
WO2022161268A1 (en) Video photographing method and apparatus
CN110519433B (en) Camera application control method, device, equipment and storage medium
CN106896995B (en) Wallpaper configuration method and device for mobile terminal
CN114025092A (en) Shooting control display method and device, electronic equipment and medium
CN110851202A (en) Mobile terminal function page starting method and device, mobile terminal and storage medium
CN112286430B (en) Image processing method, apparatus, device and medium
CN111796733B (en) Image display method, image display device and electronic equipment

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
GR01 Patent grant
GR01 Patent grant