Image display method, terminal device and storage medium

By implementing an image display method in the terminal device, obtaining image information of the target image and performing preset operations, the problem of single image display method and manual adjustment is solved, and the optimal display method is automatically switched, and the image display is improved. Effects and user experience.

CN116458146BActive Publication Date: 2025-02-14SHENZHEN TRANSSION HLDG CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202180077275.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2020-11-23
Filing Date
2021-11-19
Publication Date
2025-02-14
Estimated Expiration
2041-11-19

AI Technical Summary

Technical Problem

In the prior art, the display method of images is single. If the display method is to be changed, the user needs to manually adjust it, which is inconvenient to operate.

Method used

By implementing an image display method in the terminal device, image information of the target image is acquired, and preset operations are performed based on the information, including outputting switching display prompt information or switching to a corresponding display mode and/or display content.

Benefits of technology

It realizes the best display method of automatically detecting and switching images, improving the display effect and user experience of images, and reducing the user's needs for manual operations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116458146B_ABST
    Figure CN116458146B_ABST
Patent Text Reader

Abstract

The present application discloses an image display method, comprising the following steps: a target image is triggered to be displayed, and image information of the target image is obtained; a preset operation is performed based on the display mode and / or display content corresponding to the image information; wherein the preset operation includes outputting a switching display prompt information of the target image and / or switching to the display mode and / or display content corresponding to the image information. The present application also discloses a terminal device and a storage medium. The image display of the present application achieves convenient display mode switching while enriching the image display mode.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on November 23, 2020, with application number 202011326401.8 and application name “Image Display Method, Terminal Device and Storage Medium”, the entire contents of which are incorporated by reference in the application. Technical Field

[0002] The present application relates to the field of terminal display technology, and in particular to an image display method, a terminal device and a storage medium. Background Art

[0003] With the advancement of technology, the camera functions of electronic devices are becoming more and more abundant. For example, in order to achieve wide-angle photo shooting, large-angle or 360-degree shooting, panoramic shooting functions have emerged. The panoramic shooting function of electronic devices has a large shooting angle, can display more content, and realizes the synthesis of multi-angle images in one image, so it is favored by users.

[0004] Panoramic images are formed by merging images from multiple angles. The images contain a lot of content, but the image display based on electronic devices is displayed according to the size of the display interface of the electronic device. Since electronic devices are generally small in horizontal size, images are generally displayed in a vertical fixed display mode. If this method is used to display horizontally shot panoramic images, the panoramic image is generally displayed in a reduced size, making it difficult to see the image content. Nowadays, in order to see the panoramic image clearly, the panoramic image can generally be rotated, and the advantage of the larger vertical size of the electronic device is used to display the panoramic image, so that the panoramic image is displayed clearly.

[0005] However, the rotation of the panoramic image requires manual operation by the user, such as turning on the automatic rotation function to rotate the panoramic image, or editing the image and then rotating the image using the rotation function. The above rotation operation requires manual operation, and only the currently operated image can be rotated each time, which makes the display operation of such an image inconvenient.

[0006] The above contents are only used to assist in understanding the technical solution of the present application and do not constitute an admission that the above contents are prior art.

[0007] Application Contents

[0008] The main purpose of the present application is to provide an image display method, a terminal device and a storage medium, aiming to solve the technical problem that the current image display mode is single and if the display mode is to be changed, the user needs to manually adjust it, which is inconvenient to operate.

[0009] To achieve the above object, the present application provides an image display method, comprising the following steps:

[0010] The target image is triggered to be displayed, and image information of the target image is obtained;

[0011] Execute a preset operation based on the display mode and / or display content corresponding to the image information;

[0012] The preset operation includes outputting switching display prompt information of the target image and / or switching to a display mode and / or display content corresponding to the image information.

[0013] Optionally, the display mode shown includes one of horizontal screen display, vertical screen display, dynamic display and static display.

[0014] Optionally, the image information includes at least one of a size parameter, a preset identifier, a storage identifier and a historical display mode.

[0015] Optionally, the step of performing a preset operation based on the display mode and / or display content corresponding to the image information includes:

[0016] When the image information is a preset identifier and the preset identifier matches a preset panoramic identifier, the display mode corresponding to the image information is horizontal screen display and / or dynamic display;

[0017] Outputting a display switching prompt message for switching the target image to horizontal screen display and / or dynamic display; and / or

[0018] Switch to landscape display and / or dynamic display.

[0019] Optionally, the step of performing a preset operation based on the display mode and / or display content corresponding to the image information includes:

[0020] When the image information is a size parameter and the image length of the target image is greater than or equal to a preset threshold, and / or the image length is greater than the image height, the display mode corresponding to the image information is horizontal screen display and / or dynamic display;

[0021] Outputting a display switching prompt message for switching the target image to horizontal screen display and / or dynamic display; and / or

[0022] Switch to landscape display and / or dynamic display.

[0023] Optionally, the step of performing a preset operation based on the display mode and / or display content corresponding to the image information includes:

[0024] When the image information is a storage identifier, and the storage area corresponding to the storage identifier is a panoramic image storage area, the display mode corresponding to the image information is horizontal screen display and / or dynamic display;

[0025] Outputting a display switching prompt message for switching the target image to horizontal screen display and / or dynamic display; and / or

[0026] Switch to landscape display and / or dynamic display.

[0027] Optionally, the step of performing a preset operation based on the display mode and / or display content corresponding to the image information includes:

[0028] When the image information is in a historical display mode, and the historical display mode is horizontal screen display and / or dynamic display, the display mode corresponding to the image information is horizontal screen display and / or dynamic display;

[0029] Outputting a display switching prompt message for switching the target image to horizontal screen display and / or dynamic display; and / or

[0030] Switch to landscape display and / or dynamic display.

[0031] Optionally, the preset operation is outputting switching display prompt information of the target image, and after the step of performing the preset operation based on the display mode and / or display content corresponding to the image information, the step further includes:

[0032] When a switching instruction is received, the display mode and / or display content corresponding to the image information is switched.

[0033] Optionally, when the preset operation is switching to a display mode and / or display content corresponding to the image information, after the step of performing the preset operation based on the display mode and / or display content corresponding to the image information, the step further includes:

[0034] The historical display mode of the target image is updated to the display mode corresponding to the image information.

[0035] Optionally, when the preset operation is switching to a display mode and / or display content corresponding to the image information, after the step of performing the preset operation based on the display mode and / or display content corresponding to the image information, the step further includes:

[0036] When closing the target image, obtaining a preset thumbnail display mode;

[0037] The target image is switched to the preset thumbnail display mode.

[0038] Optionally, the image display method further includes:

[0039] When an image in a preset gallery is opened, the image is used as a target image, and it is determined that the target image is triggered to be displayed; or

[0040] When the preset gallery is opened, obtaining an image that was in a displayed state before the preset gallery was closed last time;

[0041] The image in display state is used as the target image, and it is determined that the target image is triggered to be displayed.

[0042] The present application also provides an image display method, the display method comprising:

[0043] When detecting that a target image is generated, obtaining attribute parameters of the target image;

[0044] Identify the type of the target image according to the attribute parameters, the type including panoramic images and standard images;

[0045] The target image is marked according to the type of the target image and the corresponding preset identifier.

[0046] Optionally, the attribute parameter includes at least one of a shooting mode, a size parameter and a storage area.

[0047] Optionally, the step of marking a preset mark in the target image includes:

[0048] Image information of the target image is generated based on the attribute parameters of the target image and the preset identifier, and the target image is associated.

[0049] The present application also provides a terminal device, which further includes: a memory, a processor, and an image display program stored in the memory and executable on the processor, wherein the image display program implements the steps of the image display method described above when executed by the processor.

[0050] In addition, the present application also provides a storage medium, on which an image display program is stored, and when the image display program is executed by a processor, the steps of the image display method described above are implemented.

[0051] An image display method, terminal device and storage medium proposed in the embodiment of the present application. The embodiment of the present application obtains the image information of the target image when the target image is triggered to be displayed; performs preset operations based on the display mode and / or display content corresponding to the image information, such as outputting the switching display prompt information of the target image and / or switching to the display mode and / or display content corresponding to the image information. Based on this, when the user opens the target image, the terminal device outputs the prompt information of the preferred display mode and / or display content of the target terminal based on the image information of the target image, and the user can choose to view the image in a preferred manner based on the prompt information. The user can quickly know the best display mode, and the operation is convenient; or directly switch to the preferred display mode and / or display content to display the target image, so that the user can directly view the image with higher clarity and better display effect without user operation. In addition, based on the different display modes and / or display contents corresponding to different image information, this embodiment can also enrich the display mode of the image under the premise of convenient display mode switching. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] Figure 1 It is a schematic diagram of the terminal structure of the hardware operating environment involved in the embodiment of the present application;

[0053] Figure 2 This is a flow chart of the first embodiment of the image display method of the present application;

[0054] Figure 3 This is a flow chart of a second embodiment of the image display method of the present application;

[0055] Figure 4 This is a schematic diagram of the flow chart of the third embodiment of the image display method of the present application;

[0056] Figure 5 This is a schematic diagram of the flow chart of the fourth embodiment of the image display method of the present application;

[0057] Figure 6 This is a schematic diagram of the flow chart of the fifth embodiment of the image display method of the present application;

[0058] Figure 7 A schematic diagram of the hardware structure of another mobile terminal according to various embodiments of the present application;

[0059] Figure 8 A communication network system architecture diagram provided for an embodiment of the present application.

[0060] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0061] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0062] The main solution of the embodiment of the present application is: the target image is triggered to be displayed, and the image information of the target image is obtained; a preset operation is performed based on the display mode and / or display content corresponding to the image information; wherein the preset operation includes outputting switching display prompt information of the target image and / or switching to the display mode and / or display content corresponding to the image information.

[0063] like Figure 1 As shown, Figure 1 It is a schematic diagram of the terminal structure of the hardware operating environment involved in the embodiment of the present application.

[0064] The terminal in the embodiment of the present application may be a mobile terminal device with a camera function, such as a smart phone, a tablet computer, or a camera.

[0065] like Figure 1 As shown, the terminal may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, and a communication bus 1002. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 1005 may be a high-speed RAM memory, or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.

[0066] Optionally, the terminal may also include a camera, an RF (Radio Frequency) circuit, a sensor, an audio circuit, a WiFi module, and the like. Among them, sensors include light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display screen according to the brightness of the ambient light, and the proximity sensor may turn off the display screen and / or backlight when the mobile terminal is moved to the ear. As a type of motion sensor, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally three axes), and can detect the magnitude and direction of gravity when stationary. It can be used for applications that identify the posture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; of course, the mobile terminal may also be equipped with other sensors such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which will not be repeated here.

[0067] Those skilled in the art will understand that Figure 1 The terminal structure shown in the figure does not constitute a limitation on the terminal, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.

[0068] like Figure 1 As shown, the memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module, and an image display program.

[0069] exist Figure 1 In the terminal shown, the network interface 1004 is mainly used to connect to the backend server and perform data communication with the backend server; the user interface 1003 is mainly used to connect to the client (user end) and perform data communication with the client; and the processor 1001 can be used to call the image display program stored in the memory 1005 and perform the following operations:

[0070] The target image is triggered to be displayed, and image information of the target image is obtained;

[0071] Execute a preset operation based on the display mode and / or display content corresponding to the image information;

[0072] The preset operation includes outputting switching display prompt information of the target image and / or switching to a display mode and / or display content corresponding to the image information.

[0073] In one embodiment, the processor 1001 may call the image display program stored in the memory 1005, and further perform the following operations:

[0074] When the image information is a preset identifier and the preset identifier matches a preset panoramic identifier, the display mode corresponding to the image information is horizontal screen display and / or dynamic display;

[0075] Outputting a display switching prompt message for switching the target image to horizontal screen display and / or dynamic display; and / or

[0076] Switch to landscape display and / or dynamic display.

[0077] In one embodiment, the processor 1001 may call the image display program stored in the memory 1005, and further perform the following operations:

[0078] When the image information is a size parameter and the image length of the target image is greater than or equal to a preset threshold, and / or the image length is greater than the image height, the display mode corresponding to the image information is horizontal screen display and / or dynamic display;

[0079] Outputting a display switching prompt message for switching the target image to horizontal screen display and / or dynamic display; and / or

[0080] Switch to landscape display and / or dynamic display.

[0081] In one embodiment, the processor 1001 may call the image display program stored in the memory 1005, and further perform the following operations:

[0082] When the image information is a storage identifier, and the storage area corresponding to the storage identifier is a panoramic image storage area, the display mode corresponding to the image information is horizontal screen display and / or dynamic display;

[0083] Outputting a display switching prompt message for switching the target image to horizontal screen display and / or dynamic display; and / or

