View generation method, apparatus, storage medium, electronic device, and program product

By dividing display items into direct display and instruction display, and adjusting the layout according to the association relationship, the problem of poor data display effect is solved, and better data display effect and user experience are achieved.

CN119883479BActive Publication Date: 2025-10-17CHINA CONSTRUCTION BANK
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411974210.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-30
Publication Date
2025-10-17
Estimated Expiration
2044-12-30

AI Technical Summary

Technical Problem

When generating data display views, existing technologies fail to consider the relationships between display items, resulting in poor data display effects.

Method used

The display items are divided into first display items that are directly displayed and second display items that are displayed based on instructions, and their layout in the target view is adjusted according to the types and associations of the display items.

Benefits of technology

It improves the effect of data display, ensures that important parameters are displayed first, and enhances the intuitiveness of data understanding and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119883479B_ABST
    Figure CN119883479B_ABST
Patent Text Reader

Abstract

Embodiments of the present application provide a view generation method and device, a storage medium, an electronic device and a program product, wherein the method comprises: determining a target project to be subjected to data display, and determining a target display item of the target project; determining a first display item directly displayed in the target display item, and a second display item which needs to be displayed upon receiving a target instruction; determining a target correlation relationship of a plurality of target display items, and adjusting a layout of the first display item and the second display item included in the plurality of target display items in a display interface according to a project type of the target project and the target correlation relationship, to obtain a target view for displaying the target project. Through the present application, the problem that the correlation relationship between display items in a view is not considered when generating a display view of data in the related art is solved, and the effect that the data display effect is poor is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] Embodiments of the present application relate to the field of communications, and in particular, to a view generation method and apparatus, a storage medium, an electronic device, and a program product. BACKGROUND

[0002] In recent years, with the exponential growth of data volume, the demand for data retrieval is increasingly diversified. In the related art, when generating a display view of data, the correlation between display items in the view is not considered, so the layout and display method of the display items in the interface cannot be dynamically adjusted, resulting in poor data display effect. SUMMARY

[0003] Embodiments of the present application provide a view generation method and apparatus, a storage medium, an electronic device, and a program product to at least solve the problem of poor data display effect caused by lack of consideration of the correlation between display items in the view when generating a display view of data in the related art.

[0004] According to an embodiment of the present application, a view generation method is provided, comprising: determining a target item to be displayed, and determining a target display item of the target item; determining a first display item directly displayed in the target display item, and a second display item that needs to be displayed after receiving a target instruction; determining a target correlation of a plurality of target display items, and adjusting the layout of the first display item and the second display item included in the plurality of target display items in the display interface according to the item type of the target item and the target correlation, to obtain a target view for displaying the target item.

[0005] In one exemplary embodiment, after determining the first display item directly displayed in the target display item, and the second display item that needs to be displayed after receiving a target instruction, the method further comprises: determining a target parameter displayed by the target display item by: in the case where the number of first parameters of the target display item is 1, determining the first parameter as the target parameter; in the case where the number of first parameters of the target display item is greater than a predetermined number of target parameters supported by display, determining a score of the first parameter according to the category of the first parameter and the generation time of the first parameter; sorting the first parameters in descending order of the scores, and determining the first parameters in the front predetermined number as the target parameters.

[0006] In an example embodiment, after the first parameters are sorted in the order from high to low according to the scores, and the first parameters in the front of the predetermined number are determined as the target parameters, the method further comprises: determining a predetermined parameter value corresponding to the target parameters, and adding the predetermined parameter value to the target view.

[0007] In an example embodiment, determining the target item to be displayed and determining the target display item of the target item comprises: determining the target item according to the first information included in the received data display request; and determining the target display item according to the item attribute information of the target item.

[0008] In an example embodiment, determining the first display item included in the target display item and the second display item which needs to be displayed after receiving a target instruction comprises: determining the target display item with a priority higher than or equal to a predetermined priority as the first display item, and determining the target display item with a priority lower than the predetermined priority as the second display item.

