CN117389501A - Display control method and device for large data screen, computer equipment and storage medium - Google Patents

Display control method and device for large data screen, computer equipment and storage medium Download PDF

Info

Publication number
CN117389501A
CN117389501A CN202311403164.4A CN202311403164A CN117389501A CN 117389501 A CN117389501 A CN 117389501A CN 202311403164 A CN202311403164 A CN 202311403164A CN 117389501 A CN117389501 A CN 117389501A
Authority
CN
China
Prior art keywords
target
display
target content
screen
parameter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311403164.4A
Other languages
Chinese (zh)
Inventor
瞿宝明
魏子杰
杜康乐
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Volcano Engine Technology Co Ltd
Original Assignee
Beijing Volcano Engine Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Volcano Engine Technology Co Ltd filed Critical Beijing Volcano Engine Technology Co Ltd
Priority to CN202311403164.4A priority Critical patent/CN117389501A/en
Publication of CN117389501A publication Critical patent/CN117389501A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The disclosure relates to a display control method, a device, computer equipment and a storage medium for a data large screen, and discloses a method for acquiring a first display parameter corresponding to target content currently displayed on a target screen; comparing the first display parameter with a second display parameter corresponding to the target screen, and determining a target parameter type corresponding to the target content; determining a target display control strategy corresponding to the target parameter type based on a corresponding relation between the preset parameter type and the display control strategy; and adjusting each display module of the target content according to the target display control strategy to obtain the adjusted target content, and obtaining the adjusted target content. According to the method and the device, the parameter type of the target content can be determined by comparing the display parameter of the screen with the display parameter of the target content, so that the target content can be conveniently displayed by selecting a corresponding adjustment strategy according to the parameter type, the adjusted target content is matched with the display parameter of the screen, and the display effect of the content with different resolutions on the screen is ensured.

Description

Display control method and device for large data screen, computer equipment and storage medium
Technical Field
The disclosure relates to the technical field of computers, and in particular relates to a display control method and device for a data large screen, computer equipment and a storage medium.
Background
At present, in scenes such as live broadcasting and advertisement putting of an electronic commerce, a large screen is generally used for displaying contents, however, in the process of displaying contents, only the scene with self-adaptive width change is adopted or different layouts are provided for different resolutions through media inquiry, the display mode can not be automatically adjusted according to the resolution of the screen, and finally, the display effect of target contents with different resolutions on the screen is poor.
Disclosure of Invention
In view of the above, embodiments of the present disclosure provide a method, an apparatus, a computer device, and a storage medium for controlling display of a large data screen, so as to solve the problem that the existing solution cannot automatically adjust a display mode according to resolution of a screen, and finally results in poor display effect of target contents with different resolutions on the screen.
In a first aspect, an embodiment of the present disclosure provides a display control method for a data large screen, where the method includes:
acquiring a first display parameter corresponding to target content currently displayed on a target screen, wherein the target content comprises a plurality of display modules;
comparing the first display parameter with a second display parameter corresponding to the target screen, and determining a target parameter type corresponding to the target content;
determining a target display control strategy corresponding to the target parameter type based on a corresponding relation between a preset parameter type and the display control strategy;
and adjusting each display module of the target content according to the target display control strategy to obtain adjusted target content, wherein the display parameters of the adjusted target content are adapted to the second display parameters.
In a second aspect, an embodiment of the present disclosure provides a display control apparatus for a data large screen, the apparatus including:
the system comprises an acquisition module, a display module and a display module, wherein the acquisition module is used for acquiring a first display parameter corresponding to target content currently displayed on a target screen, and the target content comprises a plurality of display modules;
the detection module is used for comparing the first display parameter with a second display parameter corresponding to the target screen and determining a target parameter type corresponding to the target content;
the determining module is used for determining a target display control strategy corresponding to the target parameter type based on the corresponding relation between the preset parameter type and the display control strategy;
and the control module is used for adjusting each display module of the target content according to the target display control strategy to obtain adjusted target content, wherein the display parameters of the adjusted target content are adapted to the second display parameters.
In a third aspect, embodiments of the present disclosure provide a computer device comprising: the memory and the processor are in communication connection, the memory stores computer instructions, and the processor executes the computer instructions to perform the method of the first aspect or any implementation manner corresponding to the first aspect.
In a fourth aspect, the disclosed embodiments provide a computer-readable storage medium having stored thereon computer instructions for causing a computer to perform the method of the first aspect or any of its corresponding embodiments.
The method provided by the embodiment of the disclosure can determine the parameter type of the target content by comparing the display parameter of the screen with the display parameter of the target content, so that the corresponding adjustment strategy is convenient to select according to the parameter type, the target content is displayed, and the adjusted target content is adapted to the display parameter of the screen. And comparing the first display parameter with a second display parameter corresponding to the target screen to determine the type of the target parameter corresponding to the target content. This ensures that the selected target parameter type matches the actual display parameters of the target screen, thereby providing accurate display adjustment. And determining a target display control strategy corresponding to the target parameter type based on the corresponding relation between the preset parameter type and the display control strategy. Therefore, the corresponding display control strategy can be selected according to the specific parameter type, and flexible adjustment of the display content is realized.
Drawings
In order to more clearly illustrate the embodiments of the present disclosure or the prior art, the drawings that are required in the detailed description or the prior art will be briefly described, it will be apparent that the drawings in the following description are some embodiments of the present disclosure, and other drawings may be obtained according to the drawings without inventive effort for a person of ordinary skill in the art.
FIG. 1 is a flow chart of a method of display control of a data large screen according to some embodiments of the present disclosure;
FIG. 2 is a schematic diagram of display control of a data large screen according to some embodiments of the present disclosure;
FIG. 3 is a schematic diagram of display control of a data large screen according to some embodiments of the present disclosure;
FIG. 4 is a schematic diagram of display control of a data large screen according to some embodiments of the present disclosure;
FIG. 5 is a schematic diagram of display control of a data large screen according to some embodiments of the present disclosure;
FIG. 6 is a block diagram of a display control device of a data large screen according to an embodiment of the present disclosure;
fig. 7 is a schematic diagram of a hardware structure of a computer device according to an embodiment of the present disclosure.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the embodiments of the present disclosure more apparent, the technical solutions of the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present disclosure, and it is apparent that the described embodiments are some embodiments of the present disclosure, but not all embodiments. Based on the embodiments in this disclosure, all other embodiments that a person skilled in the art would obtain without making any inventive effort are within the scope of protection of this disclosure.
According to the embodiments of the present disclosure, a display control method, apparatus, computer device, and storage medium for a data large screen are provided, it should be noted that the steps illustrated in the flowchart of the drawings may be performed in a computer system such as a set of computer executable instructions, and that although a logical order is illustrated in the flowchart, in some cases, the steps illustrated or described may be performed in an order different from that herein.
In this embodiment, a method for controlling display of a large data screen is provided, fig. 1 is a flowchart of a method for controlling display of a large data screen according to an embodiment of the disclosure, as shown in fig. 1, where the flowchart includes the following steps:
step S11, obtaining a first display parameter corresponding to target content currently displayed on a target screen, wherein the target content comprises a plurality of display modules.
The method provided by the embodiment of the disclosure is applied to the intelligent equipment with the display screen, for example: smart advertisement displays, smart televisions, and the like. Specifically, the intelligent device can dynamically adjust each time when displaying the corresponding content according to the display parameters of the screen and the display parameters of the corresponding content, so that the display effect of the content is improved. It should be noted that, the content displayed by the intelligent device includes a plurality of display modules, where the display modules are used to display different data contents, and the display modules may be set according to data attributes, for example: the display module M is used for displaying chart contents, the display module N is used for displaying real-time data, and the display module P is used for displaying picture contents.
In the embodiment of the disclosure, acquiring a first display parameter corresponding to a target content currently displayed on a target screen includes the following steps A1-A2:
and step A1, detecting a first resolution corresponding to the target content.
In the embodiment of the disclosure, the intelligent device may accept a display request sent by another device, where the other device may be a device communicatively connected to the intelligent device, and after receiving the display request, the intelligent device parses the display request to obtain target content, where the target content may be web page data, advertisement data, chart data, video, image, and so on. When the target content is web page data, the corresponding display modules respectively display the real-time access quantity of the web page, the number of times that the web page is attacked in real time, web page hot spot data and the like. When the target content is icon data, the corresponding display modules respectively display icon data in different formats, chart analysis data and the like.
In the embodiment of the present disclosure, after obtaining the target content, the smart device detects the first resolution corresponding to the target content, and specifically, a manner of detecting the first resolution corresponding to the target content may be: a developer tool is used to examine the visualization window size corresponding to the target content. Determining a first resolution by visualizing the window size, the first resolution may be: 1920 x 1080, 1366 x900, 1280 x 720, 1440x900, and the like.
It should be noted that a debug toolbar is typically provided in the developer tool, which includes options for visualizing the window size. By looking at the window size, the resolution of the target content can be determined.
And A2, calculating a first aspect ratio case corresponding to the target content according to the first resolution, and determining the first aspect ratio case as a first display parameter.
In the embodiment of the present disclosure, the specific calculation method may be that, according to the first aspect ratio case corresponding to the first resolution calculation target content: and extracting the horizontal resolution and the vertical resolution from the first resolution, calculating the ratio of the horizontal resolution to the vertical resolution, and taking the ratio as a first aspect ratio example corresponding to the target content. For example, if the first resolution of the target content is 1920×1080, then the aspect ratio case is 1920/1080=16: 9. if the first resolution of the target content is 1440×900, then the aspect ratio case is 1440/900=16: 10.
step S12, comparing the first display parameter with a second display parameter corresponding to the target screen, and determining a target parameter type corresponding to the target content.
In the embodiment of the disclosure, comparing the first display parameter with a second display parameter corresponding to a target screen to determine a target parameter type corresponding to target content, including the following steps B1-B3:
and B1, obtaining a second resolution corresponding to the target screen, and calculating a second aspect ratio example corresponding to the target screen according to the second resolution.
In the embodiment of the present disclosure, the manner of obtaining the second resolution corresponding to the target screen may be: a different operating system provides an API interface to obtain resolution information for the current target screen. For example, in a Windows operating system, the resolution of the target screen may be obtained using the GetSystemMetrics function. On iOS and Android systems devices, the screen resolution can be detected using the API interface of the respective system.
Or, the manner of obtaining the second resolution corresponding to the target screen may be: and acquiring device configuration information corresponding to the intelligent device, and then reading the device configuration information to obtain the resolution of a target screen of the intelligent device. The second resolution of the target screen may be: 1920 x 1080, 1366 x900, 1280 x 720, 1440x900, and the like.
The specific calculation mode can be as follows: and extracting the horizontal resolution and the vertical resolution from the second resolution, calculating the ratio of the horizontal resolution to the vertical resolution, and taking the ratio as a second aspect ratio example corresponding to the target screen. For example, if the second resolution of the target screen is 1920×1080, then the aspect ratio case is 1920/1080=16: 9. if the second resolution of the target screen is 1440x900, then the aspect ratio case is 1440/900=16: 10.
and B2, comparing the first aspect ratio example with the second aspect ratio example to obtain a comparison result.
In the embodiment of the present disclosure, the first aspect ratio example is compared with the second aspect ratio example, so that the aspect ratio example of the target screen is determined as a standard, and whether the aspect ratio example of the target content and the aspect ratio example of the target screen are consistent or not is determined, so that the subsequent determination of how to adjust the target content according to the comparison result is facilitated.
And step B3, determining the target parameter type corresponding to the target content according to the comparison result.
In the embodiment of the present disclosure, determining, according to a comparison result, a target parameter type corresponding to target content includes: in case the comparison results in that the first aspect ratio scale is consistent with the second aspect ratio scale, the target parameter type is determined to be the first type. Or in the case that the comparison result is that the first aspect ratio scale is inconsistent with the second aspect ratio scale, determining the target parameter type to be the second type.
It will be appreciated that if the comparison results in the first aspect ratio example being consistent with the second aspect ratio example, then the target content is described as belonging to the standard aspect ratio example. The first type may be understood as a standard type at this time. If the comparison results in the first aspect ratio example being inconsistent with the second aspect ratio example, then the target content is not the standard aspect ratio example. The second type may be understood as a non-standard type at this time.
Step S13, determining a target display control strategy corresponding to the target parameter type based on the corresponding relation between the preset parameter type and the display control strategy.
In the embodiment of the present disclosure, in order to implement rapid display adaptation for target content, a correspondence between a parameter type and a display control policy is preset, where the parameter type includes a first type and a second type, and the display control policy includes: scaling, adjusting the layout of the target content, etc.
In the embodiment of the disclosure, through presetting the corresponding relation between the parameter types and the display control strategies, the purpose is to ensure that the system can correctly process and display the parameters under different scenes and conditions, thereby improving the reliability and stability of the system. In addition, by selecting a corresponding display control strategy according to the parameter type, the content and the mode of display can be ensured to be consistent with the expected of a viewer, so that the visual effect is improved.
Step S14, adjusting each display module of the target content according to the target display control strategy to obtain the adjusted target content, wherein the display parameters of the adjusted target content are adapted to the second display parameters.
The method provided by the embodiment of the disclosure can determine the parameter type of the target content by comparing the display parameter of the screen with the display parameter of the target content, so that the corresponding adjustment strategy is convenient to select according to the parameter type, the target content is displayed, and the adjusted target content is adapted to the display parameter of the screen. And comparing the first display parameter with a second display parameter corresponding to the target screen to determine the type of the target parameter corresponding to the target content. This ensures that the selected target parameter type matches the actual display parameters of the target screen, thereby providing accurate display adjustment. And determining a target display control strategy corresponding to the target parameter type based on the corresponding relation between the preset parameter type and the display control strategy. Therefore, the corresponding display control strategy can be selected according to the specific parameter type, and flexible adjustment of the display content is realized.
In the embodiment of the present disclosure, when the target parameter type is the first type, each display module of the target content is adjusted according to the target display control policy, so as to obtain the adjusted target content, including the following steps C1-C2:
and step C1, acquiring a first width difference value between the target content and the target screen.
In the embodiment of the present disclosure, in the case where the target parameter type is the first type, the obtaining the first width difference between the target content and the target screen may be: the horizontal resolution and the vertical resolution are acquired from the first resolution corresponding to the target content, and the horizontal resolution and the vertical resolution are acquired from the second resolution corresponding to the target screen. And then comparing the horizontal resolution of the target content with the horizontal resolution of the target screen and the vertical resolution of the target content with the vertical resolution of the target screen to obtain a first width difference value between the target content and the target screen.
And C2, scaling each display module of the target content in an equal ratio according to the first width difference value to obtain the adjusted target content.
In the embodiment of the disclosure, the target content is scaled according to the first width difference value, where the scaling may be scaling up and scaling down, and the adjusted target content is finally obtained.
As an example, as shown in fig. 2, in the case where the horizontal resolution and the vertical resolution of the target content are smaller than the horizontal resolution and the vertical resolution of the target screen, respectively, each display module of the target content is scaled up at this time in equal proportion to the first width value to be consistent with the target screen. Or as shown in fig. 3, when the horizontal resolution and the vertical resolution of the target content are respectively greater than the horizontal resolution and the vertical resolution of the target screen, at this time, each display module of the target content is scaled down to be consistent with the target screen according to the first width value.
In the embodiment of the present disclosure, when the target parameter type is the second type, each display module of the target content is adjusted according to the target display control policy, so as to obtain adjusted target content, including the following steps D1-D4:
and D1, acquiring a second width difference value between the target content and the target screen.
In the embodiment of the present disclosure, in the case where the target parameter type is the second type, the obtaining the second width difference between the target content and the target screen may be: the horizontal resolution and the vertical resolution are acquired from the first resolution corresponding to the target content, and the horizontal resolution and the vertical resolution are acquired from the second resolution corresponding to the target screen. And then comparing the horizontal resolution of the target content with the horizontal resolution of the target screen, and comparing the vertical resolution of the target content with the vertical resolution of the target screen to obtain a width difference value between the target content and the target screen, and recording the obtained width difference value as a second width.
And D2, carrying out equal scaling on each display module of the target content according to the second width difference value to obtain the scaled target content.
In the embodiment of the disclosure, the target content is scaled according to the second width difference value, where the scaling may be scaling up and scaling down, and finally the scaled target content is obtained. Specifically, when the horizontal resolution and the vertical resolution of the target content are smaller than the horizontal resolution and the vertical resolution of the target screen, respectively, at this time, each display module of the target content is scaled up to the target screen in an equal ratio according to the second width value. Or as shown in fig. 3, when the horizontal resolution and the vertical resolution of the target content are respectively greater than the horizontal resolution and the vertical resolution of the target screen, at this time, each display module of the target content is scaled down to the target screen in an equal ratio according to the first width value.
It should be noted that, since the target parameter type is the second type, after the target content is scaled in an equal ratio, the obtained scaled target content is inconsistent with the target screen. And therefore require further processing of the scaled target content.
And D3, acquiring the display height corresponding to the scaled target content, and comparing the display height with the screen height corresponding to the target screen to obtain a comparison result.
In the embodiment of the disclosure, by highly comparing the scaled target content with the target screen, whether the target content is suitable for the target screen or not can be more accurately judged, and the display of excessively large or excessively small content is avoided. Meanwhile, the target content can be conveniently and subsequently readjusted by selecting a corresponding adjusting strategy according to the comparison result, so that the target content can be self-adapted to the sizes and proportions of different screens, and a better display effect is provided.
And D4, adjusting the scaled target content again according to an adjustment strategy corresponding to the comparison result to obtain the adjusted target content.
In the embodiment of the present disclosure, readjusting the scaled target content according to an adjustment policy corresponding to the comparison result, to obtain an adjusted target content, including: under the condition that the display height is larger than the screen height as a comparison result, taking the display module exceeding the screen height as a first display module, and evenly distributing the height exceeding the screen height in the first display module to the display modules in the vertical direction;
in the embodiment of the present disclosure, as shown in fig. 4, in the case where the comparison result is that the display height is greater than the screen height, local target contents exceeding the screen height are acquired, and then the local target contents are evenly distributed to the display module in the vertical direction of the target screen.
In the embodiment of the present disclosure, readjusting the scaled target content according to an adjustment policy corresponding to the comparison result, to obtain an adjusted target content, including: and under the condition that the display height is smaller than the screen height as a comparison result, taking the display module exceeding the screen width as a second display module, and evenly distributing the width exceeding the screen width in the second display module to the display modules in the horizontal direction.
In the embodiment of the present disclosure, as shown in fig. 5, in the case where the comparison result is that the display height is smaller than the screen height, local target contents exceeding the screen height are acquired, and then the local target contents are evenly distributed to the display module in the horizontal direction of the target screen.
According to the method provided by the embodiment of the disclosure, the local content exceeding the height or width of the screen is distributed to the display module in the vertical or horizontal direction on average, so that the content can be completely displayed on the screen, and information loss is avoided. And distributing the content exceeding the screen size to other display modules according to the comparison result and the adjustment strategy, so that the whole screen space is fully utilized, and the display effect and the display capability are improved. In addition, the content display device can automatically adjust according to the comparison result, is suitable for screens with different sizes and proportions, enables the content to be displayed on different screens in an adaptive mode, and provides good user experience.
The method provided by the embodiment of the disclosure, when local target content exceeding the width or the height of the screen cannot be evenly distributed to the display module in the vertical direction or the display module in the horizontal direction, further comprises the following steps:
and S21, splitting the target content, and displaying the split content on each display module in the target screen.
Step S22, detecting the selected operation acted on each display module;
step S23, determining a selected first display module in the target screen according to the selected operation, and changing the state of the first module corresponding to the first display module into an editable state, wherein the content displayed by the first display module cannot be completely displayed on the target screen.
Step S24, at least one second display module with highest similarity with the first display module is obtained from a plurality of display modules in the target screen, and the second module state corresponding to the second display module is changed into an editable state.
Step S25, detecting whether the blank area of the second display module is larger than the preset area, and if the blank area of the second display module is larger than the preset area, exchanging the positions of the first display module and the second display module.
According to the method provided by the embodiment of the disclosure, when local target contents exceeding the width of the screen or exceeding the height of the screen cannot be distributed to the display modules in the vertical direction or the display modules in the horizontal direction on average, an operator can directly select the first display module in the target screen, and the intelligent equipment can automatically acquire the second display module with high similarity according to the selected first display module and then exchange the positions of the first display module and the second display module. The operator can adjust according to the preference and the requirement, and is not limited by the preset proportion or the automatic zooming effect. This provides higher usability and ease of use, improving the content display effect.
In addition, the method provided by the embodiment of the disclosure further comprises the following steps: the display style input by the operator is acquired, and the display style can be understood as an arrangement mode of the display module, and the arrangement mode is horizontal layout, vertical layout, grid layout and the like. And combining and arranging the display modules according to the display style.
According to the method provided by the embodiment of the disclosure, the display style input by the operator is obtained, and the operator can customize the arrangement mode of the display module to meet the requirements and preferences of the operator. This may provide a more personalized interface layout, improving the display effect. Meanwhile, different application scenarios or content types may require different presentation styles. By combining and arranging the display modules according to the selected display style, different requirements can be flexibly met, and more flexible interface layout is provided.
The embodiment also provides a display control device for a data large screen, which is used for implementing the foregoing embodiments and preferred embodiments, and is not described in detail. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. While the means described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and contemplated.
The present embodiment provides a display control device for a data large screen, as shown in fig. 6, including:
the obtaining module 61 is configured to obtain a first display parameter corresponding to a target content currently displayed on the target screen, where the target content includes a plurality of display modules;
the detection module 62 is configured to compare the first display parameter with a second display parameter corresponding to the target screen, and determine a target parameter type corresponding to the target content;
a determining module 63, configured to determine a target display control policy corresponding to the target parameter type based on a correspondence between a preset parameter type and the display control policy;
the control module 64 is configured to adjust each display module of the target content according to the target display control policy, and obtain adjusted target content, where the display parameter of the adjusted target content is adapted to the second display parameter.
In the embodiment of the present disclosure, the comparing module 62 is configured to obtain a second resolution corresponding to the target screen, and calculate a second aspect ratio case corresponding to the target screen according to the second resolution; comparing the first aspect ratio with the second aspect ratio to obtain a comparison result; and determining the target parameter type corresponding to the target content according to the comparison result.
In the embodiment of the present disclosure, the comparing module 62 is configured to determine that the target parameter type is the first type if the comparison result is that the first aspect ratio scale is consistent with the second aspect ratio scale; in case the comparison results in that the first aspect ratio scale is not consistent with the second aspect ratio scale, the target parameter type is determined to be the second type.
In the embodiment of the present disclosure, in the case that the target parameter type is the first type, the control module 64 is configured to obtain a first width difference between the target content and the target screen; and scaling each display module of the target content in an equal ratio according to the first width difference value to obtain the adjusted target content.
In the disclosed embodiment, where the target parameter type is the second type, the control module 64 includes:
an acquisition unit configured to acquire a second width difference between the target content and the target screen;
the processing unit is used for carrying out equal-ratio scaling on each display module of the target content according to the second width difference value to obtain scaled target content;
the comparison unit is used for obtaining the display height corresponding to the scaled target content, and comparing the display height with the screen height corresponding to the target screen to obtain a comparison result;
and the adjusting unit is used for adjusting the scaled target content again according to the adjusting strategy corresponding to the comparison result to obtain the adjusted target content.
In the embodiment of the present disclosure, readjusting the scaled target content according to an adjustment policy corresponding to the comparison result, to obtain an adjusted target content, including: under the condition that the display height is larger than the screen height as a comparison result, taking the display module exceeding the screen height as a first display module, and evenly distributing the height exceeding the screen height in the first display module to the display modules in the vertical direction; or under the condition that the display height is smaller than the screen height as a comparison result, taking the display module exceeding the screen width as a second display module, and uniformly distributing the width exceeding the screen width in the second display module to the display modules in the horizontal direction.
Referring to fig. 7, fig. 7 is a schematic structural diagram of a computer device according to an alternative embodiment of the disclosure, as shown in fig. 7, the computer device includes: one or more processors 10, memory 20, and interfaces for connecting the various components, including high-speed interfaces and low-speed interfaces. The various components are communicatively coupled to each other using different buses and may be mounted on a common motherboard or in other manners as desired. The processor may process instructions executing within the computer device, including instructions stored in or on memory to display graphical information of the GUI on an external input/output device, such as a display device coupled to the interface. In some alternative embodiments, multiple processors and/or multiple buses may be used, if desired, along with multiple memories and multiple memories. Also, multiple computer devices may be connected, each providing a portion of the necessary operations (e.g., as a server array, a set of blade servers, or a multiprocessor system).
The processor 10 may be a central processor, a network processor, or a combination thereof. The processor 10 may further include a hardware chip, among others. The hardware chip may be an application specific integrated circuit, a programmable logic device, or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general-purpose array logic, or any combination thereof.
Wherein the memory 20 stores instructions executable by the at least one processor 10 to cause the at least one processor 10 to perform the methods shown in implementing the above embodiments.
The memory 20 may include a storage program area that may store an operating system, at least one application program required for functions, and a storage data area; the storage data area may store data created from the use of the computer device of the presentation of a sort of applet landing page, and the like. In addition, the memory 20 may include high-speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid-state storage device. In some alternative embodiments, memory 20 may optionally include memory located remotely from processor 10, which may be connected to the computer device via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
Memory 20 may include volatile memory, such as random access memory; the memory may also include non-volatile memory, such as flash memory, hard disk, or solid state disk; the memory 20 may also comprise a combination of the above types of memories.
The computer device also includes a communication interface 30 for the computer device to communicate with other devices or communication networks.
The presently disclosed embodiments also provide a computer readable storage medium, and the methods described above according to the presently disclosed embodiments may be implemented in hardware, firmware, or as recordable storage medium, or as computer code downloaded over a network that is originally stored in a remote storage medium or a non-transitory machine-readable storage medium and is to be stored in a local storage medium, such that the methods described herein may be stored on such software processes on a storage medium using a general purpose computer, special purpose processor, or programmable or dedicated hardware. The storage medium can be a magnetic disk, an optical disk, a read-only memory, a random access memory, a flash memory, a hard disk, a solid state disk or the like; further, the storage medium may also comprise a combination of memories of the kind described above. It will be appreciated that a computer, processor, microprocessor controller or programmable hardware includes a storage element that can store or receive software or computer code that, when accessed and executed by the computer, processor or hardware, implements the methods illustrated by the above embodiments.
Although embodiments of the present disclosure have been described in connection with the accompanying drawings, various modifications and variations may be made by those skilled in the art without departing from the spirit and scope of the disclosure, and such modifications and variations are within the scope defined by the appended claims.

Claims (10)

1. A display control method for a large data screen, the method comprising:
acquiring a first display parameter corresponding to target content currently displayed on a target screen, wherein the target content comprises a plurality of display modules;
comparing the first display parameter with a second display parameter corresponding to the target screen, and determining a target parameter type corresponding to the target content;
determining a target display control strategy corresponding to the target parameter type based on a corresponding relation between a preset parameter type and the display control strategy;
and adjusting each display module of the target content according to the target display control strategy to obtain adjusted target content, wherein the display parameters of the adjusted target content are adapted to the second display parameters.
2. The method according to claim 1, wherein the obtaining the first display parameter corresponding to the target content currently displayed on the target screen includes:
detecting a first resolution corresponding to the target content;
and calculating a first aspect ratio case corresponding to the target content according to the first resolution, and determining the first aspect ratio case as the first display parameter.
3. The method of claim 2, wherein the comparing the first display parameter with the second display parameter corresponding to the target screen to determine the target parameter type corresponding to the target content comprises:
acquiring a second resolution corresponding to the target screen, and calculating a second aspect ratio corresponding to the target screen according to the second resolution;
comparing the first aspect ratio with the second aspect ratio to obtain a comparison result;
and determining the target parameter type corresponding to the target content according to the comparison result.
4. The method according to claim 2, wherein determining the target parameter type corresponding to the target content according to the comparison result includes:
determining that the target parameter type is a first type if the comparison result shows that the first aspect ratio scale is consistent with the second aspect ratio scale;
and in the case that the comparison result shows that the first aspect ratio proportion is inconsistent with the second aspect ratio proportion, determining that the target parameter type is a second type.
5. The method according to claim 3, wherein, in the case that the target parameter type is the first type, the adjusting each display module of the target content according to the target display control policy, to obtain the adjusted target content, includes:
acquiring a first width difference value between the target content and the target screen;
and scaling each display module of the target content in an equal ratio according to the first width difference value to obtain the adjusted target content.
6. The method according to claim 3, wherein, in the case that the target parameter type is the second type, the adjusting each display module of the target content according to the target display control policy, to obtain the adjusted target content, includes:
acquiring a second width difference value between the target content and the target screen;
performing equal scaling on each display module of the target content according to the second width difference value to obtain scaled target content;
obtaining the display height corresponding to the scaled target content, and comparing the display height with the screen height corresponding to the target screen to obtain a comparison result;
and re-adjusting the scaled target content according to the adjustment strategy corresponding to the comparison result to obtain the adjusted target content.
7. The method of claim 6, wherein the readjusting the scaled target content according to the adjustment policy corresponding to the comparison result to obtain the adjusted target content comprises:
when the comparison result shows that the display height is larger than the screen height, taking a display module exceeding the screen height as a first display module, and evenly distributing the height exceeding the screen height in the first display module to the display modules in the vertical direction; or alternatively, the first and second heat exchangers may be,
and under the condition that the display height is smaller than the screen height as a comparison result, taking the display module exceeding the screen width as a second display module, and evenly distributing the width exceeding the screen width in the second display module to the display modules in the horizontal direction.
8. A display control apparatus for a large data screen, the apparatus comprising:
the system comprises an acquisition module, a display module and a display module, wherein the acquisition module is used for acquiring a first display parameter corresponding to target content currently displayed on a target screen, and the target content comprises a plurality of display modules;
the detection module is used for comparing the first display parameter with a second display parameter corresponding to the target screen and determining a target parameter type corresponding to the target content;
the determining module is used for determining a target display control strategy corresponding to the target parameter type based on the corresponding relation between the preset parameter type and the display control strategy;
and the control module is used for adjusting each display module of the target content according to the target display control strategy to obtain adjusted target content, wherein the display parameters of the adjusted target content are adapted to the second display parameters.
9. A computer device, comprising:
a memory and a processor in communication with each other, the memory having stored therein computer instructions which, upon execution, cause the processor to perform the method of any of claims 1 to 7.
10. A computer readable storage medium having stored thereon computer instructions for causing a computer to perform the method of any one of claims 1 to 7.
CN202311403164.4A 2023-10-26 2023-10-26 Display control method and device for large data screen, computer equipment and storage medium Pending CN117389501A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311403164.4A CN117389501A (en) 2023-10-26 2023-10-26 Display control method and device for large data screen, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311403164.4A CN117389501A (en) 2023-10-26 2023-10-26 Display control method and device for large data screen, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117389501A true CN117389501A (en) 2024-01-12

Family

ID=89469885

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311403164.4A Pending CN117389501A (en) 2023-10-26 2023-10-26 Display control method and device for large data screen, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117389501A (en)

Similar Documents

Publication Publication Date Title
US9756261B2 (en) Method for synthesizing images and electronic device thereof
US8887059B2 (en) Method and apparatus of locally controlling display content of a remote system
CN112965650B (en) Thermodynamic diagram visualization method, thermodynamic diagram visualization system and thermodynamic diagram visualization computer equipment
CN109389659B (en) Rendering method and device of mathematical formula in PPT, storage medium and terminal equipment
CN111399831A (en) Page display method and device, storage medium and electronic device
CN110737336A (en) video display direction adjusting method, device and computer readable storage medium
CN111638929A (en) Startup image processing method, device, equipment and storage medium
CN111833234A (en) Image display method, image processing apparatus, and computer-readable storage medium
CN114168019A (en) Multi-application window level management method and device
CN109101144B (en) Thermodynamic diagram drawing method and device
CN117389501A (en) Display control method and device for large data screen, computer equipment and storage medium
CN111917986A (en) Image processing method, medium thereof, and electronic device
CN108388395B (en) Image clipping method and device and terminal
CN117054846A (en) Visual test method, system and device for chip and storage medium
CN115951880A (en) EPG page compatible method, system and electronic equipment of IPTV
CN112559362B (en) Automatic testing method and testing device for dynamic user interface
US11798230B2 (en) Display data processing method, device and terminal, display method and device, and readable storage medium
US11070716B2 (en) Image sensor system, image sensor, data generation method of image sensor in image sensor system, and non-transitory computer-readable recording medium
CN104639969A (en) Full screen page display method and device
CN113642642A (en) Control identification method and device
WO2019179023A1 (en) Indoor image processing method, server and computer readable storage medium
CN113973235A (en) Interactive information display method and device and computer equipment
CN111083552A (en) Thumbnail generation method, device, equipment and medium
CN104301520A (en) Information inputting method, device and terminal
CN116954793B (en) Chip test interface display method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination