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

By determining and adjusting the layout of the display items in the data display view, the problem of poor data display effect in the prior art is solved according to the type and association relationship of the display items, and better data display effect is achieved.

CN119883479AActive Publication Date: 2025-04-25CHINA CONSTRUCTION BANK
View PDF 5 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

The prior art lacks consideration of the correlation between display items when generating data display views, resulting in poor data display results.

Method used

By determining the target items and target display items and adjusting their layout in the interface according to the type and association of the display items, a target view for displaying the target items is generated.

Benefits of technology

It improves the data display effect and solves the problem of poor data display effect due to lack of correlation considerations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119883479A_ABST
    Figure CN119883479A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a view generation method and device, a storage medium, an electronic device and a program product, and the method comprises the steps: determining a target item to be subjected to data display, and determining a target display item of the target item; determining a first display item which is directly displayed in the target display item and a second display item which needs to be displayed under the condition that a target instruction is received; determining a 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 a display interface according to the item type of the target item and the target association relationship, the target view is used for displaying the target item. By means of the data display method and device, the problem that in the prior art, when the display view of the data is generated, consideration on the incidence relation between the display items in the view is lacked is solved, and then 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 invention relate to the field of communications, and in particular, to a method, device, storage medium, electronic device, and program product for generating a view. Background Art

[0002] In recent years, with the exponential growth of data volume, the demand for data access has become increasingly diversified. In the related art, when generating data display views, due to the lack of consideration of the association between display items in the view, it is impossible to dynamically adjust the layout and display method of the display items in the interface, resulting in poor data display effects. Summary of the invention

[0003] Embodiments of the present invention provide a method, device, storage medium, electronic device and program product for generating a view, so as to at least solve the problem in the related art of poor data display effect caused by a lack of consideration of the association relationship between display items in the view when generating a display view of data.

[0004] According to an embodiment of the present invention, a method for generating a view is provided, comprising: determining a target project to be displayed data, and determining a target display item of the target project; determining a first display item included in the target display item to be displayed directly, and a second display item to be displayed upon receiving a target instruction; determining a target association relationship among a plurality of the target display items, and adjusting the 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 an item type of the target project and the target association relationship, so as to obtain a target view for displaying the target project.

[0005] In an exemplary embodiment, after determining a first display item included in the target display item that is directly displayed and a second display item that needs to be displayed upon receiving a target instruction, the method further includes: determining a target parameter for display of the target display item in the following manner: when the number of first parameters of the target display item is 1, determining the first parameter as the target parameter; when the number of first parameters of the target display item is greater than a predetermined number of the target parameters that support display, determining a score of the first parameter according to a category of the first parameter and a generation time of the first parameter; and sorting the first parameters in order from high to low according to the score, and determining the first predetermined number of the first parameters as the target parameter.

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

[0007] In an exemplary embodiment, determining a target project for data display and determining a target display item of the target project includes: determining the target project according to first information included in a received data display request; and determining the target display item according to project attribute information of the target project.

[0008] In an exemplary embodiment, determining a first display item included in the target display items to be directly displayed and a second display item that needs to be displayed upon receiving a target instruction includes: determining a target display item among the target display items whose priority is higher than or equal to a predetermined priority as the first display item, and determining a target display item whose priority is lower than the predetermined priority as the second display item.

[0009] In an exemplary embodiment, determining a target association relationship among 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 an item type of the target item and the target association relationship to obtain a target view for displaying the target item includes: determining a first association relationship among the plurality of target items according to an item type of the plurality of target items when there are a plurality of target items; determining the target association relationship according to the first association relationship; 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 the target association relationship to obtain the target view.

[0010] According to another embodiment of the present invention, a view generation device is provided, comprising: a first determination module, used to determine a target project to be displayed data, and to determine a target display item of the target project; a second determination module, used to determine a first display item included in the target display item for direct display, and a second display item that needs to be displayed upon receiving a target instruction; and a third determination module, used to determine a target association relationship among a plurality of the target display items, and to adjust the 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 an item type of the target project and the target association relationship, so as to obtain a target view for displaying the target project.