[0009] In an example embodiment, determining the target association relationship of the plurality of target display items, and adjusting the layout of the first display item and the second display item included in the plurality of target display items in the display interface according to the item type of the target item and the target association relationship to obtain a target view for displaying the target item comprises: in the case of multiple target items, determining a first association relationship of the plurality of target items according to the item type of the plurality of target items; determining the target association relationship according to the first association relationship; and adjusting the layout of the first display item and the second display item included in the plurality of target display items in the display interface according to the target association relationship to obtain the target view.

[0010] According to another embodiment of the present application, a view generation device is provided, comprising: a first determining module configured to determine a target item to be displayed and determine a target display item of the target item; a second determining module configured to determine a first display item included in the target display item which is directly displayed, and a second display item which needs to be displayed after receiving a target instruction; and a third determining module configured to determine a target association relationship of the plurality of target display items, and adjust the layout of the first display item and the second display item included in the plurality of target display items in the display interface according to the item type of the target item and the target association relationship to obtain a target view for displaying the target item.

[0011] According to still another embodiment of the present application, there is also provided a computer readable storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the method embodiments described above when executed.

[0012] According to still another embodiment of the present application, there is also provided an electronic device comprising a memory having a computer program stored therein and a processor arranged to execute the computer program to perform the steps of any of the method embodiments described above.

[0013] According to still another embodiment of the present application, there is also provided a computer program product comprising a computer program which, when executed by a processor, performs the steps of any of the method embodiments described above.

[0014] According to the present application, by dividing the display items into display items directly displayed and display items displayed based on instructions, and determining the layout of the display in the target view according to the types of the display items and the association relationship between the display items, the problem of poor data display effect caused by the lack of consideration of the association relationship between the display items in the view when generating the display view of the data in the related art can be solved, thereby improving the display effect of the data. BRIEF DESCRIPTION OF DRAWINGS

[0015] Figure 1 is a hardware structure block diagram of a mobile terminal according to the view generation method of the embodiment of the present application;

[0016] Figure 2 is a flow of the view generation method according to the embodiment of the present application Figure 1 ;

[0017] Figure 3 is a schematic diagram of the determination method of the target display item according to the embodiment of the present application;

[0018] Figure 4 is a schematic diagram of the generation of the non-functional test section view according to the embodiment of the present application;

[0019] Figure 5 is a flow of the view generation method according to the embodiment of the present application Figure 1 ;

[0020] Figure 6 is a structure block diagram of the view generation device according to the embodiment of the present application. DETAILED DESCRIPTION

[0021] Embodiments of the present application will be described in detail below with reference to the accompanying drawings and in conjunction with embodiments.

[0022] It should be noted that the terms "first", "second", etc. in the description and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.

[0023] The method embodiments provided in the embodiments of the present application can be executed in a mobile terminal, a computer terminal or a similar computing device. Taking running on a mobile terminal as an example, Figure 1 FIG is a hardware structure block diagram of a mobile terminal according to a method for generating a view according to an embodiment of the present invention. Figure 1 As shown, the mobile terminal may include one or more ( Figure 1 Only one is shown) a processor 102 (the processor 102 may include but is not limited to a microprocessor MCU or a programmable logic device FPGA and other processing devices) and a memory 104 for storing data, wherein the mobile terminal may also include a transmission device 106 and an input and output device 108 for communication functions. It will be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the mobile terminal. Figure 1 More or fewer components than shown, or with Figure 2 Different configurations shown.

