Zoom effect display method, zoom effect display device, and storage medium
By detecting scope recall commands on the graphical user interface of shooting games, invoking the magnifying glass function, and allowing the selection of any magnification, the problem of low virtual scope pickup probability and fixed magnification in shooting games is solved, improving aiming effect and player experience.
Patent Information
- Application Number
- CN202111039913.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-06
- Publication Date
- 2026-01-02
- Estimated Expiration
- 2041-09-06
AI Technical Summary
In shooting games, players have a low probability of picking up virtual scopes and the magnification is fixed, resulting in poor aiming and affecting the gaming experience.
By detecting the scope call command on the graphical user interface, the magnifying glass function is invoked to display the scope effect on the graphical user interface, allowing players to select any magnification, and improving the image clarity through interpolation compensation algorithm.
It enables the use of any scope at any time and place, improving aiming accuracy and player experience, and overcoming the shortcomings of fixed magnification and low probability of picking up virtual scopes.
Smart Images

Figure CN115738259B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present disclosure relates to the technical field of games, and particularly relates to a magnifying effect display method, a magnifying effect display device and a storage medium. BACKGROUND
[0002] In a shooting game, a player can control a target game character to pick up game equipment required by operation control, such as a virtual gun, a scope, a virtual magnifying glass (including a 2x magnifying glass, a 4x magnifying glass, a 6x magnifying glass, and an 8x magnifying glass), and the like. The player configures a virtual gun for the target game character according to game needs to play the game, and views a game field at a normal magnification. When a virtual magnifying glass is picked up, the virtual gun is configured with a magnifying glass of different magnification according to a distance between the target game character and a target object, so as to simulate a real shooting scene and improve the user's game experience. When the distance between the target game character and the target object is greater, a high magnifying glass is needed to obtain a more distant field of view, so as to facilitate more delicate operation to improve the probability of aiming. However, the virtual magnifying glass is picked up randomly in the game process, and the probability of picking up a high magnifying glass is smaller. Therefore, there is a defect that there is no virtual magnifying glass or the magnification of the virtual magnifying glass picked up is too small, which leads to poor aiming effect, thereby affecting the experience of the player when playing the game. SUMMARY
[0003] To overcome the problems in the related art, the present disclosure provides a magnifying effect display method, a magnifying effect display device and a storage medium.
[0004] According to a first aspect of an embodiment of the present disclosure, a magnifying effect display method is provided, applied to a terminal, the terminal having a magnifying glass function, and the magnifying effect display method comprises:
[0005] In response to detecting a magnifying call instruction on a graphical user interface to be subjected to magnifying effect display, calling the magnifying glass function; and based on the magnifying glass function, performing magnifying effect display on the graphical user interface to be subjected to magnifying effect display.
[0006] In an embodiment, the detecting of the magnifying call instruction on the graphical user interface to be subjected to magnifying effect display comprises:
[0007] If a magnifying call operation is detected on the graphical user interface to be subjected to magnifying effect display, it is determined that the magnifying call instruction is detected, and the magnifying call operation comprises an operation of a magnifying call control being triggered and / or a gesture operation of magnifying call.
[0008] In an embodiment, the performing of the magnifying effect display on the graphical user interface to be subjected to magnifying effect display based on the magnifying glass function comprises:
[0009] determine a magnification ratio at which the loupe is triggered, and perform magnified display on the graphical user interface to be displayed with the loupe effect based on the magnification ratio.
[0010] In an embodiment, performing magnified display on the graphical user interface to be displayed with the loupe effect based on the magnification ratio comprises:
[0011] determine a first pixel value of the graphical user interface to be displayed with the loupe effect before magnified display and a second pixel value of the graphical user interface to be displayed with the loupe effect after magnified display according to the magnification ratio, and perform interpolation compensation on the graphical user interface to be displayed with the loupe effect based on a pixel difference between the first pixel value and the second pixel value, and display a picture after interpolation compensation.
[0012] In an embodiment, determining a magnification ratio at which the loupe is triggered comprises:
[0013] determine a loupe adjustment value currently displayed by a loupe adjustment progress bar displayed on the graphical user interface, and determine a magnification ratio mapped by the loupe adjustment value as the magnification ratio of the loupe.
[0014] In an embodiment, the graphical user interface to be displayed with the loupe effect comprises a graphical user interface displayed with the loupe effect or a graphical user interface not displayed with the loupe effect.
[0015] According to a second aspect of the embodiments of the present disclosure, a loupe effect display apparatus is provided, applied to a terminal with a loupe function, and comprising:
[0016] a calling unit configured to call the loupe function in response to detecting a loupe calling instruction on a graphical user interface to be displayed with a loupe effect, and a display unit configured to perform loupe effect display on the graphical user interface to be displayed with the loupe effect based on the loupe function.
[0017] In an embodiment, the calling unit is configured to:
[0018] If a loupe calling operation is detected on the graphical user interface to be displayed with the loupe effect, it is determined that the loupe calling instruction is detected, and the loupe calling operation comprises an operation in which a loupe calling control is triggered and / or a gesture operation of loupe calling.
[0019] In an embodiment, the display unit is configured to:
[0020] determine the magnification of the magnifying glass triggered, and display the graphical user interface to be magnified based on the magnification.
[0021] In an embodiment, the magnifying effect display device further comprises:
[0022] a compensation unit configured to determine a first pixel value of the graphical user interface to be magnified and a second pixel value of the graphical user interface to be magnified, the first pixel value being a pixel value of the graphical user interface to be magnified before magnification, and the second pixel value being a pixel value of the graphical user interface to be magnified after magnification; and perform interpolation compensation on the graphical user interface to be magnified based on a pixel difference between the first pixel value and the second pixel value, and display the interpolated compensated picture.
[0023] In an embodiment, the display unit is configured to:
[0024] determine a zoom adjustment value currently displayed by the zoom adjustment progress bar on the graphical user interface, and determine a magnification corresponding to the zoom adjustment value as the magnification of the magnifying glass.
[0025] In an embodiment, the graphical user interface to be magnified includes a graphical user interface with magnifying effect or a graphical user interface without magnifying effect.
[0026] According to a third aspect of the embodiments of the present disclosure, a magnifying effect display device is provided, comprising:
[0027] a processor, and a memory for storing processor-executable instructions, wherein the processor is configured to execute the magnifying effect display method in the first aspect or any one of the embodiments of the first aspect.
[0028] According to a fourth aspect of the embodiments of the present disclosure, a non-transitory computer readable storage medium is provided, when instructions in the storage medium are executed by a processor of a mobile terminal, the mobile terminal is enabled to execute the magnifying effect display method in the first aspect or any one of the embodiments of the first aspect.
[0029] The technical scheme provided by the embodiment of the present disclosure can have the following beneficial effects: in the case that the magnifying glass calling instruction is detected on the graphical user interface to be displayed with magnifying glass effect, the magnifying glass function is called to display the graphical user interface to be displayed with magnifying glass effect with magnifying glass effect. In this way, the magnifying glass function can be called to display the graphical user interface to be displayed with magnifying glass effect with magnifying glass effect when the magnifying glass calling instruction is detected, without limiting that the graphical user interface can be displayed with magnifying glass effect only on the basis that the player picks up the magnifying glass, so as to improve the experience of the user playing the game.
[0030] It should be understood that the foregoing general description and the following detailed description are only exemplary and explanatory, and are not limiting to the present disclosure. BRIEF DESCRIPTION OF DRAWINGS
[0031] The accompanying drawings, which are incorporated into and form part of the specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0032] Figure 1 is a flowchart of a magnifying glass effect display method according to an exemplary embodiment.
[0033] Figure 2 is a flowchart of a magnifying glass effect display method according to an exemplary embodiment.
[0034] Figure 3 is a flowchart of a magnifying glass effect display method according to an exemplary embodiment.
[0035] Figure 4 is a magnifying glass effect display schematic diagram of a graphical user interface under 4 magnifying glass according to an exemplary embodiment.
[0036] Figure 5 is a magnifying glass effect display schematic diagram of a graphical user interface under 8 magnifying glass according to an exemplary embodiment.
[0037] Figure 6 is a magnifying glass effect display schematic diagram of a graphical user interface under 8 magnifying glass simulated by 4 magnifying glass superposition magnifying glass according to an exemplary embodiment.
[0038] Figure 7 is a flowchart of a magnifying glass effect display method according to an exemplary embodiment.
[0039] Figure 8 is a block diagram of a magnifying glass effect display device according to an exemplary embodiment.
[0040] Figure 9 is a block diagram of a device for magnifying glass effect display according to an exemplary embodiment. DETAILED DESCRIPTION
[0041] The exemplary embodiments will be described in detail herein with reference to the attached drawings. The description herein relates to the drawings, in which the same numbers in different drawings represent the same or similar elements throughout. The following exemplary embodiments are described in order to provide a thorough understanding of the present disclosure. However, the present disclosure can be practiced by other than the exemplary embodiments as set forth herein. In other words, the present disclosure is not intended to be limited to the embodiments set forth herein, but intended to encompass any modification of structure, any combination of structures, and any combination of methods set forth herein.
[0042] With the diversification of terminal functions and the development of the gaming industry, the types of games that can be played on terminals to meet the needs of players are increasing. For example, role-playing, adventure, flight, simulation, strategy, action, nurturing, fighting, shooting, and the like. In shooting games (Escape from Tarkov, Fortnite, Battlefield series, etc.), the terminal can display a virtual scene on the graphical user interface and display a target game character in the virtual scene. During the game, the player controls the target game character to fight with other game characters. During the fight, the target game character can pick up a virtual zoom lens and assemble it on a virtual gun to facilitate aiming at the target and performing a shooting operation on the target.
[0043] Picking up a virtual zoom lens in the game is random, and in 2x, 4x, 6x, and 8x, the higher the magnification of the lens, the smaller the probability of picking it up, i.e., the more difficult it is to obtain. At the same time, the magnification of the virtual zoom lens is fixed and cannot be selected according to the needs of the player, resulting in a poor user experience for the player.
[0044] Therefore, the embodiments of the present disclosure provide a zoom lens effect display method applied to a terminal with a magnifying glass function. In the case where a zoom lens calling instruction is detected on a graphical user interface to be displayed with a zoom lens effect, the magnifying glass function is called to display the graphical user interface to be displayed with a zoom lens effect. In this way, the magnifying glass function can be called to display the graphical user interface to be displayed with a zoom lens effect when the zoom lens calling instruction is detected, without limiting the graphical user interface to be displayed with a zoom lens effect based on the player picking up the zoom lens.
[0045] The terminal involved in the embodiments of the present disclosure can also be referred to as a terminal device, a user equipment, a mobile station (MS), a mobile terminal (MT), etc., and is a device that provides voice and / or data connectivity for a user. In an embodiment, the terminal device can be a local terminal device. Taking a game as an example, the local terminal device stores a game program and is used to present a game picture. The local terminal device is used to interact with a player through a graphical user interface, i.e., a conventional game program is downloaded and installed through an electronic device and is run. The manner in which the local terminal device provides the graphical user interface to the player can include various manners, for example, can be rendered to be displayed on a display screen of the terminal, or is provided to the player through holographic projection. For example, the local terminal device can include a display screen used to present a graphical user interface including a game picture, and a processor used to run the game, generate the graphical user interface, and control the display of the graphical user interface on the display screen.
[0046] Further, the content presented by the graphical user interface can include all of the game scene or a part of the game scene. For example, due to the large game scene, a part of the game scene is displayed on the graphical user interface of the terminal during the game. In addition, the content displayed by the graphical user interface also includes a target game character, which performs corresponding actions (such as moving, turning, jumping, shooting, etc.) according to the instructions generated by the terminal based on the operation of the player. The content presented by the graphical user interface can include all of the scene in the scope of the target game character when shooting, i.e., the graphical user interface to be displayed with the zoom-in effect.
[0047] Figure 1 is a flowchart of a zoom-in effect display method according to an exemplary embodiment. Referring to Figure 1 , the zoom-in effect display method includes the following steps.
[0048] In step S11, if a zoom-in calling instruction is detected on the graphical user interface to be displayed with the zoom-in effect, the magnifying glass function is called.
[0049] In the embodiments of the present disclosure, the graphical user interface to be subjected to the magnifying effect display includes a graphical user interface displaying a magnifying effect or a graphical user interface not displaying a magnifying effect. The graphical user interface displaying a magnifying effect refers to that, during the game process, a player picks up a low magnification magnifying glass, such as a 2x magnifying glass or a 4x magnifying glass, and then configures the 2x magnifying glass or the 4x magnifying glass on a currently used firearm. It is found that the graphical user interface displaying the 2x magnifying effect or the 4x magnifying effect is not clear because the target game character is too far away from the shooting object. In this case, the player can trigger a magnifying glass calling instruction to continue magnifying on the low magnifying effect by using a magnifying glass until the aiming requirement of the user is met.
[0050] In the embodiments of the present disclosure, the magnifying glass calling instruction can also be triggered by recognizing a gesture operation on the terminal.
[0051] In step S12, based on the magnifying glass function, the graphical user interface to be subjected to the magnifying effect display is subjected to the magnifying effect display.
[0052] In the embodiments of the present disclosure, the player calls the magnifying glass to realize the magnifying effect display of the graphical user interface to be subjected to the magnifying effect display. It should be noted that, when the magnifying glass function is called in the game, the player needs to pre-set the magnifying glass function in the setting interface provided by the player so as to start the magnifying glass function when the graphical user interface is subjected to the magnifying effect display.
[0053] In the embodiments of the present disclosure, the magnifying glass function is used to realize the magnifying effect display of the graphical user interface aimed at by the current firearm, which overcomes the defect that the player cannot magnify the shooting target when the magnifying glass is not picked up, and overcomes the defect that the magnifying effect of the shooting target is not clear because the magnifying glass picked up by the player has a low magnification. The effect that the magnifying glass can be opened at any time and at any place is realized.
[0054] It should be noted that the magnifying effect display method provided in this embodiment can be applied to a terminal that has the magnifying glass function in the barrier-free function, and can also be applied to a terminal that does not have the barrier-free function but has the magnifying glass function. In the case where the magnifying effect display method is applied to a terminal that has the magnifying glass function in the barrier-free function, in response to detecting the magnifying call instruction, the magnifying glass function in the barrier-free function is called to perform magnifying effect display on the graphical user interface to be subjected to magnifying effect display. The barrier-free function (TalkBack) in the present disclosure is provided in the operating system of the terminal, and by integrating the barrier-free function and the service, the ease of use of the application can be improved, especially for disabled users, also known as system auxiliary function. For example, the system firmware (ROM) of the Android system is configured with an accessibility service, which is originally designed to help users more conveniently operate the terminal, and can include auxiliary functions such as magnifying glass, subtitles, text-to-speech, tactile feedback, gesture operation, trackball, handle operation, power button shortcut, etc.
[0055] Further, the magnifying call instruction is detected on the graphical user interface to be subjected to magnifying effect display, including:
[0056] If the magnifying call operation is detected on the graphical user interface to be subjected to magnifying effect display, it is determined that the magnifying call instruction is detected.
[0057] In the present embodiment, the magnifying call operation can be an operation in which the magnifying call control is triggered, can also be a gesture operation for magnifying call, and can also be a combination of the operation in which the magnifying call control is triggered and the gesture operation for magnifying call.
[0058] For example, the magnifying call instruction is triggered by the gesture operation for magnifying call, and the correspondence between the gesture operation and the magnifying call instruction is pre-set in the terminal. The set gesture operation is set according to the operation habit of the player, which can be double-clicking the graphical user interface to trigger the magnifying call instruction, can also be drawing a circle on the graphical user interface to trigger the magnifying call instruction, and can also be sliding in a set direction on the graphical user interface to trigger the magnifying call instruction. The present embodiment does not limit the specific gesture operation. The process of setting the gesture operation conforms to the individualization of the player, and can improve the comfort of the player when operating.
[0059] Figure 2 is a flowchart of a magnifying effect display method according to an exemplary embodiment. Referring to Figure 2 , based on the magnifying glass function, the graphical user interface to be subjected to magnifying effect display is subjected to magnifying effect display, including the following steps.
[0060] In step S21, the magnification of the magnifying glass triggered is determined.
[0061] In the embodiments of the present disclosure, the magnifying glass can be magnified to any magnification for the player to select. The player can drag the magnification control displayed on the graphical user interface according to the magnifying effect display of the graphical user interface to determine the magnification.
[0062] In an implementation, Figure 3 is a flowchart of a magnifying effect display method according to an exemplary embodiment. As Figure 3 shown, the magnification of the magnifying glass triggered is determined according to the following steps.
[0063] In step S211, the magnifying adjustment value currently displayed on the magnifying adjustment progress bar displayed on the graphical user interface is determined.
[0064] In this step, the magnifying adjustment progress bar for displaying the magnifying adjustment value is provided on the graphical user interface, the control is displayed on the magnifying adjustment progress bar, the player drags and moves the control by touching the region set around the control, and the magnifying adjustment value is displayed on the two sides or one side of the magnifying adjustment progress bar or at one end of the magnifying adjustment progress bar. When the control stays at any position of the magnifying adjustment progress bar, the magnifying adjustment value currently displayed on the graphical user interface is displayed at the specified position. Therefore, when the graphical user interface to be magnified is magnified by the magnifying glass, it can be magnified to any magnification, so it is also called a universal magnifying glass, and is not limited to the magnification of the magnifying device provided by the game. In other words, the magnifying device provided by the game includes a 2x magnifying glass, a 4x magnifying glass, a 6x magnifying glass, and an 8x magnifying glass, and is limited to a specified magnification. The current graphical user interface can be magnified or reduced by moving the control on the magnifying adjustment progress bar.
[0065] In step S212, the magnification mapped by the magnifying adjustment value is determined as the magnification of the magnifying glass.
[0066] For example, in the above example, the position where the control on the magnifying adjustment progress bar stays displays the magnifying adjustment value as 8, and 8 is determined as the magnification of the magnifying glass, which means that the magnification of the current graphical user interface is 8 times.
[0067] In step S22, the graphical user interface to be magnified is magnified and displayed based on the magnification.
[0068] In the embodiments of the present disclosure, the graphical user interface to be magnified is magnified according to the magnification selected by the player, and the magnified graphical user interface is magnified and displayed.
[0069] In an embodiment, the graphical user interface to be displayed with a magnifying effect is zoomed in based on interpolation compensation and a zooming factor. Illustratively, a first pixel value and a second pixel value are determined. The first pixel value is a pixel value of the graphical user interface to be displayed with a magnifying effect before zooming in. The second pixel value is a pixel value of the graphical user interface to be displayed with a magnifying effect after zooming in according to a zooming factor. The graphical user interface to be displayed with a magnifying effect is interpolated and compensated based on a pixel difference between the first pixel value and the second pixel value, and a picture after interpolation compensation is displayed.
[0070] In an embodiment of the present disclosure, interpolation compensation can employ a nearest neighbor interpolation algorithm, or a bilinear interpolation algorithm, or a bicubic interpolation algorithm, or a natural neighbor interpolation algorithm, or a weighted average interpolation algorithm, or a distance reciprocal weighted interpolation algorithm, or a high-order interpolation algorithm, or a Lagrange interpolation algorithm, or a Newton interpolation algorithm. The interpolation compensation algorithm employed in this embodiment is not specifically limited.
[0071] In an embodiment of the present disclosure, the graphical user interface to be displayed with a magnifying effect includes a graphical user interface with a magnifying effect displayed, or a graphical user interface without a magnifying effect displayed.
[0072] Illustratively, Figure 4 is a schematic diagram of a graphical user interface displayed with a 4x magnifying effect according to an exemplary embodiment. Referring to Figure 4 , under the 4x magnifying effect provided by the game, the bullseye of the virtual target on the graphical user interface to be aimed at by the firearm is not clear. Figure 5 is a schematic diagram of a graphical user interface displayed with an 8x magnifying effect according to an exemplary embodiment. Referring to Figure 5 , under the 8x magnifying effect provided by the game, the bullseye of the virtual target on the graphical user interface to be aimed at by the firearm is clearer than Figure 4 , the bullseye of the virtual target on the graphical user interface to be aimed at by the firearm under the 4x magnifying effect. Figure 6 is a schematic diagram of a graphical user interface displayed with a 4x magnifying effect superimposed with a magnifying glass simulating an 8x magnifying effect according to an exemplary embodiment. By comparing Figure 5 and Figure 6 It is obvious that the magnifying effect of the graphical user interface displayed with a 4x magnifying effect superimposed with a magnifying glass simulating an 8x magnifying effect is superior to the magnifying effect of the graphical user interface displayed with an 8x magnifying effect provided by the game. In Figure 6 , the graphical user interface to be displayed with a magnifying effect is a graphical user interface with a 4x magnifying effect displayed, and a magnifying glass is invoked on the graphical user interface with a 4x magnifying effect displayed to perform further zooming operation on the graphical user interface with a 4x magnifying effect displayed.
[0073] Figure 7 is a flowchart of a magnifying effect display method according to an exemplary embodiment. As shown in Figure 7As shown, the magnifying effect display method comprises the following steps.
[0074] In step S31, the game is entered.
[0075] In step S32, the magnifying call instruction is triggered by the double-click gesture operation, and the magnifying glass function is called according to the magnifying call instruction.
[0076] In step S33, the graphical user interface to be magnified is magnified based on the magnifying glass function, and the magnified graphical user interface is displayed with the magnifying effect.
[0077] In step S34, the double-click exits the magnifying glass mode, and the graphical user interface returns to normal.
[0078] The magnifying effect display method provided by the present disclosure can realize the effect of opening any magnifying glass at any time and place in a gun battle game.
[0079] Based on the same concept, the present disclosure also provides a magnifying effect display device.
[0080] It can be understood that the magnifying effect display device provided by the present disclosure comprises the hardware structure and / or software module corresponding to the execution of each function in order to realize the above functions. In combination with the units and algorithm steps of each example disclosed in the present disclosure, the present disclosure can be realized in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed by hardware or computer software driven 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, but such implementation should not be considered beyond the scope of the technical solution of the present disclosure.
[0081] Figure 8 is a magnifying effect display device block diagram according to an exemplary embodiment. The magnifying effect display device 100 is applied to a terminal, and the terminal has a magnifying glass function. Referring to Figure 2 , the magnifying effect display device 100 comprises:
[0082] The calling unit 101 is configured to call the magnifying glass function in response to detecting the magnifying call instruction on the graphical user interface to be displayed with the magnifying effect.
[0083] The display unit 102 is configured to display the graphical user interface to be displayed with the magnifying effect based on the magnifying glass function.
[0084] In the present disclosure, the calling unit 101 is configured to:
[0085] If a magnifying-glass calling operation is detected on the graphical user interface to be displayed with the magnifying-glass effect, it is determined that the magnifying-glass calling instruction is detected, and the magnifying-glass calling operation includes an operation in which a magnifying-glass calling control is triggered and / or a gesture operation of the magnifying-glass calling.
[0086] In the embodiments of the present disclosure, the display unit 102 is configured to:
[0087] The magnifying-glass is triggered to determine the magnification, and the graphical user interface to be displayed with the magnifying-glass effect is displayed based on the magnification.
[0088] In the embodiments of the present disclosure, the magnifying-glass effect display device further includes:
[0089] The compensation unit 103 is configured to determine a first pixel value and a second pixel value, wherein the first pixel value is a pixel value before the graphical user interface to be displayed with the magnifying-glass effect is displayed with the magnifying-glass effect, and the second pixel value is a pixel value after the graphical user interface to be displayed with the magnifying-glass effect is displayed with the magnifying-glass effect; and based on a pixel difference between the first pixel value and the second pixel value, the graphical user interface to be displayed with the magnifying-glass effect is compensated by interpolation, and a picture after the interpolation compensation is displayed.
[0090] In the embodiments of the present disclosure, the display unit 102 is configured to:
[0091] The magnifying-glass adjustment progress bar currently displayed on the graphical user interface is determined to be a magnifying-glass adjustment value, and the magnification corresponding to the magnifying-glass adjustment value is determined to be the magnification of the magnifying-glass.
[0092] In the embodiments of the present disclosure, the graphical user interface to be displayed with the magnifying-glass effect includes a graphical user interface with the magnifying-glass effect or a graphical user interface without the magnifying-glass effect.
[0093] As to the apparatus in the above-described embodiments, specific manners in which various modules perform operations have been described in details in the embodiments of the method, and will not be described in details here.
[0094] Figure 9 FIG. 2 is a block diagram of an apparatus 200 for magnifying-glass effect display according to an example embodiment. The apparatus 200 can be a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, fitness device, personal digital assistant, etc.
[0095] Referring to Figure 9 The apparatus 200 can include one or more of the following components: a processing component 202, a memory 204, a power supply component 206, a multimedia component 208, an audio component 210, an input / output (I / O) interface 212, a sensor component 214, and a communication component 216.
[0096] The processing component 202 generally controls the overall operations of the device 200, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 202 can include one or more processors 220 to execute instructions
[0097] The memory 204 is configured to store various types of data to support operations of the device 200. Examples of such data include instructions for any applications or methods operating on the device 200, contact data, phonebook data, messages, pictures, videos, and so on. The memory 204 can be implemented by any type of volatile or non-volatile storage devices or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk or optical disk.
[0098] The power component 206 provides power to the various components of the device 200. The power component 206 can include a power management system, one or more power supplies, and other components associated with generating, managing and distributing power for the device 200.
[0099] The multimedia component 208 includes a screen providing an output interface between the device 200 and a user. In some embodiments, the screen can include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes the touch panel, the screen can be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense a touch, a slide and a gesture on the touch panel. The touch sensors can not only sense a boundary of a touching or sliding action, but also detect duration and pressure related to the touching or sliding action. In some embodiments, the multimedia component 208 includes a front camera and / or a rear camera. When the device 200 is in an operation mode, such as a shooting mode or a video mode, the front camera and / or the rear camera can receive external multimedia data. Each of the front and rear cameras can be a fixed optical lens system or have a focal length and optical zoom capability.
[0100] The audio component 210 is configured to output and / or input audio signals. For example, the audio component 210 includes a microphone (MIC) that is configured to receive an external audio signal when the device 200 is in an operation mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal can be further stored in the memory 204 or transmitted via the communication component 216. In some embodiments, the audio component 210 also includes a speaker for outputting audio signals.
[0101] The I / O interface 212 provides an interface between the processing component 202 and peripheral interface modules, which can include a keypad, a click wheel, buttons, and so on. The buttons can include, but are not limited to, a home button, a volume button, a start button, and a lock button.
[0102] The sensor component 214 includes one or more sensors for providing status assessments of various aspects of the device 200. For example, the sensor component 214 can detect an open / closed position of the device 200, relative positioning of components, such as a display and a keypad of the device 200, a change of position of the device 200 or a component of the device 200, presence or absence of user contact with the device 200, orientation or acceleration / deceleration / g-force and temperature of the device 200. The sensor component 214 can include an orientation sensor, an altimeter, a proximity sensor, an accelerometer, a gyroscope, a magnetometer, a pressure sensor or a temperature sensor.
[0103] The communication component 216 is configured to facilitate wired or wireless communication between the device 200 and another device. The device 200 can access a wireless network based on a communication standard, such as WiFi, 4G, or 5G, or a combination thereof. In an example embodiment, the communication component 216 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In an example embodiment, the communication component 216 also includes a Near Field Communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on Radio Frequency Identification (RFID) techniques, infrared data association (IrDA) techniques, ultra-wideband (UWB) techniques, Bluetooth (BT) techniques, and other techniques.
[0104] In exemplary embodiments, the apparatus 200 can be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic elements, for executing the above-described methods.
[0105] In exemplary embodiments, a non-transitory computer-readable storage medium including instructions, such as the memory 204 including instructions, is also provided, which can be executed by the processor 220 of the apparatus 200 to complete the above-described methods. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device, etc.
[0106] It can be understood that, in the present disclosure, "multiple" refers to two or more, and other quantifiers are similar thereto. The association relationship of "and / or" describing the associated objects means that there can be three relationships, for example, A and / or B can mean that A exists alone, A and B exist simultaneously, and B exists alone. The character " / " generally represents that the associated objects before and after it are in an "or" relationship. The singular form "a", "said" and "the" are also intended to include the plural form, unless the context clearly indicates otherwise.
[0107] It can be further understood that the terms "first", "second", and the like are used to describe various information, but the information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other, and do not indicate a particular order or importance. In fact, the expressions "first", "second", and the like can be completely interchangeable. For example, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as the first information without departing from the scope of the present disclosure.
[0108] It can be further understood that, unless otherwise specified, "connection" includes direct connection between the two without other components, and also includes indirect connection between the two with other elements.
[0109] It can be further understood that, although the operations are described in a specific order in the embodiments of the present disclosure in the accompanying drawings, it should not be understood as requiring the operations to be performed in the specific order or in a serial order, or requiring all the shown operations to be performed to obtain the desired results. In a specific environment, multi-tasking and parallel processing can be advantageous.
[0110] Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the features disclosed herein. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
[0111] It is to be understood that the disclosure is not limited to the precise construction herein described and as shown in the attached drawings, and that various modifications and changes can be made by those skilled in the art without departing from the scope thereof. The scope of the disclosure is limited only by the claims that follow.
Claims
1. A method of magnifying the effect of a display, characterized in that, The magnifying effect display method comprises: In response to detecting a magnifying call instruction on a graphical user interface to be subjected to magnifying effect display, calling a magnifying glass function of the terminal, the magnifying call instruction being used to continue magnification using the magnifying glass in the case of a low magnifying effect; Based on the magnifying glass function, performing magnifying effect display on the graphical user interface to be subjected to magnifying effect display; The magnifying effect display based on the magnifying glass function comprises: Determining a magnification ratio of the magnifying glass triggered, the magnification ratio being determined by dragging a magnification control displayed on the graphical user interface, the magnification ratio being an arbitrary magnification ratio; Based on the magnification ratio, performing magnification display on the graphical user interface to be subjected to magnifying effect display.
2. The magnifying effect presentation method according to claim 1, wherein The detection of the magnifying call instruction on the graphical user interface to be subjected to magnifying effect display comprises: If a magnifying call operation is detected on the graphical user interface to be subjected to magnifying effect display, it is determined that the magnifying call instruction is detected, the magnifying call operation comprising an operation in which a magnifying call control is triggered and / or a gesture operation of magnifying call.
3. The magnifying effect presentation method according to claim 1, wherein The magnification display based on the magnification ratio comprises: Determining a first pixel value and a second pixel value, the first pixel value being a pixel value before the graphical user interface to be subjected to magnifying effect display is subjected to magnification display, the second pixel value being a pixel value after the graphical user interface to be subjected to magnifying effect display is subjected to magnification display according to the magnification ratio; Based on a pixel difference between the first pixel value and the second pixel value, performing interpolation compensation on the graphical user interface to be subjected to magnifying effect display, and displaying a picture after interpolation compensation.
4. The magnified effect presentation method of claim 1, wherein, The determination of the magnification ratio of the magnifying glass triggered comprises: Determining a magnifying adjustment value currently displayed by a magnifying adjustment progress bar displayed on the graphical user interface, and determining a magnification ratio mapped by the magnifying adjustment value as the magnification ratio of the magnifying glass.
5. The magnifying effect presentation method according to any one of claims 1 to 4, wherein The graphical user interface to be subjected to magnifying effect display comprises a graphical user interface on which a magnifying effect is displayed.
6. A magnifying effect display device, characterized by comprising: The magnifying effect display device comprises: A calling unit configured to, in response to detecting a magnifying call instruction on a graphical user interface to be subjected to magnifying effect display, call a magnifying glass function of the terminal, the magnifying call instruction being used to continue magnification using the magnifying glass in the case of a low magnifying effect; A display unit configured to, based on the magnifying glass function, perform magnifying effect display on the graphical user interface to be subjected to magnifying effect display; The display unit performs magnification display on the graphical user interface to be subjected to magnifying effect display in the following manner: Determining a magnification ratio of the magnifying glass triggered, the magnification ratio being determined by dragging a magnification control displayed on the graphical user interface, the magnification ratio being an arbitrary magnification ratio; Based on the magnification ratio, performing magnification display on the graphical user interface to be subjected to magnifying effect display.
7. The magnifying effect display device according to claim 6, wherein The calling unit is configured to: If a zoom-in calling operation is detected on the graphical user interface to be displayed with the zoom-in effect, it is determined that a zoom-in calling instruction is detected, the zoom-in calling operation including an operation in which a zoom-in calling control is triggered and / or a gesture operation of zoom-in calling.
8. The magnifying effect display device according to claim 6, wherein The zoom-in effect display device further includes: The compensation unit is configured to determine a first pixel value and a second pixel value, the first pixel value being a pixel value before the graphical user interface to be displayed with the zoom-in effect is displayed with the zoom-in effect, and the second pixel value being a pixel value after the graphical user interface to be displayed with the zoom-in effect is displayed with the zoom-in effect at a zoom-in magnification; and perform interpolation compensation on the graphical user interface to be displayed with the zoom-in effect based on a pixel difference between the first pixel value and the second pixel value, and display a picture after the interpolation compensation.
9. The magnifying effect display device according to claim 6, wherein The display unit is configured to: determine a zoom-in adjustment value currently displayed by a zoom-in adjustment progress bar displayed on the graphical user interface, and determine a zoom-in magnification mapped by the zoom-in adjustment value as the zoom-in magnification of the magnifying glass.
10. A magnifying effect display device according to any one of claims 6 to 9, wherein The graphical user interface to be displayed with the zoom-in effect includes a graphical user interface displayed with a zoom-in effect.
11. A magnifying effect display device, characterized by comprising: It includes: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to perform the zoom-in effect display method of any one of claims 1 to 5.
12. A non-transitory computer-readable storage medium, when instructions in the storage medium are executed by a processor of a mobile terminal, enabling the mobile terminal to perform the zoom-in effect display method of any one of claims 1 to 5.
Citation Information
Patent Citations
Image display method and electronic equipment
CN111142616A
Method and device for adjusting virtual magnification lens in game, electronic equipment and storage medium
CN112774188A