[0084] Switch to landscape display and / or dynamic display.

[0085] In one embodiment, the processor 1001 may call the image display program stored in the memory 1005, and further perform the following operations:

[0086] When the image information is in a historical display mode, and the historical display mode is horizontal screen display and / or dynamic display, the display mode corresponding to the image information is horizontal screen display and / or dynamic display;

[0087] Outputting a display switching prompt message for switching the target image to horizontal screen display and / or dynamic display; and / or

[0088] Switch to landscape display and / or dynamic display.

[0089] In one embodiment, the processor 1001 may call the image display program stored in the memory 1005, and further perform the following operations:

[0090] When a switching instruction is received, the display mode and / or display content corresponding to the image information is switched.

[0091] In one embodiment, the processor 1001 may call the image display program stored in the memory 1005, and further perform the following operations:

[0092] The historical display mode of the target image is updated to the display mode corresponding to the image information.

[0093] In one embodiment, the processor 1001 may call the image display program stored in the memory 1005, and further perform the following operations:

[0094] When closing the target image, obtaining a preset thumbnail display mode;

[0095] The target image is switched to the preset thumbnail display mode.

[0096] In one embodiment, the processor 1001 may call the image display program stored in the memory 1005, and further perform the following operations:

[0097] When an image in a preset gallery is opened, the image is used as a target image, and it is determined that the target image is triggered to be displayed; or

[0098] When the preset gallery is opened, obtaining an image that was in a displayed state before the preset gallery was closed last time;

[0099] The image in display state is used as the target image, and it is determined that the target image is triggered to be displayed.

[0100] In one embodiment, the processor 1001 may call the image display program stored in the memory 1005, and further perform the following operations:

[0101] When detecting that a target image is generated, obtaining attribute parameters of the target image;

[0102] Identify the type of the target image according to the attribute parameters, the type including panoramic images and standard images;

[0103] The target image is marked according to the type of the target image and the corresponding preset identifier.

[0104] In one embodiment, the processor 1001 may call the image display program stored in the memory 1005, and further perform the following operations:

[0105] Image information of the target image is generated based on the attribute parameters of the target image and the preset identifier, and the target image is associated.

[0106] Reference Figure 2 The present application provides a first embodiment of an image display method, and the image display method comprises the following steps:

[0107] Step S10, the target image is triggered to be displayed, and image information of the target image is obtained;

[0108] Step S20, performing a preset operation based on the display mode and / or display content corresponding to the image information; wherein the preset operation includes outputting switching display prompt information of the target image and / or switching to the display mode and / or display content corresponding to the image information.

[0109] The terminal device of this embodiment is a mobile terminal, such as a mobile phone, a tablet computer, etc. The terminal device has a display screen, and the display screen can display images stored in the terminal device.

[0110] This embodiment proposes the display method in this embodiment based on the fact that the image does not have a rotation prompt function, the user is unaware that the image can be rotated, and the image cannot be rotated automatically, so that different images can be displayed to the user in different display modes when the user views them, thereby enriching the display function of the image and improving the image viewing effect.

[0111] Specifically, the association relationship between the preset image information and the display mode and / or the display content is such that when the target image is triggered to be displayed, the display mode and / or the display content of the target image is obtained based on the association relationship between the image information and the display mode and / or the display content, and then the preset operation is performed based on the display mode and / or the display content of the target image, such as outputting the switching display prompt information of the target image to prompt the user to choose to switch the display mode and / or the display content of the target image, and the display effect after switching is better. Or, directly switching to the display mode and / or the display content corresponding to the image information, that is, the terminal device directly uses the display mode to display the target image, and / or displays the target image based on the display content, so as to enrich the display mode of the image, and based on the switching prompt information of the output image, the user knows which display mode corresponds to the better display effect of the image, or directly switching to the corresponding display mode or display content, without the need for manual adjustment by the user, directly displaying with a better display mode and / or display content, and the user's viewing of the image is also convenient.

[0112] It should be noted that, in this embodiment, the manners of detecting that the target image is triggered to be displayed include but are not limited to the following:

[0113] For example, when an image in a preset gallery is opened, the image is used as the target image and it is determined that the target image is triggered to be displayed. That is, when a user selects an image in the preset gallery of a terminal device and clicks to open and view it, the image is used as the target image and it is determined that the target image is triggered to be displayed. At this time, the image information of the target image is obtained, and the preset operation is performed based on the display mode and / or display content corresponding to the image information.

[0114] Another example: based on the preset gallery being opened, the image that was in a displayed state before the preset gallery was closed the last time is obtained; the image in the displayed state is used as the target image, and it is determined that the target image is triggered for display. When browsing images in the gallery, the user sometimes closes the gallery after exiting the image, and sometimes closes the gallery without closing the display state of the image for some reason. In this case, when the user opens the gallery again, the image will be directly displayed to facilitate the user to quickly locate the browsing position, avoiding the user from browsing from beginning to end again, affecting the user's browsing experience. Based on this, in this embodiment, when the preset gallery is opened and the image that was in a displayed state when the preset gallery was closed the last time is obtained, the image in the displayed state is used as the target image, and it is determined that the target image is triggered for display, and then the image information of the target image is obtained, and the preset operation is performed based on the display mode and / or display content corresponding to the image information.

[0115] In an embodiment of the present application, the display mode includes one of horizontal screen display, vertical screen display, dynamic display and static display. The display content includes at least one of displaying partial content, displaying important content and displaying middle content. The image information includes at least one of size parameters, preset identifiers, storage identifiers and historical display modes. Different size parameters correspond to different display modes and / or display contents, different preset identifiers correspond to different display modes and / or display contents, different storage identifiers correspond to different display modes and / or display contents, and different images correspond to different image information, such as different size parameters, preset identifiers, storage identifiers or historical display modes, such as the size parameters of a panoramic image are different from the size parameters of a non-panoramic standard image, or the preset identifier of a panoramic image is different from the preset identifier of a non-panoramic standard image, and the storage identifier of a panoramic image is different from the storage identifier of a non-panoramic standard image.

[0116] Different display modes and / or display contents corresponding to different image information are preset to be different. Thus, after acquiring the image information, the corresponding display mode and / or display content can be directly obtained based on the image information, and then the corresponding preset operation can be performed. Based on the different image information of the panoramic image and the non-panoramic standard image, and based on the association between the image information and the display mode and / or display content, the display mode and / or display content of the panoramic image and the non-panoramic standard image can be different. The following takes the improvement of the display effect of the panoramic image as an example to illustrate the display control method of the panoramic image in this embodiment, and specifically takes different image information as an example to illustrate:

[0117] As an embodiment, the step of performing a preset operation based on the display mode and / or display content corresponding to the image information includes:

[0118] When the image information is a preset identifier and the preset identifier matches a preset panoramic identifier, the display mode corresponding to the image information is horizontal screen display and / or dynamic display;

[0119] Outputting a display switching prompt message for switching the target image to horizontal screen display and / or dynamic display; and / or

[0120] Switch to landscape display and / or dynamic display.

[0121] In this embodiment, during the image generation process, the terminal device identifies the image based on the image type or the image storage area, such as a panoramic image corresponding to a panoramic identifier, and a non-panoramic standard image corresponding to another identifier. After acquiring the image information, the preset identifier in the image information is compared with the preset panoramic identifier or other identifier. If the image information matches the preset panoramic identifier, the target image is determined to be a panoramic image. At this time, the display mode with the best display effect corresponding to the panoramic image is determined to be horizontal screen display and / or dynamic display. Among them, horizontal screen display refers to displaying the image in an expanded manner in which the long side of the image is parallel to the horizontal direction of the terminal device and the short side of the image is parallel to the vertical direction of the terminal device. The dynamic display refers to displaying the picture in a scrolling or sliding manner.

[0122] Since a panoramic image is formed by merging images from multiple angles, the image records more content, and the horizontal length of the image is longer than the vertical length. If it is displayed in a non-panoramic standard image display mode, it is necessary to first reduce the panoramic image and then display it on the display interface. It is difficult to see the image content of the reduced panoramic image. Therefore, this embodiment is set to output a switching display prompt information of switching the target image to horizontal screen display and / or dynamic display when the target image is determined to be a panoramic image based on the image information of the target image, prompting the user that the image can be switched to horizontal screen display and / or dynamic display, so that the image display is clearer and the display effect is better. Alternatively, directly switch to horizontal screen display and / or dynamic display to improve the display effect of the panoramic image.

[0123] On the contrary, if the preset identifier matches the identifier of a non-panoramic standard image, or the preset identifier does not match the panoramic image identifier, the target image is determined to be a non-panoramic standard image, and the display mode corresponding to the image information is vertical screen display and / or static display, wherein the vertical screen display refers to displaying the image in an expanded manner with the long side of the image parallel to the longitudinal direction of the terminal device and the short side of the image parallel to the horizontal direction of the terminal device.

[0124] As another embodiment: the step of performing a preset operation based on the display mode and / or display content corresponding to the image information includes:

[0125] When the image information is a size parameter and the image length of the target image is greater than or equal to a preset threshold, and / or the image length is greater than the image height, the display mode corresponding to the image information is horizontal screen display and / or dynamic display;

[0126] Outputting a display switching prompt message for switching the target image to horizontal screen display and / or dynamic display; and / or

[0127] Switch to landscape display and / or dynamic display.

[0128] In this embodiment, when the terminal device generates an image, it generates image information based on the size, type, etc. of the image, wherein different images have different size parameters. For example, the image length of a panoramic image is greater than a preset threshold, or the image length is greater than the image height (that is, the horizontal length of the image is greater than the vertical length of the image), and the image length of a non-panoramic standard image is less than or equal to a preset threshold, or the image length is less than or equal to the image height.

[0129] Based on this, after acquiring the image information of the target image, this embodiment compares the image length of the target image with the size of a preset threshold, and / or compares the image length of the target image with the size of the image height based on the size parameters recorded in the image information, and then determines the display mode and / or display content of the target image. For example, when the image length of the target image is greater than or equal to the preset threshold, and / or when the image length is greater than the image height, the target image is determined to be a panoramic image. At this time, the panoramic image is displayed in a horizontal screen display and / or a dynamic display mode, which can effectively improve the display effect. Therefore, this embodiment is set to output a switching display prompt information of switching the target image to a horizontal screen display and / or a dynamic display when the target image is determined to be a panoramic image based on the image information of the target image, prompting the user that the image can be switched to a horizontal screen display and / or a dynamic display, so that the image display is clearer and the display effect is better. Alternatively, directly switch to a horizontal screen display and / or a dynamic display to improve the display effect of the panoramic image.

[0130] On the contrary, if the image length of the target image is less than or equal to the preset threshold, or the image length is less than or equal to the image height, the target image is determined to be a non-panoramic standard image, and the display mode corresponding to the image information is vertical screen display and / or static display.

[0131] As another embodiment: the step of performing a preset operation based on the display mode and / or display content corresponding to the image information includes:

[0132] When the image information is a storage identifier, and the storage area corresponding to the storage identifier is a panoramic image storage area, the display mode corresponding to the image information is horizontal screen display and / or dynamic display;

[0133] Outputting a display switching prompt message for switching the target image to horizontal screen display and / or dynamic display; and / or

[0134] Switch to landscape display and / or dynamic display.

[0135] In this embodiment, based on the process of generating images by the terminal device, different types of images will be stored in different locations (areas or folders), such as panoramic images are stored in a preset panoramic image storage area, while non-panoramic standard images are stored in a preset image storage area, and when generating image information, the storage identifier of the image storage area is generated in the image information, so that when the target image is triggered to be displayed, the storage identifier of the target image can be obtained based on the image information. A mapping relationship between the preset storage identifier and the display mode and / or display content is set, and after the storage identifier is obtained, the display mode and / or display content corresponding to the storage identifier can be determined based on the mapping relationship between the storage identifier and the display mode and / or display content. For example, if the mapping relationship between the storage identifier corresponding to the preset panoramic image storage area and the horizontal screen display and / or dynamic display is determined, when the storage area corresponding to the storage identifier of the target image is obtained as the panoramic image storage area, based on the mapping relationship between the storage identifier corresponding to the preset panoramic image storage area and the horizontal screen display and / or dynamic display, it is determined that the display mode corresponding to the target image is the horizontal screen display and / or dynamic display. In this way, by outputting the switching display prompt information for switching the target image to the horizontal screen display and / or dynamic display, the user is prompted that the image can be switched to the horizontal screen display and / or dynamic display, so that the image display is clearer and the display effect is better. Alternatively, directly switch to the horizontal screen display and / or dynamic display to improve the display effect of the panoramic image.

[0136] On the contrary, if the storage area corresponding to the storage identifier of the target image is a storage area corresponding to a non-panoramic standard image, it is determined that the display mode corresponding to the image information is vertical screen display and / or static display.

[0137] As yet another embodiment: the step of performing a preset operation based on the display mode and / or display content corresponding to the image information includes:

[0138] When the image information is in a historical display mode, and the historical display mode is horizontal screen display and / or dynamic display, the display mode corresponding to the image information is horizontal screen display and / or dynamic display;

[0139] Outputting a display switching prompt message for switching the target image to horizontal screen display and / or dynamic display; and / or

[0140] Switch to landscape display and / or dynamic display.

[0141] In this embodiment, each time the image is opened and then closed, the display mode of this opening is recorded and generated in the image information in a historical display mode. In this way, when the image is opened again, the display mode of the target image is determined based on the historical display mode in the acquired image information.

[0142] It can be understood that the historical display mode in the image information can be the display mode and / or display content automatically switched when the target image is opened before the target image is closed last time, or it can be the display mode and / or display content manually adjusted by the user.

[0143] This embodiment determines the historical display mode of the target image based on the image information of the target image. Specifically, when it is determined that the historical display mode of the target image is horizontal screen display and / or dynamic display, the user is prompted that the image can be switched to horizontal screen display and / or dynamic display by outputting switching display prompt information for switching the target image to horizontal screen display and / or dynamic display, so that the image display is clearer and the display effect is better. Alternatively, the display is directly switched to horizontal screen display and / or dynamic display to improve the display effect of the panoramic image.

[0144] It should be noted that this embodiment determines the display mode and / or display content of the target image based on at least one of the above-mentioned image information, and then performs preset operations to enrich the display function of the image. Specifically, the image information of the target image is obtained, and when a preset identifier is obtained based on the image information, the corresponding display mode and / or display content is obtained with the preset identifier; if the preset identifier is not obtained, the corresponding display mode and / or display content is obtained with the size parameters of the target image; if the size parameters of the target image cannot accurately determine the type of the target image, the corresponding display mode and / or display content is determined in combination with the storage identifier of the target image, and the corresponding display mode and / or display content are determined with multiple image information, thereby improving the accuracy of the display mode and / or display content judgment.

[0145] In the second embodiment, please refer to Figure 3 Based on the first embodiment, the present embodiment further includes, after the preset operation is outputting the switching display prompt information of the target image and the step of performing the preset operation based on the display mode and / or display content corresponding to the image information:

[0146] Step S30: upon receiving a switching instruction, switching to a display mode and / or display content corresponding to the image information.

[0147] It should be noted that, in order to facilitate users to freely rotate the display mode of an image, this embodiment determines the display mode and / or display content of the target image based on the image information after acquiring the image information of the target image, and outputs the switching display prompt information of the target image, wherein the switching display prompt information includes the switching display mode and / or display content, etc., for example, outputting prompt information for switching to horizontal screen display, or prompt information for switching to partial content display. Based on the switching display prompt information, the user can choose to input a switching instruction to switch the target image to the display mode and / or display content corresponding to the image information. It is also possible to choose not to switch and display it in the current display mode and / or display content.

[0148] The switching instruction may be a voice switching instruction. For example, when a voice instruction such as "switch" is received, it is determined that the switching instruction is received, and the step of switching to the display mode and / or display content corresponding to the image information is executed.

[0149] Alternatively, the switching display prompt information includes at least one of a switching control and a non-switching control. When a trigger operation based on the switching control is detected or a trigger operation based on a location other than the switching control is detected, it is determined that a switching instruction has been received, and the step of switching to the display mode and / or display content corresponding to the image information is executed.

[0150] In the third embodiment, please refer to Figure 4 Based on the above first embodiment, when the preset operation is switching to the display mode and / or display content corresponding to the image information, after the step of performing the preset operation based on the display mode and / or display content corresponding to the image information, the present embodiment further includes:

[0151] Step S40: updating the historical display mode of the target image to the display mode corresponding to the image information.

[0152] In order to facilitate opening the target image again later, the target image can be directly opened in the historical display mode of the target image. After performing a preset operation based on the display mode and / or display content corresponding to the image information, the display mode corresponding to the target image is recorded, and the display mode corresponding to the target image this time is used to update the historical display mode of the target image, so that the historical display mode of the target image is the display mode this time.

[0153] It can be understood that, when the preset operation is to output the switching display prompt information of the target image, the preset operation is performed based on the display mode and / or display content corresponding to the image information, and when the switching instruction is received, after switching to the display mode and / or display content corresponding to the image information, step S40 is performed. That is, based on whether the user chooses to switch the display mode and / or display content of the target image to update the historical display mode of the target image, the latest display mode and / or display content of the target image can be accurately recorded, so that the display mode of the target image can better meet the needs of the user.

[0154] In the fourth embodiment, please refer to Figure 5 Based on all the above embodiments, in this embodiment, when the preset operation is switching to the display mode and / or display content corresponding to the image information, after the step of performing the preset operation based on the display mode and / or display content corresponding to the image information, the step further includes:

[0155] Step S50, when closing the target image, obtaining a preset thumbnail display mode;

[0156] Step S60: Switch the target image to the preset thumbnail display mode.

[0157] It should be noted that, in this embodiment, when the user triggers the target image to be closed, the preset thumbnail display mode is obtained, and the target image is switched to the preset thumbnail display mode to display the thumbnail of the target image in the preset gallery.

[0158] It is understandable that the preset thumbnail display mode can be the display mode of all thumbnails preset in the system, such as when the panoramic image and the non-panoramic image are closed and displayed as thumbnails in the preset gallery, they are all displayed in the display mode of the thumbnails, such as the display mode of the thumbnails is vertical screen display, etc. Among them, all images are displayed in the preset display mode of all thumbnails, so that all images in the preset gallery are arranged neatly and orderly, and the aesthetic feeling is improved.

[0159] Alternatively, the display mode of the preset thumbnail may also be a display mode associated with the target image, such as pre-setting a mapping relationship between the display mode of the image and the thumbnail, and when the target image is closed, the display mode of the preset thumbnail associated with the target image is obtained (it can be understood that the display mode of the preset thumbnail may be different from the display mode of the target image), and then the target image is switched to the display mode of the preset thumbnail.

[0160] In the fifth embodiment, please refer to Figure 6 The present application also provides an image display method, the display method comprising:

[0161] Step S110, when it is detected that a target image is generated, acquiring attribute parameters of the target image;

[0162] Step S120, identifying the type of the target image according to the attribute parameters, the type including panoramic images and standard images;

