Display method and device, equipment and storage medium

By presetting the scaling ratio on the display screen to match the target logical resolution and pixel density, the problem of inconsistent display effects on different display screens is solved, improving user experience and content clarity.

CN118732972APending Publication Date: 2024-10-01BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310340090.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-31
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

Display screens of different sizes and resolutions lead to differences in user experience when displaying the same content. Especially in a multi-screen environment, the display effect is inconsistent, affecting the look and feel and clarity.

Method used

By receiving user requests, the scaling ratio is preset to match the target logical resolution and pixel density with the original resolution and pixel density of the display screen, and the display screen is adapted to ensure the consistency of the look and feel of content displayed on different screens.

Benefits of technology

It achieves consistency in the look and feel of content displayed on different display screens, improves user experience, and enhances the clarity and display effect of content.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118732972A_ABST
    Figure CN118732972A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a display method and device, equipment and a storage medium. The method comprises the following steps: receiving a first request of a user for triggering display on a display screen associated with the electronic equipment; and displaying on the display screen at a preset first scaling, wherein the first scaling is preset based on the target logic resolution and the target pixel density and the original resolution and the original pixel density of the display screen. In this way, the same display content can have similar impressions on different display screens, and the watching experience of a user is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Example embodiments of the present disclosure generally relate to the field of computers, and more particularly, to a display method, apparatus, electronic device, and computer-readable storage medium. Background Art

[0002] With the development of electronic devices, various forms of electronic devices (e.g., computers) can help people improve their productivity and enrich their daily lives. For example, people can use electronic devices to complete the design and planning of various contents, view images, videos and other contents through electronic devices, and perform various interactions in virtual scenes, etc. Usually, electronic devices are associated with display screens that present content to users, and users can view related content, interact, etc. through the display screens. However, the display effects of different display screens may vary. Summary of the invention

[0003] In a first aspect of the present disclosure, a display method is provided. The method includes: receiving a first request from a user to trigger display on a display screen associated with an electronic device; and displaying on the display screen at a preset first scaling ratio, wherein the first scaling ratio is preset based on a target logical resolution and a target pixel density and an original resolution and an original pixel density of the display screen.

[0004] In a second aspect of the present disclosure, a display device is provided. The device includes: a receiving module configured to receive a first request from a user to trigger display on a display screen associated with an electronic device; and a display module configured to display on the display screen at a preset first scaling ratio, wherein the first scaling ratio is preset based on a target logical resolution and a target pixel density and an original resolution and an original pixel density of the display screen.

[0005] In a third aspect of the present disclosure, an electronic device is provided. The device includes at least one processing unit; and at least one memory, the at least one memory is coupled to the at least one processing unit and stores instructions for execution by the at least one processing unit. When the instructions are executed by the at least one processing unit, the device executes the method of the first aspect.

[0006] In a fourth aspect of the present disclosure, a computer-readable storage medium is provided, wherein a computer program is stored on the medium, and when the program is executed by a processor, the method of the first aspect is implemented.

[0007] It should be understood that the contents described in the summary of the present invention are not intended to limit the key features or important features of the embodiments of the present disclosure, nor are they intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0008] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. In the accompanying drawings, the same or similar reference numerals represent the same or similar elements, wherein:

[0009] Figure 1 A schematic diagram showing an example environment in which embodiments of the present disclosure can be implemented;

[0010] Figure 2 A flow chart showing a display method according to some embodiments of the present disclosure is shown;

[0011] Figure 3 A flowchart illustrating an example process for determining a scaling ratio according to some embodiments of the present disclosure is shown;

[0012] Figure 4A and Figure 4B A schematic diagram showing display on a display screen at a scaled ratio according to some embodiments of the present disclosure is shown;

[0013] Figure 4C shows an example user interface for adjusting zoom ratio according to some embodiments of the present disclosure;

[0014] Figure 5 A block diagram showing a display device according to some embodiments of the present disclosure; and

[0015] Figure 6 A block diagram of a device capable of implementing various embodiments of the present disclosure is shown. DETAILED DESCRIPTION

[0016] It is understandable that before using the technical solutions disclosed in the embodiments of the present disclosure, the types, scope of use, usage scenarios, etc. of the personal information involved in the present disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.

[0017] For example, in response to receiving an active request from a user, a prompt message is sent to the user to clearly prompt the user that the operation requested to be performed will require obtaining and using the user's personal information. Thus, the user can autonomously choose whether to provide personal information to software or hardware such as an electronic device, application, server, or storage medium that performs the operation of the technical solution of the present disclosure according to the prompt message.

