CN112019686A - Display method and device and electronic equipment - Google Patents

Display method and device and electronic equipment Download PDF

Info

Publication number
CN112019686A
CN112019686A CN202010966119.XA CN202010966119A CN112019686A CN 112019686 A CN112019686 A CN 112019686A CN 202010966119 A CN202010966119 A CN 202010966119A CN 112019686 A CN112019686 A CN 112019686A
Authority
CN
China
Prior art keywords
display
information
display information
screen display
state
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010966119.XA
Other languages
Chinese (zh)
Inventor
潘斌斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Hangzhou Co Ltd
Original Assignee
Vivo Mobile Communication Hangzhou 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 Vivo Mobile Communication Hangzhou Co Ltd filed Critical Vivo Mobile Communication Hangzhou Co Ltd
Priority to CN202010966119.XA priority Critical patent/CN112019686A/en
Publication of CN112019686A publication Critical patent/CN112019686A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/45Cameras or camera modules comprising electronic image sensors; Control thereof for generating image signals from two or more image sensors being of different type or operating in different modes, e.g. with a CMOS sensor for moving images in combination with a charge-coupled device [CCD] for still images
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/57Mechanical or electrical details of cameras or camera modules specially adapted for being embedded in other devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/12Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses a display method, a display device and electronic equipment, and belongs to the technical field of communication; displaying first display information corresponding to the horizontal screen display state under the condition that the screen display state is the horizontal screen display state; displaying second display information corresponding to the vertical screen display state under the condition that the screen display state is the vertical screen display state; the first display information is acquired through the first camera, and the second display information is acquired through the second camera. When picture or video are looked over among the prior art can be solved to this application, for adaptation screen display state, carry out horizontal screen, erect the comparatively loaded down with trivial details problem of screen display state switch.

Description