[0024] The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the view generation method in the embodiment of the present invention. The processor 102 executes the computer program stored in the memory 104 to execute various functional applications and data processing, that is, to implement the above-mentioned method. The memory 104 may include high-speed random access memory and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory remotely located relative to the processor 102, and these remote memories may be connected to the mobile terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0025] The transmission device 106 is used to receive or send data via a network. A specific example of the aforementioned network may include a wireless network provided by the mobile terminal's communications provider. In one embodiment, the transmission device 106 includes a network interface controller (NIC), which can be connected to other network devices via a base station to enable communication with the Internet. In another embodiment, the transmission device 106 may be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0026] In the embodiment, a view generation method running on the mobile terminal is provided, Figure 1 is a flow of the view generation method according to the embodiment of the present application Figure 2 As shown in the figure, Figure 3 The flow includes the following steps:

[0027] In step S202, a target item to be displayed is determined, and a target display item of the target item is determined.

[0028] In step S204, a first display item directly displayed in the target display item is determined, and a second display item that needs to be displayed upon receiving a target instruction is determined.

[0029] In step S206, a target association relationship of a plurality of target display items is determined, and the layout of the first display item and the second display item included in the plurality of target display items in the display interface is adjusted according to the project type of the target item and the target association relationship, to obtain a target view for displaying the target item.

[0030] In the above steps, by dividing the display items into directly displayed display items and display items displayed based on instructions, and determining the layout of the display items in the target view according to the categories of the display items and the association relationship between the display items, the problem of poor data display effect caused by the lack of consideration of the association relationship between the display items in the view when generating the display view of the data in the related art is solved, and the display effect of the data is improved.

[0031] The execution subject of the above steps can be a terminal device or the like that can run a data processing program, but is not limited thereto.

[0032] In an optional embodiment, after determining the first display item directly displayed in the target display item, and the second display item that needs to be displayed upon receiving a target instruction, the method further includes: determining a target parameter displayed by the target display item by: in a case where the number of first parameters of the target display item is 1, determining the first parameter as the target parameter; in a case where the number of first parameters of the target display item is greater than a predetermined number of target parameters supported by the display, determining a score of the first parameter according to the category of the first parameter and the generation time of the first parameter; sorting the first parameters in descending order of the scores, and determining the first parameters in the front predetermined number as the target parameters.

[0033] In the above step, the score of the parameter is determined according to the category of the parameter and the generation time of the first parameter, and the parameter to be displayed is determined according to the score, so that the important parameters are displayed preferentially, thereby improving the effectiveness of the parameter display.

[0034] In an optional embodiment, after the first parameters are sorted in the order from high to low according to the score, and the first parameters in the front of the predetermined number are determined as the target parameters, the method further comprises: determining a predetermined parameter value corresponding to the target parameters, and adding the predetermined parameter value to the target view.

[0035] In the above step, the predetermined parameter value can be pre-set and adjusted according to the type of the target parameter, and the predetermined parameter value includes but is not limited to: a predetermined value, an average value of the target parameter in a historical period, a minimum value of the target parameter in a historical period, and the like.

[0036] In the above step, by adding the predetermined parameter value to the target view, the user can set the predetermined parameter value and intuitively understand the difference between the value of the target parameter and the predetermined parameter value, thereby enhancing the intuitiveness of data understanding and improving the user experience.

[0037] In an optional embodiment, the target project to be displayed is determined, and the target display item of the target project is determined by: determining the target project according to the first information included in the received data display request; and determining the target display item according to the project attribute information of the target project.

[0038] In the above step, the first information includes but is not limited to: the name of the target project, the category of the target project, the business attribute reflected by the target project, and other information that can be used to determine the target project. The project attribute information includes but is not limited to: project cycle, project category, project active time, and the like. Determining the target display item according to the project attribute information of the target project includes but is not limited to: determining the parameter reflecting the performance of the target project as the target display item. Determining the target project according to the first information included in the received data display request includes but is not limited to: identifying the target project to be displayed in the first information, for example, by parsing the data display request through an instruction parsing algorithm to determine the target project, and the data display request includes a description statement of the target project. For example, in the case that the first information is "display the stability data of the system in the past year", and there are three system versions used in the past year, the projects reflecting the stability of the system in each system version are automatically determined as the target project.

[0039] In an optional embodiment, determining the first display item included in the target display item and the second display item which needs to be displayed upon receiving a target instruction comprises: determining the target display item with a priority higher than or equal to a predetermined priority as the first display item, and determining the target display item with a priority lower than the predetermined priority as the second display item.

[0040] In an optional embodiment, determining the target association relationship of the plurality of target display items, and adjusting the layout of the first display item and the second display item included in the plurality of target display items in the display interface according to the project type of the target project and the target association relationship to obtain a target view for displaying the target project comprises: in the case of multiple target projects, determining a first association relationship of the plurality of target projects according to the project type of the plurality of target projects; determining the target association relationship according to the first association relationship; and adjusting the layout of the first display item and the second display item included in the plurality of target display items in the display interface according to the target association relationship to obtain the target view.

[0041] In the above steps, the determination of the target association relationship according to the first association relationship includes but is not limited to: in the case where there is no target project with association in the plurality of target projects, determining the display area of the plurality of target projects in the target view according to the priority of the plurality of target projects, wherein the display area of each target project does not overlap; for each target project, determining the association relationship between the corresponding plurality of display items, and determining the layout in the display area of each target project according to the association relationship and the priority of the display item; in the case where there is a target project with association in the plurality of target projects, determining the display item associated between the target projects and determining the overlapping display area of the target projects; determining the display area of the remaining target projects in the target view according to the priority of the remaining target projects.

[0042] The application scenario of the above data display method includes but is not limited to: scene-related performance testing, transaction-related performance testing, job-related performance testing, and the like. Figure 3 is a schematic diagram of a target display item determination method according to an embodiment of the application, as Figure 4As shown, determining the target project to be displayed and determining the target display item of the target project include but are not limited to: determining the business object to be displayed and selecting the case to be displayed of the business object to determine the target project; screening the target display item of the target project; determining the design principle of the target display item in the target view; determining whether to compare data according to the comparison principle and determining the comparison data if comparison is needed; determining the layout mode of the target display item based on the design principle and the comparison data to obtain the target view.

[0043] For example, the business object includes but is not limited to non-functional test objects such as non-functional test scenes, all transactions covered in the test, and all batch processing jobs covered in the test, etc., the case includes but is not limited to performance test related cases such as single transaction benchmark test, single transaction load test, mixed capacity test, batch processing capacity test, etc., the index item is screened according to the content concerned by the test personnel and the operation and maintenance personnel, and the index item includes but is not limited to the average processing time of a single transaction in an application system, the maximum processing capacity of the system, the proportion of each transaction in the test scene, the data volume of a single batch processing job, the processing time of the batch processing job, and the efficiency of the batch processing, etc., and the design principle includes but is not limited to data acquisition principle, data display principle, data comparison principle, etc. For example, for each version of the test task, the performance related results are displayed, for each mixed capacity test of multiple gradients, only the optimal capacity group data is displayed, and for multiple mixed capacity test results, the results are displayed respectively. For example, the compared production average processing time includes but is not limited to the production average value of 15 days before the test scheme submission time. The comparison rule includes but is not limited to comparing the average processing time of a single transaction, comparing the TPS test result and the test index, comparing the average processing capacity of a transaction in the mixed scene and the TPS test result, comparing the transaction proportion test result and the test index, comparing the batch processing job test result and the test index, comparing the production operation and maintenance data (for example, comparing the transaction average processing time test result and the production average processing time, comparing the optimal capacity processing capacity test result and the production peak TPS, comparing the test result proportion and the production actual business proportion), etc. The display mode of the comparison result includes but is not limited to multi-dimensional comparison of different data formats (for example, numerical value, percentage), graphical display mode (for example, using different colors and different arrow directions to display the test result and the production data comparison result respectively), etc.

[0044] Figure 4 is a schematic view of generating a non-functional test section view according to an embodiment of the present application, as Figure 5As shown, the non-functional test section view is generated by extending all historical test data from the perspective of a physical subsystem and at the last production point, and the generation of the non-functional test section view includes: designing an overall view; drilling historical data; formulating data display and data calculation rules; and maintaining configuration items. Exemplarily, the overall view includes but is not limited to: a scenario view, a transaction view, a job view, a deployment unit view, and a multi-active disaster recovery view, and the overall view is divided according to different non-functional test objects. The overall view is generated according to the physical subsystem dimension, supports switching of the physical subsystem at any time, and supports quick generation of the corresponding section view, while supporting quick viewing of the latest non-functional requirement evaluation sheet and non-functional test task details of the physical subsystem. The drilling of historical data from the key fields of the overall view page includes but is not limited to: historical delivery details of non-functional tests, historical data and trend charts of test indicators or test results, detailed non-functional test case results, system bottleneck points, and the like. According to user needs, the drilling of historical data in the section view includes field-by-field drilling and layer-by-layer drilling. Table 1 is a drilling rule table, and exemplarily, the layer-by-layer drilling rules include but are not limited to: drilling into a second-level view through a key field in a first-level view, drilling into a third-level view through a key field in the second-level view, and layer-by-layer drilling.

[0045] Table 1

[0046]

[0047]

[0048] In the automatic generation of the section view method, data display principles and data calculation principles are core parts. The section data of each non-functional test object needs to display its associated non-functional test characteristic test results, wherein the non-functional characteristics involved in the scenario include but are not limited to: mixed capacity, stability, and extreme recoverability, and the like; the non-functional characteristics involved in the transaction include but are not limited to: single transaction benchmark and single transaction load, mixed capacity, and stability, and the like; the non-functional characteristics involved in the job include but are not limited to: batch processing efficiency, batch processing high availability case, and the like; and the non-functional characteristics involved in the deployment unit include but are not limited to: mixed capacity, stability, extreme recoverability, and the like.

[0049] The key indicator selection principle, display principle, historical data trend display rule, and test result calculation principle in the section view are shown in Table 2, wherein the calculation method of the transaction per second (tps) of each CPU depends on the deployment mode of the deployment unit, for example, in the cluster mode, the tps of each CPU = optimal capacity tps / sum of CPU numbers of all nodes, and in the master-slave mode, the tps of each CPU = optimal capacity tps / number of CPU of the master node.

[0050] Table 2

[0051]

[0052]

[0053] In the maintenance of the configuration item, firstly, the content of the configuration item needs to be defined, then the configuration range is delimited, subsequently, according to the data display rules and calculation rules of the overview view and the sectional view, a plurality of configuration rules are formulated, and the initialization of the configuration item is performed, and finally, when the configuration rule changes, the online dynamic maintenance of the configuration rule is performed.

[0054] The scheme in the present application will be exemplarily described below in combination with the view generation scene of the non-functional test data:

[0055] Figure 1 is the flow of the view generation method according to the embodiment of the present application Figure 2 As shown in the figure, the flow includes the following steps: Figure 6

[0056] Step S502, after each application version is completed and put into production, the non-functional test assets are stored in the database, wherein the non-functional test assets include a non-functional requirement evaluation sheet, a non-functional test scheme case and a non-functional test report;

[0057] Step S504, the multi-dimensional view configuration item initialization and data maintenance are performed;

[0058] Step S506, according to the requirements of different views, the data of the stored non-functional structured assets are processed, and are stored in the database tables corresponding to different views;

[0059] Step S508, the multi-dimensional views of different requirements are automatically generated, wherein the multi-dimensional views include a non-functional test overview view and a non-functional test sectional view.

[0060] Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be realized by means of software and the necessary general hardware platform, of course, it can also be realized by hardware, but in many cases, the former is a better embodiment. Based on such understanding, the technical solutions of the present application or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes a plurality of instructions for making a terminal device (which can be a mobile phone, computer, server or network device, etc.) execute the method described in each embodiment of the present application.

[0061] ​A view generation apparatus is also provided in the embodiments, which is configured to implement the above-mentioned embodiments and preferred embodiments, and details of which have been described above. As used below, the term "module" can be a combination of software and / or hardware that implements a predetermined function. Although the apparatus described in the following embodiments is preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and contemplated.

[0062] Figure 6 is a structural block diagram of a view generation apparatus according to an embodiment of the present application, as shown in ​ the apparatus comprises: a first determining module 62, configured to determine a target item to be displayed and determine a target display item of the target item; a second determining module 64, configured to determine a first display item directly displayed in the target display item and a second display item that needs to be displayed upon receiving a target instruction; a third determining module 66, configured to determine a target association relationship of a plurality of the target display items, and adjust a layout of the first display item and the second display item included in the plurality of the target display items in a display interface according to a project type of the target item and the target association relationship, to obtain a target view for displaying the target item.

[0063] In an optional embodiment, the apparatus further comprises: a fourth determining module, configured to, after determining the first display item directly displayed in the target display item and the second display item that needs to be displayed upon receiving a target instruction, determine a target parameter displayed by the target display item in the following manner: in a case where a number of first parameters of the target display item is 1, determining the first parameter as the target parameter; in a case where the number of the first parameters of the target display item is greater than a predetermined number of the target parameters supported by display, determining scores of the first parameters according to categories of the first parameters and generation times of the first parameters; sorting the first parameters in descending order of the scores, and determining a predetermined number of the first parameters in front as the target parameters.

[0064] In an optional embodiment, the apparatus further comprises: a fifth determining module, configured to, after sorting the first parameters in descending order of the scores and determining a predetermined number of the first parameters in front as the target parameters, determine a predetermined parameter value corresponding to the target parameters, and add the predetermined parameter value to the target view.

[0065] In an optional embodiment, the first determining module 62 comprises: a first determining unit configured to determine the target item according to the first information included in the received data display request; and a second determining unit configured to determine the target display item according to the item attribute information of the target item.

[0066] In an optional embodiment, the second determining module 64 comprises: a third determining unit configured to determine a target display item with a priority higher than or equal to a predetermined priority as the first display item and a target display item with a priority lower than the predetermined priority as the second display item.

[0067] In an optional embodiment, the third determining module 66 comprises: a fourth determining unit configured to determine a first association relationship of a plurality of target items according to the item types of the plurality of target items when the target item is the plurality of target items; a fifth determining unit configured to determine the target association relationship according to the first association relationship; and an adjustment determining unit configured to adjust the layout of the first display item and the second display item in the display interface in the plurality of target display items according to the target association relationship to obtain the target view.

[0068] It should be noted that the above modules can be implemented by software or hardware, and for the latter, the following implementation manners can be used, but are not limited thereto: the above modules are located in the same processor; or the above modules are located in different processors in any combination.

[0069] Embodiments of the present application also provide a computer readable storage medium, which stores a computer program, and the computer program is configured to execute the steps in any of the above method embodiments when running.

[0070] In an exemplary embodiment, the above computer readable storage medium can include, but is not limited to: a U disk, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and various media that can store computer programs.

[0071] Embodiments of the present application also provide an electronic device, which comprises a memory storing a computer program and a processor configured to execute the computer program to perform the steps in any of the above method embodiments.

[0072] In an exemplary embodiment, the above electronic device can further comprise a transmission device connected to the processor and an input / output device connected to the processor.

[0073] Embodiments of the present application also provide a computer program product including a computer program, which, when executed by a processor, implements the steps in any of the method embodiments described above.

[0074] The specific examples in the present embodiments can refer to the examples described in the above embodiments and exemplary embodiments, which will not be repeated here.

[0075] Obviously, those skilled in the art should understand that the modules or steps of the present application described above can be realized by universal computing devices, which can be concentrated on a single computing device or distributed on a network composed of multiple computing devices, which can be realized by program codes executable by the computing devices, so that they can be stored in storage devices and executed by the computing devices, and in some cases, the steps shown or described can be executed in different order, or they can be made into individual integrated circuit modules, or multiple modules or steps can be made into a single integrated circuit module. Thus, the present application is not limited to any specific combination of hardware and software.

[0076] The above only describes the preferred embodiments of the present application and is not intended to limit the present application. Those skilled in the art can make various modifications and changes to the present application. Any modification, equivalent replacement, improvement, etc. within the principles of the present application shall be included in the protection scope of the present application.

Claims

1. A method for generating a view, characterized in that: include: Determine a target project for data display, and determine a target display item for the target project; Determining a first display item included in the target display items and to be displayed directly, and a second display item that needs to be displayed upon receiving a target instruction; determining a target association relationship among the plurality of target display items, and adjusting a layout of the first display item and the second display item included in the plurality of target display items in a display interface according to an item type of the target item and the target association relationship, so as to obtain a target view for displaying the target item; Determining target associations among the plurality of target display items, and adjusting the layout of the first display item and the second display item included in the plurality of target display items in a display interface according to the item types of the target items and the target associations to obtain a target view for displaying the target items includes: if there are multiple target items, determining first associations among the plurality of target items according to the item types of the plurality of target items; The target association relationship is determined according to the first association relationship; and the layout of the first display items and the second display items included in the plurality of target display items in the display interface is adjusted according to the target association relationship to obtain the target view.

2. The method according to claim 1, characterized in that After determining the first display item to be directly displayed and the second display item to be displayed upon receiving the target instruction, the method further includes: The target parameters of the target display item are determined by: When the number of the first parameter of the target display item is 1, determining the first parameter as the target parameter; When the number of the first parameters of the target display item is greater than the predetermined number of the target parameters supported for display, determining a score of the first parameter according to a category of the first parameter and a generation time of the first parameter; The first parameters are sorted in descending order of the scores, and a first predetermined number of the first parameters are determined as the target parameters.

3. The method according to claim 2, characterized in that After sorting the first parameters in descending order of the scores and determining the first predetermined number of the first parameters as the target parameters, the method further includes: A predetermined parameter value corresponding to the target parameter is determined, and the predetermined parameter value is added to the target view.

4. The method according to claim 1, wherein Determining a target project for data display and determining a target display item for the target project includes: determining the target item according to the first information included in the received data display request; The target display item is determined according to item attribute information of the target item.

5. The method according to claim 1, wherein Determining a first display item included in the target display item to be directly displayed and a second display item that needs to be displayed upon receiving a target instruction includes: A target display item having a priority higher than or equal to a predetermined priority among the target display items is determined as the first display item, and a target display item having a priority lower than the predetermined priority is determined as the second display item.

6. A view generation device, characterized in that: include: A first determining module is used to determine a target project for data display and a target display item of the target project; a second determining module, configured to determine a first display item included in the target display items and to be displayed directly, and a second display item that needs to be displayed upon receiving a target instruction; a third determining module, configured to determine a target association relationship among the plurality of target display items, and adjust a layout of the first display item and the second display item included in the plurality of target display items in a display interface according to an item type of the target item and the target association relationship, so as to obtain a target view for displaying the target item; The third determination module includes: a fourth determination unit for determining, when there are multiple target items, a first association relationship among the multiple target items based on their item types; a fifth determination unit for determining the target association relationship based on the first association relationship; and an adjustment determination unit for adjusting the layout of the first display items and the second display items included in the multiple target display items in the display interface based on the target association relationship to obtain the target view.

7. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, wherein the computer program implements the steps of the method described in any one of claims 1 to 5 when executed by a processor.

8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 5 are implemented.

9. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.

Citation Information

Patent Citations

  • Display device of user-defined view

    CN106843844A

  • Information display method and device, electronic equipment and storage medium

    CN115511452A