[0018] As an optional but non-limiting implementation, in response to receiving an active request from the user, the prompt information may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form. In addition, the pop-up window may also carry a selection control for the user to choose "agree" or "disagree" to provide personal information to the electronic device.

[0019] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation on the implementation of the present disclosure. Other methods that meet the relevant laws and regulations may also be applied to the implementation of the present disclosure.

[0020] It is understandable that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) shall comply with the requirements of relevant laws, regulations and relevant provisions.

[0021] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments set forth herein. On the contrary, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.

[0022] In the description of the embodiments of the present disclosure, the term "including" and similar terms should be understood as open inclusion, that is, "including but not limited to". The term "based on" should be understood as "based at least in part on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The term "some embodiments" should be understood as "at least some embodiments". Other explicit and implicit definitions may be included below. The terms "first", "second", etc. may refer to different or the same objects. Other explicit and implicit definitions may be included below.

[0023] As discussed above, an electronic device may utilize an associated display screen to present content to a user. For example, after receiving data related to the display content (e.g., a video stream, an image file, etc.), the electronic device may decode it to determine the original pixel data of the display content. The electronic device then renders and presents based on the original pixel data. The resolution of the display content may affect the clarity of the display content. For example, taking an image as an example, for images of the same size, the higher the resolution of the image, the more pixels the image has and the clearer the image.

[0024] When using different display screens to display an image, the display effect will be different due to differences in the size and resolution of the display screen. For example, the higher the resolution of the display screen, the more pixels that can be displayed on the display screen, the finer the picture, and the more information that can be displayed in the same screen area. When the display resolution is the same, the smaller the display screen, the clearer the displayed image. When the display screen size is the same, the higher the display resolution, the clearer the displayed image. Moreover, the resolution of the display screen can affect the size of the display area on the display screen. For example, for the same image, the larger the resolution of the display screen, the smaller the corresponding display area on the screen; conversely, the smaller the resolution of the display screen, the larger the display area.

[0025] Therefore, when using a display screen to present content to a user, it is necessary to adapt the display screen to the presented content to improve the presentation effect of the content. In particular, when a user uses multiple display screens to perform tasks, the difference in display effects of the same content on display screens of different sizes will seriously affect the user experience.

[0026] An embodiment of the present disclosure proposes an adaptation scheme for display screen resolution. According to the scheme, after receiving a request from a user to trigger a display on a display screen associated with an electronic device, the display is performed on the display screen with a preset scaling ratio. The scaling ratio is preset based on the target logical resolution and target pixel density as well as the original resolution and original pixel density of the display screen. The original resolution and original pixel density of the display screen are also referred to as physical resolution and physical pixel density, which may depend on the physical properties of the display screen. The target logical resolution and target pixel density refer to the resolution and pixel density achieved or displayed to the user after scaling, which may affect the user's viewing experience.

[0027] Since the scaling factor not only considers the target pixel density but also the target logical resolution, the scaling operation can make the displayed content have a predetermined look and feel on the display screen. Moreover, the target pixel density and the target logical resolution can be set to match display screens of different sizes and resolutions, so that the same displayed content has a similar look and feel on different display screens, thereby providing users with a better viewing experience.

[0028] Various example implementations of the solution are described in detail below in conjunction with the accompanying drawings.

[0029] First reference Figure 1 , which shows a schematic diagram of an example environment 100 in which embodiments according to the present disclosure may be implemented. Figure 1As shown, the example environment 100 may include an electronic device 110, and the electronic device 110 may be associated with one or more display screens, such as a built-in first display screen 111 and / or an external second display screen 112. In the environment 100, a user 120 may send a request for display to the electronic device 110, and then obtain the display content of the electronic device 110 using the first display screen 111 and / or the second display screen 112 associated with the electronic device 110.

[0030] The electronic device 110 may include, but is not limited to, mobile devices, fixed devices or portable devices, etc., such as mobile phones, desktop computers, laptop computers, notebook computers, netbook computers, tablet computers, media computers, multimedia tablets, personal communication system (PCS) devices, personal navigation devices, personal digital assistants (PDAs), audio / video players, digital cameras / camcorders, positioning devices, television receivers, radio broadcast receivers, e-book devices, virtual reality (VR) all-in-one machines, game consoles, game books or any combination of the foregoing, including accessories and peripherals of these devices or any combination thereof.

[0031] The electronic device 110 may have multiple associated display screens, for example, a built-in (display) display screen (for example, the first display screen 111) and / or one or more external (display) display screens (for example, the second display screen 112). Thus, the user 120 may use the built-in display or the external display of the electronic device 110 to view the content as required. In some embodiments, the electronic device 110 may not have a built-in display screen, but may be physically coupled to an external display, for example, in a wired or wireless manner.

[0032] It should be understood that the structure and functionality of environment 100 are described for exemplary purposes only and do not imply any limitation on the scope of the present disclosure. Figure 1 The same, fewer, more, or different systems, devices, components and / or elements that may be arranged or configured in the same or different manner as shown.

[0033] In some embodiments, the display on the associated display screen (eg, the first display screen 111 and / or the second display screen 112 ) of the electronic device 110 may be adjusted based on a preset zoom ratio.

[0034] The following will combine Figure 2 , Figure 3 as well as Figure 4A , Figure 4B and Figure 4C Some example embodiments are discussed.

[0035] Figure 2 FIG. 2 shows a flow chart of a display method 200 according to some embodiments of the present disclosure. The method 200 may be performed by Figure 1 The electronic device 110 is implemented independently, or is implemented by a combination of the electronic device 110 and other computing devices. Figure 1 Method 200 is described.

[0036] like Figure 2 As shown, in block 210, a first request from a user 120 to trigger a display on a display screen associated with the electronic device 110 is received. In some embodiments, the first request may be a request for a certain display content (or data), for example, including but not limited to an image display request, a video display request, and an interaction request in a virtual environment, etc. Accordingly, the electronic device 110 may determine the content to be presented to the user 120 according to the first request.

[0037] In some embodiments, the first request may not be directed to a specific display content (or data), but may be a request for triggering a display function of a display screen, for example, a request to turn on or start the electronic device 110. For example, when the electronic device 110 is in a turned-off state, a user's request to start the electronic device 110 may be received. Accordingly, the electronic device 110 may be turned on and provide a display to the user 120 through the display screen.

[0038] In some embodiments, the first request may be a request for one or more display screens. For example, the first request may include a request to open a specific display screen, such as a request to trigger content to be displayed on a specific display screen by dragging or the like, and so on.

[0039] At block 220, display is performed on the display screen at a preset scaling ratio (referred to as a "first scaling ratio"). The first scaling ratio may be preset based on a target logical resolution and a target pixel density as well as an original resolution and an original pixel density of the display screen. The target logical resolution may refer to a resolution that is expected to be achieved after scaling the screen (e.g., a resolution that is expected to be actually provided to the user, or a resolution that is expected to be actually viewed by the user). In some embodiments, the target logical resolution may be lower than the original resolution. The target pixel density indicates a pixel density that is expected to be achieved after scaling the screen.

[0040] The first scaling ratio may be preset based on the target logical resolution and the target pixel density and the native resolution and the native pixel density of the display screen. The target logical resolution may indicate the resolution expected to be achieved after scaling the screen, which may, for example, include the resolution expected to be actually provided to the user, or the resolution expected to be actually viewed by the user. In some embodiments, the target logical resolution may be lower than the native resolution of the display screen. The target pixel density indicates the pixel density expected to be achieved after scaling the screen.

[0041] In some embodiments, the first scaling ratio is preset so that the pixel density obtained by scaling the original pixel density according to the first scaling ratio is close to the target pixel density, and the logical resolution obtained by scaling the original resolution according to the first scaling ratio is close to the target logical resolution. Figure 3 An example process for determining a first scaling factor is discussed.

[0042] Figure 3 An example process 300 for determining a first scaling ratio is shown according to some embodiments of the present disclosure.

[0043] like Figure 3 As shown, in block 310, the original resolution of the display screen, also referred to as the physical resolution of the display, may be obtained. For example, the electronic device 110 may obtain basic information of the associated display, such as the physical resolution (e.g., the physical width and height of the display screen) and the size (e.g., the length of the diagonal) during the High Definition Multimedia Interface (HDMI) protocol handshake phase.

[0044] At block 320, the raw pixel density, for example, pixels per inch, may be calculated. For example, the pixels per inch (PPI) may be determined based on the following formula (1):

[0045]

[0046] Wherein, a represents the physical width of the display screen, b represents the physical height of the display screen, and c represents the diagonal length of the display screen.

[0047] The following uses the built-in screen of model T14 as an example to illustrate the calculation process of raw pixel density. As an example, the resolution of the built-in screen is 1920*1080 and the diagonal size is 14 inches. Accordingly, the raw pixel density PPI T14 It can be determined based on the following formula (2):

[0048]

[0049] In box 330, a first scaling ratio may be determined based on a target pixel density. The target pixel density may be determined based on a user's viewing distance of the display screen. In some embodiments, the target pixel density for the screen of the built-in display may be different from the target pixel density for the screen of the external display. For example, for the built-in display, the target pixel density may be set to be close to 120. For the external display, the target pixel density may be set to be close to 90. In some embodiments, a scaling gradient may be set to maintain the scaled pixel density within a certain range. For example, for the built-in display, the target pixel density may be maintained at about 120, and for the external display, the target pixel density may be maintained at about 90. This may further reduce the adverse effects on the user experience due to differences in the user's viewing distances for the built-in display and the external display.

[0050] In some embodiments, the first scaling ratio can be determined by substituting the original pixel density determined in block 320 into a scaling formula (e.g., in a table format). Still taking the built-in screen of model T14 as an example, if the target pixel density is 120, that is, the number of pixels per inch actually displayed after scaling is expected to be 120, then for PPI T14 The first scaling factor adopted may be, for example, the quotient of 150 and 120, 1.25.

[0051] At block 340, the first scaling ratio may be adjusted based on a target logic resolution. As an example, the target logic resolution may be represented by the following formula (3):

[0052]

[0053] Taking the built-in screen of model T14 as an example, the target logical resolution is T14 It can be expressed by the following formula (4):

[0054]

[0055] Can be based on the target logic resolution T14 The first scaling factor of 1.25 determined in block 330 is further adjusted and optimized by using a value of .

[0056] In some embodiments, the setting of the target logical resolution may also take into account the viewing distance of the user from the display. For example, different target logical resolutions may be set for the screens of the built-in display and the external display to further reduce the different user perceptions caused by different viewing distances, thereby affecting the user experience. In some embodiments, the same or similar logical resolutions may be configured for display screens of the same size but with different resolutions to achieve a consistent viewing effect, that is, the size of the same image displayed on display screens of different sizes is approximately consistent for the user's perception.

[0057] Alternatively or additionally, the target logical resolution can be set to ensure that the horizontal and vertical target logical resolutions are integers as much as possible, so as to avoid the situation where a non-integer number of pixels appears after the display screen is scaled by the first scaling ratio, thereby avoiding the generation of image aliasing. In this way, the calculation difficulty caused by decimal point calculation and the problem of affecting image quality can be avoided. In this way, the clarity of the displayed content can be increased and the display effect can be improved.

[0058] Alternatively or additionally, the first scaling ratio determined may be fine-tuned to a certain extent based on the horizontal target logical resolution. For example, after scaling based on the first scaling ratio, the horizontal logical resolution may be maintained at one of 1200, 1280, 1440, 1536, 1600, and 1920. Thus, the display performance after scaling may be further improved.

[0059] The value of the target logical resolution may in turn affect the target pixel density, for example, as shown in the following formula (5):

[0060]

[0061] The dots per inch (DPI) represents the target pixel density.

[0062] In some embodiments, the numerical value of the first scaling ratio obtained by calculation can be used. In some other embodiments, the first scaling ratio to be used can be selected from a set of candidate scaling ratios based on the above calculation, for example, the candidate scaling ratio whose numerical value is closest to the calculated numerical value can be selected).

[0063] In some embodiments, certain constraints may be added to the first scaling ratio, or the first scaling ratio may be set according to certain rules. In some embodiments, the first scaling ratio may be preset to a multiple of one eighth to increase the clarity of the content displayed on the display screen after the display is scaled. For example, after determining that there is a first scaling ratio based on the above method, the value of the determined first scaling ratio may be adjusted to the closest multiple of one eighth. Thus, the situation in which a non-integer number of pixels (e.g., image jaggedness) appears after the display screen is scaled by the first scaling ratio can be eliminated or alleviated, thereby further increasing the clarity of the displayed content.

[0064] Tables 1 to 3 below show example settings of the first scaling ratio, wherein Table 1 shows the values ​​of the first scaling ratio corresponding to different original pixel densities according to the type of display (built-in or external).

[0065] Table 1

[0066]

[0067] Table 2 shows the values ​​of the first scaling ratio at different native resolutions, native pixel densities, and target logical resolutions for different models of built-in displays. In Table 1, the display model can also be identified by the aspect ratio of the screen (eg, "3:2").

[0068] Table 2

[0069]

[0070]

[0071] For an external display, Table 3 shows the value of the first scaling ratio at different native resolutions, native pixel densities, and target logical resolutions.

[0072] Table 3

[0073]

[0074] The following will be combined Figure 4A and 4B An example display process of scaling at a first scaling ratio is discussed.

[0075] exist Figure 4A In the example 400A shown, the electronic device 110 may display a first image 411 corresponding to the image 410 on the display screen 111 using a preset first zoom ratio according to a first request issued by the user 120 for triggering display on the first display screen 111. Figure 4B In the illustrated example 400B, a first request sent by the user 120 to the electronic device 110 triggers the display of the image 410 on both the first display screen 111 and the second display screen 112 associated with the electronic device 110 .

[0076] In example 400B, the physical size and initial resolution of the first display screen 111 and the second display screen 112 may be different. The preset first scaling ratios corresponding to the first display screen 111 and the second display screen 112 may be determined respectively, and the first display screen 111 and the second display screen 112 may be scaled respectively. In the scaled first display screen 111 and the second display screen 112, the content displayed corresponding to the image 410 (e.g., the first image 411 and the second image 412) may have a similar viewing experience for the user 120. For example, from the perspective of the user 120, the sizes of the first image 411 and the second image 412 are substantially the same.

[0077] Subsequently, the contents presented on the display screens 111 and 112 of the electronic device 110 may be scaled according to the first scaling ratio.

[0078] In some embodiments, the user can adjust the zoom ratio based on actual needs. For example, after receiving the second request from the user to adjust the zoom ratio, the second zoom ratio after adjustment is displayed on the display screen. The user can make the second request in any appropriate way. In some embodiments, the electronic device 110 can present a control for adjusting the zoom ratio on the display screen so that the user can use the control to make the second request. For example, Figure 4C As shown, a control 420 for adjusting the resolution may be presented on the user interface 415 of the first display screen 111 of the electronic device 110. The user 120 may send the second request by performing a predetermined operation (e.g., clicking) on ​​the control 420. Accordingly, when it is determined that the user 120 operates the control 420, the electronic device 110 determines that a second request from the user 120 to adjust the zoom ratio is received.

[0079] In some embodiments, multiple candidate zoom ratios may be presented in the user interface for the user to select. In response to the user selecting a candidate zoom ratio, the electronic device 110 may determine that a second user request is received. Figure 4C In the example 400C shown, controls 421, 422, 423, 424, and 425 associated with multiple candidate zoom ratios may also be presented on the user interface 415. These controls may appear (e.g., pop up) after the user 120 operates the control 420, for example, for further selection by the user 120. Accordingly, after the user 120 selects a control 421, 422, 423, 424, or 425, the electronic device 110 may determine that a second request from the user 120 to adjust the zoom ratio is received. In some embodiments, there may be no control 420 on the user interface 415. The user may make a second request by directly manipulating the controls 421, 422, 423, 424, and 425.

[0080] In some embodiments, the candidate zoom ratios may be presented in the form of gears, so that the user 120 can directly select the second zoom ratio by gear selection based on the desired zoom in or zoom out. Thus, the user can adjust the zoom ratio by gear selection, thereby simplifying the user operation and improving the user experience. Figure 4C As shown in FIG. 4 , controls 421 , 422 , 423 , 424 and 425 on the user interface 415 correspond to different gears such as small, smaller, normal, larger and large, respectively. Accordingly, the user 120 can make a second request to adjust the zoom ratio by operating these controls.

[0081] Since such a second request includes the second zoom ratio that the user 120 desires to use, the zooming can be completed quickly and efficiently according to the user's needs. It should be understood that this is only for the purpose of example and is not intended to impose any limitation. Figure 4C An example arrangement of a user interface for adjusting the zoom ratio is shown in FIG. Other arrangements of the user interface are also feasible. Moreover, the user may make a second request to adjust the zoom ratio in other ways.

[0082] After the first zoom ratio is adjusted to the second zoom ratio based on the user's second request, the content (eg, images, videos, etc.) subsequently displayed on the first display screen 111 of the electronic device 110 may be zoomed according to the zoom ratio.

[0083] Table 4 below shows the corresponding secondary zoom levels of the preset first zoom ratio and the adjusted second zoom ratio for the built-in display and the external display, respectively.

[0084] Table 4

[0085]

[0086]

[0087] After the secondary scaling process, the target logical resolution new It can be expressed by the following formula (6):

[0088]

[0089] The embodiments of the present disclosure also provide corresponding devices for implementing the above methods or processes.

[0090] Figure 5 A schematic structural block diagram of a display device 500 according to some embodiments of the present disclosure is shown.

[0091] like Figure 5 As shown, the apparatus 500 includes a receiving module 510 and a display module 520. The receiving module 510 is configured to receive a first request triggered by a user to display on a display screen associated with an electronic device. The display module 520 is configured to display on the display screen at a preset first scaling ratio, wherein the first scaling ratio is preset based on a target logical resolution and a target pixel density and an original resolution and an original pixel density of the display screen.

[0092] In some embodiments, the first scaling ratio may be preset so that the pixel density obtained by scaling the original pixel density according to the first scaling ratio is close to the target pixel density, and the logical resolution obtained by scaling the original resolution according to the first scaling ratio is close to the target logical resolution.

[0093] In some embodiments, the first zoom ratio may be preset to a multiple of one eighth to increase the clarity of the content displayed on the display screen after the content is zoomed.

[0094] In some embodiments, the display screen includes at least one of the following: a screen of a built-in display of the electronic device, a screen of at least one external display of the electronic device.

[0095] In some embodiments, a target logical resolution and a target pixel density for a screen of a built-in display may be different from a target logical resolution and a target pixel density for a screen of at least one external display.

[0096] In some embodiments, the receiving module 510 may be further configured to receive a second request from the user to adjust the zoom ratio. The display module 520 may be further configured to display on the display screen at the adjusted second zoom ratio.

[0097] In some embodiments, the receiving module 510 may also be configured to present multiple candidate zoom ratios in a user interface for user selection, and receive a user selection of one of the multiple candidate zoom ratios, wherein the selected candidate zoom ratio is determined as the second zoom ratio.

[0098] The modules and units included in the device 500 can be implemented in various ways, including software, hardware, firmware or any combination thereof. In some embodiments, one or more units can be implemented using software and / or firmware, such as machine executable instructions stored on a storage medium. In addition to or as an alternative to machine executable instructions, some or all of the units in the device 500 can be implemented at least in part by one or more hardware logic components. As an example and not limitation, exemplary types of hardware logic components that can be used include field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.

[0099] It should be understood that the above reference Figures 1 to 4C The features, operations and corresponding effects of the electronic device 110 involved in the method 200 discussed are also applicable to the device 500 and will not be described in detail here.

[0100] Figure 6 1 shows a block diagram of an electronic device 600 in which one or more embodiments of the present disclosure may be implemented. It should be understood that Figure 6 The electronic device 600 shown is merely exemplary and should not constitute any limitation on the functionality and scope of the embodiments described herein.

[0101] like Figure 6As shown, the electronic device 600 is in the form of a general-purpose computing device. The components of the electronic device 600 may include, but are not limited to, one or more processors or processing units 610, a memory 620, a storage device 630, one or more communication units 640, one or more input devices 660, and one or more output devices 660. The processing unit 610 may be an actual or virtual processor and is capable of performing various processes according to a program stored in the memory 620. In a multi-processor system, multiple processing units execute computer executable instructions in parallel to improve the parallel processing capabilities of the electronic device 600.

[0102] The electronic device 600 typically includes a plurality of computer storage media. Such media may be any available media accessible to the electronic device 600, including but not limited to volatile and non-volatile media, removable and non-removable media. The memory 620 may be a volatile memory (e.g., a register, a cache, a random access memory (RAM)), a non-volatile memory (e.g., a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), flash memory), or some combination thereof. The storage device 630 may be a removable or non-removable medium, and may include a machine-readable medium, such as a flash drive, a disk, or any other medium, which may be capable of being used to store information and / or data (e.g., training data for training) and may be accessed within the electronic device 600.

[0103] The electronic device 600 may further include additional removable / non-removable, volatile / non-volatile storage media. Figure 6 As shown in , a disk drive for reading or writing from a removable, non-volatile disk (e.g., a "floppy disk") and an optical drive for reading or writing from a removable, non-volatile optical disk may be provided. In these cases, each drive may be connected to the bus (not shown) by one or more data media interfaces. The memory 620 may include a computer program product 625 having one or more program modules that are configured to perform various methods or actions of various embodiments of the present disclosure.

[0104] The communication unit 640 enables communication with other computing devices via a communication medium. Additionally, the functions of the components of the computing device / server 600 can be implemented in a single computing cluster or multiple computing machines that can communicate via a communication connection. Thus, the computing device / server 600 can operate in a networked environment using a logical connection with one or more other servers, a network personal computer (PC), or another network node.

[0105] The input device 650 may be one or more input devices, such as a mouse, a keyboard, a tracking ball, etc. The output device 660 may be one or more output devices, such as a display, a speaker, a printer, etc. The electronic device 600 may also communicate with one or more external devices (not shown) through the communication unit 640 as needed, such as a storage device, a display device, etc., communicate with one or more devices that allow a user to interact with the electronic device 600, or communicate with any device that allows the electronic device 600 to communicate with one or more other computing devices (e.g., a network card, a modem, etc.). Such communication may be performed via an input / output (I / O) interface (not shown).

[0106] According to an exemplary implementation of the present disclosure, a computer-readable storage medium is provided, on which one or more computer instructions are stored, wherein the one or more computer instructions are executed by a processor to implement the method described above.

[0107] Various aspects of the present disclosure are described herein with reference to the flowcharts and / or block diagrams of the methods, devices (systems) and computer program products implemented according to the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer-readable program instructions.

[0108] These computer-readable program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processing unit of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0109] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operating steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0110] The flow chart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to multiple implementations of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a part of a module, program segment or instruction, and a part of a module, program segment or instruction includes one or more executable instructions for realizing the logical function of the specification. In some implementations as replacements, the function marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous square boxes can actually be executed substantially in parallel, and they can sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be realized by a special hardware-based system that performs the function or action of the specification, or can be realized by a combination of special hardware and computer instructions.

[0111] The above descriptions of various implementations of the present disclosure are exemplary, non-exhaustive, and not limited to the disclosed implementations. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described implementations. The selection of terms used herein is intended to best explain the principles of the implementations, practical applications, or improvements to the technology in the marketplace, or to enable other persons of ordinary skill in the art to understand the implementations disclosed herein.

Claims

1. A display method, comprising: receiving a first request from a user to trigger a display on a display screen associated with an electronic device; as well as Displaying is performed on the display screen at a preset first scaling ratio, wherein the first scaling ratio is preset based on a target logical resolution and a target pixel density and an original resolution and an original pixel density of the display screen.

2. The method according to claim 1, wherein the first scaling ratio is preset so that the pixel density obtained after scaling the original pixel density according to the first scaling ratio is close to the target pixel density, and the logical resolution obtained after scaling the original resolution according to the first scaling ratio is close to the target logical resolution. 3 . The method according to claim 2 , wherein the first scaling ratio is preset to a multiple of one eighth to increase the clarity of the content displayed on the display screen after being scaled.

4. The method according to claim 1, wherein the display screen comprises at least one of the following: the screen of the built-in display of the electronic device, The screen of at least one external display of the electronic device. 5 . The method of claim 4 , wherein a target logical resolution and a target pixel density for the screen of the built-in display are different from a target logical resolution and a target pixel density for the screen of the at least one external display.

6. The method according to claim 1, further comprising: receiving a second request from the user to adjust the zoom ratio; as well as The display is performed on the display screen at the adjusted second zoom ratio.

7. The method of claim 6, wherein receiving the second request comprises: Presenting a plurality of candidate zoom ratios in a user interface for selection by the user; as well as Receive a request from the user for one of the plurality of candidate scaling ratios P23021858101CN choose, The selected candidate scaling ratio is determined as the second scaling ratio.

8. A display device, comprising: a receiving module configured to receive a first request from a user to trigger a display on a display screen associated with the electronic device; as well as The display module is configured to display on the display screen at a preset first scaling ratio, wherein the first scaling ratio is preset based on a target logical resolution and a target pixel density and an original resolution and an original pixel density of the display screen.

9. An electronic device, comprising: at least one processing unit; as well as At least one memory, the at least one memory being coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit, the instructions causing the device to perform the method according to any one of claims 1 to 7 when executed by the at least one processing unit.

10. A computer-readable storage medium having a computer program stored thereon, wherein the program, when executed by a processor, implements the method according to any one of claims 1 to 7.