CN115794018A - Display method, intelligent terminal and storage medium - Google Patents
Display method, intelligent terminal and storage medium Download PDFInfo
- Publication number
- CN115794018A CN115794018A CN202211574637.2A CN202211574637A CN115794018A CN 115794018 A CN115794018 A CN 115794018A CN 202211574637 A CN202211574637 A CN 202211574637A CN 115794018 A CN115794018 A CN 115794018A
- Authority
- CN
- China
- Prior art keywords
- display area
- determining
- preset button
- shooting
- position information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
The application provides a display method, an intelligent terminal and a storage medium, wherein the display method is applied to a shooting device with a touch screen and comprises the following steps: acquiring angle information of the shooting device and/or position information of touch operation triggered by a shooting interface of the touch screen; determining or generating a target display area in the shooting interface based on the angle information and/or the position information; and displaying a preset button in the target display area. According to the technical scheme, the optimal area for the user to click the shutter can be judged in advance in the shooting interface, the optimal area is displayed in the optimal area in a separated mode, the user can shoot the shutter through clicking the preset button in the follow-up process, the operation cost of the user is reduced, the user can shoot the shutter more conveniently and quickly, and user experience is improved.
Description
Technical Field
The present application relates to the field of display, and in particular, to a display method, an intelligent terminal, and a storage medium.
Background
With the development of scientific technology, besides cameras, the shooting function on smart terminals (such as smart phones and tablet computers) is more and more complete and is often used for shooting.
When various software of the intelligent terminal is used for shooting, besides the shooting is triggered by clicking a shutter, most software can also quickly trigger the shooting through a self-defined entity key (such as a volume key) or a gesture (such as touching a preview area).
However, shooting with the custom entity key or gesture belongs to professional operation, resulting in high learning cost for the user.
Therefore, there is a need for a solution that can improve the user experience and help the user to shoot more conveniently and quickly.
Disclosure of Invention
In view of the above technical problems, the present application provides a display method, an intelligent terminal and a storage medium, which aim to improve user experience and enable a user to shoot more conveniently and quickly by clicking a preset button.
In order to solve the above technical problem, the present application provides a display method applied to a shooting device having a touch screen, the display method including the steps of:
s10: acquiring angle information of the shooting device and/or position information of touch operation triggered by a shooting interface of the touch screen;
s20: determining or generating a target display area in the shooting interface based on the angle information and/or the position information;
s30: and displaying a preset button in the target display area.
Optionally, step S20 includes:
determining or generating a first display area in the shooting interface based on the angle information, and/or determining or generating a second display area in the shooting interface based on the position information;
determining or generating the target display area based on the first display area and/or the second display area.
Optionally, the step of determining or generating a first display area in the shooting interface based on the angle information includes:
determining or generating a target angle range corresponding to the angle information in each preset angle range;
and taking the display area corresponding to the target angle range as the first display area.
Optionally, the step of determining or generating a second display area in the shooting interface based on the position information includes:
determining or generating a predicted area range of the next touch operation corresponding to the touch operation in the shooting interface based on the position information;
and taking the display area corresponding to the prediction area range as the second display area.
Optionally, the step of determining or generating the target display area based on the first display area and/or the second display area at least includes one of:
if the position information is not obtained, taking the first display area as the target display area;
if the angle information is a default value and the position information is obtained, taking the second display area as the target display area;
and if the angle information is not a default value and the position information is obtained, taking an overlapping area of the first display area and the second display area as the target display area.
Optionally, before step S10, the method further includes:
receiving a request for setting the preset button, and displaying a setting interface of the preset button in the touch screen;
and detecting a setting operation triggered by the setting interface, and determining or generating each preset angle range and a display area corresponding to each preset angle range based on the setting operation.
Optionally, after step S30, the method further includes:
and responding to the dragging operation of the preset button, and moving the preset button based on the end position corresponding to the dragging operation.
Optionally, after the step of moving the preset button based on the end position corresponding to the dragging operation in response to the dragging operation of the preset button, the method further includes:
and if the end position is located at the edge of the shooting interface, eliminating the preset button.
The application also provides an intelligent terminal, including: the display device comprises a memory and a processor, wherein the memory stores a display program, and the display program realizes the steps of any one of the display methods when being executed by the processor.
The present application also provides a storage medium storing a computer program which, when executed by a processor, implements the steps of any of the display methods described above.
As described above, the display method of the present application is applied to a camera device having a touch screen, and the display method includes: acquiring angle information of the shooting device and/or position information of touch operation triggered by a shooting interface of the touch screen; determining or generating a target display area in the shooting interface based on the angle information and/or the position information; and displaying a preset button in the target display area. Through the technical scheme, the optimal area of the shutter clicked by the user can be judged in advance in the shooting interface, and the optimal area is displayed separately, so that the user can shoot the shutter through clicking the preset button subsequently, the operation cost of the user is reduced, the user can shoot the shutter more conveniently and quickly, and the user experience is improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application. In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required to be used in the description of the embodiments will be briefly described below, and it is obvious for those skilled in the art to obtain other drawings without inventive step.
Fig. 1 is a schematic diagram of a hardware structure of an intelligent terminal implementing various embodiments of the present application;
fig. 2 is a diagram illustrating a communication network system architecture according to an embodiment of the present application;
fig. 3 is a flowchart illustrating a display method according to the first embodiment;
fig. 4 is a schematic diagram of a photographing apparatus displaying preset buttons according to the display method shown in the first embodiment;
fig. 5 is a schematic diagram of determining or generating a target display region according to angle information and displaying preset buttons according to the display method shown in the second embodiment;
fig. 6 is a diagram illustrating a drag operation of a preset button of a display method according to the fourth embodiment.
The implementation, functional features and advantages of the objectives of the present application will be further explained with reference to the accompanying drawings. With the above figures, there are shown specific embodiments of the present application, which will be described in more detail below. The drawings and written description are not intended to limit the scope of the inventive concepts in any manner, but rather to illustrate the concepts of the application by those skilled in the art with reference to specific embodiments.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, the recitation of a claim "comprising a" 8230a "\8230means" does not exclude the presence of additional identical elements in the process, method, article or apparatus in which the element is incorporated, and further, similarly named components, features, elements in different embodiments of the application may have the same meaning or may have different meanings, the specific meaning of which should be determined by its interpretation in the specific embodiment or by further combination with the context of the specific embodiment.
It should be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope herein. The word "if" as used herein may be interpreted as "at" \8230; "or" when 8230; \8230; "or" in response to a determination ", depending on the context. Also, as used herein, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context indicates otherwise. It will be further understood that the terms "comprises," "comprising," "includes" and/or "including," when used in this specification, specify the presence of stated features, steps, operations, elements, components, items, species, and/or groups, but do not preclude the presence, or addition of one or more other features, steps, operations, elements, components, species, and/or groups thereof. The terms "or," "and/or," "including at least one of the following," and the like, as used herein, are to be construed as inclusive or mean any one or any combination. For example, "includes at least one of: A. b, C "means" any of the following: a; b; c; a and B; a and C; b and C; a and B and C ", again for example," a, B or C "or" a, B and/or C "means" any one of the following: a; b; c; a and B; a and C; b and C; a and B and C'. An exception to this definition will occur only when a combination of elements, functions, steps or operations are inherently mutually exclusive in some way.
It should be understood that, although the steps in the flowcharts in the embodiments of the present application are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and may be performed in other orders unless explicitly stated herein. Moreover, at least some of the steps in the figures may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, in different orders, and may be performed alternately or partially with other steps or at least some of the sub-steps or stages of other steps.
The words "if", as used herein may be interpreted as "at \8230; \8230whenor" when 8230; \8230when or "in response to a determination" or "in response to a detection", depending on the context. Similarly, the phrase "if determined" or "if detected (a stated condition or event)" may be interpreted as "upon determining" or "in response to determining" or "upon detecting (a stated condition or event)" or "in response to detecting (a stated condition or event)", depending on the context.
It should be noted that, step numbers such as S10 and S20 are used herein for the purpose of more clearly and briefly describing corresponding contents, and do not constitute a substantial limitation on the sequence, and those skilled in the art may perform S20 first and then S10 in the specific implementation, but these should be within the protection scope of the present application.
It should be understood that the specific embodiments described herein are merely illustrative of and not restrictive on the broad application.
In the following description, suffixes such as "module", "component", or "unit" used to indicate elements are used only for facilitating the description of the present application, and have no particular meaning in themselves. Thus, "module", "component" or "unit" may be used mixedly.
The smart terminal may be implemented in various forms. For example, the smart terminal described in the present application may include smart terminals such as a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a navigation device, a wearable device, a smart band, a pedometer, and the like, and fixed terminals such as a Digital TV, a desktop computer, and the like.
While the following description will be given by way of example of a smart terminal, those skilled in the art will appreciate that the configuration according to the embodiments of the present application can be applied to a fixed type terminal in addition to elements particularly used for mobile purposes.
Referring to fig. 1, which is a schematic diagram of a hardware structure of an intelligent terminal for implementing various embodiments of the present application, the intelligent terminal 100 may include: an RF (Radio Frequency) unit 101, a WiFi module 102, an audio output unit 103, an a/V (audio/video) input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, a processor 110, and a power supply 111. Those skilled in the art will appreciate that the intelligent terminal architecture shown in fig. 1 does not constitute a limitation of the intelligent terminal, and that the intelligent terminal may include more or fewer components than shown, or some components may be combined, or a different arrangement of components.
The following specifically describes each component of the intelligent terminal with reference to fig. 1:
the radio frequency unit 101 may be configured to receive and transmit signals during information transmission and reception or during a call, and specifically, receive downlink information of a base station and then process the downlink information to the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with a network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA2000 (Code Division Multiple Access 2000 ), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division duplex-Long Term Evolution), TDD-LTE (Time Division duplex-Long Term Evolution, time Division Long Term Evolution), 5G, and so on.
WiFi belongs to short-distance wireless transmission technology, and the intelligent terminal can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 102, and provides wireless broadband internet access for the user. Although fig. 1 shows the WiFi module 102, it is understood that it does not belong to the essential constitution of the smart terminal, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output as sound when the smart terminal 100 is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the smart terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is for receiving an audio or video signal. The a/V input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, the Graphics processor 1041 Processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 may receive sounds (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, or the like, and may be capable of processing such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of the phone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
The smart terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Optionally, the light sensor includes an ambient light sensor and a proximity sensor, the ambient light sensor may adjust the brightness of the display panel 1061 according to the brightness of ambient light, and the proximity sensor may turn off the display panel 1061 and/or the backlight when the smart terminal 100 moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the gesture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, the description is omitted here.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the intelligent terminal. Alternatively, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, can collect touch operations of a user (e.g., operations of a user on the touch panel 1071 or near the touch panel 1071 using a finger, a stylus, or any other suitable object or accessory) thereon or nearby and drive the corresponding connection device according to a predetermined program. The touch panel 1071 may include two parts of a touch detection device and a touch controller. Optionally, the touch detection device detects a touch direction of a user, detects a signal caused by a touch operation, and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and can receive and execute commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. Optionally, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like, and are not limited thereto.
Alternatively, the touch panel 1071 may cover the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although the touch panel 1071 and the display panel 1061 are shown in fig. 1 as two separate components to implement the input and output functions of the smart terminal, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the smart terminal, and is not limited herein.
The interface unit 108 serves as an interface through which at least one external device is connected to the smart terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the obtained input to one or more elements within the smart terminal 100 or may be used to transmit data between the smart terminal 100 and the external device.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a program storage area and a data storage area, and optionally, the program storage area may store an operating system, an application program (such as a sound playing function, an image playing function, and the like) required by at least one function, and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 109 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 volatile solid state storage device.
The processor 110 is a control center of the intelligent terminal, connects various parts of the entire intelligent terminal using various interfaces and lines, and performs various functions of the intelligent terminal and processes data by operating or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the intelligent terminal. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor and a modem processor, optionally, the application processor mainly handles operating systems, user interfaces, application programs, etc., and the modem processor mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The intelligent terminal 100 may further include a power supply 111 (such as a battery) for supplying power to various components, and preferably, the power supply 111 may be logically connected to the processor 110 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
Although not shown in fig. 1, the smart terminal 100 may further include a bluetooth module or the like, which is not described herein.
In order to facilitate understanding of the embodiments of the present application, a communication network system on which the intelligent terminal of the present application is based is described below.
Referring to fig. 2, fig. 2 is an architecture diagram of a communication Network system provided in an embodiment of the present application, where the communication Network system is an LTE system of a universal mobile telecommunications technology, and the LTE system includes a UE (User Equipment) 201, an e-UTRAN (Evolved UMTS Terrestrial Radio Access Network) 202, an epc (Evolved Packet Core) 203, and an IP service 204 of an operator, which are in communication connection in sequence.
Optionally, the UE201 may be the terminal 100 described above, and is not described herein again.
The E-UTRAN202 includes eNodeB2021 and other eNodeBs 2022, among others. Alternatively, the eNodeB2021 may be connected with other enodebs 2022 through a backhaul (e.g., X2 interface), the eNodeB2021 is connected to the EPC203, and the eNodeB2021 may provide the UE201 access to the EPC 203.
The EPC203 may include MME (Mobility Management Entity) 2031, hss (Home Subscriber Server) 2032, other MME2033, SGW (Serving gateway) 2034, pgw (PDN gateway) 2035, PCRF (Policy and Charging Rules Function) 2036, and the like. Optionally, the MME2031 is a control node that handles signaling between the UE201 and the EPC203, providing bearer and connection management. HSS2032 is used to provide registers to manage functions such as home location register (not shown) and holds subscriber specific information about service characteristics, data rates, etc. All user data may be sent through SGW2034, PGW2035 may provide IP address assignment for UE201 and other functions, and PCRF2036 is a policy and charging control policy decision point for traffic data flow and IP bearer resources, which selects and provides available policy and charging control decisions for a policy and charging enforcement function (not shown).
Although the LTE system is described as an example, it should be understood by those skilled in the art that the present application is not limited to the LTE system, but may also be applied to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, and future new network systems (e.g. 5G), and the like.
Based on the above intelligent terminal hardware structure and communication network system, various embodiments of the present application are provided.
First embodiment
Referring to fig. 3, fig. 3 is a flowchart illustrating a display method applied to a photographing device having a touch screen according to a first embodiment, the display method including the steps of:
s10: acquiring angle information of the shooting device and/or position information of touch operation triggered by a shooting interface of the touch screen;
in this embodiment, the shooting device applying the display method of the application has a touch screen, and the shooting device can predict the optimal area of the click shutter in the shooting interface according to the angle information and/or the position information by acquiring the angle information of the shooting device and/or the position information of the touch operation triggered by the shooting interface of the touch screen, so that a preset button can be displayed in the area subsequently, and a user can shoot by clicking the preset button. The preset button can be an intelligent shutter, and can also be a button for controlling the start, pause and end of video recording.
Optionally, the angle information of the photographing apparatus at least includes: and taking the touch screen in the vertical direction and the plane where the touch screen is located perpendicular to the horizontal plane as a default value, determining or generating a reference line perpendicular to the horizontal plane in the touch screen, and when the touch screen deflects in the plane where the touch screen is located, determining the deflection angle of the reference line relative to the normal of the horizontal plane.
Optionally, the angle information further includes: when the touch screen is inclined, the included angle between the plane where the touch screen is located and the horizontal plane is formed.
Alternatively, the photographing device may acquire the angle information through a sensor, and the sensor may include: a gyroscope, an accelerometer, or a magnetometer.
Optionally, the position information of the touch operation triggered by the shooting interface of the touch screen at least includes: when the touch screen is triggered to perform touch operation by a user, the shooting device determines or generates the position of the touch operation on the shooting interface, and optionally, the position may also correspond to an area range according to preset parameters.
S20: determining or generating a target display area in the shooting interface based on the angle information and/or the position information;
in this embodiment, according to the angle information and/or the position information, a target display area of a preset button may be determined or generated in a shooting interface displayed on the touch screen, and the target display area is used as an optimal area for currently clicking the shutter.
Optionally, in the shooting interface displayed on the touch screen, in order to determine or generate the target display area of the preset button, a first display area of the preset button may be determined or generated according to angle information of the shooting device, and/or a second display area of the preset button may be determined or generated according to position information of a touch operation triggered by the shooting interface of the touch screen, and finally, according to the first display area and/or the second display area, the target display area of the preset button is determined or generated, that is, the user clicks an optimal area of the shutter, so that the preset button is subsequently displayed in the target display area, and the function of the preset button is the same as that of the original shutter, so that the user can shoot by clicking the preset button.
S30: and displaying a preset button in the target display area.
In this embodiment, after determining or generating a target display area according to the first display area and/or the second display area, a preset button having the same function as the original shutter function is displayed in the target display area, referring to fig. 4, where fig. 4 is a schematic view of a shooting device displaying the preset button, so that a user can click the preset button to perform shooting operation.
In this embodiment, through the angle information of the shooting device and the position information of the touch operation triggered by the shooting interface of the touch screen, the optimal area of the shutter clicked by the user can be judged in advance in the shooting interface, and the optimal area is displayed separately, so that the user can shoot the shutter by clicking the preset button subsequently, the operation cost of the user is reduced, the user can shoot the shutter more conveniently and quickly, and the user experience is improved.
Second embodiment
On the basis of the first embodiment of the present application, this embodiment discloses a method for determining or generating a target display area in the shooting interface based on the angle information and/or the position information, which specifically includes:
step S201, determining or generating a first display area in the shooting interface based on the angle information, and/or determining or generating a second display area in the shooting interface based on the position information;
step S202, determining or generating the target display area based on the first display area and/or the second display area.
In this embodiment, when the shooting interface is displayed on the touch screen of the shooting device, a first display area of the preset button is determined or generated in the shooting interface according to angle information of the shooting interface, and/or a second display area of the preset button is determined or generated in the shooting interface according to position information of a touch operation triggered by the shooting interface of the touch screen, and then a target display area of the preset button is determined or generated according to the first display area and/or the second display area, and the preset button is displayed in the target display area.
Optionally, if the target display area is determined or generated only according to the first display area, taking the first display area as the target display area; if the target display area is determined or generated only according to the second display area, taking the second display area as the target display area; if the target display area is determined or generated according to the first display area and the second display area, an overlapping area of the first display area and the second display area may be used as the target display area.
Optionally, the method for determining or generating the first display area in the shooting interface based on the angle information includes:
step S2011, determining or generating a target angle range corresponding to the angle information in each preset angle range;
step S2012, a display area corresponding to the target angle range is used as the first display area.
In this embodiment, the angle information of the shooting device is: the touch screen is in the vertical direction, the plane where the touch screen is located is perpendicular to the horizontal plane, and the default value is that a reference line perpendicular to the horizontal plane is determined or generated in the touch screen, and when the touch screen deflects in the plane where the touch screen is located, the deflection angle of the reference line relative to the normal line of the horizontal plane is determined or generated.
Optionally, there are a plurality of preset angle ranges, each preset angle range corresponds to one display area, the shooting device may obtain the above-mentioned deflection angle through the sensor, compare the deflection angle with each preset angle range, may determine or generate a target angle range corresponding to the angle information, and then, take the display area corresponding to the target angle range as the first display area.
Optionally, the angle information may further include: when the plane of the touch screen is not perpendicular to the horizontal plane, the included angle between the plane of the touch screen and the horizontal plane exists in a plurality of preset included angle ranges, each preset included angle range corresponds to one display area, the preset included angle range corresponding to the included angle is determined or generated, and when the deflection angle does not exist, the first display area is determined or generated according to the display area corresponding to the preset included angle range; when the deflection angle exists, the display area corresponding to the target angle range and the display area corresponding to the preset included angle range may be combined to determine or generate the first display area, for example, an overlapping area of the two display areas is used as the first display area, or a midpoint of a connecting line of center points of the two display areas is used as a center point of the first display area, and then the range of the first display area is determined or generated according to preset parameters.
According to the embodiment, the angle information of the shooting device is acquired, the first display area of the preset button is determined or generated according to the angle information, the target display area of the preset button is favorably determined or generated subsequently, the target display area is used as the best area for a user to click the shutter, the intelligence of auxiliary shooting in the scheme is improved, the operation cost of the user is reduced, and the user experience is improved.
Optionally, the method for determining or generating the second display area in the shooting interface based on the position information includes:
step S2013, based on the position information, determining or generating a predicted area range of the next touch operation corresponding to the touch operation in the shooting interface;
step S2014, taking the display area corresponding to the prediction area range as the second display area.
In this embodiment, the position information of the touch operation triggered by the shooting interface of the touch screen is: when the touch screen triggers the touch operation, the shooting interface triggers the position of the touch operation, namely the position of the touch position in the shooting interface when the touch screen is detected to be touched by a user.
Optionally, according to the position information, the prediction of the area range where the touch operation is triggered on the next shooting interface is implemented, then the display area corresponding to the predicted area range is used as a second display area, for example, a plurality of straight lines extend from the center point of the touch screen to the edge of the touch screen, so that the touch screen is divided into a plurality of display areas, when the position information is obtained, the position information is expanded according to preset parameters to determine or generate a predicted area range, and then the display area with the largest area overlapping the predicted area range can be used as the second display area.
According to the embodiment, the position information of the touch operation triggered by the shooting interface of the touch screen is obtained, the second display area of the preset button is determined or generated according to the position information, the subsequent determination or generation of the target display area of the preset button is facilitated, the target display area is used as the best area for the user to click the shutter, the shooting assistance intelligence of the scheme is improved, the operation cost of the user is reduced, and the user experience is improved.
Optionally, the method for determining or generating the target display area based on the first display area and/or the second display area at least includes one of the following specific steps:
step S2021, if the position information is not obtained, taking the first display area as the target display area;
step S2022, if the angle information is a default value and the position information is obtained, taking the second display area as the target display area;
step S2023, if the angle information is not the default value and the position information is obtained, regarding an overlapping area of the first display area and the second display area as the target display area.
In this embodiment, under different conditions, the manner of determining or generating the target display area is different, and the step of determining or generating the target display area at least includes one of the following: if the position information of the touch operation triggered by the shooting interface of the touch screen is not obtained, taking the first display area as a target display area, referring to fig. 5, wherein fig. 5 is a schematic diagram of determining or generating the target display area according to the angle information and displaying a preset button; if the angle information of the shooting device is a default value and the position information is obtained, taking the second display area as a target display area; and if the angle information of the shooting device is not a default value and the position information is obtained, taking the overlapped area of the first display area and the second display area as a target display area.
Optionally, when the touch screen displays the shooting interface, the user does not trigger the touch operation of the touch screen, that is, the user does not touch the touch screen, and at this time, the position information cannot be acquired, so that the second display area cannot be determined or generated according to the position information, and therefore, the first display area is used as the target display area.
Optionally, when the touch screen is in the vertical direction and the plane where the touch screen is located is perpendicular to the horizontal plane, determining or generating angle information as a default value, at this time, acquiring position information of a touch operation triggered by a shooting interface of the touch screen, determining or generating a second display area according to the acquired position information, and taking the second display area as a target display area.
Optionally, when the angle information is not a default value and the position information is obtained, determining or generating a first display area according to the angle information, determining or generating a second display area according to the position information, and taking an overlapping area of the first display area and the second display area as a target display area.
Optionally, if the overlapping area of the first display area and the second display area is too small, the target display area may be determined or generated after the overlapping area is extended according to preset parameters.
Optionally, if the angle information is a default value and the position information does not exist, at this time, the first display area and the second display area do not exist, and the target display area cannot be determined or generated, so that the preset button is not displayed.
The target display area of the preset button is determined or generated through the first display area and/or the second display area, so that the preset button can be displayed in multiple implementation modes, the follow-up display of the preset button is facilitated, the intelligence of auxiliary shooting in the scheme is improved, the operation cost of a user is reduced, and the user experience is improved.
In this embodiment, through the angle information of the shooting device and the position information of the touch operation triggered by the shooting interface of the touch screen, the optimal area of the shutter clicked by the user can be judged in advance in the shooting interface, and the optimal area is displayed separately, so that the user can shoot by clicking the preset button, the operation cost of the user is reduced, the user can shoot more conveniently and quickly, and the user experience is improved.
Third embodiment
On the basis of the first embodiment and the second embodiment of the present application, before the step of obtaining the angle information of the shooting device and/or the position information of the touch operation triggered by the shooting interface of the touch screen, the display method further includes:
step S001, receiving a request for setting the preset button, and displaying a setting interface of the preset button in the touch screen;
and S002, detecting a setting operation triggered by the setting interface, and determining or generating each preset angle range and a display area corresponding to each preset angle range based on the setting operation.
In this embodiment, the shooting device has a setting option of a preset button, and the user side can set the preset button, and the specific steps include: when the shooting device receives a request of a user for setting the preset buttons, a setting interface of the preset buttons can be displayed in the touch screen, and then each preset angle range and a display area corresponding to each preset angle range are determined or generated according to setting operation triggered by the user on the setting interface.
Optionally, in the setting interface, each preset angle range may be determined or generated according to a click operation, a drag operation, or a text input of the user, and the display area corresponding to each preset angle range may also be determined or generated according to a click operation, a drag operation, or the like of the user and associated with the preset angle range.
Alternatively, the photographing apparatus may have a switch option of a preset button, by which display of the preset button may be turned on or off.
Optionally, in the setting options of the preset button, default parameters exist in each preset angle range and the corresponding display area, and when the user does not send a request for setting the preset button, the shooting device has each preset angle range and the corresponding display area of each preset angle range according to the default parameters.
In this embodiment, through the setting option of presetting the button, can set up angle scope and the display area that corresponds of presetting for follow-up target display area who presets the button more accords with the best region that the user clicked the shutter, has improved the intelligence and the accuracy of demonstration, and then has promoted user experience.
Fourth embodiment
On the basis of the first, second, and third embodiments of the present application, after the step of displaying the preset button in the target display area, the display method further includes:
and S40, responding to the dragging operation of the preset button, and moving the preset button based on the end position corresponding to the dragging operation.
In this embodiment, referring to fig. 6, fig. 6 is a schematic drawing illustrating a dragging operation of a preset button, after the preset button is displayed on a touch screen of the shooting device, a user may drag the preset button through the touch screen, that is, the touch screen displays the preset button to a position where the dragging operation is finished according to an obtained dragging operation of the preset button by the user.
Optionally, after step S40, the display method further includes:
and S50, if the end position is located at the edge of the shooting interface, eliminating the preset button.
In this embodiment, when the touch screen moves the preset button in response to the dragging operation of the preset button by the user, if the end position of the dragging operation is located at the edge of the shooting interface, so that the preset button reaches or exceeds the edge of the shooting interface, the operation is regarded as an elimination instruction, and at this time, the display of the preset button in the shooting interface is eliminated.
In this embodiment, in response to the user's elimination instruction for the preset button, the display of the preset button can be cancelled, the intelligence of the display is improved, and the user experience is improved.
In this embodiment, in response to the user to the dragging operation of presetting the button, presetting the button and can removing according to user's wish, show in the end position of dragging operation, promoted the intelligence of demonstration, and then promoted user experience.
The application also provides an intelligent terminal, which comprises a memory and a processor, wherein the memory is stored with an auxiliary shooting program, and the auxiliary shooting program is executed by the processor to realize the steps of the display method in any embodiment.
The present application further provides a storage medium, in which an auxiliary shooting program is stored, and the steps of the display method in any of the above embodiments are implemented when the auxiliary shooting program is executed by a processor.
In the embodiments of the intelligent terminal and the storage medium provided in the present application, all technical features of any one of the embodiments of the display method may be included, and the expanding and explaining contents of the specification are substantially the same as those of each embodiment of the method, and are not described herein again.
Embodiments of the present application further provide a computer program product, which includes computer program code, when the computer program code runs on a computer, the computer is caused to execute the method as in the above various possible embodiments.
Embodiments of the present application further provide a chip, which includes a memory and a processor, where the memory is used to store a computer program, and the processor is used to call and run the computer program from the memory, so that a device in which the chip is installed executes the method in the above various possible embodiments.
It should be understood that the foregoing scenarios are only examples, and do not constitute a limitation on application scenarios of the technical solutions provided in the embodiments of the present application, and the technical solutions of the present application may also be applied to other scenarios. For example, as a person having ordinary skill in the art can know, with the evolution of the system architecture and the emergence of new service scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
The steps in the method of the embodiment of the application can be sequentially adjusted, combined and deleted according to actual needs.
The units in the device in the embodiment of the application can be merged, divided and deleted according to actual needs.
In the present application, the same or similar term concepts, technical solutions and/or application scenario descriptions will be generally described only in detail at the first occurrence, and when the description is repeated later, the detailed description will not be repeated in general for brevity, and when understanding the technical solutions and the like of the present application, reference may be made to the related detailed description before the description for the same or similar term concepts, technical solutions and/or application scenario descriptions and the like which are not described in detail later.
In the present application, each embodiment is described with an emphasis on the description, and reference may be made to the description of other embodiments for parts that are not described or recited in any embodiment.
The technical features of the technical solution of the present application may be arbitrarily combined, and for brevity of description, all possible combinations of the technical features in the embodiments are not described, however, as long as there is no contradiction between the combinations of the technical features, the scope of the present application should be considered as being described in the present application.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, a controlled terminal, or a network device) to execute the method of each embodiment of the present application.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. The procedures or functions according to the embodiments of the present application are all or partially generated when the computer program instructions are loaded and executed on a computer. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a storage medium or transmitted from one storage medium to another storage medium, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) means. The storage medium may be any available medium that can be accessed by a computer or a data storage device including one or more available media integrated servers, data centers, and the like. The usable medium may be a magnetic medium (e.g., floppy Disk, memory Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid State Disk (SSD)), among others.
The above description is only a preferred embodiment of the present application, and not intended to limit the scope of the present application, and all the equivalent structures or equivalent processes that can be directly or indirectly applied to other related technical fields by using the contents of the specification and the drawings of the present application are also included in the scope of the present application.
Claims (10)
1. A display method is applied to a shooting device with a touch screen, and comprises the following steps:
s10: acquiring angle information of the shooting device and/or position information of touch operation triggered by a shooting interface;
s20: determining or generating a target display area in the shooting interface based on the angle information and/or the position information;
s30: and displaying a preset button in the target display area.
2. The method of claim 1, wherein step S20 comprises:
s21: determining or generating a first display area in the shooting interface based on the angle information, and/or determining or generating a second display area in the shooting interface based on the position information;
s22: determining or generating the target display area based on the first display area and/or the second display area.
3. The method of claim 2, wherein the step of determining or generating a first display area in the photographic interface based on the angle information comprises:
determining or generating a target angle range corresponding to the angle information in each preset angle range;
and taking the display area corresponding to the target angle range as the first display area.
4. The method of claim 2 or 3, wherein the step of determining or generating a second display area in the photographic interface based on the position information comprises:
determining or generating a predicted area range of the next touch operation corresponding to the touch operation in the shooting interface based on the position information;
and taking the display area corresponding to the prediction area range as the second display area.
5. A method according to claim 2 or 3, wherein said step S22 comprises at least one of:
if the position information is not obtained, taking the first display area as the target display area;
if the angle information is a default value and the position information is obtained, taking the second display area as the target display area;
and if the angle information is not a default value and the position information is obtained, taking an overlapping area of the first display area and the second display area as the target display area.
6. The method according to any one of claims 1 to 3, wherein step S10 is preceded by:
receiving a request for setting the preset button, and displaying a setting interface of the preset button in the touch screen;
and detecting a setting operation triggered by the setting interface, and determining or generating each preset angle range and a display area corresponding to each preset angle range based on the setting operation.
7. The method according to any one of claims 1 to 3, wherein after step S30, further comprising:
responding to the dragging operation of the preset button, and moving the preset button based on the end position corresponding to the dragging operation.
8. The method of claim 7, wherein after the step of moving the preset button based on the end position corresponding to the drag operation in response to the preset button drag operation, further comprising:
and if the end position is located at the edge of the shooting interface, eliminating the preset button.
9. An intelligent terminal, characterized in that, intelligent terminal includes: memory, processor, wherein the memory has stored thereon a display program which when executed by the processor implements the steps of the display method according to any one of claims 1 to 8.
10. A storage medium, characterized in that the storage medium has stored thereon a computer program which, when being executed by a processor, carries out the steps of the display method according to any one of claims 1 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211574637.2A CN115794018A (en) | 2022-12-08 | 2022-12-08 | Display method, intelligent terminal and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211574637.2A CN115794018A (en) | 2022-12-08 | 2022-12-08 | Display method, intelligent terminal and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115794018A true CN115794018A (en) | 2023-03-14 |
Family
ID=85418061
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211574637.2A Pending CN115794018A (en) | 2022-12-08 | 2022-12-08 | Display method, intelligent terminal and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115794018A (en) |
-
2022
- 2022-12-08 CN CN202211574637.2A patent/CN115794018A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108845711B (en) | Screen touch method, terminal and computer readable storage medium | |
CN107832032B (en) | Screen locking display method and mobile terminal | |
CN110187808B (en) | Dynamic wallpaper setting method and device and computer-readable storage medium | |
CN109062465A (en) | A kind of application program launching method, mobile terminal and storage medium | |
CN110083294B (en) | Screen capturing method, terminal and computer readable storage medium | |
CN109062688B (en) | Memory allocation method, server and mobile terminal | |
CN115914719A (en) | Screen projection display method, intelligent terminal and storage medium | |
CN113867588A (en) | Icon processing method, intelligent terminal and storage medium | |
CN113805700A (en) | Voice control method, mobile terminal and storage medium | |
CN113867586A (en) | Icon display method, intelligent terminal and storage medium | |
CN113885752A (en) | Icon processing method, intelligent terminal and storage medium | |
CN110275667B (en) | Content display method, mobile terminal, and computer-readable storage medium | |
CN114138144A (en) | Control method, intelligent terminal and storage medium | |
CN110058761B (en) | Copy selection method, mobile terminal and computer readable storage medium | |
CN113419694A (en) | Processing method, mobile terminal and storage medium | |
CN109495683B (en) | Interval shooting method and device and computer readable storage medium | |
CN113824176A (en) | Charging method, earphone, terminal and storage medium | |
CN113342244A (en) | Interface display method, mobile terminal and storage medium | |
CN107992278B (en) | Brightness adjusting method, mobile terminal and computer readable storage medium | |
CN115794018A (en) | Display method, intelligent terminal and storage medium | |
CN109669594B (en) | Interaction control method, equipment and computer readable storage medium | |
CN113315873A (en) | Processing method, mobile terminal and storage medium | |
CN115150505A (en) | Recording control method, intelligent terminal and computer readable storage medium | |
CN116048702A (en) | Display method, intelligent terminal and storage medium | |
CN114090287A (en) | Application processing method, terminal device and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |