WO2025007751A1 - 显示方法、移动终端及计算机可读存储介质 - Google Patents
显示方法、移动终端及计算机可读存储介质 Download PDFInfo
- Publication number
- WO2025007751A1 WO2025007751A1 PCT/CN2024/100202 CN2024100202W WO2025007751A1 WO 2025007751 A1 WO2025007751 A1 WO 2025007751A1 CN 2024100202 W CN2024100202 W CN 2024100202W WO 2025007751 A1 WO2025007751 A1 WO 2025007751A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- zoom
- request
- target
- image
- ratio
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/69—Control of means for changing angle of the field of view, e.g. optical zoom objectives or electronic zooming
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/50—Constructional details
- H04N23/55—Optical parts specially adapted for electronic image sensors; Mounting thereof
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/62—Control of parameters via user interfaces
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/63—Control of cameras or camera modules by using electronic viewfinders
- H04N23/631—Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/63—Control of cameras or camera modules by using electronic viewfinders
- H04N23/631—Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters
- H04N23/632—Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters for displaying or modifying preview images prior to image capturing, e.g. variety of image resolutions or capturing parameters
Definitions
- the embodiments of the present application relate to the field of terminal technology, and in particular, to a display method, a mobile terminal, and a computer-readable storage medium.
- the camera function of mobile terminals can realize front and rear camera, image beautification processing, zoom, etc.
- Mobile terminals are usually equipped with multiple sets of lenses, and different lenses correspond to different focal lengths. Lenses with different focal lengths can capture images of different distances, different fields of view, and different sharpness.
- the zoom operation (Zoom) of the mobile terminal is to adjust the positions of several sets of lenses with different focal lengths to achieve the change of the focal length of the adjusted lens to capture images with different focal lengths.
- different zoom touch actions can be applied to the photo preview interface of the mobile terminal.
- the mobile terminal detects the touch parameters of the user's zoom touch action to generate a corresponding zoom request, and sends the generated zoom request to the corresponding functional module to process the zoom request, and displays the final preview image.
- the mobile terminal will process each zoom request in sequence according to the order in which each zoom request is generated and display the corresponding preview image. This will result in the zoom request generated in real time by the mobile terminal being processed some time after being triggered, and the preview image corresponding to the zoom request will also be displayed some time later, and the delay from applying the zoom touch operation to displaying the corresponding zoom preview image is relatively long.
- the embodiments of the present application provide a display method, a mobile terminal, and a computer-readable storage medium, which are used to implement a solution of jumping a zoom operation received later to a zoom operation received earlier to queue up and process and display it in advance, thereby reducing the response and display delay of the newly received zoom operation and optimizing the tracking performance of the zoom display.
- a display control method wherein a mobile terminal receives multiple zoom operations in sequence, including a first zoom operation, at least one second zoom operation, and a third zoom operation, wherein the first zoom operation is received earlier than the third zoom operation, and there is at least one second zoom operation between the first zoom operation and the third zoom operation, and the zoom ratios of different zoom operations may be different.
- the second zoom operation mentioned in the specification may be equal to the first zoom operation mentioned in the claims
- the third zoom operation mentioned in the specification may be equal to the second zoom operation mentioned in the claims, and they will not be described one by one.
- the first zoom operation mentioned in the specification may exist or not exist in actual photography, without limitation.
- the mobile terminal first responds to the first zoom operation and obtains a first zoom image at the zoom ratio of the first zoom operation. Before responding to all second zoom operations or displaying the second zoom images corresponding to all second zoom operations, the mobile terminal first responds to the third zoom operation to obtain the third zoom image, and displays the third zoom image.
- the process of responding to the zoom processing operation may include: generating a zoom request, sending the zoom request, image acquisition operation, image signal front-end processing operation, space alignment transformation processing operation, image signal back-end processing operation and image sending and displaying.
- the display control method provided by the present application adjusts the response display process of the continuous zoom operation, and the third zoom operation generated later will be processed and displayed in advance before the at least one second zoom operation received earlier.
- the entire response time or part of the response time of at least one second zoom operation is reduced, so that the display delay of the zoom operation received later is reduced, and the tracking performance of the zoom operation is improved.
- the at least one second zoom operation is not fully responded to, which means that any one of the at least one second zoom operation does not require an image acquisition operation, or it may mean that some of the second zoom operations in the at least one point zoom operation require an image acquisition operation, or only some of the second zoom operations need to be subjected to partial image acquisition operations, such as only performing a spatial alignment transformation processing operation or an image signal back-end processing operation.
- the zoom image corresponding to the at least one second zoom operation is no longer displayed, but the third zoom operation is directly responded to and the third zoom image is displayed after the first zoom image is displayed.
- the mobile terminal first displays the first zoom image corresponding to the first zoom operation on the shooting interface, and directly displays the third zoom image corresponding to the third zoom operation.
- the third zoom image corresponding to the third zoom operation most recently applied by the user will be quickly displayed, and the hand tracking performance is significantly improved.
- each time the shooting interface of the mobile terminal receives a zoom operation it will first generate a corresponding zoom request and add it to the request queue corresponding to the zoom operation. That is, when the mobile terminal receives the first zoom operation, it will generate a corresponding first zoom request and add it to the request queue. Then, the mobile terminal generates a corresponding second zoom request for at least one second zoom operation received and adds it to the request queue. Then, if the mobile terminal receives a third zoom operation, it will also generate a corresponding third zoom request and add it to the request queue.
- the request queue is a first-in-first-out queue, and the zoom request that joins first will be dequeued first for processing, and the zoom request that joins later will be dequeued later for processing. It should be noted that the mobile terminal may continue to receive multiple zoom operations, so the zoom request entry and exit are also continuous, which does not mean that the newly generated zoom request will be entered into the queue only after the previous zoom request is dequeued.
- the first zoom request that enters the queue first will be dequeued first, and the first zoom request that is dequeued will perform image acquisition operations, including image collection operations, image processing operations, etc., to obtain and display the first zoom image.
- the mobile terminal executes the image acquisition operation corresponding to the third zoom request to obtain the third zoom image and display the third zoom image.
- the present application can process the third zoom request in advance before the second zoom request is displayed.
- the mobile terminal can process the second zoom request at the same time.
- the zoom ratio is replaced with the third zoom ratio of the third zoom request, so that the zoom image corresponding to the third zoom ratio is acquired in advance and displayed in advance as the third zoom image.
- at least one second zoom request before the third zoom request may be dequeued and discarded, and no image acquisition operation is performed, or only part of the image acquisition operation is performed before the image acquisition operation of the third zoom request is performed, which can also ensure that the third zoom image is acquired and displayed in advance.
- the mobile terminal when the mobile terminal jumps to respond to the third zoom request, it first selects a second zoom request suitable for jumping from the second zoom requests corresponding to the second zoom operation whose corresponding zoom image has not been displayed before the third zoom operation, as the target zoom request, and the queue entry time of the target zoom request is earlier than the queue entry time of the third zoom request.
- the target zoom request is dequeued, the image acquisition operation of the third zoom request is jumped to be executed, and the acquired third zoom image is displayed in advance.
- the selection basis may be which second zoom request has a zoom ratio that is closer to the zoom ratio of the third zoom request, or which second zoom request has an earlier dequeuing time, or which zoom request involves image data or processing procedures that are closer to the image data or processing procedures of the third zoom request.
- One implementation method of jumping to respond to the third zoom request is to jump the third zoom ratio of the third zoom request to the target zoom request for early processing.
- the target zoom ratio corresponding to the target zoom request is replaced or modified to the third zoom ratio.
- the target zoom request is actually an image acquisition operation at the third zoom ratio, so the corresponding zoom image is also a third zoom image obtained at the third zoom ratio.
- it can be ensured that the target zoom request in the request queue is responded to after being dequeued, and the third zoom image can be obtained and displayed in advance at the third zoom ratio.
- Another implementation method of jumping to respond to the third zoom request is to process the third zoom request in advance.
- the target zoom request when the target zoom request is dequeued, all zoom requests between the target zoom request and the third zoom request can be directly dequeued and discarded, and then the third zoom request is dequeued and the image acquisition operation corresponding to the third zoom request is executed to obtain the third zoom image. In this way, it can also be ensured that the zoom magnification of the zoom image finally displayed is consistent with the zoom magnification of the most recently received zoom operation.
- the image acquisition operation of the target zoom request may not be performed at all, or part of the image acquisition operation of the target zoom request may be performed.
- different preset ranges can be set by selecting the focal length of the lens corresponding to the zoom ratio.
- the smoothness and timeliness of the entire zoom display process are affected.
- the preset magnification can also be set according to the smoothness requirement or timeliness requirement of the zoom switching of the mobile terminal. The higher the smoothness requirement, the smaller the preset range is, and the higher the timeliness requirement, the larger the preset range is.
- the mobile terminal first obtains the magnification difference between the second zoom ratio corresponding to each second zoom request and the third zoom ratio of the third zoom request, and selects the second zoom request with the magnification difference within the preset range as the target zoom request to which it can jump.
- the selected target zoom request may be one or more. If there is one target zoom request, the target zoom request can be directly used as the zoom request to which the third zoom request can jump. If there are multiple target zoom requests, one can be randomly selected from the multiple target zoom requests as the target zoom request suitable for jumping to the third zoom request. It is also possible to select a target zoom request that is relatively more suitable for jumping from multiple target zoom requests in combination with the real-time processing status of each target zoom request or other zoom parameters such as lens type.
- a solution is provided for selecting a target zoom request suitable for jumping according to the real-time status of each zoom request.
- the mobile terminal After receiving the zoom operation acting on the shooting interface, the mobile terminal will immediately generate a corresponding zoom request, and add the zoom request to the request queue to wait for a response.
- the state of the request in the request queue is the waiting state for dequeuing, and the real-time state of the request dequeued from the request queue changes from the waiting state for dequeuing to the dequeued state.
- the original image acquisition operation can be performed by the camera sensor in the mobile terminal
- the zoom request is issued to the camera driver
- the camera driver controls the camera sensor to acquire the original image
- the data processing module mainly includes three modules, which are: an image signal front-end processing module for preliminary cropping of the original image, a spatial alignment transformation processing module for calculating the cropping data, and an image signal back-end processing module for re-cropping based on the cropping data.
- the image signal back-end processing module After the image signal back-end processing module performs re-cropping, a zoom image corresponding to the zoom request can be obtained, and the zoom image is sent to the camera application of the mobile terminal for display, and the camera application displays the received zoom image on the shooting interface.
- the processing progress of the second zoom request in the dequeued state is faster than that in the waiting state. If the third zoom request is queued to the second zoom request in the dequeued state and processed in advance, the zoom delay is shorter and the hand tracking is better. The image acquisition operation in the waiting state has not started. If the third zoom request is queued to the second zoom request in the waiting state, all image acquisition operations corresponding to the third zoom request will be executed when the second zoom request is waiting to be dequeued, which can also achieve the effect of processing the third zoom request in advance and displaying the image.
- the mobile terminal can combine the zoom ratio and the real-time status to comprehensively select a target zoom request suitable for the third zoom request to jump. Specifically, the mobile terminal selects the second zoom request whose zoom ratio difference with the third zoom ratio is within a preset range and whose real-time status is that it has been dequeued as the target zoom request. In this way, the smoothness and timeliness of the entire zoom display effect are guaranteed after the third zoom request is processed in advance.
- zoom requests may be respectively in a data acquisition node, an image signal front-end processing node, a spatial alignment transformation processing node, an image signal back-end processing node, a node waiting for sending for display, etc., and these zoom requests can be used as the third zoom request.
- Jump target zoom request considering that in the actual image acquisition operation process, there may be two or more zoom requests in the mobile terminal that are in a queued state and have not yet been sent for display, these zoom requests may be respectively in a data acquisition node, an image signal front-end processing node, a spatial alignment transformation processing node, an image signal back-end processing node, a node waiting for sending for display, etc.
- the zoom request with a relatively later node of the image acquisition operation among these candidate zoom requests can be used as the target zoom request.
- the candidate zoom request whose image acquisition operation is in the image signal back-end processing operation or the space transformation processing operation is given priority as the jumpable target zoom request.
- the target zoom magnification of the target zoom request can be modified to the third zoom magnification of the third zoom request, and the remaining image acquisition operations, such as image signal processing operations and space alignment transformation processing operations, are performed at the third zoom magnification.
- the third preview image can be obtained at the third zoom magnification relatively quickly, further reducing the response and display delay of the third zoom request.
- the influence of target zoom requests in different real-time states on the image acquisition operation of the third zoom request is described in detail.
- the above-mentioned step of jumping to execute the image acquisition operation corresponding to the third zoom request to obtain the third zoom image and displaying the third zoom image when the target zoom request is out of the queue may include: on the one hand, the real-time state of the target zoom request is a waiting state for dequeueing, that is, there are one or more second zoom requests waiting to be processed or being processed before the target zoom request. Then, according to the first-in-first-out principle, it is necessary to wait for the target zoom request to be out of the queue first.
- the target zoom request Only when the target zoom request is out of the queue, jump to execute all image acquisition operations corresponding to the third zoom request to obtain the third zoom image.
- the second zoom request and the target zoom request before the third zoom request can be directly discarded, or the third zoom ratio of the third zoom request can be used as the target zoom ratio of the target zoom request to perform all image acquisition operations in advance and obtain the corresponding third zoom image.
- the image acquisition operation of the target zoom request may only have a spatial alignment transformation processing operation or an image signal backend processing operation left.
- the target zoom ratio corresponding to the target zoom request can be replaced with the third zoom ratio, and after the zoom ratio is replaced, the remaining image acquisition operations of the target zoom request are performed with the replaced third zoom ratio to quickly obtain the third zoom image.
- the mobile terminal includes: a camera application, a camera service and a hardware abstraction layer.
- the mobile terminal usually includes an application layer, a framework layer, a hardware abstraction layer and a kernel layer from top to bottom, wherein the application layer runs a camera application and other functional applications, can receive user input operations, and display relevant image data, etc.
- the framework layer is equipped with a camera service, etc., and provides an application programming interface and a programming framework for the upper-layer camera application and other functional applications.
- the kernel layer is a layer between hardware and software.
- the kernel layer at least includes a camera driver.
- the hardware abstraction layer can encapsulate the driver in the kernel layer, and provide a calling interface to the framework layer, shielding the implementation details of the underlying hardware.
- the camera application Each time the camera application receives a zoom operation acting on the shooting interface, the camera application sends a zoom parameter corresponding to the zoom operation to the camera service; the camera service generates a zoom request corresponding to the zoom operation and adds it to the request queue, and sends each zoom request in the request queue to the hardware abstraction layer in sequence; the hardware abstraction layer executes an image acquisition operation corresponding to each zoom request to obtain a zoom image, and sends the obtained zoom image to the camera application; the camera application displays the zoom image.
- the hardware abstraction layer includes an interface module, a camera sensor and a data processing module; the interface module sends each zoom request received to the camera sensor; the camera sensor processes the zoom request according to each zoom request. An exposure and image output operation is performed to obtain a corresponding original image; the data processing module performs a data processing operation on the original image of each zoom request to obtain a corresponding zoom image, and sends the zoom image to the camera application.
- the mobile terminal further includes a selection module
- the hardware abstraction layer further includes an application module.
- the selection module determines the target zoom request to which the third zoom request can jump; the application module modifies the target zoom ratio of the target zoom request to the third zoom ratio; the data processing module executes the image acquisition operation corresponding to the modified target zoom request to obtain the third zoom image.
- a specific functional module is added to realize the queue-jumping selection and implementation scheme of the third zoom request.
- a scheme is also provided for selecting a target zoom request to be jumped to according to the real-time status of each previous second zoom request. After each second zoom request is added to the queue, the real-time status is divided into two types, waiting for dequeue status or dequeue status.
- the zoom request in the dequeue status has been issued and is in the node for performing a specific image acquisition operation, which includes an initial image acquisition operation node, an image signal front-end processing operation node, and an image signal back-end processing operation node in sequence according to the timing of the image acquisition operation.
- the zoom request in the dequeued state will be responded to earlier than the zoom request in the waiting dequeued state. Furthermore, among these zoom requests in the dequeued state, the zoom requests in the spatial alignment transformation processing operation node and the signal backend processing operation node will be responded to earlier. Then, in order to display the third zoom image corresponding to the third zoom request in advance, the zoom request whose real-time state is the dequeued state can be selected. If there are multiple zoom requests in the dequeued state, the second zoom request whose real-time operation node after dequeuing is the image signal backend processing operation node or the spatial alignment transformation processing operation node can be selected and determined as the target zoom request.
- This solution of only referring to the real-time state without relying on the zoom ratio to select the jumpable target zoom request is more suitable for one-way zoom scenarios in which the zoom ratio is gradually increased or gradually decreased, for example, the one-way zoom scenario in which the zoom ratio is gradually increased from 1x to 10x, or the zoom ratio is gradually reduced from 20x to 1x.
- a mobile terminal which has the function of implementing the display control method described in the first aspect.
- the function can be implemented by hardware, or by hardware executing corresponding software.
- the hardware or software includes one or more modules corresponding to the above functions.
- a mobile terminal comprising: a camera application, a processor and a memory, wherein the camera module and the memory are coupled to the processor; the memory is used to store computer execution instructions, and when the mobile terminal is running, the processor executes the computer execution instructions stored in the memory, so that the mobile terminal executes the display control method as described in any one of the above-mentioned first aspects.
- a display control device comprising: a receiving module, a response module and a display module.
- the receiving module is used to receive multiple zoom operations, and sequentially receives a first zoom operation, at least one second zoom operation and a third zoom operation, the first zoom operation is received earlier than the third zoom operation, and the first zoom operation is separated from the third zoom operation by at least one second zoom operation.
- the response module is used to respond to a first zoom operation among the multiple zoom operations, and the display module is used to display a first zoom image, wherein the first zoom image is an image obtained at a first zoom ratio corresponding to the first zoom operation; the response module is also used to respond to a third zoom operation among the multiple zoom operations, and display a third zoom image, wherein the third zoom image is an image obtained at a third zoom ratio corresponding to the third zoom operation.
- a computer-readable storage medium wherein instructions are stored in the computer-readable storage medium, and when the computer-readable storage medium is run on a computer, the computer can execute the display control method described in any one of the above-mentioned first aspects.
- a computer program product comprising instructions, which, when executed on a computer, enables the computer to execute the display control method described in any one of the first aspects.
- the technical effects brought about by any design method in the third to sixth aspects can refer to the technical effects brought about by different design methods in the first aspect, and will not be repeated here.
- FIG1 is a schematic diagram of a shooting interface of a mobile terminal
- FIG. 2 is a schematic diagram showing a comparison of interfaces before and after a mobile terminal receives a zoom operation in an existing solution
- FIG3 is a schematic diagram of the expected optimization effect corresponding to FIG2 ;
- FIG4 is a second schematic diagram of the interface comparison before and after the mobile terminal receives the zoom operation in the existing solution
- FIG5 is a schematic diagram of the expected optimization effect corresponding to FIG4 ;
- FIG6 is a schematic diagram of the internal software architecture of a mobile terminal provided in an embodiment of the present application.
- FIG. 7 is a schematic diagram of an internal flow chart of a mobile terminal processing a zoom request according to an embodiment of the present application
- FIG8 is a schematic diagram of an internal flow chart of a mobile terminal processing multiple zoom requests according to an embodiment of the present application
- FIG9 is a flow chart of a display control method according to an embodiment of the present application for implementing a zoom request jump process
- FIG10 is a schematic diagram showing a comparison of the processes before and after the mobile terminal application display control method provided in an embodiment of the present application
- FIG11 is a schematic flow chart of a display control method provided in an embodiment of the present application.
- FIG12 is a schematic diagram of a display control method for implementing a request queue interruption according to an embodiment of the present application
- FIG. 13 is a schematic diagram of the structure of a mobile terminal provided in an embodiment of the present application.
- the mobile terminal is provided with lenses of different focal lengths.
- the zoom parameters such as the zoom ratio (Zoom Ratio) of the zoom to adjust the field of view (FOV) of the shooting interface
- FOV field of view
- the technical effect of enlarging or reducing the photographed object in the shooting interface is achieved.
- the user applies a zoom operation on the shooting interface of the mobile terminal.
- the camera application and related modules in the mobile terminal cooperate to respond to the zoom operation to obtain a zoomed image corresponding to the zoom ratio and display it on the shooting interface.
- the main application scenarios of the display control method provided in the embodiment of the present application include the shooting preview scene of the mobile phone, and the shooting preview scene of the mobile phone will be described below.
- the provided display control method is not limited to being applied only to mobile phones, and is not limited to being applied only to shooting preview scenes.
- FIG1 is a schematic diagram of a shooting interface of a mobile terminal.
- a user can perform a zoom operation.
- the mobile terminal receives the zoom operation and responds to the zoom operation to obtain a corresponding zoom image and display the zoom image in the shooting interface.
- the shooting interface 100 of the mobile terminal mainly includes:
- the image display area 102 includes: a parameter control area 101, an image display area 102, a mode control area 103, a front and rear camera flip control 104, a gallery control 105, a shutter control 106, and a zoom control 107.
- the parameter control area 101 includes a plurality of parameter controls, each of which is used to respond to a shooting parameter adjustment operation input by a user.
- the parameter controls included in the parameter control area may include, but are not limited to: a flash control, an AI recognition switch control, a color standard control, and a more detailed camera setting control.
- the image display area 102 may be used to display a preview image, which is an image captured in real time by a mobile terminal through a camera. The mobile terminal may refresh the display content in the image display area 102 in real time so that the user can preview the image currently captured by the camera.
- the mode control area 103 may include a plurality of mode controls corresponding to different shooting modes, such as an aperture mode control, a night scene mode control, a portrait mode control, a photo mode control, a video mode control, a professional mode control, and more mode controls. Each mode control can be marked only by text information, for example, "aperture”, "night scene”, “portrait”, “photo”, “video”, “professional”, “more”, or it can be displayed by an icon, or a combination of text information and icons.
- the zoom control 107 is used to respond to the zoom operation of the user on the mobile terminal to adjust the FOV of the image display area 102.
- the "1 device" displayed on the zoom control 107 indicates that the current optical zoom ratio of the mobile terminal is 1x, and the subsequent x represents the zoom ratio.
- the user can apply the zoom operation by applying a point operation or a sliding operation on the zoom control 107, and of course, the zoom operation can also be applied by a touch operation that does not act on the zoom control 107.
- the mobile terminal can pre-define the operation of sliding fingers toward each other or sliding fingers away from each other on the shooting interface as a zoom operation, or pre-define the operations of clockwise rotation sliding and counterclockwise rotation sliding on the shooting interface as zoom operations. Such other pre-defined touch operations act on the shooting interface, but not necessarily on the zoom control 107.
- the zoom operation received by the mobile terminal may also be a zoom operation that does not need to act on the shooting interface, but an adjustment operation on a physical device on the surface or side of the mobile terminal.
- a physical button or knob is set on the side of the mobile terminal as a zoom switch, and this part of the physical buttons or knobs can be associated with indicating a specific zoom value selection or zoom ratio adjustment operation, etc.
- This part of the physical buttons or knobs can be a separate physical device dedicated to receiving zoom operations, or it can be a reused existing volume adjustment button or channel adjustment knob in a shooting scene, etc., without limitation. This situation may be more suitable for scenarios where the mobile terminal is a retro-styled mobile phone, an elderly phone, a card machine, etc.
- the mobile terminal After the mobile terminal receives the zoom operation applied by the user, it can respond to the zoom operation.
- the process of responding to the zoom operation may include but is not limited to: generating a zoom request according to the zoom operation, sending the zoom request to perform image acquisition operation and image processing operation, obtaining a zoom image, and finally sending the zoom image to the shooting interface for display.
- the user may apply multiple zoom operations in succession on the shooting interface, such as applying multiple zoom operations by sliding the zoom control, or applying multiple zoom operations by continuously clicking the zoom control.
- the mobile terminal will also receive these multiple zoom operations in succession, and respectively generate a zoom request for each received zoom operation, perform image acquisition operation and image processing operation after the zoom request is sent, obtain the zoom image and send it for display. This is a complete set of zoom operation response processes.
- each zoom operation response process requires a processing time of approximately 250 milliseconds. Then, if the user releases the hand after applying multiple zoom operations in succession, the mobile terminal will execute the zoom operation response process of each zoom operation in sequence according to the sequence of the zoom operations.
- the last zoom operation needs to wait until all the previous zoom operation response processes are completed before it can be responded to, and the zoom image corresponding to the last zoom operation can only be displayed after the last zoom operation response process is completed.
- the waiting time from receiving the last zoom operation to displaying the zoom image corresponding to the last zoom operation is long, that is, the delay of the zoom operation is long and the hand tracking performance is poor.
- FIG2 a comparative schematic diagram of the existing zoom preview interface having a delay after applying a zoom operation in a scenario where a zoom operation is applied by a sliding touch touch mode is shown.
- the user's finger operates the sliding control 107 at 1x
- the zoom magnification 108 on the shooting interface shows 1x
- the corresponding zoom image is a 1x zoom image.
- the user's finger slides the sliding control 107 from 1x to 3x, and the zoom magnification 108 on the shooting interface has also been switched from 1x to 3x, but due to the response delay, the zoom image in the image display area 102 does not switch to a 3x zoom image, but still displays a 1x zoom image, and the hand tracking is poor.
- the shooting interface we expect is shown in (a) to (b) of FIG3 .
- the user's finger slides the sliding control 107 from 1x to 3x.
- the zoom ratio 108 on the shooting interface has also been switched from 1x to 3x, and the zoom image in the image display area 102 has also been switched to a 3x zoom image.
- the user can clearly feel the improvement of the zoom and chirality.
- FIG4 it is a comparative schematic diagram of the delay after the zoom operation is applied to the existing zoom preview interface in the scenario of the relative sliding touch of the finger.
- the user's fingers slide back to back to increase the zoom ratio, and the sliding control 107 automatically switches from 1x to 3x at this time.
- the zoom ratio 108 on the shooting interface has also switched from 1x to 3x, but due to the response delay, the zoom image in the image display area 102 does not switch to a zoom image of 3x, but still displays a zoom image of 1x, and the chirality is poor.
- the shooting interface expected by our mobile phone is that the user's fingers slide back to back to increase the zoom ratio, and the sliding control 107 automatically switches from 1x to 3x at this time.
- the zoom ratio 108 on the shooting interface has also switched from 1x to 3x, and the zoom image in the image display area 102 switches from a zoom image of 1x to a zoom image of 3x, and the chirality is good.
- the embodiment of the present application provides a display control method and a mobile terminal and a computer-readable storage medium for implementing the display control method, and the zoom request generated later is jumped to a certain previous zoom request for processing in advance to reduce the response delay of the zoom request generated later.
- the provided display control method is applied to a mobile terminal equipped with a camera and related support modules.
- the mobile terminal can be a mobile phone, a tablet computer, a wearable device, a vehicle-mounted device, an augmented reality (AR)/virtual reality (VR) device, a laptop computer, an ultra-mobile personal computer (UMPC), a netbook, a personal digital assistant (PDA) or a special camera (such as a SLR camera, a card camera), etc., without limitation.
- AR augmented reality
- VR virtual reality
- UMPC ultra-mobile personal computer
- PDA personal digital assistant
- special camera such as a SLR camera, a card camera
- the mobile terminal receives the zoom operation performed by the user on the shooting interface, and generates a zoom preview image corresponding to the zoom touch operation by calling the camera application and related modules running in the internal software architecture of the mobile terminal.
- the camera application applicable to the embodiment of the present application may include any application on the mobile terminal that can realize the shooting preview function, such as the original camera application, the image beautification camera application, etc., without limitation.
- FIG. 6 it is a diagram of the internal architecture of the mobile terminal. The following will explain in detail the process of the mobile terminal responding to the zoom operation in combination with the internal architecture of the mobile terminal.
- the internal architecture of the mobile terminal can be divided into four layers, from top to bottom, namely, the application layer (APP), the framework layer (FWK), the hardware abstraction layer (HAL), and the kernel layer (or driver layer).
- APP application layer
- FWK framework layer
- HAL hardware abstraction layer
- driver layer kernel layer
- the application layer can include a series of application packages, such as camera applications, gallery applications, applications with camera functions, etc.
- Application packages can also include applications such as calls, calendars, maps, navigation, music, videos, short messages, etc.
- the framework layer provides application programming interface (API) and programming framework for the applications in the application layer.
- API application programming interface
- the application framework layer includes some predefined functions.
- the framework layer runs a camera service, which can be called by the camera application to implement functions related to shooting.
- the framework layer can also include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, etc.
- the window manager is used to manage window programs.
- the window manager can obtain the size of the display screen, determine whether there is a status bar, lock the screen, capture the screen, etc.
- the content provider is used to store and obtain data and make the data accessible to the application.
- the data may include video, images, audio, dialed and received calls, browsing history and bookmarks, phone books, etc.
- the view system includes visual controls, such as controls for displaying text, controls for displaying pictures, etc.
- the view system can be used to build applications.
- the display interface can be composed of one or more views.
- a display interface including a text notification icon can include a view for displaying text and a view for displaying pictures.
- the phone manager is used to provide communication functions for the mobile terminal. For example, the management of call status (including connected, hung up, etc.).
- the resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, etc.
- the notification manager enables applications to display notification information in the status bar, which can be used to convey notification-type messages and can disappear automatically after a short stay without user interaction. For example, notification information is used to inform the completion of downloads, message reminders, etc.
- Notification information can also be a notification that appears in the top status bar of the system in the form of a chart or scroll bar text, such as a notification of an application running in the background, or a notification that appears on the screen in the form of a dialog window.
- Notification information can also be, for example, a text message prompted in the status bar, a prompt sound, a vibration of the power terminal, a flashing indicator light, etc.
- the camera application can also call the content provider, resource manager, notification manager, window manager, view system, etc. according to actual business needs, and the embodiments of the present application do not impose any restrictions on this.
- the kernel layer is a layer between hardware and software.
- the kernel layer includes at least a camera driver.
- the camera driver can be used to drive a hardware module with a shooting function, such as a camera sensor (Camera Sensor).
- the camera driver is responsible for data interaction with the camera sensor.
- the kernel layer may also include a display driver, an audio driver, a sensor driver, etc., and the embodiments of the present application do not impose any restrictions on this.
- the hardware abstraction layer can encapsulate the driver in the kernel layer and provide a calling interface to the framework layer, shielding the implementation details of the underlying hardware.
- the hardware abstraction layer can include a camera call processing module (Camera HAL), a multi-camera decision module, etc.
- the camera call processing module is the core software framework of the camera Camera, and the camera call processing module includes an interface module, a sensor node (Sensor Node) and a data processing module, etc.
- the data processing module can include an image signal front-end processing (Image Signal Processing Front End, IFE) module, a spatial alignment transform (Spatial Alignment Transform, SAT) processing module, and an image signal back-end processing (Image Signal Processing Post End, IPE) module.
- the related processing involved in the sensor node and the image signal front-end processing module belongs to the real-time pipeline (Realtime Pipeline) processing
- the related processing involved in the control alignment transform processing module and the image signal back-end processing module belongs to the offline pipeline (Offline Pipeline) processing.
- the above-mentioned sensor nodes, data processing modules and interface modules are components in the image data and control instruction transmission pipeline in the camera call processing module.
- the sensor node may be a control node facing a camera sensor.
- the camera driver controls the camera sensor.
- the interface module can be a software interface for the application framework layer, which is used to interact with the application framework layer for data.
- the interface module can also interact with the multi-camera decision module, data processing module, sensor node, etc. in the camera call processing module.
- the data processing module can process the original image data sent back by the camera sensor, among which the image signal front-end processing module is used to process the preview image collected by the camera sensor for preliminary cropping and reserve the image edge (Margin); the spatial alignment transformation processing module is used to perform spatial alignment on the image data according to the zoom ratio and the spatial alignment transformation processing algorithm, and determine the cropping data and the warp data to make the preview image smoother; the image signal back-end processing module is used to perform cropping and warping on the preview image data according to the calculation results of the spatial alignment transformation processing module.
- the image signal front-end processing module is used to process the preview image collected by the camera sensor for preliminary cropping and reserve the image edge (Margin)
- the spatial alignment transformation processing module is used to perform spatial alignment on the image data according to the zoom ratio and the spatial alignment transformation processing algorithm, and determine the cropping data and the warp data to make the preview image smoother
- the image signal back-end processing module is used to perform cropping and warping on the preview image data according to the calculation results of the spatial alignment
- the camera application can pass the camera mode, zoom parameters and other information selected by the user to the camera service of the framework layer, and then the camera service passes it to the multi-camera decision module through the interface module of the hardware abstraction layer.
- the multi-camera decision module can determine the camera sensor to be used for image output according to the application scenario, such as the camera sensor of the front camera or the camera sensor of the rear camera, and the camera sensor of the main camera, the camera sensor of the wide-angle camera, and the camera sensor of the telephoto camera in the rear camera.
- the layers in the software structure shown in FIG6 and the components contained in each layer do not constitute a specific limitation on the mobile terminal.
- the mobile terminal may include more or fewer layers than shown, and each layer may include more or fewer components, which is not limited in the present application.
- the mobile terminal includes hardware and/or software modules corresponding to the execution of each function.
- the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application in combination with the embodiments, but such implementation should not be considered to be beyond the scope of the present application.
- the process of the mobile terminal responding to the zoom operation can be mainly divided into two parts: a top-down signal flow (shown by the solid arrow in FIG. 7 ), that is, after the mobile terminal receives the zoom operation, it generates a response control signal to control the relevant modules to perform the image acquisition operation to obtain a zoom image; a bottom-up data flow (shown by the dotted arrow in FIG. 7 ), that is, after the camera sensor of the mobile terminal captures the original image, it obtains the zoom image after the image processing operation, and sends the zoom image to the camera application of the application layer for display.
- a top-down signal flow shown by the solid arrow in FIG. 7
- a bottom-up data flow shown by the dotted arrow in FIG. 7
- the signal flow shown by the solid arrow in Figure 7 mainly includes: the user applies a zoom operation by clicking, sliding or other pre-defined operation methods on the shooting preview interface of the mobile terminal, and the touch module of the mobile terminal responds to the zoom touch operation and generates a corresponding touch point reporting event and sends it to the camera application of the application layer.
- the camera application converts the point reporting coordinate data corresponding to the touch point reporting event into a zoom ratio (Zoom Ratio) and sends it to the camera service of the framework layer.
- the camera service generates a zoom request corresponding to the zoom ratio and sends the zoom request to the camera hardware call module in the hardware abstraction layer.
- the zoom request is sent to the sensor node. According to the zoom request, the sensor node controls the camera sensor through the camera driver to perform exposure and image output operations.
- the data flow shown by the dotted arrow in FIG7 mainly includes: after the camera sensor completes the exposure and image output operation, the original image data corresponding to the zoom request is sent to the image signal front-end processing module through the camera driver.
- the image signal front-end processing module performs preliminary cropping processing on the original image data corresponding to the zoom request, and sends the processed image data to the spatial alignment transformation processing module.
- the image signal front-end processing module can perform preliminary cropping processing on the original image data according to the zoom ratio corresponding to the zoom request, and retain the edge area of the image, so that the spatial alignment transformation processing module can perform spatial alignment processing on the image.
- FIG. 7 above shows a situation where a mobile terminal processes a zoom request.
- the mobile terminal may continue to receive multiple zoom operations. Then, the internal camera application and related supporting modules of the mobile terminal need to respond to these multiple zoom operations in sequence. After each zoom operation is received, the camera application generates a corresponding zoom ratio based on the touch point event corresponding to the zoom operation, and sends the zoom ratio to the camera service, which generates a corresponding zoom request. Then, when multiple zoom operations are continuously received, the camera service will continue to generate multiple corresponding zoom requests, and the zoom ratios of different requests may be different.
- the camera service can maintain a request queue and add each newly generated zoom request to the request queue.
- the request queue is a first-in-first-out queue.
- the zoom request that enters the queue first is first out of the queue and sent to the hardware abstraction layer for image acquisition operations.
- the zoom request that has not been processed is waiting for processing in the request queue, and the newly generated zoom request is added to the end of the request queue.
- zoom request 30 As shown in FIG8 , assuming that 30 zoom requests are currently continuously generated, the latest generated zoom request 30 is at the end of the request queue, all zoom requests before zoom request 20 have been processed, zoom request 20 to zoom request 24 have been dequeued and have not completed all image acquisition operations, and zoom request 25 to zoom request 30 are all in the request queue waiting to be dequeued and responded to.
- each zoom request sent by the camera service undergoes data processing operations such as sensor node collecting image data, preliminary cropping, calculating cropping data and distortion data, re-cropping and image distortion in the camera hardware call module before the corresponding preview image is obtained and sent for display.
- data processing operations such as sensor node collecting image data, preliminary cropping, calculating cropping data and distortion data, re-cropping and image distortion in the camera hardware call module before the corresponding preview image is obtained and sent for display.
- Each zoom operation is processed from receiving to preview. The display time is longer and the response is slower.
- the user When actually using the camera preview function, the user will continue to apply multiple zoom operations by clicking, sliding, etc. to indicate different zoom requirements, but usually the latest generated zoom request is closer to the user's actual zoom requirement.
- Some of the previous zoom touch operations before the latest zoom request may be zoom touch operations that are accidentally triggered during the sliding process, or zoom requirements that the user needed at the previous moment but may no longer need at the current moment. That is, after the zoom request is generated, some of the previous zoom requests before the zoom request may no longer need to be processed and previewed, which is a factor that allows the zoom request to be queued up in advance.
- the image data sources and data processing operations involved in the processing of different zoom requests are related to the zoom parameters such as the zoom ratio and the focal length of the lens to which each zoom request corresponds to a certain extent.
- the sensor node first controls the camera sensor through the camera driver to perform exposure and image output operations, and the controlled camera sensor is the camera sensor corresponding to the zoom ratio.
- the original preview image collected by the camera sensor is relied on to perform the initial cropping process corresponding to the zoom ratio, calculate the cropping and distortion data, and perform the re-cropping and distortion process.
- the zoom ratios of different zoom requests are close (for example, the difference is within 0.5x, 1x or 1.5x), or they belong to the focal length range of the same lens type, then the original preview images obtained by the exposure and image output operation at the sensor node are also relatively close or even the same, and the subsequent initial cropping process, calculation of cropping and distortion data, or the data or calculation amount of re-cropping and distortion processing will also be relatively close. That is, when different zoom requests are processed, there may be similar or identical image acquisition or data processing operations due to relatively close or identical zoom parameters.
- the original preview image obtained by a previous zoom request the intermediate data obtained after preliminary cropping, re-cropping and distortion, etc. may also be considered. This is another factor that allows the third zoom request to be processed in the queue.
- the zoom magnifications of the previously generated zoom requests 20-29 in the request queue may be "2.8x, 2.0x, 3.5x, 2.8x, 2.5x, 1x, 2.5x, 3.5x, 3x, 3.2x," respectively, and the zoom magnification of the latest generated zoom request 30 may be "3.1x.”
- the mobile terminal may be processing the zoom request 20 in advance, or may be processing the previous zoom requests 20-22, that is, multiple different previous zoom requests may all be in the processing state, but the processing nodes of the multiple previous zoom requests being processed are different.
- the display control method provided in the embodiment of the present application is a schematic diagram of advancing the subsequent zoom operation to the previously generated zoom request for queue processing at the internal software architecture level.
- the mobile terminal will continue to receive multiple zoom operations, and define the zoom operation with the earliest reception time among the multiple zoom operations that are not currently displayed as the first zoom operation, and the zoom operation with the latest reception time as the third zoom operation.
- At least one zoom operation received between the first zoom operation and the third zoom operation is the second zoom operation.
- the mobile terminal after the mobile terminal displays the first zoom image, it will directly display the third zoom operation, and will not display the second zoom image corresponding to the second zoom operation. Then, at least one of the second zoom operations in between may not need to be responded to at all, or may only need to respond to some of the second zoom operations.
- zoom request 20 has completed the image acquisition operation and is about to be displayed, corresponding to the first zoom image of the first zoom operation.
- Zoom request 30 is the latest generated third zoom request, and the zoom requests between zoom request 21 to zoom request 29 correspond to the second zoom request.
- the third zoom request is jumped to display.
- FIG. 10 it is a schematic diagram of the internal image acquisition operation and the external image display of the display control method.
- FIG. 10 is a schematic diagram of the case where the third zoom request is not responded to in advance, that is, the mobile terminal will respond to the first zoom request, at least one second zoom request and the third zoom request in sequence, and display the first zoom image, at least one second zoom image and the third zoom image in sequence.
- FIG10 is a schematic diagram of the case of responding to the third zoom request in advance, that is, the mobile terminal responds to the first zoom request and then jumps in to respond to the third zoom request, and jumps in to display the third zoom image after displaying the first zoom image.
- the display control method provided in the embodiment of the present application considers first selecting a zoom request suitable for the third zoom request to jump from the multiple prior second zoom requests, and queueing the third zoom request to the selected second zoom request for processing. For example, in the example of FIG. 10 above, the zoom ratios of zoom request 23 (zoom ratio 2.8x), zoom request 28 (zoom ratio 3x), etc.
- zoom ratio 3.1x zoom ratio of the third zoom request (i.e., zoom request 30), so it can be considered to advance the third zoom request to the time when the zoom requests with relatively close zoom ratios are processed or after being processed. In this way, the response delay of the subsequent zoom request can be reduced, and the stability and smoothness of the zoom preview display can be optimized.
- FIG11 it is a flow chart of selecting a target zoom request in the display control method provided in an embodiment of the present application.
- the process mainly includes the following steps:
- Step S1101 selecting a jumpable target zoom request from the second zoom request
- Step S1102 when the target zoom request is dequeued, jump to execute the graphics acquisition operation of the third zoom request;
- Step S1103 displaying the third zoom image of the third zoom request in advance.
- the request queue maintained by the mobile terminal may include: a first zoom request (zoom request 20) to be displayed, multiple previously generated second zoom requests (zoom requests 21-29) whose corresponding zoom images have not yet been displayed, and a newly generated third zoom request (zoom request 30).
- the generation time of these zoom requests is arranged in sequence along the direction of the arrow, that is, the generation time of the prior zoom request 20 is the earliest, the generation time of the prior zoom request 21 is only later than the prior zoom request 20, and the generation time of the third zoom request 30 is the latest.
- a second zoom request K is selected from the second zoom requests 21-29 as the target zoom request, where K ⁇ (20-29) is any integer.
- the mobile terminal selects a target zoom request that can jump into the queue for the third zoom request, it can consider the impact of the zoom ratio on the amount of calculation or the impact on the smoothness of the display switching, and select the target zoom request according to the zoom ratio of each second zoom request.
- it can also be based on the real-time status of each second zoom request, whether it is in the request queue waiting to be dequeued, or has been dequeued and the data is processed.
- the mobile terminal may also select a target zoom request with a matching lens from a plurality of previous second zoom requests according to the lens type required by the third zoom request, without limitation.
- the third zoom request can be processed in advance.
- the mobile terminal When processing the target zoom request, the mobile terminal processes the third zoom request in advance, and after processing, the third zoom image corresponding to the third zoom request can be obtained. Then, at this time, the mobile terminal can preview and display the third zoom image.
- the third zoom image is previewed and displayed, and its timely response zoom effect can be directly seen by the user, which is also the basis for the user to judge the zoom experience.
- the latest generated zoom request is processed and displayed in advance, which greatly optimizes the user's photo preview experience.
- the mobile terminal also includes a selection module, and the hardware abstraction layer also includes an application module; wherein the selection module determines a target zoom request to which the third zoom request can jump; the application module modifies the target zoom ratio of the target zoom request to the third zoom ratio; and the data processing module executes an image acquisition operation corresponding to the modified target zoom request to obtain the third zoom image.
- the display control method provided in the embodiment of the present application is more suitable for the situation where there are three or more zoom requests.
- the delay of the zoom response is relatively long, which will obviously affect the user experience. If there is only one zoom request, that is, there are no other second zoom requests that have not been processed before the third zoom request, then there is no need to determine the target zoom request, and the third zoom request can be directly processed after the first zoom request is processed.
- the response delay here only includes the processing time of the third zoom request, and does not include the processing time waiting for other prior zoom requests.
- the third zoom request can also be directly jumped to the processing before the second zoom request, etc., without limitation.
- the display control method provided in the embodiment of the present application can be configured as a self-starting scheme for the zoom preview scene, that is, when the mobile terminal is in the zoom preview scene, the display control method provided in the embodiment of the present application will be applied in real time or periodically. For example, each time a new zoom request is generated, the newly generated zoom request can be used as the third zoom request, and a target zoom request that can be jumped into the queue is selected for it. If a new zoom request (such as zoom request 31) is generated after this newly generated zoom request (such as zoom request 30), then the zoom request generated first (such as zoom request 30) becomes the first zoom request of the zoom request generated later (such as zoom request 31).
- the zoom request generated earlier (such as zoom request 30) can also be queued by the zoom request generated later (such as zoom request 31), so as to give priority to ensuring the timely response effect of the latest generated zoom request.
- This configuration scheme may be more suitable for the zoom preview scenario where the user expects the zoom preview image to be displayed in time.
- the display control method provided in the embodiment of the present application can also be configured as a solution manually enabled by the user. That is, the user can apply a corresponding touch operation in the setting interface of the mobile terminal or in the shooting control of the shooting preview interface to indicate the application of the display control method provided in the embodiment of the present application.
- This configuration scheme may be more suitable for zoom preview scenarios where the user expects the zoom preview image to display different zoom effects in sequence.
- 9 to 11 show the process of determining to respond to the third zoom request in advance based on the zoom ratio. Then, the following will explain in detail how to select a target zoom request suitable for the third zoom request jump based on the zoom ratio.
- the mobile terminal can select a second request whose zoom magnification is close to the zoom magnification of the third zoom request as the target zoom request. For example, the magnification difference between the second zoom magnification and the third zoom magnification corresponding to each of the second zoom requests is obtained, and the second zoom request whose magnification difference is within a preset range is selected as the target zoom request.
- the mobile terminal may also select a zoom magnification that is smaller than or larger than the zoom magnification of the third zoom request, or select a previous zoom request whose zoom magnification meets other preset conditions as the target zoom request, etc.
- the real-time status is divided into two types, waiting to be dequeued or already dequeued.
- the zoom request in the already dequeued state has been issued and is at a node that performs a specific image acquisition operation, which includes an initial image acquisition operation node, an image signal front-end processing operation node, and an image signal back-end processing operation node in sequence according to the timing of the image acquisition operation.
- the real-time status of the second zoom request is different, and its remaining waiting time is different.
- the previous zoom request in the waiting to be dequeued state has a remaining waiting time that includes at least its own entire processing time, and may also include the processing time for waiting for other prior zoom requests.
- its remaining waiting time may include part of its own processing time.
- the remaining waiting time of the second zoom request that is already dequeued is relatively short, and all processing operations may be completed earlier.
- the mobile terminal may select a scheme of a jumpable target zoom request only according to the real-time status of each previous second zoom request.
- the zoom request in the dequeued state will be responded to earlier than the zoom request in the waiting dequeued state. Furthermore, among these zoom requests in the dequeued state, the zoom requests in the spatial alignment transformation processing operation node and the signal backend processing operation node will be responded to earlier. Then, in order to display the third zoom image corresponding to the third zoom request in advance, the zoom request whose real-time state is the dequeued state can be selected. If there are multiple zoom requests in the dequeued state, the second zoom request whose real-time operation node after dequeuing is the image signal backend processing operation node or the spatial alignment transformation processing operation node can be selected and determined as the target zoom request.
- This solution of only referring to the real-time state without relying on the zoom ratio to select the jumpable target zoom request is more suitable for one-way zoom scenarios in which the zoom ratio is gradually increased or gradually decreased, for example, the one-way zoom scenario in which the zoom ratio is gradually increased from 1x to 10x, or the zoom ratio is gradually reduced from 20x to 1x.
- the solution of selecting the target zoom request only by referring to the real-time status can improve the timeliness of the third zoom request, but may affect the smoothness of preview image switching, etc.
- the mobile terminal may also combine the zoom ratio and the real-time status to select a target zoom request that is more suitable for the third zoom request to jump into the queue.
- the specific step of determining the target zoom request may include:
- the mobile terminal first determines the zoom magnification of the third zoom request based on the zoom magnification of the third zoom request and the dependency of similar zoom magnifications in the data processing operation, and obtains a magnification range. Then, based on the magnification range, a part of the second zoom requests that may be suitable are screened out from all the second zoom requests, and then a target zoom request that is suitable for the third zoom request to jump to is further selected from the part of the second zoom requests. For ease of description, the part of the previous zoom requests can be defined as candidate zoom requests.
- the mobile terminal first determines the magnification to which the zoom magnification of the third zoom request belongs. Specifically, the mobile terminal predefines a magnification step according to the correlation between the zoom magnifications of each focal length, and the magnification step indicates the range of zoom magnifications with relatively large correlation.
- the mobile terminal determines the magnification range to which the zoom magnification belongs with the zoom magnification of the third zoom request as the center, wherein the length of the magnification range is equal to the preset adjustment step, and the median of the magnification range is the zoom magnification of the third zoom request.
- the preset adjustment step predefined by the mobile terminal is 1x. If the zoom magnification of the third zoom request is 3.1x, then the corresponding magnification range may be (2.6x-3.6x). If the preset adjustment step is 0.4x, then the corresponding magnification range may be (2.9x-3.3x).
- magnification range of the preset adjustment step before the zoom magnification of the third zoom request may be taken.
- the preset adjustment step in the example is 0.4x
- the zoom magnification of the third zoom request is 3.1x
- the corresponding magnification range may be (2.7x-3.1x), etc.
- magnification range may be select the magnification range, which are not limited.
- the candidate zoom request whose image acquisition operation is in the image signal backend processing operation or the space alignment transformation processing operation is used as the target zoom request.
- All processing operations of each zoom request in the data processing module include image signal front-end processing operation, spatial alignment transformation processing operation and image signal back-end processing operation in sequence.
- the processing progress of the spatial alignment transformation processing operation and the image signal back-end processing operation is relatively fast.
- the candidate zoom request whose image acquisition operation is in the image signal back-end processing operation or the spatial alignment transformation processing operation can be preferentially selected as the target zoom request.
- the candidate zoom requests whose zoom magnifications belong to the magnification range and whose real-time status is that they have been dequeued are selected from the prior zoom requests.
- the candidate zoom requests mentioned here are only used to refer to some zoom requests that meet the requirements, and are not limited to being assigned or renamed as candidate zoom requests. That is, the mobile terminal can only perform the action of screening according to the zoom magnification and magnification range, and does not need to perform the action of assigning or renaming objects for the part of the prior zoom requests obtained by the screening action.
- the mobile terminal can also superimpose the zoom lens type to select the target zoom request.
- the lenses installed in the mobile terminal mainly include the main camera lens, the wide-angle lens and the telephoto lens.
- the main camera lens is the one with the highest pixel among all the cameras of the mobile terminal.
- the wide-angle camera is a camera with a wide-angle function. The wide-angle viewing angle is wider than that of a general lens and the focal length is shorter. It is often used to shoot objects with a large area.
- the telephoto camera can take longer photos to ensure the clarity of the photos. Wide-angle lenses and telephoto lenses can usually make up for the shortcomings of the main camera and improve the shooting effect.
- the zoom parameters of the zoom request generated by the mobile terminal can also include the zoom lens type.
- the zoom lens type The camera type includes at least one of a main camera lens, a telephoto lens, and a wide-angle lens.
- the mobile terminal determines the target zoom request according to the zoom lens type of the third zoom request and the zoom lens types of each candidate zoom request. Specifically, the candidate zoom request whose zoom lens type includes the zoom lens type of the third zoom request is used as the target zoom request.
- the zoom magnification of zoom request 20 is 2.8x, and its zoom lens type may be a telephoto lens.
- the zoom magnification of zoom request 21 is 2.0x, and its zoom lens type may be a main camera lens.
- the zoom magnification of the third zoom request 30 is 3.1x, and its zoom lens type may be a telephoto lens.
- the zoom switching type from zoom request 20 to the third zoom request 30 is Zoom In, and the zoom lens type (main camera lens) included in zoom request 20 does not include the zoom lens type (telephoto lens) included in the third zoom request 30.
- the zoom switching type from zoom request 21 to the third zoom request 30 is Zoom Out, and the zoom lens type (telephoto lens) included in zoom request 21 includes the zoom lens type (telephoto lens) included in the third zoom request 30.
- the scheme of selecting zoom request 21 as the target zoom request reduces the operation of switching lenses to regenerate the original image and align it, compared with the scheme of selecting zoom request 20 as the target zoom request.
- the mobile terminal may have multiple options for the node to which the third zoom request is redirected in advance.
- the third zoom request may be advanced to after the target zoom request, and when the target zoom request is dequeued, the image acquisition operation of the third zoom request may be executed.
- the real-time state of the third zoom request may be jumped to the current processing node of the target zoom request.
- the real-time node of the target zoom request is a spatial alignment transformation processing node
- the real-time node of the third zoom request is jumped from the waiting node to the spatial alignment transformation processing node.
- each zoom request needs to undergo processing operations of each processing node in turn on the processing link before obtaining the final preview image.
- the second zoom request 21 is in the spatial alignment transformation processing node
- the earlier first focus request 20 may be in the image signal back-end processing node
- the later second zoom request 22 may be in the image signal front-end processing node
- the later previous zoom request 23 may be in the sensor node.
- the target zoom ratio corresponding to the target zoom request is modified to the third zoom ratio, and the remaining image acquisition operations of the modified target zoom request are executed to obtain the third zoom image.
- the mobile terminal can replace the second zoom ratio of the second zoom request with the third zoom ratio of the third zoom request, so that the zoom image corresponding to the third zoom ratio is acquired in advance and displayed in advance as the third zoom image.
- At least one second zoom request before the third zoom request can be dequeued and then discarded without executing any image acquisition operation, or only a portion of the image acquisition operation is executed before executing the image acquisition operation of the third zoom request, which can also ensure that the third zoom image is acquired and displayed in advance.
- zoom magnifications of each zoom request are shown in FIG12. Then, when display control is performed based on the zoom magnification factor, the process of selecting jump schemes for each subsequent zoom request 8 to 14 in sequence is as follows:
- zoom ratio 1.6x of zoom request 8 is close to the zoom ratio 1.5x of zoom request 3, zoom request 8 jumps to zoom request 3, and the zoom ratio of zoom request 3 is changed to 1.6x of zoom request 8;
- the zoom ratio 1.9x of zoom request 9 is close to the zoom ratio 2.0x of zoom request 4, so zoom request 9 first jumps to zoom request 4, and the zoom ratio of zoom request 4 is modified to the zoom ratio 1.9x of zoom request 9;
- the zoom ratio 2.6x of zoom request 11 is close to the zoom ratio 2.5x of zoom request 5, zoom request 11 jumps to zoom request 5, and the zoom ratio of zoom request 5 is modified to the zoom ratio 2.6x of zoom request 11;
- zoom ratio 3.0 of zoom request 12 is close to the zoom ratio 3.0 of zoom request 7 (same is also considered close), zoom request 12 jumps to zoom request 7, and the zoom ratio of zoom request 7 is modified to the zoom ratio 3.0x of zoom request 12;
- Zoom request 13 has no previous zoom request suitable for queue interruption, so zoom request 13 can be reserved in order and placed after zoom request 7 after the zoom magnification is modified, forming a new zoom request 8 with a zoom magnification of 3.5x;
- zoom ratio of zoom request 14 is close to that of zoom request 13 (new zoom request 8 ), so zoom request 14 is redirected to new zoom request 8 , and the zoom ratio of new zoom request 8 is modified to the zoom ratio of zoom request 14 (3.6x).
- Memory stores computer-executable instructions
- the processor executes the computer-executable instructions stored in the memory, so that the mobile terminal executes the display control method provided in the above embodiment.
- the mobile terminal also includes components for implementing basic functions, which will be specifically described below in conjunction with FIG. 13 .
- FIG13 is a schematic diagram of the structure of a mobile terminal 1300 provided in an embodiment of the present application.
- the mobile terminal 1300 may include a processor 1310, a memory 1320, a camera 1330, a display screen 1340, a touch sensing module 1350, a motor 1360, an audio module 1370, a sensor module 1380, a button 1390, etc.
- the sensor module 1380 may include a gyroscope sensor 1380A, an acceleration sensor 1380B, a distance sensor 1390, etc. 1380C, proximity light sensor 1380D, ambient light sensor 1380E, etc.
- the structure illustrated in the embodiment of the present invention does not constitute a limitation on the mobile terminal 1300. It may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently.
- the components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
- the processor 1310 may include one or more processing units.
- the processor 1310 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and/or a neural network processor (NPU).
- AP application processor
- GPU graphics processor
- ISP image signal processor
- controller a memory
- DSP digital signal processor
- DSP digital signal processor
- NPU neural network processor
- Different processing units may be independent devices or integrated in one or more processors.
- the controller can be a decision maker that directs the various components of the mobile terminal 1300 to work in coordination according to the instructions. It is the nerve center and command center of the mobile terminal 1300.
- the controller generates an operation control signal according to the instruction operation code and timing signal to complete the control of fetching and executing instructions.
- the processor 1310 may also be provided with a memory 1320 for storing instructions and data.
- the memory 1320 in the processor 1310 is a high-speed cache memory, which can store instructions or data that the processor 1310 has just used or cyclically used. If the processor 1310 needs to use the instruction or data again, it can be directly called from the memory 1320. This avoids repeated access, reduces the waiting time of the processor 1310, and thus improves the efficiency of the system.
- the I2C interface is a bidirectional synchronous serial bus, including a serial data line (SDL) and a serial clock line (SCL).
- the processor 1310 may include multiple groups of I2C buses.
- the processor 1310 may be coupled to the touch sensor, charger, flash, camera 1330, etc. through different I2C bus interfaces.
- the processor 1310 may be coupled to the touch sensor through the I2C interface, so that the processor 1310 communicates with the touch sensor through the I2C bus interface to realize the touch function of the mobile terminal 1300.
- the I2S interface can be used for audio communication.
- the processor 1310 can include multiple groups of I2S buses.
- the processor 1310 can be coupled to the audio module 1370 via the I2S bus to achieve communication between the processor 1310 and the audio module 1370.
- the audio module 1370 can transmit an audio signal to the communication module via the I2S interface to achieve the function of answering a call through a Bluetooth headset.
- the PCM interface can also be used for audio communication, sampling, quantizing and encoding analog signals.
- the audio module 1370 and the communication module can be coupled via a PCM bus interface.
- the audio module 1370 can also transmit audio signals to the communication module via the PCM interface to realize the function of answering calls via a Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication, and the sampling rates of the two interfaces are different.
- the UART interface is a universal serial data bus for asynchronous communication.
- the bus is a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication.
- the UART interface is generally used to connect the processor 1310 and the communication module.
- the processor 1310 communicates with the Bluetooth module via the UART interface to implement the Bluetooth function.
- the audio module 1370 can transmit an audio signal to the communication module via the UART interface to implement the function of playing music via a Bluetooth headset.
- the MIPI interface can be used to connect the processor 1310 with peripheral devices such as the display screen 1340 and the camera 1330.
- the MIPI interface includes a camera serial interface (CSI), a display serial interface (DSI), etc.
- the processor 1310 and the camera 1330 communicate through the CSI interface to realize the shooting function of the mobile terminal 1300.
- the processor 1310 and the display screen 1340 communicate through the DSI interface to realize the display function of the mobile terminal 1300.
- the GPIO interface can be configured by software.
- the GPIO interface can be configured as a control signal or as a data signal.
- the GPIO interface can be used to connect the processor 1310 with the camera 1330, the display 1340, the communication module, the audio module 1370, the sensor module 1380, etc.
- the GPIO interface can also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, etc.
- the USB interface may be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc.
- the USB interface may be used to connect a charger to charge the mobile terminal 1300, or may be used to transmit data between the mobile terminal 1300 and a peripheral device.
- the USB interface may also be used to connect an earphone to play audio through the earphone.
- the USB interface may also be used to connect other mobile terminals, such as an AR device, etc.
- the interface connection relationship between the modules shown in the embodiment of the present invention is only for illustrative purposes and does not constitute a structural limitation on the mobile terminal 1300.
- the mobile terminal 1300 may adopt different interface connection modes in the embodiment of the present invention, or a combination of multiple interface connection modes.
- the wireless communication function of the mobile terminal 1300 can be implemented by an antenna, a radio frequency module, a communication module, a modem, and a baseband processor.
- the antenna is used to transmit and receive electromagnetic wave signals.
- Each antenna in the mobile terminal 1300 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of the antenna.
- the mobile terminal 1300 implements the display function through a GPU, a display screen 1340, and an application processor.
- the GPU is a microprocessor for image processing, connecting the display screen 1340 and the application processor.
- the GPU is used to perform mathematical and geometric calculations for graphics rendering.
- the processor 1310 may include one or more GPUs that execute program instructions to generate or change display information.
- the display screen 1340 is used to display images, videos, etc.
- the display screen 1340 includes a display panel.
- the display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active matrix organic light-emitting diode or an active matrix organic light-emitting diode.
- the mobile terminal 1300 may include 1 or N display screens 1340, where N is a positive integer greater than 1.
- the mobile terminal 1300 can implement a shooting function through an ISP, a camera 1330, a video codec, a GPU, a display screen, and an application processor.
- the ISP is used to process the data fed back by the camera 1330. For example, when taking a photo, the shutter is opened and light passes through the lens. The light signal is transmitted to the camera photosensitive element, and the light signal is converted into an electrical signal. The camera photosensitive element transmits the electrical signal to the ISP for processing and converts it into an image visible to the naked eye.
- the ISP can also perform algorithm optimization on the noise, brightness, and chromaticity of the image. The ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, the ISP can be set in the camera 1330.
- the camera 1330 is used to capture still images or videos.
- the object generates an optical image through the lens and projects it onto the photosensitive element.
- the photosensitive element can be a charge coupled device (CCD) or a complementary metal oxide semiconductor (CMOS) phototransistor.
- CMOS complementary metal oxide semiconductor
- the photosensitive element converts the optical signal into an electrical signal, and then passes the electrical signal to the ISP to be converted into a digital image signal.
- the ISP outputs the digital image signal to the DSP for processing.
- the DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format.
- the mobile terminal 1300 may include 1 or N cameras 1330, where N is a positive integer greater than 1.
- the digital signal processor is used to process digital signals, and can process not only digital image signals but also other digital signals. For example, when the mobile terminal 1300 is selecting a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.
- Video codecs are used to compress or decompress digital videos.
- Mobile terminal 1300 may support one or more video codecs.
- mobile terminal 1300 may play or record videos in various coding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG13, MPEG4, etc.
- MPEG Moving Picture Experts Group
- NPU is a neural network (NN) computing processor.
- NN neural network
- the intelligent cognition of the mobile terminal 1300 can be realized, such as image recognition, face recognition, voice recognition, text understanding, etc.
- the external memory interface can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the mobile terminal 1300.
- the external memory card communicates with the processor 1310 through the external memory interface to implement a data storage function. For example, files such as music and videos can be stored in the external memory card.
- the internal memory can be used to store computer executable program codes, which include instructions.
- the processor 1310 executes various functional applications and data processing of the mobile terminal 1300 by running the instructions stored in the internal memory.
- the memory 1320 may include a program storage area and a data storage area.
- the program storage area may 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 may store data created during the use of the mobile terminal 1300 (such as audio data, a phone book, etc.), etc.
- the memory 1320 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, other volatile solid-state storage devices, a universal flash storage (Universal Flash Storage, UFS), etc.
- a non-volatile memory such as at least one disk storage device, a flash memory device, other volatile solid-state storage devices, a universal flash storage (Universal Flash Storage, UFS), etc.
- the mobile terminal 1300 can implement audio functions, such as voice-controlled photo taking, music playing and recording, etc., through the speaker, receiver, microphone, headphone jack, and application processor of the audio module 1370 .
- the audio module 1370 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signal.
- the audio module 1370 can also be used to encode and decode audio signals.
- the audio module 1370 can be arranged in the processor 1310, or some functional modules of the audio module 1370 can be arranged in the processor 1310.
- the speaker also called a "horn" is used to convert an audio electrical signal into a sound signal.
- the mobile terminal 1300 can listen to music or listen to a hands-free call through the speaker.
- the receiver also called a "handset" is used to convert audio electrical signals into sound signals.
- the mobile terminal 1300 receives a call or voice message, the voice can be received by placing the receiver close to the human ear.
- a microphone also called a “microphone” or “microphone” is used to convert sound signals into audio electrical signals.
- the user can put his mouth close to the microphone and speak to input the sound signal into the microphone.
- the mobile terminal 1300 can be provided with at least one microphone.
- the mobile terminal 1300 can be provided with two microphones, which can not only collect sound signals but also realize noise reduction function.
- the mobile terminal 1300 can also be provided with three, four or more microphones to realize the collection of sound signals, noise reduction, identification of sound sources, and realization of directional recording function, etc.
- the headphone jack is used to connect wired headphones.
- the headphone jack can be a USB interface, or a 3.5mm Open Mobile Terminal Platform (OMTP) standard interface, or a Cellular Telecommunications Industry Association of the USA (CTIA) standard interface.
- OMTP Open Mobile Terminal Platform
- CTIA Cellular Telecommunications Industry Association of the USA
- the key 1390 includes a power key, a volume key, etc.
- the key 1390 may be a mechanical key or a touch key.
- the mobile terminal 1300 receives the key 1390 input and generates a key signal input related to the user settings and function control of the mobile terminal 1300.
- Motor 1360 can generate vibration prompts.
- Motor 1360 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback.
- touch operations acting on different applications can correspond to different vibration feedback effects.
- Touch operations acting on different areas of the display screen 1340 can also correspond to different vibration feedback effects.
- Different application scenarios for example: time reminders, receiving messages, alarm clocks, games, etc.
- the touch vibration feedback effect can also support customization.
- the motor can also be used in the camera zoom shooting scene to achieve lens switching of different focal lengths by driving the movement of the lens.
- the sensor module 1380 may include a gyro sensor 1380A, an acceleration sensor 1380B, a distance sensor 1380C, a proximity light sensor 1380D, and an ambient light sensor 1380E.
- the gyro sensor 1380A and the acceleration sensor 1380B may be used for posture correction or horizontal positioning during the photographing process
- the distance sensor 1380C may be used for depth of field determination or image processing during the photographing process
- the proximity light sensor 1380D and the ambient light sensor 1380E may be used for sensing ambient light and adjusting image brightness values during the photographing process.
- the display control methods in the aforementioned embodiments can all be implemented in the mobile terminal 1300 having the aforementioned hardware structure.
- an embodiment of the present application further provides a display control device, the control device comprising a processor, and the processor is used to execute the display control method provided by the above embodiments.
- An embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored.
- the computer-readable storage medium is run on a computer, the computer is enabled to execute the display control method provided in the above embodiment.
- An embodiment of the present application also provides a computer program product including instructions, which, when executed on a computer, enables the computer to execute the display control method provided in the above embodiment.
- the mobile terminal, display control device, computer readable storage medium and the like provided by the embodiments of the present application
- the specific implementation methods of the computer program product and the technical effects brought about by it can refer to the specific implementation process of the display control method provided in the above embodiments and the technical effects brought about by it, which will not be repeated here.
- Each functional unit in each embodiment of the present application can be integrated into a processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
- the above integrated unit can be implemented in the form of hardware or in the form of software functional units.
- the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium.
- the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor to perform all or part of the steps of the method described in each embodiment of the present application.
- the aforementioned storage medium includes: various media that can store program codes, such as flash memory, mobile hard disk, read-only memory, random access memory, disk or optical disk.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Studio Devices (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
Description
Claims (13)
- 一种显示方法,其特征在于,应用于移动终端,所述显示方法包括:接收第一变焦操作和第二变焦操作;所述第一变焦操作的接收时间早于所述第二变焦操作的接收时间,所述第一变焦操作对应第一变焦倍率,所述第二变焦操作对应第二变焦倍率;所述第二变焦倍率与所述第一变焦倍率的倍率差值在预设范围内,以所述第二变焦倍率处理第一图像数据得到第二变焦图像;所述第一图像数据为基于所述第一变焦操作获取的图像数据。
- 根据权利要求1所述的显示方法,其特征在于,所述接收第一变焦操作,包括:接收至少两个第一变焦操作;每个所述第一变焦操作的接收时间均早于所述第二变焦操作的接收时间;所述第二变焦倍率与所述第一变焦倍率的倍率差值在预设范围内,以所述第二变焦倍率处理第一图像数据得到第二变焦图像,包括:从所述至少两个第一变焦倍率中查找目标变焦倍率;其中,所述目标变焦倍率为与所述第二变焦倍率的倍率差值在预设范围内的第一变焦倍率;以所述第二变焦倍率处理目标图像数据,得到所述第二变焦图像;其中,所述目标图像数据为基于目标变焦操作获取的图像数据,所述目标变焦操作为所述目标变焦倍率对应的第一变焦操作。
- 根据权利要求2所述的显示方法,其特征在于,所述从所述至少两个第一变焦倍率中查找目标变焦倍率,包括:从至少两个第一变焦请求中,确定对应所述目标变焦倍率的目标变焦请求;其中,每个第一变焦请求对应一个第一变焦操作,每个所述第一变焦请求的生成时间均早于所述第二变焦操作对应的第二变焦请求的生成时间,所述目标变焦请求为对应所述目标变焦倍率的第一变焦请求;所述以所述第二变焦倍率处理目标图像数据,得到所述第二变焦图像,包括:响应所述目标变焦请求和所述第二变焦请求,以所述第二变焦倍率处理目标图像数据,得到所述第二变焦图像。
- 根据权利要求3所述的显示方法,其特征在于,所述响应所述目标变焦请求和所述第二变焦请求,以所述第二变焦倍率处理目标图像数据,得到所述第二变焦图像,包括:响应所述目标变焦请求,获得所述目标图像数据;以所述第二变焦倍率处理所述目标图像数据,得到所述第二变焦图像;显示所述第二变焦图像。
- 根据权利要求3所述的显示方法,其特征在于,所述响应所述目标变焦请求和所述第二变焦请求,以所述第二变焦倍率处理目标图像数据,得到所述第二变焦图像,包括:响应所述目标变焦请求,获得目标图像数据,以所述目标变焦倍率处理所述目标 图像数据得到目标变焦图像,取消显示所述目标变焦图像;响应所述第二变焦请求,获得第二图像数据,以所述第二变焦倍率处理所述第二图像数据得到所述第二变焦图像,显示所述第二变焦图像。
- 根据权利要求3所述的显示方法,其特征在于,所述响应所述目标变焦请求和所述第二变焦请求,显示所述第二变焦图像,包括:在没有响应所述目标变焦请求的情况下,响应所述第二变焦请求,获得第二图像数据;以所述第二变焦倍率处理所述第二图像数据得到所述第二变焦图像,显示所述第二变焦图像。
- 根据权利要求3-6中任一项所述的显示方法,其特征在于,所述得到所述第二变焦图像之后,所述显示方法还包括:停止响应第四变焦请求;其中,所述第四变焦请求为生成时间在所述目标变焦请求之后的所述第一变焦请求。
- 根据权利要求4-7中任一项所述的显示方法,其特征在于,所述接收第一变焦操作和第二变焦操作,包括:接收所述第一变焦操作,生成所述第一变焦请求,将所述第一变焦请求加入请求队列;接收所述第二变焦操作,生成所述第二变焦请求,将所述第二变焦请求加入所述请求队列;所述请求队列为先进先出队列,所述第一变焦请求加入所述请求队列的时间早于所述第二变焦请求加入所述请求队列的时间;所述响应所述目标变焦请求,包括:在所述目标变焦请求从所述请求队列出队后,响应所述目标变焦请求。
- 根据权利要求8所述的显示方法,其特征在于,所述目标变焦请求包括:变焦倍率与所述第二变焦倍率的倍率差值在预设范围内,且已经从所述请求队列中出队的第一变焦请求。
- 根据权利要求9所述的显示方法,其特征在于,各变焦请求出队后对应的图像处理操作依次包括:原始图像采集操作、图像信号前端处理操作、空间对齐变换处理操作和图像信号后端处理操作;所述从至少两个第一变焦请求中,确定对应所述目标变焦倍率的目标变焦请求,包括:选择变焦倍率与所述第二变焦倍率的倍率差值在预设范围内,且处于所述空间对齐变换处理操作或所述图像信号后端处理操作的第一变焦请求,作为所述目标变焦请求。
- 根据权利要求1-10中任一项所述的显示方法,其特征在于,所述第一变焦操作包括第一目标操作和第二目标操作,所述第二变焦操作包括第三变焦操作和第四变焦操作,所述第一目标操作的接收时间早于所述第三变焦操作的接收时间,所述第二目标操作的接收时间早于所述第四变焦操作的接收时间;所述第一目标操作对应第一目标变焦倍率,所述第二目标操作对应第二目标变焦倍率,所述第三变焦操作对应第三变焦倍率,所述第四变焦操作对应第四变焦倍率;所述接收第一变焦操作和第二变焦操作,所述第二变焦倍率与所述第一变焦倍率的倍率差值在预设范围内,以所述第二变焦倍率处理第一图像数据得到第二变焦图像,包括:接收所述第一目标变焦操作、所述第二目标变焦操作、所述第三变焦操作和所述第四变焦操作;所述第一目标变焦倍率与所述第三变焦倍率的倍率差值在预设范围内,以所述第三变焦倍率处理第一目标图像数据得到第三变焦图像;所述第一目标图像数据为基于所述第一目标变焦操作获取的图像数据;所述第二目标变焦倍率与所述第四变焦倍率的倍率差值在预设范围内,以所述第四变焦倍率处理第二目标图像数据得到第四变焦图像;所述第二目标图像数据为基于所述第二目标变焦操作获取的图像数据。
- 一种移动终端,其特征在于,包括相机模组、存储器和处理器,所述相机模组、所述存储器与所述处理器耦合;所述存储器存储计算机执行指令;所述处理器执行所述存储器存储的计算机执行指令,使得移动终端执行如权利要求1至11中任一项所述的显示方法。
- 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有计算机程序,当其在计算机上运行时,使得计算机执行如权利要求1至11中任一项所述的显示方法。
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| EP24835234.6A EP4716228A1 (en) | 2023-07-03 | 2024-06-19 | Display method, mobile terminal, and computer-readable storage medium |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202310807236.5 | 2023-07-03 | ||
| CN202310807236.5A CN119255108A (zh) | 2023-07-03 | 2023-07-03 | 显示控制方法、移动终端及计算机可读存储介质 |
Related Child Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| US19/436,377 Continuation US20260129300A1 (en) | 2023-07-03 | 2025-12-30 | Display Method, Mobile Terminal, and Computer-Readable Storage Medium |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2025007751A1 true WO2025007751A1 (zh) | 2025-01-09 |
Family
ID=94026775
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2024/100202 Ceased WO2025007751A1 (zh) | 2023-07-03 | 2024-06-19 | 显示方法、移动终端及计算机可读存储介质 |
Country Status (3)
| Country | Link |
|---|---|
| EP (1) | EP4716228A1 (zh) |
| CN (1) | CN119255108A (zh) |
| WO (1) | WO2025007751A1 (zh) |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2009290318A (ja) * | 2008-05-27 | 2009-12-10 | Toshiba Corp | 撮像装置およびズーム調整方法 |
| CN113191841A (zh) * | 2021-04-28 | 2021-07-30 | 张鹏 | 基于增强现实技术的科技创新与文化共享智能平台模式方法 |
| CN113453203A (zh) * | 2020-03-26 | 2021-09-28 | 华为技术有限公司 | 一种数据共享和指令操作控制方法及系统 |
| CN113727016A (zh) * | 2021-06-15 | 2021-11-30 | 荣耀终端有限公司 | 一种拍摄方法及电子设备 |
| CN115802145A (zh) * | 2021-09-08 | 2023-03-14 | 华为技术有限公司 | 拍摄方法及电子设备 |
-
2023
- 2023-07-03 CN CN202310807236.5A patent/CN119255108A/zh active Pending
-
2024
- 2024-06-19 WO PCT/CN2024/100202 patent/WO2025007751A1/zh not_active Ceased
- 2024-06-19 EP EP24835234.6A patent/EP4716228A1/en active Pending
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2009290318A (ja) * | 2008-05-27 | 2009-12-10 | Toshiba Corp | 撮像装置およびズーム調整方法 |
| CN113453203A (zh) * | 2020-03-26 | 2021-09-28 | 华为技术有限公司 | 一种数据共享和指令操作控制方法及系统 |
| CN113191841A (zh) * | 2021-04-28 | 2021-07-30 | 张鹏 | 基于增强现实技术的科技创新与文化共享智能平台模式方法 |
| CN113727016A (zh) * | 2021-06-15 | 2021-11-30 | 荣耀终端有限公司 | 一种拍摄方法及电子设备 |
| CN115802145A (zh) * | 2021-09-08 | 2023-03-14 | 华为技术有限公司 | 拍摄方法及电子设备 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN119255108A (zh) | 2025-01-03 |
| EP4716228A1 (en) | 2026-03-25 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP7355941B2 (ja) | 長焦点シナリオにおける撮影方法および端末 | |
| EP4030276B1 (en) | Content continuation method and electronic device | |
| CN114697527B (zh) | 一种拍摄方法、系统及电子设备 | |
| US12244919B2 (en) | Video capturing method and electronic device | |
| WO2021175197A1 (zh) | 一种音频处理方法及设备 | |
| CN116709021B (zh) | 变焦响应方法、电子设备及存储介质 | |
| WO2021218325A1 (zh) | 视频处理方法、装置、计算机可读介质和电子设备 | |
| CN112217990B (zh) | 任务调度方法、任务调度装置及存储介质 | |
| WO2022143883A1 (zh) | 一种拍摄方法、系统及电子设备 | |
| CN111316604B (zh) | 一种数据传输方法及电子设备 | |
| WO2021218318A1 (zh) | 视频传输方法、电子设备和计算机可读介质 | |
| WO2022042769A2 (zh) | 多屏交互的系统、方法、装置和介质 | |
| WO2022228259A1 (zh) | 一种目标追踪方法及相关装置 | |
| EP4120668B1 (en) | Video processing method and electronic device | |
| WO2023160224A9 (zh) | 一种拍摄方法及相关设备 | |
| WO2022156721A1 (zh) | 一种拍摄方法及电子设备 | |
| CN117560574B (zh) | 一种拍摄方法、电子设备和可读存储介质 | |
| WO2025007751A1 (zh) | 显示方法、移动终端及计算机可读存储介质 | |
| WO2025011046A1 (zh) | 一种图像送显方法、电子设备、存储介质及芯片 | |
| WO2024088074A1 (zh) | 拍摄月亮的方法和电子设备 | |
| US20260129300A1 (en) | Display Method, Mobile Terminal, and Computer-Readable Storage Medium | |
| CN117082339B (zh) | 拍摄模式切换方法、装置、电子设备及可读存储介质 | |
| WO2025119318A1 (zh) | 一种拍摄参数调节方法、电子设备及存储介质 | |
| WO2025119320A1 (zh) | 一种拍摄参数调节方法、电子设备及存储介质 | |
| CN118377401A (zh) | 窗口操作方法及电子设备 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 24835234 Country of ref document: EP Kind code of ref document: A1 |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 2024835234 Country of ref document: EP |
|
| ENP | Entry into the national phase |
Ref document number: 2024835234 Country of ref document: EP Effective date: 20251219 |
|
| ENP | Entry into the national phase |
Ref document number: 2024835234 Country of ref document: EP Effective date: 20251219 |
|
| ENP | Entry into the national phase |
Ref document number: 2024835234 Country of ref document: EP Effective date: 20251219 |
|
| ENP | Entry into the national phase |
Ref document number: 2024835234 Country of ref document: EP Effective date: 20251219 |
|
| ENP | Entry into the national phase |
Ref document number: 2024835234 Country of ref document: EP Effective date: 20251219 |
|
| ENP | Entry into the national phase |
Ref document number: 2024835234 Country of ref document: EP Effective date: 20251219 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| ENP | Entry into the national phase |
Ref document number: 2024835234 Country of ref document: EP Effective date: 20251219 |
|
| WWP | Wipo information: published in national office |
Ref document number: 2024835234 Country of ref document: EP |