[0163] Step S130: marking the target image according to the type of the target image and the corresponding preset identifier.

[0164] In one embodiment, the step of identifying a preset mark in the target image includes:

[0165] Image information of the target image is generated based on the attribute parameters of the target image and the preset identifier, and the target image is associated.

[0166] The source of the image in the terminal device can be obtained by camera shooting or downloaded from an application or a web page. In the process of generating images in the terminal device, the images can be generated in different storage areas according to the source of the image or based on the shooting type of the image. In the process of generating images, image information of the image can be generated based on the source or type of the image, and the image information can be associated with the image and saved.

[0167] It is understandable that, in order to facilitate the identification of the type of image, in the present embodiment, after the type of the image is identified based on the attribute parameters of the image during the image generation process, a preset mark is made in the image information of the image to facilitate the identification of the image information. Specifically, different marks are preset corresponding to different image types. For example, the image types include panoramic images and standard images. The preset mark corresponding to the panoramic image is a preset panoramic mark, such as 1, and the preset mark corresponding to the standard image is 0 or no mark, so as to distinguish between the panoramic image and the standard image. During the image generation process, after the type of the image is determined based on the attribute parameters of the image, the image is marked. For example, when the image is a panoramic image, the panoramic image is marked as 1, and when the image is a standard image, the standard image is marked as 0.

[0168] Specifically, in this embodiment, the preset identifier is marked in the image information of the target image.

[0169] It should be noted that the panoramic image described in this embodiment is a horizontal panoramic image.

[0170] It can be understood that the attribute parameters include at least one of a shooting mode, a size parameter, and a storage area. When the shooting mode of the target image is a panoramic mode, the type of the target image corresponds to a panoramic image, and when the shooting mode of the target image is a standard mode, the type of the target image corresponds to a standard image. When the size parameter of the target image is that the image length is greater than or equal to a preset threshold, and / or the image length is greater than the image height, the type of the target image corresponds to a panoramic image, and when the size parameter of the target image is that the image length is less than or equal to a preset threshold, and / or the image length is less than the image height, the type of the target image corresponds to a standard image. When the storage area of ​​the target image is a storage area corresponding to a panoramic image, the type of the target image is a panoramic image, and when the storage area of ​​the target image is a storage area corresponding to a standard image, the type of the target image is a standard image.

[0171] In this embodiment, during the image generation process, after identifying the type of the image according to the attribute parameters of the image, the image is marked according to the type and a preset identifier corresponding to the type, and the image information of the image is generated and associated according to the preset identifier and the attribute parameters, so that when the target image is triggered to open, the image information of the target image is obtained based on the association between the target image and the image information, and then based on the association between the image information and the display mode and / or display content, the display mode and / or display content corresponding to the target image can be obtained, and preset operations can be performed, such as outputting switching display prompt information of the target image and / or switching to the display mode and / or display content corresponding to the image information, so as to achieve the purpose of enriching the display mode of the image, and the terminal device automatically outputs the switching prompt, and the user can directly switch the display mode, which is convenient and quick.

[0172] The present application also provides a terminal device, which further includes: a memory, a processor, and an image display program stored in the memory and executable on the processor, wherein the image display program implements the various steps of the image display method described above when executed by the processor.

[0173] In addition, the present application also provides a storage medium, on which an image display program is stored. When the image display program is executed by a processor, each step of the image display method described above is implemented.

[0174] An embodiment of the present application further provides a computer program product, which includes a computer program code. When the computer program code is executed on a computer, the computer executes the methods described in the various possible implementation modes above.

[0175] An embodiment of the present application also provides a chip, including a memory and a processor, wherein 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 equipped with the chip executes the methods described in the various possible implementation modes above.

[0176] It should be noted that, in this article, the terms "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "includes a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element. In addition, components, features, and elements with the same name in different embodiments of the present application may have the same meaning or different meanings, and their specific meanings need to be determined by their explanation in the specific embodiment or further combined with the context of the specific embodiment.

[0177] It should be understood that, although the terms first, second, third, etc. may be used to describe various information in this article, these information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of this article, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein can be interpreted as "at the time of..." or "when..." or "in response to determination". Furthermore, as used in this article, the singular forms "one", "one" and "the" are intended to also include plural forms, unless there is an opposite indication in the context. It should be further understood that the terms "comprising", "including" indicate that there are described features, steps, operations, elements, components, projects, kinds, and / or groups, but do not exclude the existence, occurrence or addition of one or more other features, steps, operations, elements, components, projects, kinds, and / or groups. The terms "or" and "and / or" used herein are interpreted as inclusive, or mean any one or any combination. Thus, “A, B, or C” or “A, B and / or C” means “any of the following: A; B; C; A and B; A and C; B and C; A, 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 manner.

[0178] It should be understood that, although the various steps in the flowchart in the embodiment of the present application are displayed in sequence according to the indication of the arrows, these steps are not necessarily performed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and it can be performed in other orders. Moreover, at least a portion of the steps in the figure may include a plurality of sub-steps or a plurality of stages, and these sub-steps or stages are not necessarily performed at the same time, but can be performed at different times, and their execution order is not necessarily performed in sequence, but can be performed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.

[0179] It should be noted that, in this article, step codes such as S100, S110, etc. are used for the purpose of expressing the corresponding content more clearly and concisely, and do not constitute a substantial limitation on the sequence. When implementing the step codes, those skilled in the art may execute S110 first and then S100, etc., but these should all be within the scope of protection of this application.

[0180] In the description herein, suffixes such as "module", "component" or "unit" used to represent elements are only used to facilitate the description of the present application and have no specific meanings. Therefore, "module", "component" or "unit" can be used in a mixed manner.

[0181] The terminal device can be implemented in various forms. For example, the terminal device described in this application may include mobile terminals such as mobile phones, tablet computers, laptop computers, PDAs, portable media players (PMPs), navigation devices, wearable devices, smart bracelets, pedometers, etc., as well as devices such as digital TVs, etc. The description herein will be described using mobile terminals as an example. It will be understood by those skilled in the art that, in addition to components specifically used for mobile purposes, the construction according to the embodiments of this application can also be applied to fixed-type terminals.

[0182] See also Figure 7 , which is a schematic diagram of the hardware structure of another mobile terminal for implementing various embodiments of the present application, the mobile terminal 100 may include: RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit 103, A / V (audio / video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111 and other components. Those skilled in the art can understand that Figure 7The structure of the mobile terminal shown in the figure does not constitute a limitation on the mobile terminal. The mobile terminal may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0183] Combine the following Figure 7 The following is a detailed introduction to the various components of the mobile terminal:

[0184] The radio frequency unit 101 can be used for receiving and sending signals during information transmission or communication. Specifically, after receiving the downlink information of the base station, it is sent to the processor 110 for processing; in addition, the uplink data is sent to the base station. Generally, the 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, etc. In addition, the radio frequency unit 101 can also communicate with the network and other devices through wireless communication. The above-mentioned wireless communication can use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication), 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 Duplexing-Long Term Evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution), etc.

[0185] WiFi is a short-range wireless transmission technology. Mobile terminals can help users send and receive emails, browse web pages, and access streaming media through WiFi module 102. It provides users with wireless broadband Internet access. Figure 7 The WiFi module 102 is shown, but it is understandable that it is not a necessary component of the mobile terminal and can be omitted as needed without changing the essence of the application.

[0186] The audio output unit 103 can convert the audio data received by the RF unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output it as sound when the mobile terminal 100 is in a call signal reception mode, a talk mode, a recording mode, a voice recognition mode, a broadcast reception mode, etc. Moreover, the audio output unit 103 can also provide audio output related to a specific function performed by the mobile terminal 100 (for example, a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, etc.

[0187] The A / V input unit 104 is used to receive audio or video signals. The A / V input unit 104 may include a graphics processor (GPU) 1041 and a microphone 1042, and the graphics processor 1041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The processed image frame can be displayed on the display unit 106. The image frame processed by the graphics processor 1041 can be stored in the memory 109 (or other storage medium) or sent via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 can receive sound (audio data) via the microphone 1042 in a telephone call mode, a recording mode, a voice recognition mode, and other operating modes, and can process such sound into audio data. The processed audio (voice) data can be converted into a format output that can be sent to a mobile communication base station via the radio frequency unit 101 in the case of a telephone call mode. The microphone 1042 can implement various types of noise elimination (or suppression) algorithms to eliminate (or suppress) noise or interference generated in the process of receiving and sending audio signals.

[0188] The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor. Optionally, the ambient light sensor can adjust the brightness of the display panel 1061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 1061 and / or the backlight when the mobile terminal 100 is moved to the ear. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (generally three axes), and can detect the magnitude and direction of gravity when stationary. It can be used for applications that identify the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for other sensors that can be configured on the mobile phone, such as fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., they will not be repeated here.

[0189] The display unit 106 is used to display information input by the user or information provided to the user. The display unit 106 may include a display panel 1061, which may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.

[0190] The user input unit 107 can be used to receive input digital or character information, and to generate key signal input related to the user settings and function control of the mobile terminal. Specifically, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also known as a touch screen, can collect the user's touch operation on or near it (such as the user's operation on the touch panel 1071 or near the touch panel 1071 using any suitable object or accessory such as a finger, stylus, etc.), and drive the corresponding connection device according to a pre-set program. The touch panel 1071 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into the touch point coordinates, and then sends it to the processor 110, and can receive and execute the command sent by the processor 110. In addition, the touch panel 1071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch panel 1071, the user input unit 107 may also include other input devices 1072. Specifically, the other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, a function key (such as a volume control key, a switch key, etc.), a trackball, a mouse, a joystick, etc., which are not specifically limited here.

[0191] Furthermore, the touch panel 1071 may cover the display panel 1061. When the touch panel 1071 detects a touch operation on or near it, it transmits the information to the processor 110 to determine the type of the touch event. Then, the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Figure 7 In the figure, the touch panel 1071 and the display panel 1061 are used as two independent components to implement the input and output functions of the mobile terminal. However, in some embodiments, the touch panel 1071 and the display panel 1061 can be integrated to implement the input and output functions of the mobile terminal, which is not limited here.

[0192] The interface unit 108 serves as an interface through which at least one external device can be connected to the mobile 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 with an identification module, an audio input / output (I / O) port, a video I / O port, a headphone port, etc. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal 100 and an external device.

[0193] The memory 109 can be used to store software programs and various data. The memory 109 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory 109 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0194] The processor 110 is the control center of the mobile terminal. It uses various interfaces and lines to connect various parts of the entire mobile terminal. It executes various functions of the mobile terminal and processes data by running or executing software programs and / or modules stored in the memory 109, and calling data stored in the memory 109, so as to monitor the mobile terminal as a whole. The processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 110.

[0195] The mobile terminal 100 may also include a power supply 111 (such as a battery) for supplying power to various components. Preferably, the power supply 111 may be logically connected to the processor 110 via a power management system, thereby implementing functions such as charging, discharging, and power consumption management through the power management system.

[0196] although Figure 7 Not shown, the mobile terminal 100 may further include a Bluetooth module, etc., which will not be described in detail here.

[0197] In order to facilitate understanding of the embodiments of the present application, the communication network system on which the mobile terminal of the present application is based is described below.

[0198] See also Figure 8 , Figure 8 A communication network system architecture diagram is provided for an embodiment of the present application, wherein the communication network system is an LTE system of universal mobile communication 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 operator's IP service 204, which are connected in sequence for communication.

[0199] Specifically, UE201 may be the above-mentioned terminal 100, which will not be described in detail here.

[0200] E-UTRAN 202 includes eNodeB 2021 and other eNodeBs 2022 , etc. Among them, eNodeB 2021 can be connected to other eNodeBs 2022 through a backhaul (eg, an X2 interface), and eNodeB 2021 is connected to EPC 203 , and eNodeB 2021 can provide UE 201 with access to EPC 203 .

[0201] EPC203 may include MME (Mobility Management Entity) 2031, HSS (Home Subscriber Server) 2032, other MMEs 2033, SGW (Serving Gate Way) 2034, PGW (PDN Gate Way) 2035 and PCRF (Policy and Charging Rules Function) 2036, etc. Among them, MME2031 is a control node that processes signaling between UE201 and EPC203, and provides bearer and connection management. HSS2032 is used to provide some registers to manage functions such as home location register (not shown in the figure), and save some user-specific information such as service features and data rates. All user data can be sent through SGW2034, PGW2035 can provide IP address allocation and other functions for UE 201, PCRF2036 is the policy and charging control policy decision point for service data flow and IP bearer resources, which selects and provides available policy and charging control decisions for the policy and charging execution function unit (not shown in the figure).

[0202] The IP service 204 may include the Internet, an intranet, an IMS (IP Multimedia Subsystem) or other IP services.

[0203] Although the above introduction takes the LTE system as an example, those skilled in the art should know that the present application is not only applicable to the LTE system, but also to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA and future new network systems, etc., which are not limited here.

[0204] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0205] The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. An image display method, characterized in that: The following steps are involved: The target image is triggered to be displayed, and image information of the target image is obtained, wherein the image information is generated based on attribute parameters and a preset identifier of the target image, the attribute parameters are used to identify the type of the target image, and the type of the target image and the corresponding preset identifier are used to mark the target image; Execute a preset operation based on the display mode and / or display content corresponding to the image information; Wherein, the preset operation includes outputting switching display prompt information of the target image and / or switching to a display mode and / or display content corresponding to the image information; The step of performing a preset operation based on the display mode and / or display content corresponding to the image information includes: If the image information is a preset mark, and the preset mark matches the preset panoramic mark, the display mode corresponding to the image information is horizontal screen display and / or dynamic display; Outputting a display switching prompt message for switching the target image to horizontal screen display and / or dynamic display; and / or Switch to landscape display and / or dynamic display.

2. The image display method according to claim 1, wherein: The display mode includes one of horizontal screen display, vertical screen display, dynamic display and static display.

3. The image display method according to claim 1, wherein: The image information includes at least one of a size parameter, a preset mark, a storage mark and a historical display mode.

4. The image display method according to claim 3, wherein: The step of performing a preset operation based on the display mode and / or display content corresponding to the image information includes: When the image information is a size parameter and the image length of the target image is greater than or equal to a preset threshold, and / or the image length is greater than the image height, the display mode corresponding to the image information is horizontal screen display and / or dynamic display; Outputting a display switching prompt message for switching the target image to horizontal screen display and / or dynamic display; and / or Switch to landscape display and / or dynamic display.

5. The image display method according to claim 3, wherein: The step of performing a preset operation based on the display mode and / or display content corresponding to the image information includes: When the image information is a storage identifier, and the storage area corresponding to the storage identifier is a panoramic image storage area, the display mode corresponding to the image information is horizontal screen display and / or dynamic display; Outputting a display switching prompt message for switching the target image to horizontal screen display and / or dynamic display; and / or Switch to landscape display and / or dynamic display.

6. The image display method according to claim 3, characterized in that: The step of performing a preset operation based on the display mode and / or display content corresponding to the image information includes: When the image information is in a historical display mode, and the historical display mode is horizontal screen display and / or dynamic display, the display mode corresponding to the image information is horizontal screen display and / or dynamic display; Outputting a display switching prompt message for switching the target image to horizontal screen display and / or dynamic display; and / or Switch to landscape display and / or dynamic display.

7. The image display method according to any one of claims 1 to 6, characterized in that: The preset operation is outputting the switching display prompt information of the target image. After the step of performing the preset operation based on the display mode and / or display content corresponding to the image information, the method further includes: When a switching instruction is received, the display mode and / or display content corresponding to the image information is switched.

8. The image display method according to any one of claims 1 to 6, characterized in that: When the preset operation is switching to the display mode and / or display content corresponding to the image information, after the step of performing the preset operation based on the display mode and / or display content corresponding to the image information, the step further includes: The historical display mode of the target image is updated to the display mode corresponding to the image information.

9. The image display method according to claim 1, wherein: When the preset operation is switching to the display mode and / or display content corresponding to the image information, after the step of performing the preset operation based on the display mode and / or display content corresponding to the image information, the step further includes: When closing the target image, obtaining a preset thumbnail display mode; The target image is switched to the preset thumbnail display mode.

10. The image display method according to claim 1, wherein: The image display method further includes: When an image in a preset gallery is opened, the image is used as a target image, and it is determined that the target image is triggered to be displayed; or When the preset gallery is opened, obtaining an image that was in a displayed state before the preset gallery was closed last time; The image in display state is used as the target image, and it is determined that the target image is triggered to be displayed.

11. An image display method, characterized in that: Display methods include: When detecting that a target image is generated, obtaining attribute parameters of the target image; Identify the type of the target image according to the attribute parameters, the type including panoramic images and standard images; Marking the target image according to the type of the target image and the corresponding preset identifier; If the target image is triggered to be displayed, image information of the target image is acquired, and a preset operation is performed based on a display mode and / or display content corresponding to the image information; Wherein, the preset operation includes outputting switching display prompt information of the target image and / or switching to a display mode and / or display content corresponding to the image information; The performing of a preset operation based on the display mode and / or display content corresponding to the image information includes: If the image information is a preset mark, and the preset mark matches the preset panoramic mark, the display mode corresponding to the image information is horizontal screen display and / or dynamic display; Outputting a display switching prompt message for switching the target image to horizontal screen display and / or dynamic display; and / or Switch to landscape display and / or dynamic display.

12. The image display method according to claim 11, wherein: The attribute parameter includes at least one of a shooting mode, a size parameter, and a storage area.

13. The image display method according to claim 11, wherein: The step of marking a preset mark in the target image comprises: Image information of the target image is generated based on the attribute parameters of the target image and the preset identifier, and the target image is associated.

14. An image display method, characterized in that: Display methods include: In response to the target image being triggered to be displayed, a preset operation is performed; wherein, before performing the preset operation, the method further includes: acquiring image information of the target image, the image information is generated based on attribute parameters and a preset identifier of the target image, the attribute parameters are used to identify the type of the target image, and the type of the target image and the corresponding preset identifier are used to mark the target image; Among them, the executing preset operation includes outputting switching display prompt information of the target image, displaying the target image using the display mode corresponding to the target image, and displaying at least one of the target images based on the display content corresponding to the target image, wherein the display mode and / or display content is determined according to the image information of the target image; if the image information is a preset mark, and the preset mark matches the preset panoramic mark, the display mode corresponding to the image information is horizontal screen display and / or dynamic display.

15. A terminal device, characterized in that: The terminal device further comprises: a memory, a processor and an image display program stored in the memory and executable on the processor, wherein the image display program implements the steps of the image display method as claimed in claim 1 when executed by the processor.

16. A storage medium, characterized in that: The storage medium stores an image display program, and when the image display program is executed by the processor, the steps of the image display method according to claim 1 are implemented.

Citation Information

Patent Citations

  • Application display method and mobile communication terminal based on user habit

    CN101795321A

  • Mobile terminal and screen controlling method

    CN106791149A

  • Picture adjustment method and terminal

    CN107704176A