A display control method and device for a large screen for visualizing data, a computer device, and a storage medium
Patent Information
- Application Number
- CN202311403164.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-26
- Publication Date
- 2026-10-20
- Estimated Expiration
- 2043-10-26
AI Technical Summary
[0003]有鉴于此,本公开实施例提供了一种数据大屏的显示控制方法、装置、计算机设备及存储介质,以解决现有方案不能做到根据屏幕的分辨率自动调整显示方式,最终导致不同分辨率的目标内容在屏幕上的展示效果较差的问题
[0008]本公开实施例提供的方法通过对比屏幕的显示参数与目标内容的显示参数,能够确定目标内容的参数类型,便于后续根据参数类型选择相应的调整策略,对目标内容进行显示,使调整后的目标内容与屏幕的显示参数适配。以此通过对比第一显示参数与目标屏幕对应的第二显示参数,确定目标内容对应的目标参数类型。这样可以确保所选取的目标参数类型与目标屏幕的实际显示参数相匹配,从而提供精确的显示调整。另外基于预设参数类型与显示控制策略之间的对应关系,确定目标参数类型对应的目标显示控制策略。这样可以根据具体的参数类型,选择相应的显示控制策略,实现了对显示内容的灵活调整。
Smart Images

Figure CN117389501B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of computer technology, specifically to a display control method, apparatus, computer equipment, and storage medium for a large visual data screen. Background Technology
[0002] Currently, in e-commerce live streaming, advertising, and other scenarios, large screens are typically used to display content. However, during the content display process, the screens can only adapt to changes in width or provide different layouts for different resolutions through media queries. They cannot automatically adjust the display method according to the screen resolution, which ultimately results in poor display effects of target content at different resolutions on the screen. Summary of the Invention
[0003] In view of this, the present disclosure provides a display control method, apparatus, computer equipment and storage medium for a large data screen, in order to solve the problem that the existing solution cannot automatically adjust the display mode according to the screen resolution, which ultimately results in poor display effect of target content with different resolutions on the screen.
[0004] In a first aspect, embodiments of this disclosure provide a display control method for a large data screen, the method comprising: Obtain the first display parameter corresponding to the target content currently displayed on the target screen, wherein the target content includes multiple display modules; By comparing the first display parameter with the second display parameter corresponding to the target screen, the target parameter type corresponding to the target content is determined. Based on the correspondence between preset parameter types and display control strategies, the target display control strategy corresponding to the target parameter type is determined; Adjust 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.
[0005] Secondly, embodiments of this disclosure provide a display control device for a large data screen, the device comprising: The acquisition module is used to acquire the first display parameters corresponding to the target content currently displayed on the target screen, wherein the target content includes multiple display modules; The detection module is used to compare the first display parameters with the second display parameters corresponding to the target screen to determine the target parameter type corresponding to the target content; The determination module is used to determine the target display control strategy corresponding to the target parameter type based on the correspondence between the preset parameter type and the display control strategy; The control module is used to adjust 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.
[0006] Thirdly, embodiments of this disclosure provide a computer device, including: a memory and a processor, which are communicatively connected to each other. The memory stores computer instructions, and the processor executes the computer instructions to perform the method described in the first aspect or any corresponding embodiment.
[0007] Fourthly, embodiments of this disclosure provide a computer-readable storage medium storing computer instructions for causing a computer to perform the methods described in the first aspect or any corresponding embodiment.
[0008] The method provided in this disclosure determines the parameter type of the target content by comparing the display parameters of the screen with the display parameters of the target content. This facilitates the subsequent selection of an appropriate adjustment strategy based on the parameter type to display the target content, ensuring that the adjusted target content matches the screen's display parameters. Specifically, by comparing the first display parameters with the corresponding second display parameters of the target screen, the target parameter type corresponding to the target content is determined. This ensures that the selected target parameter type matches the actual display parameters of the target screen, providing precise display adjustment. Furthermore, based on the correspondence between preset parameter types and display control strategies, the target display control strategy corresponding to the target parameter type is determined. This allows for the selection of an appropriate display control strategy based on the specific parameter type, enabling flexible adjustment of the displayed content. Attached Figure Description
[0009] To more clearly illustrate the technical solutions in the specific embodiments of this disclosure or the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this disclosure. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0010] Figure 1 This is a flowchart illustrating a data screen display control method according to some embodiments of the present disclosure; Figure 2 This is a schematic diagram of the display control of a large data screen according to some embodiments of the present disclosure; Figure 3 This is a schematic diagram of the display control of a large data screen according to some embodiments of the present disclosure; Figure 4This is a schematic diagram of the display control of a large data screen according to some embodiments of the present disclosure; Figure 5 This is a schematic diagram of the display control of a large data screen according to some embodiments of the present disclosure; Figure 6 This is a structural block diagram of a data screen display control device according to an embodiment of the present disclosure; Figure 7 This is a schematic diagram of the hardware structure of a computer device according to an embodiment of the present disclosure. Detailed Implementation
[0011] To make the objectives, technical solutions, and advantages of the embodiments of this disclosure clearer, the technical solutions of the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this disclosure, and not all embodiments. Based on the embodiments of this disclosure, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this disclosure.
[0012] According to embodiments of this disclosure, a display control method, apparatus, computer device, and storage medium for a large data screen are provided. It should be noted that the steps shown in the flowcharts in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowcharts, in some cases, the steps shown or described may be executed in a different order than that shown here.
[0013] This embodiment provides a method for controlling the display of a large data screen. Figure 1 This is a flowchart of a data screen display control method according to an embodiment of the present disclosure, such as... Figure 1 As shown, the process includes the following steps: Step S11: Obtain the first display parameter corresponding to the target content currently displayed on the target screen, wherein the target content includes multiple display modules.
[0014] The method provided in this disclosure is applied to smart devices equipped with displays, such as smart advertising displays, smart TVs, etc. Specifically, each time the smart device displays corresponding content, it can dynamically adjust according to the display parameters of the screen and the display parameters of the corresponding content, thereby improving the display effect of the content. It should be noted that the content displayed by the smart device includes multiple display modules, which are used to display different data content. The display modules can be set according to data attributes. For example, display module M is used to display chart content, display module N is used to display real-time data, and display module P is used to display image content.
[0015] In this embodiment of the disclosure, obtaining the first display parameter corresponding to the target content currently displayed on the target screen includes the following steps A1-A2: Step A1: Detect the first resolution corresponding to the target content.
[0016] In this embodiment, the smart device can accept display requests sent by other devices, which can be devices communicatively connected to the smart device. Upon receiving a display request, the smart device parses the request to obtain the target content, which can be webpage data, advertising data, chart data, video, images, etc. When the target content is webpage data, the corresponding display module displays real-time webpage traffic, real-time number of attacks on the webpage, webpage hotspot data, etc. When the target content is icon data, the corresponding display module displays icon data in different formats, chart analysis data, etc.
[0017] In this embodiment of the disclosure, after obtaining the target content, the smart device detects the first resolution corresponding to the target content. Specifically, the method for detecting the first resolution corresponding to the target content can be: using developer tools to check the size of the visualization window corresponding to the target content. The first resolution is determined by the size of the visualization window, and the first resolution can be: 1920×1080, 1366×900, 1280×720, 1440x900, etc.
[0018] It's worth noting that developer tools typically include a debugging toolbar that contains an option to visualize the window size. By viewing the window size, you can determine the resolution of the target content.
[0019] Step A2: Calculate the first aspect ratio corresponding to the target content based on the first resolution, and determine the first aspect ratio as the first display parameter.
[0020] In this embodiment, the first aspect ratio corresponding to the target content is calculated based on the first resolution. Specifically, the calculation method may be as follows: extract the horizontal and vertical resolutions from the first resolution, calculate the ratio of the horizontal and vertical resolutions, and use this ratio as the first aspect ratio corresponding to the target content. For example, if the first resolution of the target content is 1920×1080, then the aspect ratio is 1920 / 1080 = 16:9. If the first resolution of the target content is 1440×900, then the aspect ratio is 1440 / 900 = 16:10.
[0021] Step S12: Compare the first display parameters with the second display parameters corresponding to the target screen to determine the target parameter type corresponding to the target content.
[0022] In this embodiment of the disclosure, the target parameter type corresponding to the target content is determined by comparing the first display parameter with the second display parameter corresponding to the target screen, including the following steps B1-B3: Step B1: Obtain the second resolution corresponding to the target screen, and calculate the second aspect ratio corresponding to the target screen based on the second resolution.
[0023] In this embodiment of the disclosure, the second resolution corresponding to the target screen can be obtained by different operating systems providing API interfaces to obtain the resolution information of the current target screen. For example, in the Windows operating system, the GetSystemMetrics function can be used to obtain the resolution of the target screen. On iOS and Android devices, the respective system's API interfaces can be used to detect the screen resolution.
[0024] Alternatively, the second resolution corresponding to the target screen can be obtained by: acquiring the device configuration information of the smart device, then reading the device configuration information to obtain the resolution of the target screen of the smart device. The second resolution of the target screen can be: 1920×1080, 1366×900, 1280×720, 1440x900, etc.
[0025] The specific calculation method can be as follows: extract the horizontal and vertical resolutions from the second resolution, calculate the ratio of the horizontal and vertical resolutions, and use this ratio as the second aspect ratio corresponding to the target screen. For example, if the target screen's second resolution is 1920×1080, then the aspect ratio is 1920 / 1080 = 16:9. If the target screen's second resolution is 1440×900, then the aspect ratio is 1440 / 900 = 16:10.
[0026] Step B2: Compare the first width-to-height ratio with the second width-to-height ratio to obtain the comparison result.
[0027] In this embodiment of the disclosure, the first aspect ratio and the second aspect ratio are compared in order to determine whether the aspect ratio of the target screen is consistent with the aspect ratio of the target content, so as to facilitate subsequent determination of how to adjust the target content based on the comparison results.
[0028] Step B3: Determine the target parameter type corresponding to the target content based on the comparison results.
[0029] In this embodiment of the disclosure, determining the target parameter type corresponding to the target content based on the comparison result includes: if the comparison result shows that the first width-to-height ratio and the second width-to-height ratio are the same, determining the target parameter type as the first type. Alternatively, if the comparison result shows that the first width-to-height ratio and the second width-to-height ratio are not the same, determining the target parameter type as the second type.
[0030] Understandably, if the comparison results show that the first and second aspect ratios are the same, it means the target content belongs to the standard aspect ratio. In this case, the first type can be understood as the standard type. If the comparison results show that the first and second aspect ratios are different, it means the target content does not belong to the standard aspect ratio. In this case, the second type can be understood as the non-standard type.
[0031] Step S13: Based on the correspondence between preset parameter types and display control strategies, determine the target display control strategy corresponding to the target parameter type.
[0032] In this embodiment of the disclosure, in order to achieve rapid display adaptation of target content, a correspondence between parameter types and display control strategies is pre-set. The parameter types include a first type and a second type, and the display control strategies include proportional scaling, adjusting the layout of the target content, etc.
[0033] In this embodiment, by pre-setting the correspondence between parameter types and display control strategies, the aim is to ensure that the system can correctly process and display parameters under different scenarios and conditions, thereby improving the system's reliability and stability. Furthermore, by selecting the appropriate display control strategy based on the parameter type, it can be ensured that the displayed content and manner match the viewer's expectations, thereby improving the visual effect.
[0034] Step S14: Adjust 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.
[0035] The method provided in this disclosure determines the parameter type of the target content by comparing the display parameters of the screen with the display parameters of the target content. This facilitates the subsequent selection of an appropriate adjustment strategy based on the parameter type to display the target content, ensuring that the adjusted target content matches the screen's display parameters. Specifically, by comparing the first display parameters with the corresponding second display parameters of the target screen, the target parameter type corresponding to the target content is determined. This ensures that the selected target parameter type matches the actual display parameters of the target screen, providing precise display adjustment. Furthermore, based on the correspondence between preset parameter types and display control strategies, the target display control strategy corresponding to the target parameter type is determined. This allows for the selection of an appropriate display control strategy based on the specific parameter type, enabling flexible adjustment of the displayed content.
[0036] In this embodiment of the disclosure, when the target parameter type is of the first type, the various display modules of the target content are adjusted according to the target display control strategy to obtain the adjusted target content, including the following steps C1-C2: Step C1: Obtain the first width difference between the target content and the target screen.
[0037] In this embodiment of the disclosure, when the target parameter type is a first type, obtaining the first width difference between the target content and the target screen can be achieved by: obtaining the horizontal and vertical resolutions from the first resolution corresponding to the target content, and simultaneously obtaining the horizontal and vertical resolutions from the second resolution corresponding to the target screen. Then, by comparing the horizontal resolutions of the target content and the target screen, and by comparing the vertical resolutions of the target content and the target screen, the first width difference between the target content and the target screen is obtained.
[0038] Step C2: Scale each display module of the target content proportionally according to the first width difference to obtain the adjusted target content.
[0039] In this embodiment of the disclosure, the target content is scaled proportionally according to the first width difference. The proportional scaling can be proportional enlargement or proportional reduction, and finally the adjusted target content is obtained.
[0040] As an example, such as Figure 2 As shown, when the horizontal and vertical resolutions of the target content are smaller than the horizontal and vertical resolutions of the target screen, respectively, each display module of the target content is proportionally enlarged according to the first width value until it matches the target screen. Or as... Figure 3 As shown, when the horizontal and vertical resolutions of the target content are greater than the horizontal and vertical resolutions of the target screen, the display modules of the target content are scaled down proportionally according to the first width value until they match the target screen.
[0041] In this embodiment of the disclosure, when the target parameter type is the second type, the various display modules of the target content are adjusted according to the target display control strategy to obtain the adjusted target content, including the following steps D1-D4: Step D1: Obtain the second width difference between the target content and the target screen.
[0042] In this embodiment of the disclosure, when the target parameter type is the second type, obtaining the second width difference between the target content and the target screen can be achieved by: obtaining the horizontal and vertical resolutions from the first resolution corresponding to the target content, and simultaneously obtaining the horizontal and vertical resolutions from the second resolution corresponding to the target screen. Then, comparing the horizontal resolutions of the target content and the target screen, and comparing the vertical resolutions of the target content and the target screen, the width difference between the target content and the target screen is obtained, and this obtained width difference is recorded as the second width.
[0043] Step D2: Scale each display module of the target content proportionally according to the second width difference to obtain the scaled target content.
[0044] In this embodiment of the disclosure, the target content is scaled proportionally according to the second width difference. This proportional scaling can be either enlargement or reduction, ultimately resulting in scaled target content. Specifically, when the horizontal and vertical resolutions of the target content are smaller than the horizontal and vertical resolutions of the target screen, respectively, each display module of the target content is enlarged proportionally according to the second width value until it reaches the target screen size. Or, as... Figure 3 As shown, when the horizontal and vertical resolutions of the target content are greater than the horizontal and vertical resolutions of the target screen, the display modules of the target content are scaled down proportionally according to the width value to the target screen.
[0045] It should be noted that because the target parameter type is Type II, the scaled target content obtained after proportional scaling will not match the target screen. Therefore, further processing of the scaled target content is required.
[0046] Step D3: Obtain the display height corresponding to the scaled target content, and compare the display height with the screen height corresponding to the target screen to obtain the comparison result.
[0047] In this embodiment, by comparing the scaled target content with the target screen, it is possible to more accurately determine whether the target content is suitable for the target screen, avoiding displaying content that is too large or too small. Simultaneously, it facilitates subsequent adjustments based on the comparison results, allowing the target content to adapt to different screen sizes and aspect ratios, thus providing a better display effect.
[0048] Step D4: Adjust the scaled target content again according to the adjustment strategy corresponding to the comparison results to obtain the adjusted target content.
[0049] In this embodiment of the disclosure, the scaled target content is adjusted again according to the adjustment strategy corresponding to the comparison result to obtain the adjusted target content, including: when the comparison result is that the display height is greater than the screen height, the display module that exceeds the screen height is taken as the first display module, and the height of the first display module that exceeds the screen height is evenly distributed to the display modules in the vertical direction. In the embodiments disclosed herein, such as Figure 4 As shown, when the comparison result shows that the display height is greater than the screen height, the local target content that exceeds the screen height is obtained, and then the local target content is evenly distributed to the display modules in the vertical direction of the target screen.
[0050] In this embodiment of the disclosure, the scaled target content is adjusted again according to the adjustment strategy corresponding to the comparison result to obtain the adjusted target content, including: when the comparison result is that the display height is less than the screen height, the display module that exceeds the screen width is used as the second display module, and the width of the second display module that exceeds the screen width is evenly distributed to the display modules in the horizontal direction.
[0051] In the embodiments disclosed herein, such as Figure 5 As shown, when the comparison result shows that the display height is less than the screen height, the local target content that exceeds the screen height is obtained, and then the local target content is evenly distributed to the display modules in the horizontal direction of the target screen.
[0052] The method provided in this disclosure distributes content exceeding the screen height or width evenly across vertical or horizontal display modules, ensuring complete content display and preventing information loss. Based on comparison results and adjustment strategies, content exceeding the screen size is allocated to other display modules, fully utilizing the entire screen space and improving display quality and capabilities. Furthermore, it automatically adjusts based on comparison results, making it suitable for screens of different sizes and aspect ratios, allowing content to adapt for display on various screens and providing a superior user experience.
[0053] The method provided in this disclosure, when local target content exceeding the screen width or screen height cannot be evenly distributed to the display modules in the vertical or horizontal direction, further includes the following steps: Step S21: Split the target content and display the split content on each display module of the target screen.
[0054] Step S22: Detect the selection operation applied to each display module; Step S23: Based on the selection operation, determine the first display module selected in the target screen, and change the state of the first module corresponding to the first display module to the editable state. The content displayed by the first display module cannot be fully displayed on the target screen.
[0055] Step S24: Obtain at least one second display module that has the highest similarity to the first display module from multiple display modules in the target screen, and change the state of the second module corresponding to the second display module to an editable state.
[0056] Step S25: Detect whether the blank area of the second display module is greater than the preset area. If the blank area of the second display module is greater than the preset area, then swap the positions of the first display module and the second display module.
[0057] The method provided in this disclosure allows for the following solution: When local target content exceeding the screen width or height cannot be evenly distributed across the vertical or horizontal display modules, the operator can directly select a first display module on the target screen. The smart device can then automatically acquire a second display module with high similarity based on the selected first display module, and subsequently swap the positions of the first and second display modules. This allows the operator to adjust the display according to preferences and needs, without being limited by preset ratios or automatic scaling effects. This provides greater usability and ease of use, and improves the content display effect.
[0058] In addition, the method provided in this embodiment further includes: obtaining a display style input by the operator, whereby the display style can be understood as the arrangement of display modules, such as a horizontal layout, a vertical layout, a grid layout, etc.; and combining and arranging the display modules according to the display style.
[0059] The method provided in this disclosure allows the operator to customize the arrangement of display modules by obtaining the display style input by the operator, thus meeting their needs and preferences. This provides a more personalized interface layout and improves the display effect. Furthermore, different application scenarios or content types may require different display styles. By combining and arranging display modules according to the selected display style, different needs can be flexibly adapted, providing a more flexible interface layout.
[0060] This embodiment also provides a display control device for a large data screen, which is used to implement the above embodiments and preferred embodiments; details already described will not be repeated. As used below, the term "module" can refer to a combination of software and / or hardware that performs a predetermined function. Although the device described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.
[0061] This embodiment provides a display control device for a large data screen, such as... Figure 6 As shown, it includes: The acquisition module 61 is used to acquire the first display parameters corresponding to the target content currently displayed on the target screen, wherein the target content includes multiple display modules; Detection module 62 is used to compare the first display parameters with the second display parameters corresponding to the target screen to determine the target parameter type corresponding to the target content; The determination module 63 is used to determine the target display control strategy corresponding to the target parameter type based on the correspondence between the preset parameter type and the display control strategy; The control module 64 is used to adjust the various display modules 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.
[0062] In this embodiment of the disclosure, the comparison module 62 is used to obtain the second resolution corresponding to the target screen, and calculate the second aspect ratio corresponding to the target screen based on the second resolution; compare the first aspect ratio with the second aspect ratio to obtain a comparison result; and determine the target parameter type corresponding to the target content based on the comparison result.
[0063] In this embodiment of the disclosure, the comparison module 62 is used to determine the target parameter type as a first type when the comparison result shows that the first width-to-height ratio is consistent with the second width-to-height ratio; and to determine the target parameter type as a second type when the comparison result shows that the first width-to-height ratio is inconsistent with the second width-to-height ratio.
[0064] In this embodiment of the disclosure, when the target parameter type is the first type, the control module 64 is used to obtain the first width difference between the target content and the target screen; and to scale each display module of the target content proportionally according to the first width difference to obtain the adjusted target content.
[0065] In this embodiment of the disclosure, when the target parameter type is the second type, the control module 64 includes: The acquisition unit is used to acquire the second width difference between the target content and the target screen. The processing unit is used to scale each display module of the target content proportionally according to the second width difference to obtain the scaled target content; The comparison unit is used to obtain the display height corresponding to the scaled target content, and compare the display height with the screen height corresponding to the target screen to obtain the comparison result; The adjustment unit is used to readjust the scaled target content according to the adjustment strategy corresponding to the comparison results, so as to obtain the adjusted target content.
[0066] In this embodiment of the disclosure, the scaled target content is readjusted according to the adjustment strategy corresponding to the comparison result to obtain the adjusted target content, including: when the comparison result shows that the display height is greater than the screen height, the display module that exceeds the screen height is taken as the first display module, and the height of the first display module that exceeds the screen height is evenly distributed to the display modules in the vertical direction; or, when the comparison result shows that the display height is less than the screen height, the display module that exceeds the screen width is taken as the second display module, and the width of the second display module that exceeds the screen width is evenly distributed to the display modules in the horizontal direction.
[0067] Please see Figure 7 , Figure 7 This is a schematic diagram of the structure of a computer device provided in an optional embodiment of this disclosure, such as... Figure 7 As shown, the computer device includes one or more processors 10, memory 20, and interfaces for connecting the components, including high-speed interfaces and low-speed interfaces. The components communicate with each other via different buses and can be mounted on a common motherboard or otherwise installed as needed. The processors can process instructions executed within the computer device, including instructions stored in or on memory to display graphical information of a GUI on external input / output devices (such as display devices coupled to the interfaces). In some alternative implementations, multiple processors and / or multiple buses can be used with multiple memories and multiple memory modules, if desired. Similarly, multiple computer devices can be connected, each providing some of the necessary operations (e.g., as a server array, a group of blade servers, or a multiprocessor system).
[0068] Processor 10 may be a central processing unit, a network processor, or a combination thereof. Processor 10 may further include a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof. The programmable logic device may be a complex programmable logic device (CAMP), a field-programmable gate array (FPGA), a general-purpose array logic (GDA), or any combination thereof.
[0069] The memory 20 stores instructions executable by at least one processor 10 to cause the at least one processor 10 to perform the method shown in the above embodiments.
[0070] The memory 20 may include a program storage area and a data storage area. The program storage area may store the operating system and applications required for at least one function; the data storage area may store data created based on the use of the computer device as shown by a landing page for an app. Furthermore, the memory 20 may include high-speed random access memory and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid-state storage device. In some alternative embodiments, the memory 20 may optionally include memory remotely located relative to the processor 10, which can 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.
[0071] The 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 drive; the memory 20 may also include a combination of the above types of memory.
[0072] The computer device also includes a communication interface 30 for communicating with other devices or communication networks.
[0073] This disclosure also provides a computer-readable storage medium in which the methods described in this disclosure can be implemented in hardware or firmware, or implemented as recordable on a storage medium, or implemented as computer code originally stored on a remote storage medium or a non-transitory machine-readable storage medium and subsequently stored on a local storage medium after being downloaded over a network. Thus, the methods described herein can be processed by software stored on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. The storage medium may be a magnetic disk, optical disk, read-only memory, random access memory, flash memory, hard disk, or solid-state drive, etc.; further, the storage medium may also include combinations of the above types of memory. It is understood that computers, processors, microprocessor controllers, or programmable hardware include storage components capable of storing or receiving software or computer code that, when accessed and executed by the computer, processor, or hardware, implements the methods shown in the above embodiments.
[0074] Although embodiments of the present disclosure have been described in conjunction with the accompanying drawings, those skilled in the art can make various modifications and variations without departing from the spirit and scope of the present disclosure, and such modifications and variations all fall within the scope defined by the appended claims.
Claims
1. A display control method for a large visual data screen, characterized in that, The method includes: Obtain the first display parameter corresponding to the target content currently displayed on the target screen, wherein the target content includes multiple display modules; By comparing the first display parameter with the second display parameter corresponding to the target screen, the target parameter type corresponding to the target content is determined. Based on the correspondence between preset parameter types and display control strategies, the target display control strategy corresponding to the target parameter type is determined; 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; when the target parameter type is the second type, adjusting each display module of the target content according to the target display control strategy to obtain the adjusted target content includes: obtaining a second width difference between the target content and the target screen; scaling each display module of the target content proportionally according to the second width difference 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 based on the comparison result... The corresponding adjustment strategy is used to readjust the scaled target content to obtain the adjusted target content. The step of readjusting the scaled target content according to the adjustment strategy corresponding to the comparison result to obtain the adjusted target content includes: when the comparison result is that the display height is greater than the screen height, the display module that exceeds the screen height is taken as the first display module, and the height of the first display module that exceeds the screen height is evenly distributed to the display modules in the vertical direction; or, when the comparison result is that the display height is less than the screen height, the display module that exceeds the screen width is taken as the second display module, and the width of the second display module that exceeds the screen width is evenly distributed to the display modules in the horizontal direction.
2. The method according to claim 1, characterized in that, The step of obtaining the first display parameter corresponding to the target content currently displayed on the target screen includes: Detect the first resolution corresponding to the target content; The first aspect ratio corresponding to the target content is calculated based on the first resolution, and the first aspect ratio is determined as the first display parameter.
3. The method according to claim 2, characterized in that, The step of comparing the first display parameters with the second display parameters corresponding to the target screen to determine the target parameter type corresponding to the target content includes: Obtain the second resolution corresponding to the target screen, and calculate the second aspect ratio corresponding to the target screen based on the second resolution; By comparing the first aspect ratio with the second aspect ratio, the comparison results are obtained; The target parameter type corresponding to the target content is determined based on the comparison results.
4. The method according to claim 3, characterized in that, Determining the target parameter type corresponding to the target content based on the comparison result includes: If the comparison result shows that the first width-to-height ratio and the second width-to-height ratio are the same, the target parameter type is determined to be the first type; If the comparison result shows that the first width-to-height ratio and the second width-to-height ratio are inconsistent, the target parameter type is determined to be the second type.
5. The method according to claim 3, characterized in that, When the target parameter type is the first type, adjusting each display module of the target content according to the target display control strategy to obtain the adjusted target content includes: Obtain the first width difference between the target content and the target screen; The target content is adjusted by scaling each display module proportionally according to the first width difference.
6. A display control device for a large visual data screen, characterized in that, The device includes: The acquisition module is used to acquire the first display parameters corresponding to the target content currently displayed on the target screen, wherein the target content includes multiple display modules; The detection module is used to compare the first display parameters with the second display parameters corresponding to the target screen to determine the target parameter type corresponding to the target content; The determination module is used to determine the target display control strategy corresponding to the target parameter type based on the correspondence between the preset parameter type and the display control strategy; A control module is used to adjust 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; when the target parameter type is the second type, the control module includes: obtaining a second width difference between the target content and the target screen; scaling each display module of the target content proportionally according to the second width difference to obtain the 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 adjusting the scaled target content again according to the adjustment strategy corresponding to the comparison result to obtain the adjusted target content; an adjustment unit includes: when the comparison result is that the display height is greater than the screen height, designating the display module exceeding the screen height as the 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, when the comparison result is that the display height is less than the screen height, designating the display module exceeding the screen width as the 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.
7. A computer device, characterized in that, include: A memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, the processor executing the computer instructions to perform the method of any one of claims 1 to 5.
8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions for causing a computer to perform the method of any one of claims 1 to 5.
Citation Information
Patent Citations
Screen display proportion regulating method and electronic equipment
CN103700360A
Webpage display method and device and storage medium
CN109992337A