Display method and device and electronic equipment
Technical Field
The application belongs to the technical field of communication, and particularly relates to a display method and device and electronic equipment.
Background
At present, when electronic equipment such as a mobile phone is used for displaying in a horizontal screen state or a vertical screen state, because some pictures or videos are shot in the horizontal screen state and some pictures are shot in the vertical screen state, when the shooting state of the pictures or videos is inconsistent with the display state of a mobile phone screen, full-screen display may not be achieved, if local details of the pictures or videos need to be seen, the pictures or videos need to be additionally zoomed, and the operation process of viewing the pictures or videos is complicated.
Disclosure of Invention
The embodiment of the application aims to provide a display method, a display device and electronic equipment, and the problem that in the prior art, when pictures or videos are checked, horizontal screen display and vertical screen display state switching is complex in order to adapt to screen display states.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a display method, including:
acquiring a screen display state of the electronic equipment;
displaying first display information corresponding to the horizontal screen display state under the condition that the screen display state is the horizontal screen display state;
displaying second display information corresponding to the vertical screen display state under the condition that the screen display state is the vertical screen display state;
the first display information is acquired through a first camera, and the second display information is acquired through a second camera.
In a second aspect, an embodiment of the present application provides a display device, including:
the first acquisition module is used for acquiring the screen display state of the electronic equipment;
the first display module is used for displaying first display information corresponding to the horizontal screen display state under the condition that the screen display state is the horizontal screen display state;
the second display module is used for displaying second display information corresponding to the vertical screen display state under the condition that the screen display state is the vertical screen display state;
the first display information is acquired through a first camera, and the second display information is acquired through a second camera.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In the embodiment of the application, the first display information is acquired through the first camera, the second display information is acquired through the second camera, and the first display information corresponding to the horizontal screen display state is displayed under the condition that the screen display state is the horizontal screen display state; displaying second display information corresponding to the vertical screen display state under the condition that the screen display state is the vertical screen display state; therefore, when the screen display state is switched, the picture or the video does not need to be additionally zoomed, the self-adaptive adjustment of the screen display state can be realized, and the problem that the transverse screen display state and the vertical screen display state are switched more complicatedly in the prior art can be solved.
Drawings
Fig. 1 is a schematic flowchart of a display method provided in an embodiment of the present application;
FIG. 2 is one of schematic diagrams of an exemplary implementation of a display method provided by an embodiment of the present application;
fig. 3 is a second schematic diagram of an exemplary implementation of a display method provided by an embodiment of the present application;
fig. 4 is a third schematic diagram of an exemplary implementation of a display method provided by an embodiment of the present application;
FIG. 5 is a fourth schematic diagram of an exemplary implementation of a display method provided by an embodiment of the present application;
FIG. 6 is a fifth schematic diagram of an exemplary implementation of a display method provided by an embodiment of the present application;
FIG. 7 is a sixth schematic diagram of an exemplary implementation of a display method provided by an embodiment of the present application;
fig. 8 is a seventh schematic diagram of an exemplary implementation of a display method provided by an embodiment of the present application;
fig. 9 is a schematic block diagram of a display device according to an embodiment of the present application;
fig. 10 is a schematic block diagram of an electronic device according to an embodiment of the present disclosure;
fig. 11 is a schematic hardware structure diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. The display method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
Referring to fig. 1, a schematic flow chart of a display method provided in an embodiment of the present application is shown, where the embodiment of the present application provides a display method, where the display method may include the following steps:
step 101, acquiring a screen display state of the electronic equipment.
In this embodiment, the display method described above is applied to an electronic device, wherein the electronic device may be an electronic device having a display screen or a display area, such as a mobile phone, a portable computer, a wearable device, a vehicle-mounted terminal, and the like, and the application is not limited thereto. In the following description of the present application, a mobile phone is taken as an example of an electronic device.
In this embodiment, the screen display state of the electronic device is acquired and determined according to the holding direction of the user to the electronic device, and when the holding direction of the user to the electronic device is determined, the determination may be performed based on an automatic rotation function of the electronic device itself or may be performed based on a gravity sensor built in the electronic device. Here, the determination based on the gravity sensor built in the electronic apparatus is described as an example, for example, the default screen display state of the electronic apparatus is a vertical screen, the width of the display screen in the vertical screen display state is an X axis, the length of the display screen is a Y axis, a coordinate system is established, the values of the gravity sensor on the X axis and the Y axis are detected, and if the absolute value of the X axis is larger than the absolute value of the Y axis and exceeds a set threshold, the horizontal screen display state is switched. Alternatively, in other possible embodiments, a button for switching the horizontal screen and the vertical screen may be further disposed on the screen display interface, and the horizontal screen and the vertical screen are switched by clicking the button. The embodiments of the present invention are described herein by way of example only, and not by way of limitation, and all changes and modifications thereof are intended to fall within the scope of the embodiments of the present invention.
And 102, displaying first display information corresponding to the horizontal screen display state under the condition that the screen display state is the horizontal screen display state.
Understandably, the display information includes pictures, videos, or other types of information collected by the electronic device, and in this embodiment, the pictures are taken as the display information for example. The first display information is a picture which is shot by the electronic equipment in the horizontal screen state and is suitable for the horizontal screen display state.
And 103, displaying second display information corresponding to the vertical screen display state under the condition that the screen display state is the vertical screen display state.
The first display information is acquired through a first camera, and the second display information is acquired through a second camera.
Understandably, the second display information is a picture which is taken by the electronic equipment in the vertical screen state and is suitable for the vertical screen display state.
In this embodiment, the electronic device is provided with a first camera and a second camera, wherein the pictures or videos taken by the first camera and the second camera may be perpendicular to each other at 90 degrees. Understandably, the first camera is used for taking horizontal pictures or videos, and the second camera is used for taking vertical pictures or videos.
It should be noted that, when the first camera and the second camera are arranged, two cameras with the same specification may be arranged, one camera is arranged horizontally and the other camera is arranged vertically, so that the shooting angles of the two cameras form 90 degrees. Alternatively, different specifications may be used, for example, the first camera may be a wide-angle camera and the second camera may be a camera of a common specification. Wherein, this wide angle camera is horizontal arrangement on the hardware layout.
In the embodiment of the application, the first display information is acquired through the first camera, the second display information is acquired through the second camera, and the first display information corresponding to the horizontal screen display state is displayed under the condition that the screen display state is the horizontal screen display state; displaying second display information corresponding to the vertical screen display state under the condition that the screen display state is the vertical screen display state; therefore, when the screen display state is switched, the picture or the video does not need to be additionally zoomed, the self-adaptive adjustment of the screen display state can be realized, and the problem that the transverse screen display state and the vertical screen display state are switched more complicatedly in the prior art can be solved.
In some optional embodiments of the present application, before the step 101, the method further includes:
receiving a first input when the electronic device is in a shooting state;
generating the first display information and the second display information in response to the first input.
In this embodiment, the first input may be a click input, a voice input, or other types of input, and the first input is described as a click input.
Under the condition that the electronic equipment is in a shooting state, a shooting button is displayed on a display interface of the electronic equipment, a user shoots a transverse screen picture through a first camera arranged in the electronic equipment by clicking the shooting button, and meanwhile, a vertical screen picture is shot through a second camera. Thus, the horizontal picture and the vertical picture can be simultaneously acquired. When being convenient for electronic equipment to switch between horizontal screen display state and perpendicular screen display state, no matter be in horizontal screen display state or erect screen display state, can both show the picture that corresponds, need not the extra adjustment of user, the simple operation.
In some optional embodiments of the present application, before the step 101, the method further includes:
displaying first prompt information under the condition that the electronic equipment is in a shooting state;
receiving a second input of the first prompt message;
generating the first display information and/or the second display information in response to the second input.
To provide a better shooting use experience for the user, in the case that the electronic device is in the shooting state, a first prompt message is displayed, for example, as shown in fig. 2-3, when the user is shooting with the portrait screen, the content of the first prompt message may be "do you use the portrait screen to shoot, do you start the landscape screen shooting function at the same time? "when the user is taking a picture using the landscape screen, the content of the first prompt message may be" do you take a picture using the landscape screen and synchronously turn on the portrait screen shooting function? Based on the first prompt information, the user can autonomously select whether to shoot the horizontal picture and the vertical picture at the same time, so that the user cannot autonomously select the horizontal picture and the vertical picture when shooting the horizontal picture and the vertical picture, and the phenomenon that too many pictures are shot so as to occupy too much memory of the electronic equipment is avoided.
Further, a second input is received that acts on the first prompt. In this embodiment, the second input may be a click input, a voice input, or other types of input, and here, a click input is described as an example of the second input.
Specifically, the first prompt information further includes a determination button and a cancel button, and for example, when the user is taking a picture using the portrait screen, the content of the first prompt information is displayed as "are you using the portrait screen to take a picture, are the landscape picture function turned on in synchronization? At this time, if the user clicks a determination button on the prompt message, the electronic device simultaneously takes a horizontal picture (a horizontal screen picture) and a vertical picture (a vertical screen picture) based on the first camera and the second camera; if the user clicks a cancel button on the prompt message, the electronic equipment shoots a vertical picture based on the second camera and does not shoot a horizontal picture. When the user uses the horizontal screen to take a picture, the operation mode is consistent with the mode of using the vertical screen to take a picture, and details are not repeated here.
After the shooting is finished, as shown in fig. 4, the shot picture is displayed on the electronic equipment, and the horizontal screen picture and the vertical screen picture can be displayed in the first area and the vertical screen picture can be displayed in the second area in a changeable manner when the horizontal screen picture and the vertical screen picture are shot simultaneously, so that the user can check the horizontal screen picture and the vertical screen picture simultaneously. The user can conveniently and quickly decide whether to shoot again, and the shooting quality is further ensured.
Optionally, after the generating the first display information and the second display information in response to the first input, the method further includes:
storing the first display information and the first indication information in a correlated manner, and storing the second display information and the second indication information in a correlated manner;
the first indication information is used for indicating a screen display state corresponding to the first display information;
the second indication information is used for indicating the screen display state corresponding to the second display information.
Further, in this embodiment, the landscape picture and the portrait picture are associated by means of a database or file name association, and the shooting direction is marked by corresponding indication information.
As shown in fig. 5 to 6, the first display information is indicated as a landscape picture by the first indication information, and the second display information is indicated as a portrait picture by the second indication information. Specifically, the first indication information may be in the form of a name with a horizontal or landscape screen or the like, and the second indication information may be in the form of a name with a vertical or portrait screen or the like. In order to associate two forms of the same picture in the horizontal screen state and the vertical screen state, except for the fact that the words used for representing the horizontal state or the vertical state are inconsistent, the remaining named words can be consistent. For example, the first indication information is "IMG _0001_ horizontal.jpg", and the second indication information is "IMG _0001_ vertical.jpg", in which case, prefixes are the same as "IMG _ 0001", except that suffixes are different, a horizontal screen picture corresponds to a horizontal suffix name, and a vertical screen picture corresponds to a vertical suffix name, which can be placed in the same folder for convenience of searching.
Alternatively, in other possible embodiments, to more conveniently determine whether there is a picture in another direction corresponding to a certain picture based on the certain picture, an associated field may be added when the certain picture is stored. For example, a landscape picture is stored under the name "IMG _0001_ landscape.jpg", for which the associated field is added as "there is a corresponding portrait picture, the picture itself is a landscape, and the corresponding portrait picture path is put at/sdcard/camera/IMG _0001_ portrait.jpg". Therefore, the association field is added for the stored pictures, and when more pictures are taken, whether the pictures in the other direction are associated with the pictures can be more quickly determined, and the storage addresses of the associated pictures can be quickly known.
Optionally, in a case that the first camera is a wide-angle camera, the generating the first display information includes:
acquiring third display information acquired by the wide-angle camera;
selecting part of the third display information as the first display information based on a preset condition;
the preset condition is used for indicating the display size ratio relation of the first display information and the third display information when a screen display interface of the electronic equipment displays.
Specifically, in the case where the first camera is a wide-angle camera, a middle portion of a picture taken by the wide-angle camera is captured as a landscape picture. Wherein, when the intercepting, should satisfy, the length of the picture of intercepting corresponds with the width of the vertical screen picture that the second camera was shot, and the width of the picture of intercepting corresponds with the length of the vertical screen picture that the second camera was shot. Therefore, the shot picture can be ensured to be suitable for the display of the interface of the electronic equipment in the horizontal screen display state.
Further, when displaying the display information corresponding to the screen display state of the electronic device, the display information corresponding to the screen display state is preferentially displayed according to the current screen display state of the electronic device, and if the display information corresponding to the screen display state does not exist, the display information corresponding to another screen display state can be displayed. For example, if the current screen display state of the electronic device is landscape screen display, the landscape screen picture is preferentially displayed, and if the landscape screen picture is not searched, the portrait screen picture is displayed, so that the situation that the picture cannot be normally displayed in the landscape screen display state or the portrait screen display state of the electronic device when the picture is displayed due to the fact that the hardware device breaks down and the landscape screen picture and the portrait screen picture are not shot at the same time can be avoided.
Optionally, after the generating the first display information and the second display information, the method further includes:
uploading the first display information and the second display information to a target application program under the condition that the target application program is displayed;
displaying the first display information on a media information display window of the target application program under the condition that the media information display window is a horizontal screen display window;
and under the condition that the media information display window of the target application program is a vertical screen display window, displaying the second display information on the media information display window.
Alternatively, the display method is also suitable for uploading the pictures or videos shot by the electronic equipment to a corresponding website so that more users can view the pictures or videos through the website.
As shown in fig. 7 to 8, the description will be made by taking pictures as display information. For example, the electronic device simultaneously takes a landscape screen picture and a portrait screen picture based on the first camera and the second camera, and then automatically uploads the taken landscape screen picture and portrait screen picture to the target application program. The target website can be a video website which is used by people daily and can be used for browsing pictures or videos. Further, after the information is successfully uploaded, all users entering the target website through the application program may view the information in a landscape screen mode or a portrait screen mode during the website browsing process, in this embodiment, the same method is used to determine the display state of the media information display window viewed by the user, and a landscape picture (picture B _ landscape) is displayed on the media information display window in the case that the media information display window of the application program is the landscape screen display window; and displaying a vertical screen picture (picture B _ vertical) on the media information display window under the condition that the media information display window of the application program is the vertical screen display window. In this way, whether horizontal screen playing or vertical screen playing is used can be switched according to the viewing form of the user when the user views the website. The experience of the user is improved. In addition, the uploading person can shoot the horizontal screen picture and the vertical screen picture through the two cameras at one time and directly upload the horizontal screen picture and the vertical screen picture, and the workload of additionally editing the picture is reduced.
In the display method provided in the embodiment of the present application, the execution main body may be a display device, or a control module for the display method in the display device. In the embodiment of the present application, a display device executing a display method is taken as an example, and the display device provided in the embodiment of the present application is described.
Referring to fig. 9, a block diagram of a display device 900 according to an embodiment of the present disclosure is shown, where the display device 900 includes:
a first obtaining module 901, configured to obtain a screen display state of an electronic device;
a first display module 902, configured to display first display information corresponding to the landscape screen display state when the screen display state is the landscape screen display state;
a second display module 903, configured to display second display information corresponding to the vertical screen display state when the screen display state is the vertical screen display state;
the first display information is acquired through a first camera, and the second display information is acquired through a second camera.
Optionally, the display device 900 further includes:
the first receiving module is used for receiving a first input under the condition that the electronic equipment is in a shooting state;
a first generating module to generate the first display information and the second display information in response to the first input.
Optionally, the display device 900 further includes:
the third display module is used for displaying the first prompt information under the condition that the electronic equipment is in a shooting state;
the second receiving module is used for receiving second input of the first prompt message;
a second generating module, configured to generate the first display information and/or the second display information in response to the second input.
Optionally, the display device 900 further includes:
the storage module is used for storing the first display information and the first indication information in a correlation manner and storing the second display information and the second indication information in a correlation manner;
the first indication information is used for indicating a screen display state corresponding to the first display information;
the second indication information is used for indicating the screen display state corresponding to the second display information.
Optionally, in a case that the first camera is a wide-angle camera, the first generating module includes:
the second acquisition module is used for acquiring third display information acquired by the wide-angle camera;
the selection module is used for selecting part of the third display information as the first display information based on a preset condition;
the preset condition is used for indicating the display size ratio relation of the first display information and the third display information when a screen display interface of the electronic equipment displays.
Optionally, the display device 900 further includes:
the uploading module is used for uploading the first display information and the second display information to a target application program under the condition of displaying the target application program;
the fourth display module is used for displaying the first display information on the media information display window under the condition that the media information display window of the target application program is a horizontal screen display window;
and the fifth display module is used for displaying the second display information on the media information display window under the condition that the media information display window of the target application program is a vertical screen display window.
The display device 900 provided in this embodiment of the application can implement each process in the above display method embodiment, and for avoiding repetition, details are not repeated here.
The display device 900 in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The display device 900 in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system (Android), an iOS operating system, or other possible operating systems, which is not specifically limited in the embodiments of the present application.
The display device 900 provided in the embodiment of the present application can implement each process implemented by the method embodiments of fig. 1 to fig. 8, and is not described herein again to avoid repetition.
Optionally, as shown in fig. 10, an electronic device 1000 is further provided in this embodiment of the present application, and includes a processor 1001, a memory 1002, and a program or an instruction stored in the memory 1002 and executable on the processor 1001, where the program or the instruction is executed by the processor 1001 to implement each process of the display method embodiment, and can achieve the same technical effect, and no further description is provided here to avoid repetition.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 11 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 1100 includes, but is not limited to: a radio frequency unit 1101, a network module 1102, an audio output unit 1103, an input unit 1104, a sensor 1105, a display unit 1106, a user input unit 1107, an interface unit 1108, a memory 1109, a processor 1110, and the like.
Those skilled in the art will appreciate that the electronic device 1100 may further include a power source (e.g., a battery) for supplying power to the various components, and the power source may be logically connected to the processor 1110 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system. The electronic device structure shown in fig. 11 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is not repeated here.
The processor 1110 is configured to obtain a screen display state of the electronic device;
the display unit 1106 is configured to display first display information corresponding to the horizontal screen display state when the screen display state is the horizontal screen display state;
the display unit 1106 is further configured to display second display information corresponding to the vertical screen display state when the screen display state is the vertical screen display state;
the first display information is acquired through a first camera, and the second display information is acquired through a second camera.
Optionally, the input unit 1104 is configured to receive a first input when the electronic device is in a shooting state;
processor 1110 is further configured to generate the first display information and the second display information in response to the first input.
Optionally, the display unit 1106 is further configured to display first prompt information when the electronic device is in a shooting state;
the input unit 1104 is further configured to receive a second input of the first prompt message;
processor 1110 is further configured to generate the first display information and/or the second display information in response to the second input.
Optionally, the memory 1109 is configured to store the first display information and the first indication information in association, and store the second display information and the second indication information in association;
the first indication information is used for indicating a screen display state corresponding to the first display information;
the second indication information is used for indicating the screen display state corresponding to the second display information.
Optionally, the processor 1110 is further configured to obtain third display information collected by the wide-angle camera;
selecting part of the third display information as the first display information based on a preset condition;
the preset condition is used for indicating the display size ratio relation of the first display information and the third display information when a screen display interface of the electronic equipment displays.
Optionally, the processor 1110 is further configured to, in a case where a target application is displayed, upload the first display information and the second display information to the target application;
the display unit 1106 is further configured to display the first display information in the media information display window of the target application program when the media information display window is a landscape display window;
the display unit 1106 is further configured to, when the media information display window of the target application program is a vertical screen display window, display the second display information in the media information display window.
In this embodiment, the electronic device 1100 acquires first display information through the first camera, acquires second display information through the second camera, and displays the first display information corresponding to the landscape screen display state when the screen display state is the landscape screen display state; displaying second display information corresponding to the vertical screen display state under the condition that the screen display state is the vertical screen display state; therefore, when the screen display state is switched, the picture or the video does not need to be additionally zoomed, the self-adaptive adjustment of the screen display state can be realized, and the problem that the transverse screen display state and the vertical screen display state are switched more complicatedly in the prior art can be solved.
It should be understood that in the embodiment of the present application, the input Unit 1104 may include a Graphics Processing Unit (GPU) 11041 and a microphone 11042, and the Graphics processor 11041 processes image data of still pictures or video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 1106 may include a display panel 11061, and the display panel 11061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1107 includes a touch panel 11071 and other input devices 11072. A touch panel 11071, also called a touch screen. The touch panel 11071 may include two portions of a touch detection device and a touch controller. Other input devices 11072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. The memory 1109 may be used for storing software programs and various data including, but not limited to, application programs and an operating system. Processor 1110 may integrate an application processor that handles primarily operating systems, user interfaces, applications, etc. and a modem processor that handles primarily wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 1110.
An embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the display method embodiments in fig. 1 to fig. 8, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the display method embodiments in fig. 1 to 8, and the same technical effect can be achieved, and details are not repeated here to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
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, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
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 (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (14)

1. A display method, comprising:
acquiring a screen display state of the electronic equipment;
displaying first display information corresponding to the horizontal screen display state under the condition that the screen display state is the horizontal screen display state;
displaying second display information corresponding to the vertical screen display state under the condition that the screen display state is the vertical screen display state;
the first display information is acquired through a first camera, and the second display information is acquired through a second camera.
2. The display method according to claim 1, wherein before the acquiring the screen display state of the electronic device, the method further comprises:
receiving a first input when the electronic device is in a shooting state;
generating the first display information and the second display information in response to the first input.
3. The display method according to claim 1, wherein before the acquiring the screen display state of the electronic device, the method further comprises:
displaying first prompt information under the condition that the electronic equipment is in a shooting state;
receiving a second input of the first prompt message;
generating the first display information and/or the second display information in response to the second input.
4. The display method according to claim 2, wherein after the generating the first display information and the second display information in response to the first input, the method further comprises:
storing the first display information and the first indication information in a correlated manner, and storing the second display information and the second indication information in a correlated manner;
the first indication information is used for indicating a screen display state corresponding to the first display information;
the second indication information is used for indicating the screen display state corresponding to the second display information.
5. The display method according to claim 2, wherein in a case where the first camera is a wide-angle camera, the generating the first display information includes:
acquiring third display information acquired by the wide-angle camera;
selecting part of the third display information as the first display information based on a preset condition;
the preset condition is used for indicating the display size ratio relation of the first display information and the third display information when a screen display interface of the electronic equipment displays.
6. The display method according to claim 2, wherein after the generating the first display information and the second display information, the method further comprises:
uploading the first display information and the second display information to a target application program under the condition that the target application program is displayed;
displaying the first display information on a media information display window of the target application program under the condition that the media information display window is a horizontal screen display window;
and under the condition that the media information display window of the target application program is a vertical screen display window, displaying the second display information on the media information display window.
7. A display device, comprising:
the first acquisition module is used for acquiring the screen display state of the electronic equipment;
the first display module is used for displaying first display information corresponding to the horizontal screen display state under the condition that the screen display state is the horizontal screen display state;
the second display module is used for displaying second display information corresponding to the vertical screen display state under the condition that the screen display state is the vertical screen display state;
the first display information is acquired through a first camera, and the second display information is acquired through a second camera.
8. The display device according to claim 7, further comprising:
the first receiving module is used for receiving a first input under the condition that the electronic equipment is in a shooting state;
a first generating module to generate the first display information and the second display information in response to the first input.
9. The display device according to claim 7, further comprising:
the third display module is used for displaying the first prompt information under the condition that the electronic equipment is in a shooting state;
the second receiving module is used for receiving second input of the first prompt message;
a second generating module, configured to generate the first display information and/or the second display information in response to the second input.
10. The display device according to claim 8, further comprising:
the storage module is used for storing the first display information and the first indication information in a correlation manner and storing the second display information and the second indication information in a correlation manner;
the first indication information is used for indicating a screen display state corresponding to the first display information;
the second indication information is used for indicating the screen display state corresponding to the second display information.
11. The display device according to claim 8, wherein in a case where the first camera is a wide-angle camera, the first generation module includes:
the second acquisition module is used for acquiring third display information acquired by the wide-angle camera;
the selection module is used for selecting part of the third display information as the first display information based on a preset condition;
the preset condition is used for indicating the display size ratio relation of the first display information and the third display information when a screen display interface of the electronic equipment displays.
12. The display device according to claim 8, further comprising:
the uploading module is used for uploading the first display information and the second display information to a target application program under the condition of displaying the target application program;
the fourth display module is used for displaying the first display information on the media information display window under the condition that the media information display window of the target application program is a horizontal screen display window;
and the fifth display module is used for displaying the second display information on the media information display window under the condition that the media information display window of the target application program is a vertical screen display window.
13. An electronic device comprising a processor, a memory, and a program or instructions stored on the memory and executable on the processor, the program or instructions when executed by the processor implementing the steps of the display method according to any one of claims 1-6.
14. A readable storage medium, characterized in that it stores thereon a program or instructions which, when executed by a processor, implement the steps of the display method according to any one of claims 1 to 6.
CN202010966119.XA 2020-09-15 2020-09-15 Display method and device and electronic equipment Pending CN112019686A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010966119.XA CN112019686A (en) 2020-09-15 2020-09-15 Display method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010966119.XA CN112019686A (en) 2020-09-15 2020-09-15 Display method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN112019686A true CN112019686A (en) 2020-12-01

Family

ID=73521536

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010966119.XA Pending CN112019686A (en) 2020-09-15 2020-09-15 Display method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN112019686A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113613043A (en) * 2021-07-30 2021-11-05 北京百度网讯科技有限公司 Screen display and image processing method, embedded device and cloud server

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106101553A (en) * 2016-07-27 2016-11-09 维沃移动通信有限公司 A kind of photographic method and mobile terminal
CN106534406A (en) * 2016-10-31 2017-03-22 努比亚技术有限公司 Terminal, photographing device and method
CN106973228A (en) * 2017-03-31 2017-07-21 联想(北京)有限公司 A kind of image pickup method and electronic equipment
CN107592467A (en) * 2017-10-20 2018-01-16 维沃移动通信有限公司 A kind of image pickup method and mobile terminal
US20180167604A1 (en) * 2007-08-29 2018-06-14 Nintendo Co., Ltd. Camera device
CN110365896A (en) * 2019-06-30 2019-10-22 联想(北京)有限公司 A kind of control method and electronic equipment
CN111225138A (en) * 2019-10-14 2020-06-02 宇龙计算机通信科技(深圳)有限公司 Camera control method and device, storage medium and terminal
CN111447365A (en) * 2020-04-16 2020-07-24 维沃移动通信有限公司 Shooting method and electronic equipment
CN111614910A (en) * 2020-04-07 2020-09-01 北京达佳互联信息技术有限公司 File generation method and device, electronic equipment and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180167604A1 (en) * 2007-08-29 2018-06-14 Nintendo Co., Ltd. Camera device
CN106101553A (en) * 2016-07-27 2016-11-09 维沃移动通信有限公司 A kind of photographic method and mobile terminal
CN106534406A (en) * 2016-10-31 2017-03-22 努比亚技术有限公司 Terminal, photographing device and method
CN106973228A (en) * 2017-03-31 2017-07-21 联想(北京)有限公司 A kind of image pickup method and electronic equipment
CN107592467A (en) * 2017-10-20 2018-01-16 维沃移动通信有限公司 A kind of image pickup method and mobile terminal
CN110365896A (en) * 2019-06-30 2019-10-22 联想(北京)有限公司 A kind of control method and electronic equipment
CN111225138A (en) * 2019-10-14 2020-06-02 宇龙计算机通信科技(深圳)有限公司 Camera control method and device, storage medium and terminal
CN111614910A (en) * 2020-04-07 2020-09-01 北京达佳互联信息技术有限公司 File generation method and device, electronic equipment and storage medium
CN111447365A (en) * 2020-04-16 2020-07-24 维沃移动通信有限公司 Shooting method and electronic equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113613043A (en) * 2021-07-30 2021-11-05 北京百度网讯科技有限公司 Screen display and image processing method, embedded device and cloud server

Similar Documents

Publication Publication Date Title
CN108737739B (en) Preview picture acquisition method, preview picture acquisition device and electronic equipment
JP6345238B2 (en) Interface display method and apparatus
CN108182271B (en) Photographing method, terminal and computer readable storage medium
CN110602565A (en) Image processing method and electronic equipment
CN112954199B (en) Video recording method and device
CN111147779B (en) Video production method, electronic device, and medium
CN108108079B (en) Icon display processing method and mobile terminal
CN112261218B (en) Video control method, video control device, electronic device and readable storage medium
CN111597370B (en) Shooting method and electronic equipment
CN112911147B (en) Display control method, display control device and electronic equipment
CN112099704A (en) Information display method and device, electronic equipment and readable storage medium
CN111770374B (en) Video playing method and device
CN107728877B (en) Application recommendation method and mobile terminal
CN113835577A (en) Display method, display device, electronic equipment and storage medium
CN112836086A (en) Video processing method and device and electronic equipment
CN110086998B (en) Shooting method and terminal
CN110955793A (en) Display control method and electronic equipment
CN108345657B (en) Picture screening method and mobile terminal
CN114025092A (en) Shooting control display method and device, electronic equipment and medium
CN110543276B (en) Picture screening method and terminal equipment thereof
CN112784081A (en) Image display method and device and electronic equipment
CN112019686A (en) Display method and device and electronic equipment
WO2022194211A1 (en) Image processing method and apparatus, electronic device and readable storage medium
CN114466140B (en) Image shooting method and device
CN114245017A (en) Shooting method and 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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20201201