Processing method, intelligent terminal and storage medium
By adjusting the image processing strategy according to the usage status of the smart terminal, it solves the problem of unclear display or lag caused by the influence of network and power during video calls, and improves the user experience.
Patent Information
- Application Number
- CN202410581850.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-10
- Publication Date
- 2024-08-23
AI Technical Summary
During daily video calls, the display and/or transmission of images is easily affected by factors such as the terminal's network status, resulting in unclear or stuck display, affecting the user experience.
According to the usage status of the smart terminal, different image processing strategies are implemented, including reducing the image resolution or optimizing image processing, and improving the overall or partial area resolution of the image to ensure display in weak network status, power saving mode or low battery. Quality and efficiency.
By dynamically adjusting the image processing strategy, the display clarity and smoothness of video calls are improved, improving the user experience, especially when network conditions are poor or power is limited.
Smart Images

Figure CN118540410A
Abstract
Description
Technical Field
[0001] The present application relates to the field of information technology, and in particular to a processing method, an intelligent terminal and a storage medium. Background Art
[0002] As the functions of smart terminals such as mobile phones and tablets continue to improve, they have gradually become one of the commonly used tools in people's daily life and work.
[0003] In the process of conceiving and implementing this application, the inventors discovered that there are at least the following problems: during daily video calls, the display and / or transmission of images will be affected by factors such as the network status of the terminal, resulting in problems such as unclear video image display or freezes, thereby affecting the user experience.
[0004] The preceding description is intended to provide general background information and does not necessarily constitute prior art. Summary of the invention
[0005] In response to the above technical problems, the present application provides a processing method, a smart terminal and a storage medium, which can display and / or send images based on the usage status of the terminal, and execute different image processing strategies according to the usage status of the smart terminal to ensure the display quality and display efficiency of the image, thereby improving the user experience.
[0006] The present application provides a processing method, which is applied to a smart terminal, including:
[0007] S1, in response to a usage status satisfying a first preset condition, displaying an image based on a first strategy and / or sending an image based on a second strategy.
[0008] Optionally, the usage status satisfies a first preset condition, including at least one of the following:
[0009] In a weak network state;
[0010] In power saving mode;
[0011] The battery level is lower than the preset threshold;
[0012] The resolution of the received image meets the second preset condition.
[0013] Optionally, satisfying the second preset condition includes at least one of the following:
[0014] The overall resolution of the image is lower than the preset resolution;
[0015] The resolution of some areas of the image is lower than the preset resolution.
[0016] Optionally, the first strategy includes at least one of the following:
[0017] After increasing the overall resolution of the image, the image is displayed;
[0018] The image is displayed after the resolution of a partial area of the image is increased.
[0019] Optionally, the second strategy includes at least one of the following:
[0020] Send the image after reducing its overall resolution;
[0021] Sending the image after reducing the resolution of a portion of the image;
[0022] For each frame of image, the image of the high-weight area is sent first, and then the image of the low-weight area is sent;
[0023] The images of high-weighted areas are sent first, followed by images of low-weighted areas, at intervals of a preset number of frames.
[0024] Optionally, improving the resolution of a partial area of the image includes at least one of the following:
[0025] Using preset image information to process the target area in the image;
[0026] The image information of the high-resolution area in the image is used to process the image information of the low-resolution area.
[0027] Optionally, the method for determining the target area includes at least one of the following:
[0028] Divide the image into regions and determine the high-weighted regions as target regions;
[0029] The image is divided into regions, and the region division result is outputted. In response to the operation of selecting a region, the selected region is determined as a target region.
[0030] Optionally, before processing the target area in the image using the preset image information, at least one of the following items is also included:
[0031] Matching at least one preset image information according to the image features of the target area;
[0032] In response to an operation of selecting preset image information, determining, from at least one preset image information, preset image information for processing a target area in an image;
[0033] storing image information of a target area in an image of a current frame as preset image information;
[0034] Storing historical images as preset image information;
[0035] The model image is stored as preset image information.
[0036] Optionally, reducing the resolution of a portion of the image includes at least one of the following:
[0037] Reduce the overall resolution of the low-weight areas of the image and keep the overall resolution of the high-weight areas unchanged;
[0038] Reduce the overall resolution of the high-weighted area and the low-weighted area of the image, and make the overall resolution of the high-weighted area higher than that of the low-weighted area;
[0039] Reduce the overall resolution of low-weighted areas of the image, and reduce the resolution of some areas in high-weighted areas.
[0040] The present application also provides an intelligent terminal, comprising: a memory and a processor, wherein a processing program is stored in the memory, and the network search program implements the steps of the above method when executed by the processor.
[0041] The present application also provides a storage medium, wherein the storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the above method are implemented.
[0042] As described above, the processing method, smart terminal and storage medium of the present application can display and / or send images based on the usage status of the smart terminal, execute different image processing strategies according to the usage status of the smart terminal, ensure the display quality and display efficiency of the image, and thus improve the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] The drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present application, and are used together with the specification to explain the principles of the present application. In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments are briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative labor.
[0044] Figure 1 A schematic diagram of the hardware structure of a smart terminal for implementing each embodiment of the present application;
[0045] Figure 2 A communication network system architecture diagram provided for an embodiment of the present application;
[0046] Figure 3 is a flowchart of a processing method according to the first embodiment;
[0047] Figure 4 is a schematic diagram of an interface of a processing method according to the first embodiment;
[0048] Figure 5is a flowchart of a processing method according to the second embodiment;
[0049] Figure 6 is a schematic diagram of an interface of a processing method according to a second embodiment;
[0050] Figure 7 It is a flowchart of a processing method according to the third embodiment.
[0051] The realization of the purpose, functional features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. The above-mentioned drawings have shown clear embodiments of this application, which will be described in more detail later. These drawings and textual descriptions are not intended to limit the scope of the concept of this application in any way, but to illustrate the concept of this application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0052] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0053] 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.
[0054] 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" and "including" indicate that there are the 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 / or", "including at least one of the following" etc. used in this application can be interpreted as inclusive, or mean any one or any combination. For example, “comprising at least one of the following: A, B, C” means “any of the following: A; B; C; A and B; A and C; B and C; A and B and C”, and for another example, “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 and B and C”. An exception to this definition will only occur when a combination of elements, functions, steps or operations are inherently mutually exclusive in some manner.
[0055] 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.
[0056] As used herein, the words "if" and "if" may be interpreted as "at the time of" or "when" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrases "if it is determined" or "if (stated condition or event) is detected" may be interpreted as "when it is determined" or "in response to determining" or "when detecting (stated condition or event)" or "in response to detecting (stated condition or event)", depending on the context.
[0057] It should be noted that in this article, step codes such as S10 and S20 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, those skilled in the art may execute S20 first and then S10, etc., but these should all be within the scope of protection of this application.
[0058] 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.
[0059] In the subsequent description, the 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.
[0060] The intelligent terminal may be implemented in various forms. For example, the intelligent terminal described in the present application may include intelligent 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 fixed terminals such as digital TVs and desktop computers.
[0061] The following description will be made by taking a mobile terminal as an example, and those skilled in the art will understand that, in addition to components specifically used for mobile purposes, the construction according to the embodiments of the present application can also be applied to fixed-type terminals.
[0062] See also Figure 1 , which is a schematic diagram of the hardware structure of a mobile terminal for implementing various embodiments of the present application, the mobile terminal 100 may include: RF (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 1 The 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.
[0063] Combine the following Figure 1 The following is a detailed introduction to the various components of the mobile terminal:
[0064] 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 may use any communication standard or protocol, including but not limited to GSM (Global System of Mobile Communications), GPRS (Generic Packet Radio Service), CDMA2000 (Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division Duplex-Long Term Evolution), TDD-LTE (Time Division Duplex-Long Term Evolution), and the like. ion, time-division duplex long-term evolution), 5G and 6G, etc.
[0065] 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 1 The WiFi module 102 is shown, but it is understandable that it is not an essential component of the mobile terminal and can be omitted as required without changing the essence of the invention.
[0066] 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.
[0067] 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 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the process of receiving and transmitting audio signals.
[0068] The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Optionally, the light sensor includes an ambient light sensor and a proximity sensor. 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.
[0069] 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.
[0070] 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. Optionally, 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. Optionally, 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 wave. In addition to the touch panel 1071, the user input unit 107 may further include other input devices 1072. Optionally, 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.
[0071] Optionally, 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 touch event. Then, the processor 110 provides corresponding visual output on the display panel 1061 according to the type of touch event. Figure 1 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.
[0072] 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.
[0073] 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. Optionally, 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.
[0074] 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. Optionally, 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.
[0075] 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.
[0076] although Figure 1 Not shown, the mobile terminal 100 may further include a Bluetooth module, etc., which will not be described in detail here.
[0077] 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.
[0078] See also Figure 2 , Figure 2 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.
[0079] Optionally, UE201 may be the above-mentioned terminal 100, which will not be described in detail here.
[0080] E-UTRAN 202 includes eNodeB 2021 and other eNodeBs 2022, etc. Optionally, eNodeB 2021 may be connected to other eNodeBs 2022 via a backhaul (eg, an X2 interface), and eNodeB 2021 is connected to EPC 203, and eNodeB 2021 may provide UE 201 with access to EPC 203.
[0081] EPC203 may include MME (Mobility Management Entity) 2031, HSS (Home Subscriber Server) 2032, other MME 2033, SGW (Serving Gate Way) 2034, PGW (PDN Gate Way) 2035 and PCRF (Policy and Charging Rules Function) 2036, etc. Optionally, MME 2031 is a control node for processing signaling between UE 201 and EPC 203, providing bearer and connection management. HSS 2032 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 UE201. PCRF2036 is the policy and charging control policy decision point for service data flow and IP bearer resources. It selects and provides available policy and charging control decisions for the policy and charging execution function unit (not shown in the figure).
[0082] The IP service 204 may include the Internet, an intranet, an IMS (IP Multimedia Subsystem, IP Multimedia Subsystem) or other IP services.
[0083] 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, 5G and future new network systems (such as 6G), etc., without limitation here.
[0084] Based on the above-mentioned mobile terminal hardware structure and communication network system, various embodiments of the present application are proposed.
[0085] First embodiment
[0086] Reference Figure 3 , Figure 3 is a flow chart of a processing method according to the first embodiment. The processing method of the embodiment of the present application can be applied to a smart terminal (such as a mobile phone), and includes the following steps:
[0087] S1, in response to a usage status satisfying a first preset condition, displaying an image based on a first strategy and / or sending an image based on a second strategy.
[0088] The technical solution of the present application adjusts the display strategy based on the usage status when displaying an image, which can improve the display effect of the image and enhance the user experience.
[0089] Optionally, the image includes an image received in real time and / or an image received in history. The image received in real time is, for example, an image frame during a video call, and the image received in history is, for example, an image frame of a video received in history. When these images are transmitted to the terminal, they may have a lower resolution due to network quality, network mode, power, etc., or when they are stored in the terminal, they may have a lower resolution due to reasons such as the memory size of the terminal. When displayed, problems such as freezing and unclearness may occur. The present application adopts the first strategy to process the image, which can improve the resolution of the image. Thus, in scenarios where the image resolution is low, the clarity experience and the smoothness experience can be improved.
[0090] Optionally, the usage status satisfies a first preset condition, including at least one of the following:
[0091] In a weak network state;
[0092] In power saving mode;
[0093] The battery level is lower than the preset threshold;
[0094] The resolution of the received image meets the second preset condition.
[0095] Optionally, the usage status may be the usage status of the current terminal device, or the usage status of other terminal devices communicating with the current terminal device.
[0096] The use status of the current terminal device and other terminal devices communicating with the current terminal device will affect the resolution of the image. In one scenario, when other terminal devices communicating with the current terminal device are in a weak network state, a flow saving mode, or the power is lower than a threshold, the image can be sent to the current terminal device after reducing the resolution, thereby meeting the communication needs of the weak network, or saving traffic, or saving power. Optionally, when wireless communication such as Bluetooth and Wifi is used, reducing the image resolution and then transmitting the image can better save power. In this scenario, the resolution of the image received by the current terminal device is low, and it needs to be processed based on the first strategy. In another scenario, when the current terminal device is in a weak network state, a flow saving mode, or the power is lower than a threshold, other terminal devices communicating with the current terminal device can also reduce the image resolution and transmit it to meet the use needs of the current terminal device. In this scenario, the resolution of the image received by the current terminal device is low, and it needs to be processed based on the first strategy. In another scenario, the current terminal device may not determine whether it is in a weak network state, a flow saving mode, or whether the power is lower than a threshold, but determine whether the resolution of the received image meets the second preset condition. If the second preset condition is met, it is processed based on the first strategy.
[0097] Optionally, satisfying the second preset condition includes at least one of the following:
[0098] The overall resolution of the image is lower than the preset resolution;
[0099] The resolution of some areas of the image is lower than the preset resolution.
[0100] Optionally, the overall resolution of the image is lower than the preset resolution, which means that the highest resolution of the image is less than or lower than the preset resolution, that is, the overall resolution of the image decreases. The resolution of some areas of the image is lower than the preset resolution, which means that the resolution of some areas of the image reaches the preset resolution, and the resolution of some areas does not reach the preset resolution, that is, only the resolution of some areas of the image decreases.
[0101] Optionally, the first strategy includes at least one of the following:
[0102] After increasing the overall resolution of the image, the image is displayed;
[0103] The image is displayed after the resolution of a partial area of the image is increased.
[0104] Optionally, when the overall resolution of the image is lower than the preset resolution, and / or the resolution of the target area of the image is lower than the preset resolution, the resolution of only part of the area may be increased before displaying, thereby reducing the amount of calculation, or the overall resolution of the image may be increased before displaying the image, thereby providing a better viewing experience.
[0105] Optionally, improving the resolution of a partial area of the image includes at least one of the following:
[0106] Using preset image information to process the target area in the image;
[0107] The image information of the high-resolution area in the image is used to process the image information of the low-resolution area.
[0108] Optionally, the resolution of a partial area of the image is lower than the preset resolution, which may be the resolution of the target area is lower than the preset resolution, or the resolution of other areas except the target area is lower than the preset resolution.
[0109] Optionally, the method for determining the target area includes at least one of the following:
[0110] Divide the image into regions and determine the high-weighted regions as target regions;
[0111] The image is divided into regions, and the region division result is outputted. In response to the operation of selecting a region, the selected region is determined as a target region.
[0112] Optionally, the target area may be an area specified by a user, or an area automatically determined by image recognition.
[0113] Optionally, the method of dividing the image into regions can identify image features and divide the current image into different scenes such as portrait, landscape, food, etc., so as to divide high-weight areas and low-weight areas according to different scenes, and then determine the high-weight area as the target area. Taking video calls as an example, if the call screen is identified as a portrait, the area where the portrait is located will be identified as a high-weight area, and the background area will be identified as a low-weight area. Optionally, after identifying the high-weight area and the low-weight area, the recognition result can also be output for the user to select. To improve efficiency, multiple high-weight areas can be provided for selection.
[0114] Optionally, the image can be divided into regions by dividing the image into grids to determine multiple grid regions, and the user can select multiple grid regions. Finally, the target region is composed of multiple grid regions selected by the user. Optionally, after the target region is determined in the current frame image, the characteristics of the target region are recorded, and the same target region is used in a subsequent period of time or a preset number of frames, thereby reducing operations.
[0115] Optionally, the preset image information is pre-stored image information, which may be a two-dimensional image or a three-dimensional model. Optionally, the resolution of the preset image information is higher than the resolution of the target area, and the preset image information is used to replace the target area in the image, so that the target area can be processed into a high-resolution image, thereby restoring the graphic to a high-resolution image.
[0116] Optionally, before processing the target area in the image using the preset image information, at least one of the following items is also included:
[0117] Matching at least one preset image information according to the image features of the target area;
[0118] In response to an operation of selecting preset image information, determining, from at least one preset image information, preset image information for processing a target area in an image;
[0119] storing image information of a target area in an image of a current frame as preset image information;
[0120] Storing historical images as preset image information;
[0121] The model image is stored as preset image information.
[0122] Optionally, the preset image information can be stored in real time, and the image information of the target area of the previous frame image can be used to replace the target area of the next frame or subsequent frames of images. Optionally, the preset image information can be a material image in a high-definition material library, and the material image in the high-definition material library can be stored in real time, can be stored historically, or can be a pre-placed model image.
[0123] Optionally, when determining the preset image information, at least one preset image information can be matched according to the image features of the target area. For example, if the target area is determined to be person A (e.g., dad) according to the image features, the preset image information corresponding to person A (which can be a real head portrait or a cartoon pattern, a cartoon model, an AI image, etc.) can be matched. Optionally, when determining the preset image information, the optional materials in the material library can also be displayed for the user to select and determine.
[0124] Optionally, when the image information of the high-resolution area in the image is used to process the image information of the low-resolution area, the image can be identified to determine the correlation between the high-resolution area and the low-resolution area, and the area to be filled can be located. For example, the correlation is that the grayscale value is within a preset deviation range. After that, the low-resolution area is filled with high-definition pixels in the image to obtain an image restored to high resolution, and the restored image is used to replace the received low-resolution image. At this time, the displayed image resolution is improved, and a clearer experience is obtained. At the same time, due to the high efficiency of low-resolution data transmission, the jamming is also improved.
[0125] Optionally, in the received low-resolution image, each area may have at least one high-resolution area, for example, the hair area has at least one high-resolution area, and the face area has at least one high-resolution area. In this case, the image after pixel filling and restoration is closer to the real image, and the experience is better.
[0126] Please refer to Figure 4 , which is a schematic diagram of an interface provided in this embodiment. Taking the video call interface as an example, when the problem of resolution degradation is encountered during the call, the current frame image is identified to determine the target area 11. After identification, the target area 11 can be indicated by a dotted line or other identification method, and the user is prompted whether to "repair the identified area". The user can choose "Confirm", "Reselect" or "Reject". When "Confirm" is selected, the corresponding preset image information can be automatically matched to replace the content of the target area 11, or the material library can be displayed, and the user can select the material to replace the content of the target area 11. When "Reselect" is selected, the identification can be re-performed, or a selection tool can be provided, and the user can directly select the target area on the screen. When "Reject" is selected, the graphics are not processed. In this way, the use status of the device will not have a significant impact on the display quality of the image, which can better improve the user experience.
[0127] Second embodiment
[0128] Reference Figure 5 , Figure 5 is a flow chart of a processing method according to the first embodiment. The processing method of the embodiment of the present application can be applied to a smart terminal (such as a mobile phone), and includes the following steps:
[0129] S10: In response to the use status satisfying the first preset condition, sending the image based on the second strategy.
[0130] The technical solution of the present application adjusts the sending strategy based on the usage status when sending images, reduces the impact of usage status changes on image transmission, makes the display effect of the image on the receiving device better, and improves the user experience.
[0131] Optionally, the image includes a real-time generated image and / or a historically generated image. The real-time generated image is, for example, an image frame during a video call, and the historically generated image is, for example, an image frame of a historically stored video. In the process of transmitting these images to other terminals, if the network quality is poor or the image is in a flow-saving mode, the transmission efficiency may be low, affecting the display of the receiving terminal and causing freezes, or when the device power is low, the power consumption increases, affecting the battery life, and further affecting the user experience. The present application adopts the second strategy to process the image, which can reduce the resolution of the image before sending it. Therefore, when the image usage status meets the first preset condition, the user experience can also be guaranteed.
[0132] Optionally, the usage status satisfies a first preset condition, including at least one of the following:
[0133] In a weak network state;
[0134] In power saving mode;
[0135] The battery level is below the preset threshold.
[0136] Optionally, the usage status may be the usage status of the current terminal device, or the usage status of other terminal devices communicating with the current terminal device.
[0137] The usage status of the current terminal device and other terminal devices communicating with the current terminal device will affect the transmission of the image. In one scenario, when the current terminal device and / or other terminal devices communicating with the current terminal device are in a weak network state or a flow-saving mode, the second strategy can be adopted to reduce the resolution of the image before sending it, thereby meeting the communication needs of the weak network, improving fluency, or saving traffic. In another scenario, when the current terminal device and / or other terminal devices communicating with the current terminal device are in a low-power state, the second strategy can be adopted to reduce the resolution of the image before sending it, so as to better save power. Especially when using wireless communications such as Bluetooth and Wi fi, reducing the image resolution before transmitting the image can better save power.
[0138] Optionally, the resolution of the transmitted image and the resolution of the displayed image can be defined by the device or the application by default. Optionally, the correspondence between the downlink transmission rate range and the image resolution can be preset, and the image resolution includes but is not limited to 1080P / 720P / 480P / 320P / 160P, etc. When the network conditions are good and the network speed is high, the highest resolution corresponding to this downlink transmission rate is selected by default. When in a weak network environment, the low-resolution image quality corresponding to this downlink transmission rate is automatically selected according to the current downlink transmission rate, so as to achieve smooth transmission and display of video data.
[0139] Optionally, the second strategy includes at least one of the following:
[0140] Send the image after reducing its overall resolution;
[0141] Sending the image after reducing the resolution of a portion of the image;
[0142] For each frame of image, the image of the high-weight area is sent first, and then the image of the low-weight area is sent;
[0143] The images of high-weighted areas are sent first, followed by images of low-weighted areas, at intervals of a preset number of frames.
[0144] Optionally, reducing the overall resolution of the image means that after the resolution is reduced, the highest resolution of the image is less than or equal to the preset resolution, that is, the overall resolution of the image is reduced. Reducing the resolution of a portion of the image means that after the resolution is reduced, the resolution of a portion of the image reaches the preset resolution, while the resolution of another portion of the image does not reach the preset resolution, that is, only the resolution of a portion of the image is reduced.
[0145] Optionally, when sending images, for each frame of the image, the image of the high-weight area is sent first, and then the image of the low-weight area is sent, so that the high-weight area can be ensured to be in a state of smooth display. Alternatively, at intervals of a preset number of frames, the image of the high-weight area is sent first, and then the image of the low-weight area is sent, so that while ensuring the smooth display of the high-weight area, the display of the low-weight area will not be obviously stuck.
[0146] Optionally, the high-weight area in the image can be determined by identifying image features, dividing the current image into different scenes such as portrait, landscape, food, etc., thereby dividing the high-weight area and the low-weight area according to different scenes, and then determining the high-weight area as the target area. Taking a video call as an example, if the call screen is identified as a portrait, the area where the portrait is located will be identified as a high-weight area, and the background area will be identified as a low-weight area.
[0147] Optionally, the high-weight region in the image can also be determined by dividing the image into grids to determine multiple grid regions, and the user can select multiple grid regions. Finally, the high-weight region is composed of multiple grid regions selected by the user. Optionally, after the high-weight region is determined in the current frame image, the features of the high-weight region are recorded, and the same high-weight region is used in a subsequent period of time or a preset number of frames, thereby reducing operations.
[0148] Optionally, reducing the resolution of a portion of the image includes at least one of the following:
[0149] Reduce the overall resolution of the low-weight areas of the image and keep the overall resolution of the high-weight areas unchanged;
[0150] Reduce the overall resolution of the high-weighted area and the low-weighted area of the image, and make the overall resolution of the high-weighted area higher than that of the low-weighted area;
[0151] Reduce the overall resolution of low-weighted areas of the image, and reduce the resolution of some areas in high-weighted areas.
[0152] Optionally, for high-weight areas, the overall resolution can be kept unchanged to ensure the clarity of display in high-weight areas. It is also possible to make the overall resolution of high-weight areas higher than that of low-weight areas while reducing the overall resolution of high-weight areas, thereby ensuring that the display clarity of high-weight areas is not significantly affected. The resolution of some areas in the high-weight areas can also be reduced, so that after the other terminal receives the image, the high-resolution area can be used to restore the image to ensure the clarity of display in the high-weight area, or even if the other terminal does not restore the image after receiving it, the display requirements of the high-weight area can be guaranteed to a certain extent. Through the second strategy, the resolution of the image can be reduced before transmission, ensuring the efficiency of transmission and improving the smoothness of the display, while not significantly sacrificing the clarity of the display, ensuring a better clarity experience.
[0153] Optionally, when dividing an image, the number of cuts and divisions can be determined based on the difference between the lowest resolution matched by the current downlink transmission rate and the preset resolution. The larger the difference, the smaller the number of cuts and divisions, so as to achieve maximum utility image transmission efficiency under the premise of smooth data transmission.
[0154] Please refer to Figure 6 , which is a schematic diagram of an interface provided in this embodiment. Taking the video call interface as an example, when the network quality deteriorates during the call, the current frame image is identified to determine the high-weight area 21. After identification, the high-weight area 21 can be indicated by a dotted line or other identification method, and the user is prompted whether to "only send the identified area with high pixels". The user can choose "Confirm", "Reselect" or "Reject". When "Confirm" is selected, only the high-weight area 21 is sent with high pixels, and the remaining areas are sent after reducing the resolution. When "Reselect" is selected, the identification can be re-performed, or a selection tool can be provided for the user to directly select the high-weight area on the screen. When "Reject" is selected, the overall resolution of the image can be reduced before sending. In this way, the use status of the device will not have a significant impact on the smoothness of image transmission, ensuring the smooth display of the receiving device and better improving the user experience.
[0155] Third embodiment
[0156] Figure 7FIG. 4 is a flow chart of a processing method according to the third embodiment. Figure 7 As shown, the processing method of the embodiment of the present application can be applied to a smart terminal (such as a mobile phone), and includes the following steps:
[0157] S100 , in response to a usage status satisfying a first preset condition, displaying an image based on a first strategy and sending the image based on a second strategy.
[0158] In this way, the smart terminal acts as both the sender and receiver of the image. When acting as the sender of the image, the image is sent based on the second strategy, and when acting as the receiver of the image, the image is displayed based on the first strategy. As a result, the video image is transmitted in real time during the video call, which not only ensures the display clarity of the current device, but also ensures the display smoothness of the receiving device, effectively improving the usage effect.
[0159] In response to the usage status satisfying the first preset condition, the process of displaying the image based on the first strategy is described in the first embodiment. In response to the usage status satisfying the first preset condition, the process of sending the image based on the second strategy is described in the second embodiment. No further details are given here.
[0160] As described above, the processing method of the present application, in response to the usage status satisfying the first preset condition, displays the image based on the first strategy and / or sends the image based on the second strategy. The present application displays and / or sends the image based on the usage status, which can improve the user experience.
[0161] An embodiment of the present application further provides an intelligent terminal, including a memory and a processor. A processing program is stored in the memory. When the network search program is executed by the processor, the steps of the processing method in any of the above embodiments are implemented.
[0162] An embodiment of the present application further provides a storage medium having a computer program stored thereon. When the network computer program is executed by a processor, the steps of the processing method in any of the above embodiments are implemented.
[0163] In the embodiments of the smart terminal and storage medium provided in the present application, all technical features of any of the above-mentioned processing method embodiments may be included, and the expanded and explained contents of the specification are basically the same as those of the embodiments of the above-mentioned methods, and will not be repeated here.
[0164] The embodiment of the present application further provides a computer program product, which includes a computer program code. When the computer program code runs on a computer, the computer executes the methods in the above various possible implementation modes.
[0165] An embodiment of the present application also provides a chip, including a memory and a processor, 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 in various possible implementation modes as described above.
[0166] It is understood that the above scenarios are only examples and do not constitute a limitation on the application scenarios of the technical solutions provided in the embodiments of the present application. The technical solutions of the present application can also be applied to other scenarios. For example, it is known to those skilled in the art that with the evolution of the system architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
[0167] 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.
[0168] The steps in the method of the embodiment of the present application can be adjusted in order, combined and deleted according to actual needs.
[0169] The units in the device of the embodiment of the present application can be merged, divided and deleted according to actual needs.
[0170] In the present application, the same or similar terminology concepts, technical solutions and / or application scenario descriptions are generally described in detail only the first time they appear. When they appear again later, they are generally not repeated for the sake of brevity. When understanding the technical solutions and other contents of the present application, for the same or similar terminology concepts, technical solutions and / or application scenario descriptions that are not described in detail later, reference can be made to the previous related detailed descriptions.
[0171] In the present application, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0172] The various technical features of the technical solution of the present application can be arbitrarily combined. In order to make the description concise, not all possible combinations of the various technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of the present application.
[0173] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as above, and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, a controlled terminal, or a network device, etc.) to execute the method of each embodiment of the present application.
[0174] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loading and executing computer program instructions on a computer, the process or function according to the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. Computer instructions can be stored in a storage medium, or transmitted from one storage medium to another storage medium. For example, computer instructions can be transmitted from a website site, a computer, a server or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The storage medium can be any available medium that a computer can access or a data storage device such as a server or a data center that includes one or more available media integration. Available media can be magnetic media, (e.g., floppy disk, storage disk, tape), optical media (e.g., DVD), or semiconductor media (e.g., solid-state storage disk So lid State Dis sk (SSD)), etc.
[0175] 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. A processing method, applied to a smart terminal, characterized in that: include: S1, in response to a usage status satisfying a first preset condition, displaying an image based on a first strategy and / or sending an image based on a second strategy.
2. The method according to claim 1, characterized in that The usage status satisfies the first preset condition, including at least one of the following: In a weak network state; In power saving mode; The battery level is lower than the preset threshold; The resolution of the received image meets the second preset condition.
3. The method according to claim 2, characterized in that The second precondition is met, including at least one of the following: The overall resolution of the image is lower than the preset resolution; The resolution of some areas of the image is lower than the preset resolution.
4. The method according to any one of claims 1 to 3, characterized in that The first strategy includes at least one of the following: After increasing the overall resolution of the image, the image is displayed; After increasing the resolution of a portion of the image, the image is displayed; And / or, the second strategy includes at least one of the following: Send the image after reducing its overall resolution; Sending the image after reducing the resolution of a portion of the image; For each frame of image, the image of the high-weight area is sent first, and then the image of the low-weight area is sent; The images of high-weighted areas are sent first, followed by images of low-weighted areas, at intervals of a preset number of frames.
5. The method according to claim 4, characterized in that Improve the resolution of some areas of the image, including at least one of the following: Using preset image information to process the target area in the image; The image information of the high-resolution area in the image is used to process the image information of the low-resolution area.
6. The method according to claim 5, characterized in that Methods for determining target areas include at least one of the following: Divide the image into regions and determine the high-weighted regions as target regions; The image is divided into regions, and the region division result is outputted. In response to the operation of selecting a region, the selected region is determined as a target region.
7. The method according to claim 5 or 6, characterized in that: Before processing the target area in the image using the preset image information, at least one of the following is also included: Matching at least one preset image information according to the image features of the target area; In response to an operation of selecting preset image information, determining, from at least one preset image information, preset image information for processing a target area in an image; storing image information of a target area in an image of a current frame as preset image information; Storing historical images as preset image information; The model image is stored as preset image information.
8. The method according to claim 4, characterized in that Reduce the resolution of parts of the image by at least one of the following: Reduce the overall resolution of the low-weight areas of the image and keep the overall resolution of the high-weight areas unchanged; Reduce the overall resolution of the high-weighted area and the low-weighted area of the image, and make the overall resolution of the high-weighted area higher than that of the low-weighted area; Reduce the overall resolution of low-weighted areas of the image, and reduce the resolution of some areas in high-weighted areas.
9. An intelligent terminal, characterized in that: The intelligent terminal comprises a memory and a processor, wherein a processing program is stored in the memory, and when the processing program is executed by the processor, the steps of the processing method according to any one of claims 1 to 8 are implemented.
10. A storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the processing method according to any one of claims 1 to 8 are implemented.