[0011] According to yet another embodiment of the present invention, a computer-readable storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the steps of any one of the above method embodiments when run.

[0012] According to yet another embodiment of the present invention, there is provided an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.

[0013] According to yet another embodiment of the present invention, a computer program product is provided. The computer program product includes a computer program. When the computer program is executed by a processor, the steps in any one of the above method embodiments are implemented.

[0014] Through the present invention, since display items are divided into display items for direct display and display items for display based on instructions, and the layout of the display items in the target view is determined according to the types of display items and the association relationship between the display items, it is possible to solve the problem in the related art that the data display effect is poor due to the lack of consideration of the association relationship between the display items in the view when generating the display view of the data, thereby improving the data display effect. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] Figure 1 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;

[0016] Figure 2 The flow chart of the method for generating a view according to an embodiment of the present invention is as follows: Figure 1 ;

[0017] Figure 3 is a schematic diagram of a method for determining a target display item according to an embodiment of the present invention;

[0018] Figure 4 is a schematic diagram of generating a non-functional test cross-sectional view according to an embodiment of the present invention;

[0019] Figure 5 The flow chart of the method for generating a view according to an embodiment of the present invention is as follows: Figure 2 ;

[0020] Figure 6 is a structural block diagram of a view generating apparatus according to an embodiment of the present invention. DETAILED DESCRIPTION

[0021] Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings and in combination with the embodiments.

[0022] It should be noted that the terms "first", "second", etc. in the specification 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 is a hardware structure block diagram of a mobile terminal according to a method for generating a view in an embodiment of the present invention. Figure 1 As shown, the mobile terminal may include one or more ( Figure 1 Only one is shown in the figure) a processor 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, wherein the mobile terminal may also include a transmission device 106 and an input / output device 108 for communication functions. It can 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 as shown, or with Figure 1 Different configurations are 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 method for generating a view in the embodiment of the present invention. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, to implement the above method. The memory 104 may include a high-speed random access memory, and may also include a 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 a memory remotely arranged 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 a combination thereof.

[0025] The transmission device 106 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0026] In this embodiment, a method for generating a view running on the above mobile terminal is provided. Figure 2 The flow chart of the method for generating a view according to an embodiment of the present invention is as follows: Figure 1 ,like Figure 2 As shown, the process includes the following steps:

[0027] Step S202, determining a target project for data display, and determining a target display item for the target project;

[0028] Step S204, determining a first display item included in the target display item that is to be displayed directly, and a second display item that needs to be displayed upon receiving a target instruction;

[0029] Step S206: 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 the item type of the target item and the target association relationship, so as to obtain a target view for displaying the target item.

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

[0031] The execution subject of the above steps may be a terminal device capable of running a data processing program, etc., but is not limited thereto.

[0032] In an optional embodiment, after determining the first display item included in the target display item that is directly displayed and the second display item that needs to be displayed upon receiving a target instruction, the method further includes: determining a target parameter for display of the target display item in the following manner: when the number of the first parameters 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 a predetermined number of the target parameters that support display, determining a score of the first parameter according to a category of the first parameter and a generation time of the first parameter; and sorting the first parameters in descending order according to the score, and determining the first predetermined number of the first parameters as the target parameter.

[0033] In the above steps, by determining the score of the parameter according to the type of the parameter and the generation time of the first parameter, and determining the displayed parameter according to the score, it is ensured that more important parameters are displayed first, thereby improving the effectiveness of parameter display.

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

[0035] In the above steps, the predetermined parameter value can be pre-set and adjusted in combination with 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, etc.

[0036] In the above steps, 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 target parameter value and the predetermined parameter value, thereby enhancing the intuitiveness of data understanding and improving the user experience.

[0037] In an optional embodiment, determining a target project for data display and determining a target display item of the target project includes: determining the target project according to first information included in a received data display request; and determining the target display item according to project attribute information of the target project.

[0038] In the above steps, exemplarily, the first information includes but is not limited to: the name of the target project, the type of the target project, the business attributes reflected by the target project, other information that can be used to determine the target project, etc. The project attribute information includes but is not limited to: project cycle, project category, project active time, etc. Determining the target display item based on the project attribute information of the target project includes but is not limited to: determining the parameters that can reflect the project performance in the target project as the target display item. Determining the target project based on the first information included in the received data display request includes but is not limited to: identifying the target project requested for display included in the first information, for example, 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. Exemplarily, when the first information is "displaying the stability data of the system in the past year", and there are three system versions used in the past year, the project reflecting the stability of the system in each system version is automatically determined as the target project.

[0039] In an optional embodiment, determining a first display item included in the target display items that is directly displayed, and a second display item that needs to be displayed upon receiving a target instruction includes: determining a target display item among the target display items whose priority is higher than or equal to a predetermined priority as the first display item, and determining a target display item whose priority is lower than the predetermined priority as the second display item.

[0040] In an optional embodiment, determining a target association relationship among a plurality of the target display items, and adjusting 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 an item type of the target item and the target association relationship to obtain a target view for displaying the target item includes: determining a first association relationship among the plurality of target items according to an item type of the plurality of target items when there are a plurality of target items; determining the target association relationship according to the first association relationship; and adjusting 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 the target association relationship to obtain the target view.

[0041] In the above steps, exemplarily, determining the target association relationship according to the first association relationship includes but is not limited to: method one, when there is no associated target project among multiple target projects, determining the display areas of multiple target projects in the target view according to the priorities of the multiple target projects, wherein the display areas of each target project do not overlap; for each target project, determining the association relationship between the corresponding multiple display items, and determining the layout within the display area of ​​each target project according to the association relationship and the priority of the display item; method two, when there is an associated target project among multiple target projects, determining the associated display items between the target projects and determining the overlapping display areas of the target projects; determining the display areas of the remaining target projects in the target view according to the priorities of the remaining target projects.

[0042] Exemplarily, application scenarios of the above data display method include, but are not limited to: scenario-related performance testing, transaction-related performance testing, job-related performance testing, etc. Figure 3 is a schematic diagram of a method for determining a target display item according to an embodiment of the present invention. Figure 3As shown, determining the target project to be displayed data and determining the target display item of the target project includes but is not limited to: determining the business object to be displayed data and selecting the case of the business object to be displayed to determine the target project; screening the target display items of the target project; determining the design principle of the target display item in the target view; determining whether to perform data comparison according to the comparison principle and determining the comparison data if comparison is required; determining the layout of the target display item based on the design principle and the comparison data to obtain the target view.

[0043] Exemplarily, the business objects include but are not limited to: non-functional test objects, such as non-functional test scenarios, all transactions covered in the test, and all batch jobs covered in the test, etc. The cases include but are not limited to: cases related to performance testing, such as single transaction benchmark test, single transaction load test, mixed capacity test, batch processing capacity test, etc. The indicators are screened according to the content of interest of testers and operation and maintenance personnel. The indicators include but are not limited to: the average processing time of a single transaction in the application system, the maximum processing capacity of the system, the proportion of each transaction in the test scenario, the data volume of a single batch processing job, the processing time of the batch processing job, and the efficiency of batch processing, etc. The design principles include but are not limited to: data acquisition principles, data display principles, data comparison principles, etc. Exemplarily, for each version of the test task, the performance-related results are displayed, for each of the multiple gradients of the mixed capacity test, only the optimal capacity group data is displayed, and for multiple mixed capacity test results, they are displayed separately. Exemplarily, the production average processing time for comparison includes but is not limited to: the production average value of 15 days before the submission time of the test plan. The comparison rules include, but are not limited to: comparing the average processing time of a single transaction, comparing TPS test results and test indicators, comparing the average transaction processing capacity and TPS test results in mixed scenarios, comparing transaction proportion test results and test indicators, comparing batch job test results and test indicators, comparing production operation and maintenance data (for example, comparing the average transaction processing time test results with the average production processing time, comparing the optimal capacity processing capacity test results with the production peak TPS, comparing the test result proportion with the actual production business proportion), etc. The display method of the comparison results includes, but is not limited to: multi-dimensional comparison in different data formats (for example, numerical values, percentages), graphical display methods (for example, using different colors and different arrow directions to display the test results and production data comparison results respectively), etc.

[0044] Figure 4 is a schematic diagram of generating a non-functional test cross-sectional view according to an embodiment of the present invention, such as Figure 4As shown, the non-functional test section view takes the physical subsystem as the perspective and the most recent production point as the section, extending all historical test data. The generation of the non-functional test section view includes: designing the 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: scenario view, transaction view, job view, deployment unit view, and multi-active disaster recovery view. The overall view divides the view according to different non-functional test objects. The overall view is generated according to the physical subsystem dimension, supports the switching of physical subsystems at any time, and the rapid generation of corresponding section views, and supports the rapid viewing of the latest non-functional requirement assessment form and non-functional test task details of the physical subsystem. Drilling historical data includes drilling from the key fields of the overall view page. The historical data that can be drilled includes but is not limited to: historical deliverable details of non-functional tests, historical data of test indicators or test results, and change trend charts, detailed non-functional test case results, and system bottlenecks, etc. According to user needs, the drilling of historical data in the section view includes field drilling and layered drilling. Table 1 is a table of drill-down rules. Exemplarily, the hierarchical drill-down rules include but are not limited to: drilling through key fields in the primary view to enter the secondary view, and in the secondary view, drilling through key fields to enter the tertiary view, and so on.

[0045] Table 1

[0046]

[0047]

[0048] In the automatic generation of cross-sectional views, the data display principle and data calculation principle are the core parts. The cross-sectional data of each non-functional test object needs to display the test results of its associated non-functional test characteristics, among which the non-functional characteristics involved in the scenario include but are not limited to: mixed capacity, stability, and extreme recoverability, etc.; 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, etc.; the non-functional characteristics involved in the job include but are not limited to: batch efficiency, batch high availability cases, etc.; the non-functional characteristics involved in the deployment unit include but are not limited to: mixed capacity, stability, extreme recoverability, etc.

[0049] The key indicator selection principles, display principles, historical data change trend display rules and test result calculation principles in the cross-section view are shown in Table 2, where the calculation method of the number of transactions per second (tps) of each CPU depends on the deployment mode of the deployment unit. For example, in cluster mode, the tps of each CPU = optimal capacity tps / the sum of the number of CPUs in all nodes, and in active-standby mode, the tps of each CPU = optimal capacity tps / the number of CPUs in the master node.

[0050] Table 2

[0051]

[0052]

[0053] When maintaining configuration items, you first need to define the content of the configuration items, then define the configuration scope, and then formulate multiple configuration rules based on the data display rules and calculation rules of the overview view and section view, and initialize the configuration items. Finally, perform online dynamic maintenance on the configuration rules when there are changes.

[0054] The following is an exemplary description of the solution in this application in conjunction with the view generation scenario of non-functional test data:

[0055] Figure 5 The flow chart of the method for generating a view according to an embodiment of the present invention is as follows: Figure 2 ,like Figure 2 As shown, the process includes the following steps:

[0056] Step S502: After each application version is put into production, non-functional test assets are stored in the warehouse, wherein the non-functional test assets include non-functional requirement assessment sheets, non-functional test solution cases, and non-functional test reports;

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

[0058] Step S506: According to the requirements of different views, data processing is performed on the non-functional structured assets that have been stored in the library, and the assets are stored in database tables corresponding to different views.

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

[0060] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, 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, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention.

[0061] In this embodiment, a view generation device is also provided, which is used to implement the above embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware of a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.

[0062] Figure 6 is a structural block diagram of a view generation device according to an embodiment of the present invention, such as Figure 6 As shown, the device includes: a first determination module 62, which is used to determine a target project to be displayed data, and determine a target display item of the target project; a second determination module 64, which is used to determine a first display item included in the target display item for direct display, and a second display item that needs to be displayed upon receiving a target instruction; a third determination module 66, which is used to determine a target association relationship among a plurality of the target display items, and adjust the layout of the first display item and the second display item included in the plurality of the target display items in the display interface according to the project type of the target project and the target association relationship, so as to obtain a target view for displaying the target project.

[0063] In an optional embodiment, the device further includes: a fourth determining module, configured to, after determining the first display item included in the target display item and being directly displayed, and the second display item that needs to be displayed upon receiving a target instruction, determine the target parameter for display of the target display item in the following manner: when the number of the first parameters of the target display item is 1, determine the first parameter as the target parameter; when the number of the first parameters of the target display item is greater than a predetermined number of the target parameters supporting display, determine a score of the first parameter according to a category of the first parameter and a generation time of the first parameter; sort the first parameters in descending order according to the score, and determine the first predetermined number of the first parameters as the target parameter.

[0064] In an optional embodiment, the device also includes: a fifth determination module, which is used to sort the first parameters in order from high to low according to the scores, and after determining the first predetermined number of the first parameters as the target parameters, determine the predetermined parameter value corresponding to the target parameter, and add the predetermined parameter value to the target view.

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

[0066] In an optional embodiment, the second determination module 64 includes: a third determination unit, configured to determine a target display item whose priority among the target display items is higher than or equal to a predetermined priority as the first display item, and determine a target display item whose priority is lower than the predetermined priority as the second display item.

[0067] In an optional embodiment, the third determination module 66 includes: a fourth determination unit, used to determine the first association relationship among the multiple target items according to the project types of the multiple target items when there are multiple target items; a fifth determination unit, used to determine the target association relationship according to the first association relationship; and an adjustment determination unit, used to adjust the layout of the first display items and the second display items included in the multiple target display items in the display interface 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. For the latter, it can be implemented in the following ways, but not limited to: the above modules are all located in the same processor; or the above modules are located in different processors in any combination.

[0069] An embodiment of the present invention further provides a computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above method embodiments when running.

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

[0071] An embodiment of the present invention further provides an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.

[0072] In an exemplary embodiment, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.

[0073] An embodiment of the present invention further provides a computer program product, the computer program product comprising a computer program, and when the computer program is executed by a processor, the steps in any one of the above method embodiments are implemented.

[0074] For specific examples in this embodiment, reference may be made to the examples described in the above embodiments and exemplary implementation modes, and this embodiment will not be described in detail herein.

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

[0076] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the principle of the present invention shall be included in the protection scope of the present invention.

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; Determine a first display item included in the target display item that is to be displayed directly, and a second display item that needs to be displayed upon receiving a target instruction; 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.

2. The method according to claim 1, characterized in that After determining the first display item included in the target display item and the second display item that needs to be displayed upon receiving the target instruction, the method further includes: The target parameters for 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 supporting display, determining the score of the first parameter according to the category of the first parameter and the generation time of the first parameter; The first parameters are sorted in order from high to low according to 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 order from high to low according to 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, characterized in that: Determining a target project to be displayed data, and determining a target display item of the target project includes: Determine the target item according to the first information included in the received data display request; The target display item is determined according to the item attribute information of the target item.

5. The method according to claim 1, characterized in that Determining a first display item included in the target display item that is to be displayed directly, and a second display item that needs to be displayed upon receiving a target instruction includes: A target display item whose priority is 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 whose priority is lower than the predetermined priority is determined as the second display item.

6. The method according to claim 1, characterized in that Determining a target association relationship 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 type of the target item and the target association relationship to obtain a target view for displaying the target item includes: In the case where there are multiple target projects, determining a first association relationship between the multiple target projects according to project types of the multiple target projects; Determine the target association relationship according to the first association relationship; 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 target association relationship to obtain the target view.

7. A view generation device, characterized in that: include: A first determination module is used to determine a target project to be displayed data, and to determine a target display item of the target project; A second determining module, configured to determine a first display item included in the target display item that is 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.

8. 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 6 when executed by a processor.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method described in any one of claims 1 to 6 are implemented.

10. 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 described in any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Display device of user-defined view

    CN106843844A

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

    CN115511452A

  • Data analysis method and device

    CN115544311A

  • Page generation method and device, page display method and device, equipment and storage medium

    CN117950626A

  • Project management method and system

    US20070150327A1