Component management method and device, electronic equipment and computer readable storage medium
By obtaining component display requirements information in the banking business data indicator platform, analyzing and processing and evaluating the activity and timeliness of components and data, determining the target components and data sets, and generating data display components, solving the wasted computing resources in traditional component management The problem is to realize unified management and efficient management of components and data.
Patent Information
- Application Number
- CN202411419837.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-11
- Publication Date
- 2025-01-07
AI Technical Summary
In the data indicator platform for banking business, a large number of indicator query and aggregation analysis are required in the traditional component management process, resulting in wasted computing resources and it is difficult to effectively manage components.
By obtaining component display requirements information, analyzing and processing obtaining component type information and data requirements information, based on this information, the target components and data sets are determined from the preset dynamic component query pool and memory pool, and their activity and timeliness are evaluated. , generate data display components when conditions are met to achieve unified management of components and data.
Effectively prevent waste of computing resources, simplify component management processes, and improve management efficiency.
Smart Images

Figure CN119271312A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to, but are not limited to, the field of component management technology, and in particular, to a component management method, device, electronic device, and computer-readable storage medium. Background Art
[0002] At present, in the data analysis dashboard of the data indicator platform of banking business, there are many component displays in various formats, such as matrix reports, cross tables, bar charts, graphs and text controls, etc. Users can build indicators, data sets or self-service analysis according to their own business lines to perform various data displays and component combination displays. In the traditional dashboard component editing, previewing and publishing display, different users display different dashboard pages; in the process of resource pool management query, a large number of indicator queries are required, and aggregation and clustering analysis are repeated, which will easily cause a waste of computing resources and is not conducive to component management. Summary of the invention
[0003] The following is a summary of the subject matter described in detail herein. This summary is not intended to limit the scope of the claims.
[0004] In order to solve the problems mentioned in the above background technology, the embodiments of the present application provide a component management method, device, electronic device and computer-readable storage medium, which can realize unified management of components and data, effectively prevent unnecessary waste of computing resources, and facilitate component management.
[0005] In a first aspect, an embodiment of the present application provides a component management method, the method comprising:
[0006] Get component display requirement information;
[0007] Analyzing and processing the component display requirement information to obtain component type information and data requirement information;
[0008] Determine a target component from a preset dynamic component query pool according to the component type information, and determine a target data set from a preset memory pool according to the data demand information;
[0009] Performing detection processing on the activity evaluation value of the target component and the timeliness evaluation value of the target data set;
[0010] When both the activity evaluation value and the timeliness evaluation value satisfy preset display conditions, a data display component is generated according to the target component and the target data set.
[0011] According to some embodiments of the present application, the analyzing and processing the component display requirement information to obtain component type information and data requirement information includes:
[0012] Performing information splitting processing on the component display requirement information to obtain component tag information and data tag information;
[0013] The component type information is determined according to the component tag information, and the data requirement information is determined according to the data tag information.
[0014] According to some embodiments of the present application, a plurality of original components are provided in the dynamic component query pool, each of the original components carries component attribute information, and determining a target component from a preset dynamic component query pool according to the component type information includes:
[0015] Matching the component type information with the component attribute information;
[0016] The original component corresponding to the component attribute information matching the component type information is determined as the target component.
[0017] According to some embodiments of the present application, a plurality of original data sets are set in the memory pool, each of the original data sets carries data attribution information, and determining a target data set from a preset memory pool according to the data demand information includes:
[0018] Matching the data demand information with the data attribution information;
[0019] The original data set corresponding to the data attribution information matching the data demand information is determined as the target data set.
[0020] According to some embodiments of the present application, the detecting and processing of the activity evaluation value of the target component and the timeliness evaluation value of the target data set includes:
[0021] Determine, from a preset query engine, a query index corresponding to the target component and a data fact table corresponding to the target data set;
[0022] Performing detection processing on the query times of the query index, and determining the activity evaluation value of the target component according to the query times;
[0023] The data update time of the data fact table is detected and processed, and the timeliness evaluation value of the target data set is determined according to the data update time.
[0024] According to some embodiments of the present application, when both the activity evaluation value and the timeliness evaluation value meet preset display conditions, generating a data display component according to the target component and the target data set includes:
[0025] When the activity evaluation value of the target component is greater than a preset first evaluation value and the timeliness evaluation value of the target data set is less than a preset second evaluation value, determining a data conversion strategy according to the target component;
[0026] The target data set is formatted according to the data conversion strategy to obtain the data presentation component.
[0027] According to some embodiments of the present application, after the activity evaluation value of the target component and the timeliness evaluation value of the target data set are detected and processed, the method further includes:
[0028] When the activity evaluation value and / or the timeliness evaluation value do not meet the preset display condition, the target component is formatted and the target data set is updated.
[0029] In a second aspect, an embodiment of the present application further provides a component management device, the device comprising:
[0030] The first processing module is used to obtain component display requirement information;
[0031] A second processing module is used to analyze and process the component display requirement information to obtain component type information and data requirement information;
[0032] A third processing module is used to determine a target component from a preset dynamic component query pool according to the component type information, and to determine a target data set from a preset memory pool according to the data demand information;
[0033] A fourth processing module, used for detecting and processing the activity evaluation value of the target component and the timeliness evaluation value of the target data set;
[0034] The fifth processing module is used to generate a data display component according to the target component and the target data set when the activity evaluation value and the timeliness evaluation value both meet the preset display conditions.
[0035] In a third aspect, an embodiment of the present application further provides 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 component management method as described in the first aspect above is implemented.
[0036] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are used to execute the component management method as described in the first aspect above.
[0037] According to the component management method of the embodiment provided in the present application, there are at least the following beneficial effects: in the process of component management, first obtain component display requirement information; then analyze and process the component display requirement information to obtain component type information and data requirement information; then determine the target component from the preset dynamic component query pool according to the component type information, and determine the target data set from the preset memory pool according to the data requirement information; then detect and process the activity evaluation value of the target component and the timeliness evaluation value of the target data set; finally, when the activity evaluation value and the timeliness evaluation value both meet the preset display conditions, a data display component can be generated according to the target component and the target data set; through the above method, unified management of components and data can be achieved, unnecessary waste of computing resources can be prevented, and component management is facilitated. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] The accompanying drawings are used to provide further understanding of the technical solution of the present application and constitute a part of the specification. Together with the embodiments of the present application, they are used to explain the technical solution of the present application and do not constitute a limitation on the technical solution of the present application.
[0039] Figure 1 is a flowchart of a component management method provided by an embodiment of the present application;
[0040] Figure 2 is a specific flow chart of step S200 provided in one embodiment of the present application;
[0041] Figure 3 is a specific flow chart of step S300 provided in one embodiment of the present application;
[0042] Figure 4 is a specific flow chart of step S300 provided in another embodiment of the present application;
[0043] Figure 5 is a specific flow chart of step S400 provided in one embodiment of the present application;
[0044] Figure 6 is a specific flow chart of step S500 provided in one embodiment of the present application;
[0045] Figure 7 is a flowchart of a component management method provided by another embodiment of the present application;
[0046] Figure 8 is a schematic diagram of a component management device provided by an embodiment of the present application;
[0047] Fig. 9 It is a schematic diagram of an electronic device provided by an embodiment of the present application. DETAILED DESCRIPTION
[0048] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0049] It should be noted that although the functional modules are divided in the device schematic diagram and the logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than the module division in the device or the order in the flowchart. The terms "first", "second", etc. in the specification and claims and the above drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence.
[0050] It should be noted that, unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.
[0051] The embodiments of the present application can acquire and process relevant data based on artificial intelligence technology. Among them, artificial intelligence (AI) is the theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results.
[0052] AI is a new technical science that studies and develops theories, methods, technologies and application systems for simulating, extending and expanding human intelligence. Artificial intelligence is a branch of computer science. Artificial intelligence attempts to understand the essence of intelligence and produce a new intelligent machine that can respond in a similar way to human intelligence. Research in this field includes robots, language recognition, image recognition, natural language processing and expert systems. Artificial intelligence can simulate the information process of human consciousness and thinking. Artificial intelligence is also a theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results.
[0053] AI basic technologies generally include sensors, dedicated AI chips, cloud computing, distributed storage, big data processing technology, operation / interaction systems, mechatronics, etc. AI software technologies mainly include computer vision technology, robotics technology, biometrics technology, speech processing technology, natural language processing technology, and machine learning / deep learning.
[0054] Artificial intelligence is AI. AI is the theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results.
[0055] The servers involved in artificial intelligence technology can be independent servers or cloud servers that provide basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDN), as well as big data and artificial intelligence platforms.
[0056] The present application provides a component management method, device, electronic device and computer-readable storage medium. In the process of component management, component display requirement information is first obtained; then, the component display requirement information is analyzed and processed to obtain component type information and data requirement information; then, the target component is determined from a preset dynamic component query pool according to the component type information, and the target data set is determined from a preset memory pool according to the data requirement information; then, the activity evaluation value of the target component and the timeliness evaluation value of the target data set are detected and processed; finally, when the activity evaluation value and the timeliness evaluation value both meet the preset display conditions, a data display component can be generated according to the target component and the target data set; through the above method, unified management of components and data can be achieved, unnecessary waste of computing resources can be well prevented, and component management is facilitated.
[0057] The component management method provided in the embodiment of the present application relates to the field of financial technology technology. The component management method provided in the embodiment of the present application can be applied to the terminal, can also be applied to the server side, and can also be software running in the terminal or the server side. In some embodiments, the terminal can be a smart phone, a tablet computer, a laptop computer, a desktop computer, etc.; the server side can be configured as an independent physical server, or it can be configured as a server cluster or distributed system composed of multiple physical servers, and can also be configured as a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms; the software can be an application that implements the component management method, etc., but is not limited to the above forms.
[0058] The present application can be used in many general or special computer system environments or configurations. For example: personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments including any of the above systems or devices, etc. The present application can be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present application can also be practiced in distributed computing environments, in which tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules can be located in local and remote computer storage media including storage devices.
[0059] It should be noted that in each specific implementation of the present application, when it comes to the need to perform relevant processing based on data related to user identity or characteristics such as user information, user behavior data, user historical data, and user location information, the user's permission or consent will be obtained first, and the collection, use, and processing of these data will comply with relevant laws, regulations, and standards. In addition, when the embodiment of the present application needs to obtain the user's sensitive personal information, the user's separate permission or consent will be obtained through a pop-up window or by jumping to a confirmation page. After clearly obtaining the user's separate permission or consent, the necessary user-related data for the normal operation of the embodiment of the present application will be obtained.
[0060] The embodiments of the present application are further described below in conjunction with the accompanying drawings.
[0061] like Figure 1 As shown, Figure 1 It is a flowchart of a component management method provided by an embodiment of the present application. The component management method includes but is not limited to steps S100 to S600.
[0062] Step S100, obtaining component display requirement information;
[0063] Step S200, analyzing and processing the component display requirement information to obtain component type information and data requirement information;
[0064] Step S300, determining a target component from a preset dynamic component query pool according to component type information, and determining a target data set from a preset memory pool according to data demand information;
[0065] Step S400, detecting and processing the activity evaluation value of the target component and the timeliness evaluation value of the target data set;
[0066] Step S500: When both the activity evaluation value and the timeliness evaluation value satisfy the preset display conditions, a data display component is generated according to the target component and the target data set.
[0067] It should be noted that in the process of component management, the component display demand information is first obtained; then the component display demand information is analyzed and processed to obtain the component type information and data demand information; then the target component is determined from the preset dynamic component query pool according to the component type information, and the target data set is determined from the preset memory pool according to the data demand information; then the activity evaluation value of the target component and the timeliness evaluation value of the target data set are detected and processed; finally, when the activity evaluation value and the timeliness evaluation value both meet the preset display conditions, the data display component can be generated according to the target component and the target data set; through the above method, unified management of components and data can be achieved, unnecessary waste of computing resources can be prevented, and component management is conducive to.
[0068] It is worth noting that in the financial industry, in order to better display the data of various business systems in a centralized manner, the data indicator platform data analysis dashboard can often be used; in the data indicator platform data analysis dashboard, there are many component displays in various formats, such as determinant reports, cross tables, bar charts, graphs, text controls, etc. Users will perform various data displays and component combination displays based on the indicators, data sets or self-service analysis constructed by their own business lines; in the embodiment of the present application, in order to use the corresponding components to display the relevant data, therefore, the corresponding component display demand information can be generated.
[0069] It is worth noting that when the component display demand information is obtained, the component display demand information can be analyzed and processed to obtain the corresponding component type information and data demand information; among which, the component type information is used to characterize the type of component, and the data demand information is used to characterize the data required to be used in the component display process. Subsequently, the target component can be determined from the preset dynamic component query pool according to the component type information, and the target data set can be determined from the preset memory pool according to the data demand information; then the activity evaluation value of the target component and the timeliness evaluation value of the target data set can be detected and processed; finally, when the activity evaluation value and the timeliness evaluation value both meet the pre-set display conditions, the corresponding data display component will be generated according to the target component and the target data set to realize data display processing, and the entire component display process can be simpler and faster.
[0070] It should be noted that the dynamic component query pool usually refers to a thread pool component that can dynamically adjust parameters and manage. In Java backend development, thread pool is a commonly used concurrent tool for managing and reusing threads. However, improper configuration of thread pool parameters may lead to problems such as resource waste and slow system response. The dynamic component query pool can monitor the thread pool status in real time and dynamically adjust parameters according to the system load to optimize performance. The core functions of the dynamic thread pool include: Dynamic parameter adjustment: Dynamically adjust the core parameters of the thread pool at runtime, such as the number of core threads, the maximum number of threads, and the queue capacity. Monitoring and alarm: Real-time monitoring of the running status of the thread pool, such as the number of active threads, the size of the task queue, etc., and trigger an alarm when the threshold is reached. Integrated configuration center: Integrate with the configuration center to realize dynamic update and real-time effectiveness of the configuration. Historical parameter query: Ability to query the historical parameter configuration of the thread pool, which is convenient for problem tracking and performance analysis. Task management: Manage the execution of tasks in the thread pool, including execution time, execution results, etc. Cluster management: In a distributed system, it can manage multiple thread pool instances in a cluster in a unified manner. Lightweight and non-intrusive: When integrated into a project as a component, it does not invade existing code and is easy to use. Open source implementation: There are open source projects that provide implementations of dynamic thread pools, support the above functions, and provide a wealth of configuration items and extension interfaces. The advantage of using a dynamic component query pool is that it can respond to changes in system load more flexibly, reduce performance issues caused by improper configuration of thread pool parameters, and also facilitate the management of thread pools by development and operation and maintenance personnel. In an embodiment of the present application, a dynamic component query pool is used to store components.
[0071] It should be noted that the memory pool is a memory allocation method that allocates a fixed-size memory space in advance and divides it into multiple small blocks for on-demand allocation and release by the program. The significant advantage of this is that it avoids memory fragmentation as much as possible, which improves the efficiency of memory allocation. Memory pool technology is commonly used in the fields of computer vision and deep learning, especially in convolutional neural networks, to process input feature maps. Common pooling methods include maximum pooling and average pooling. When designing a memory pool, space needs to be reserved because it is impossible to predict how much memory space the program will need in the future. The construction of the storage data part of the memory pool needs to be planned, and the lengths of the memory blocks can be equal or unequal. The working principle of the memory pool includes the initialization phase, the allocation phase, the release phase, and the expansion phase. The advantages of the memory pool include reducing fragmentation, improving performance, and controlling resource consumption. The memory pool is not suitable for all scenarios. In some cases, such as the allocation requirements of large blocks of continuous memory or dynamically changing memory requirements, the use of the memory pool may not be appropriate. The memory pool technology pre-applies for a fixed-size memory as a memory pool, and then the application can allocate and release memory through this memory pool. Only when the memory pool size needs to be dynamically expanded, the system's memory allocation function needs to be called again. The memory pool can be a single-threaded memory pool and a multi-threaded memory pool, or a fixed memory pool and a variable memory pool. A fixed memory pool means that the size of the memory unit allocated from the memory pool each time has been determined in advance and is fixed; while the size of the memory unit allocated from the variable memory pool each time can be changed as needed. In an embodiment of the present application, the memory pool is used to store a data set.
[0072] It is worth noting that in the process of building and generating target components and target data sets, the activity evaluation value of the target components and the timeliness evaluation value of the target data sets need to be considered. Only when the activity evaluation value and the timeliness evaluation value meet the pre-set display conditions will the target components and target data sets be used to generate the corresponding data display components. The above technical solution makes the management and display of components simpler, faster and more reliable.
[0073] In some embodiments, Figure 2 As shown, the above step S200 may include but is not limited to steps S210 to S220.
[0074] Step S210, splitting the component display requirement information to obtain component tag information and data tag information;
[0075] Step S220, determining component type information according to the component tag information, and determining data requirement information according to the data tag information.
[0076] It should be noted that in the process of analyzing and processing the component display requirement information to obtain the component type information and the data requirement information, the component display requirement information is first split to obtain the component tag information and the data tag information; then, the component type information can be determined based on the component tag information, and the data requirement information can be determined based on the data tag information. Through the above technical solution, the determination of the component type information and the data requirement information can be more stable and reliable.
[0077] It is worth noting that by splitting the component display requirement information, multiple information blocks can be obtained, and then the component tag information and data tag information can be identified from the multiple information blocks. Subsequently, the component type information can be determined based on the component tag information, and the data requirement information can be determined based on the data tag information.
[0078] In some embodiments, Figure 3 As shown, a plurality of original components are provided in the dynamic component query pool, each original component carries component attribute information, and the above step S300 may include but is not limited to steps S310 to S320.
[0079] Step S310, matching component type information and component attribute information;
[0080] Step S320: determine the original component corresponding to the component attribute information matching the component type information as the target component.
[0081] It should be noted that in the process of determining the target component from a preset dynamic component query pool based on component type information, the component type information and component attribute information are first matched and processed, and then the original component corresponding to the component attribute information that matches the component type information can be determined as the corresponding target component; through the above technical solution, the determination of the target component can be more stable and accurate.
[0082] It is worth noting that by matching the component attribute information and component type information carried by the original component, the target component can be matched, making the target component selection process simpler and faster.
[0083] In some embodiments, Figure 4 As shown, a plurality of original data sets are set in the memory pool, each of which carries data ownership information, and the above step S300 may include but is not limited to steps S330 to S340.
[0084] Step S330, matching the data demand information and the data ownership information;
[0085] Step S340: determine the original data set corresponding to the data attribution information matching the data demand information as the target data set.
[0086] It should be noted that, in the process of determining the target data set from a preset memory pool based on data demand information, the data demand information and the data attribution information are first matched and processed, and then the original data set corresponding to the data attribution information matching the data demand information can be determined as the corresponding target data set; through the above technical solution, the determination of the target data set can be more stable and accurate.
[0087] It is worth noting that by matching the data attribution information and data demand information carried by the original data set, the target data set can be matched, making the process of selecting the target data set simpler and faster.
[0088] In some embodiments, Figure 5 As shown, the above step S400 may include but is not limited to step S410 to step S430.
[0089] Step S410, determining a query index corresponding to a target component and a data fact table corresponding to a target data set from a preset query engine;
[0090] Step S420, detecting and processing the query times of the query index, and determining the activity evaluation value of the target component according to the query times;
[0091] Step S430: Detect and process the data update time of the data fact table, and determine the timeliness evaluation value of the target data set according to the data update time.
[0092] It should be noted that in the process of detecting and processing the activity evaluation value of the target component and the timeliness evaluation value of the target data set, first, the query index corresponding to the target component and the data fact table corresponding to the target data set are determined from the pre-set query device; then the number of queries of the query index is detected and processed, and then the activity evaluation value of the target component is determined according to the number of queries; the data update time of the data fact table is detected and processed, and the timeliness evaluation value of the target data set can be determined according to the data update time, and then the activity evaluation value and the timeliness evaluation value can be judged and processed, so as to make the prerequisite preparation for the subsequent data display component generation.
[0093] It is worth noting that the main role of query indexes is to improve the performance of data queries. Here are a few key roles of query indexes: Speed up retrieval. Indexes can significantly reduce the time required for database queries because they allow the database engine to directly locate data instead of scanning the entire table. Reduce I / O costs. By using indexes, the database can reduce the disk I / O operations required to read data, which is one of the most expensive parts of database queries. Optimize sorting operations. If the index already stores the data in a specific order, then for queries that require sorting, the index can speed up the sorting process. Speed up grouping and aggregation operations. When performing grouping and aggregation operations, indexes can help the database access and process data faster. Reduce full table scans in queries. Without indexes, the database may need to perform full table scans to find data, which is very time-consuming in large tables. Indexes can avoid this because they allow the database to directly locate the relevant data rows. Support fast comparisons. Indexes can speed up equal value comparisons and range queries. Improve the uniqueness of data. Unique indexes ensure that each value in a column is unique, which helps maintain data integrity. Support compound queries. Compound indexes can speed up queries involving multiple columns, especially when these columns are often used together in search conditions. Improve the efficiency of the query optimizer. The database query optimizer can use indexes to generate more efficient query plans, thereby increasing the speed of query execution. Reduce the amount of data transmitted over the network. In a distributed database system, indexes can reduce the amount of data that needs to be transmitted over the network because data can be quickly filtered at the data source.
[0094] It is worth noting that the data fact table is a core table in the data warehouse that is used to store quantitative data related to business processes. This data usually represents operational measurements within the organization, such as sales, finance, user behavior, etc. Fact tables are often used in conjunction with dimension tables to support complex analytical queries and reports. Here are some key features of fact tables: Fact tables usually contain numeric data, such as amounts, quantities, times, etc., which are used to measure business activities. Fact tables are associated with dimension tables through foreign keys, and dimension tables provide context for analysis, such as time, location, product, customer, etc. Each record in a fact table usually has a timestamp indicating when the record was generated. Fact tables may contain pre-aggregated data to improve query performance. The granularity of a fact table can be transactional (each record represents a transaction) or a higher level of summary. The attributes in the dimension tables associated with the fact table may change over time, but the change rate is relatively slow.
[0095] In some embodiments, Figure 6 As shown, the above step S500 may include but is not limited to step S510 to step S520.
[0096] Step S510, when the activity evaluation value is greater than a preset first evaluation value and the timeliness evaluation value is less than a preset second evaluation value, determining a data conversion strategy according to the target component;
[0097] Step S520: Format the target data set according to the data conversion strategy to obtain a data display component.
[0098] It should be noted that, when both the activity evaluation value and the timeliness evaluation value meet the preset display conditions, in the process of generating the data display component according to the target component and the target data set, when the activity evaluation value is greater than the preset first evaluation value and the timeliness evaluation value is less than the preset second evaluation value, the data conversion strategy is determined according to the target component; then the target data set is formatted according to the data conversion strategy, and the corresponding data display component can be obtained. In the above manner, the generation process of the data display component can be simpler, faster and more reliable.
[0099] It is worth noting that the first evaluation value and the second evaluation value can be set according to actual conditions to meet different application scenarios, so that the generation of the data display component can be more flexible.
[0100] It should be noted that different target components correspond to different data conversion strategies. Therefore, the data conversion strategy can be determined according to the target component. Then, the target data set can be formatted according to the data conversion strategy to obtain the data display component, making the generation of the data display component easier.
[0101] In some embodiments, Figure 7 As shown, after executing step S400, step S440 may also be included but not limited to.
[0102] Step S440: When the activity evaluation value and / or the timeliness evaluation value do not meet the preset display condition, the target component is formatted and the target data set is updated.
[0103] It should be noted that after the activity evaluation value of the target component and the timeliness evaluation value of the target data set are detected and processed, if the activity evaluation value and / or the timeliness evaluation value do not meet the preset display conditions, the target component can be formatted and the target data set can be updated, thereby making prerequisite preparations for the subsequent generation of data display components.
[0104] In addition, if Figure 8 As shown, an embodiment of the present application further provides a component management device 10, comprising:
[0105] The first processing module 100 is used to obtain component display requirement information;
[0106] The second processing module 200 is used to analyze and process the component display requirement information to obtain component type information and data requirement information;
[0107] The third processing module 300 is used to determine the target component from the preset dynamic component query pool according to the component type information, and to determine the target data set from the preset memory pool according to the data demand information;
[0108] The fourth processing module 400 is used to detect and process the activity evaluation value of the target component and the timeliness evaluation value of the target data set;
[0109] The fifth processing module 500 is used to generate a data display component according to the target component and the target data set when both the activity evaluation value and the timeliness evaluation value meet the preset display conditions.
[0110] It should be noted that in the process of component management, the component display demand information is first obtained; then the component display demand information is analyzed and processed to obtain the component type information and data demand information; then the target component is determined from the preset dynamic component query pool according to the component type information, and the target data set is determined from the preset memory pool according to the data demand information; then the activity evaluation value of the target component and the timeliness evaluation value of the target data set are detected and processed; finally, when the activity evaluation value and the timeliness evaluation value both meet the preset display conditions, the data display component can be generated according to the target component and the target data set; through the above method, unified management of components and data can be achieved, unnecessary waste of computing resources can be prevented, and component management is conducive to.
[0111] The specific implementation of the component management device 10 is substantially the same as the specific implementation of the above-mentioned component management method, and will not be described in detail herein.
[0112] In addition, if Fig. 9 As shown, an embodiment of the present application further provides an electronic device 700 , which includes: a memory 720 , a processor 710 , and a computer program stored in the memory 720 and executable on the processor 710 .
[0113] The processor 710 and the memory 720 may be connected via a bus or in other ways.
[0114] The non-transitory software programs and instructions required to implement the component management methods of the above embodiments are stored in the memory 720 , and when executed by the processor 710 , the component management methods of the above embodiments are executed.
[0115] The device embodiments described above are merely illustrative, and the units described as separate components may or may not be physically separated, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0116] In addition, an embodiment of the present application also provides a computer-readable storage medium, which stores computer-executable instructions, and the computer-executable instructions are executed by a processor 710 or a controller, for example, by a processor 710 in the above-mentioned device embodiment, so that the above-mentioned processor 710 can execute the component management method in the above-mentioned embodiment.
[0117] The above embodiments may be used in combination, and modules with the same name in different embodiments may be the same or different.
[0118] The above describes specific embodiments of the present application, and other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily have to be performed in the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0119] Each embodiment in this application is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device, equipment, and computer-readable storage medium embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiments.
[0120] The apparatus, device, computer-readable storage medium and method provided in the embodiments of the present application correspond to each other. Therefore, the apparatus, device and non-volatile computer storage medium also have similar beneficial technical effects as the corresponding methods. Since the beneficial technical effects of the methods have been described in detail above, the beneficial technical effects of the corresponding apparatus, device and computer storage medium will not be repeated here.
[0121] In the 1990s, improvements to a technology could be clearly distinguished as hardware improvements (for example, improvements to the circuit structure of diodes, transistors, switches, etc.) or software improvements (improvements to the method flow). However, with the development of technology, many improvements to the method flow today can be regarded as direct improvements to the hardware circuit structure. Designers almost always obtain the corresponding hardware circuit structure by programming the improved method flow into the hardware circuit. Therefore, it cannot be said that an improvement in a method flow cannot be implemented using a hardware entity module. For example, a programmable logic device (PLD) (such as a field programmable gate array (FPGA)) is such an integrated circuit whose logical function is determined by the user's programming of the device. Designers can "integrate" a digital system on a PLD by programming it themselves, without having to ask a chip manufacturer to design and produce a dedicated integrated circuit chip. Moreover, nowadays, instead of manually making integrated circuit chips, this kind of programming is mostly implemented by "logic compiler" software, which is similar to the software compiler used when developing and writing programs, and the original code before compilation must also be written in a specific programming language, which is called hardware description language (HDL). There is not only one HDL, but many kinds, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, RHDL (Ruby Hardware Description Language), etc. The most commonly used ones are VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art should also know that it is only necessary to program the method flow slightly in the above-mentioned hardware description languages and program it into the integrated circuit, and then it is easy to obtain the hardware circuit that implements the logic method flow.
[0122] The controller can be implemented in any appropriate manner, for example, the controller can take the form of a microprocessor or processor and a computer-readable medium storing a computer-readable program code (such as software or firmware) that can be executed by the (micro)processor, a logic gate, a switch, an application-specific integrated circuit (ASIC), a programmable logic controller, and an embedded microcontroller. Examples of controllers include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320. The memory controller can also be implemented as part of the control logic of the memory. Those skilled in the art also know that in addition to implementing the controller in a purely computer-readable program code manner, the controller can be implemented in the form of a logic gate, a switch, an application-specific integrated circuit, a programmable logic controller, and an embedded microcontroller by logically programming the method steps. Therefore, this controller can be considered as a hardware component, and the devices included therein for implementing various functions can also be regarded as structures within the hardware component. Or even, the devices for implementing various functions can be regarded as both software modules for implementing the method and structures within the hardware component.
[0123] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
[0124] For the convenience of description, the above devices are described in terms of functions and are divided into various units. Of course, when implementing the embodiments of the present application, the functions of each unit can be implemented in the same or multiple software and / or hardware.
[0125] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the embodiments of the present application may adopt the form of complete hardware embodiments, complete software embodiments, or embodiments in combination with software and hardware. Moreover, the embodiments of the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.
[0126] This specification is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0127] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0128] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0129] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0130] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0131] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0132] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0133] In the embodiments of the present application, "at least one" refers to one or more, and "more than one" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent the existence of A alone, the existence of A and B at the same time, and the existence of B alone. Among them, A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following" and similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b and c can be represented by: a, b, c, a and b, a and c, b and c, or a and b and c, where a, b, c can be single or multiple.
[0134] Embodiments of the present application may be described in the general context of computer executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. Embodiments of the present application may also be practiced in distributed computing environments, where tasks are performed by remote processing devices connected via a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.
[0135] Each embodiment in this application is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0136] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.
Claims
1. A component management method, characterized in that: The method comprises: Get component display requirement information; Analyzing and processing the component display requirement information to obtain component type information and data requirement information; Determine a target component from a preset dynamic component query pool according to the component type information, and determine a target data set from a preset memory pool according to the data demand information; Performing detection processing on the activity evaluation value of the target component and the timeliness evaluation value of the target data set; When both the activity evaluation value and the timeliness evaluation value satisfy preset display conditions, a data display component is generated according to the target component and the target data set.
2. The component management method according to claim 1, characterized in that: The analyzing and processing of the component display requirement information to obtain component type information and data requirement information includes: Performing information splitting processing on the component display requirement information to obtain component tag information and data tag information; The component type information is determined according to the component tag information, and the data requirement information is determined according to the data tag information.
3. The component management method according to claim 1, characterized in that: The dynamic component query pool is provided with a plurality of original components, each of which carries component attribute information, and the target component is determined from the preset dynamic component query pool according to the component type information, including: Matching the component type information with the component attribute information; The original component corresponding to the component attribute information matching the component type information is determined as the target component.
4. The component management method according to claim 1, characterized in that: The memory pool is provided with a plurality of original data sets, each of which carries data attribution information, and the step of determining a target data set from a preset memory pool according to the data demand information includes: Matching the data demand information with the data attribution information; The original data set corresponding to the data attribution information matching the data demand information is determined as the target data set.
5. The component management method according to claim 1, characterized in that: The detecting and processing of the activity evaluation value of the target component and the timeliness evaluation value of the target data set includes: Determine, from a preset query engine, a query index corresponding to the target component and a data fact table corresponding to the target data set; Performing detection processing on the query times of the query index, and determining the activity evaluation value of the target component according to the query times; The data update time of the data fact table is detected and processed, and the timeliness evaluation value of the target data set is determined according to the data update time.
6. The component management method according to claim 1, characterized in that: When both the activity evaluation value and the timeliness evaluation value satisfy the preset display condition, generating a data display component according to the target component and the target data set includes: When the activity evaluation value is greater than a preset first evaluation value and the timeliness evaluation value is less than a preset second evaluation value, determining a data conversion strategy according to the target component; The target data set is formatted according to the data conversion strategy to obtain the data presentation component.
7. The component management method according to claim 1, characterized in that: After the activity evaluation value of the target component and the timeliness evaluation value of the target data set are detected, the method further includes: When the activity evaluation value and / or the timeliness evaluation value do not meet the preset display condition, the target component is formatted and the target data set is updated.
8. A component management device, characterized in that: include: The first processing module is used to obtain component display requirement information; A second processing module is used to analyze and process the component display requirement information to obtain component type information and data requirement information; A third processing module is used to determine a target component from a preset dynamic component query pool according to the component type information, and to determine a target data set from a preset memory pool according to the data demand information; A fourth processing module, used for detecting and processing the activity evaluation value of the target component and the timeliness evaluation value of the target data set; The fifth processing module is used to generate a data display component according to the target component and the target data set when the activity evaluation value and the timeliness evaluation value both meet the preset display conditions.
9. An electronic device, comprising: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the component management method according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium storing computer-executable instructions, characterized in that: The computer executable instructions are used to execute the component management method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Data visualization method and device, equipment and medium
CN114237564A
Data display method and device, terminal equipment and readable storage medium
CN117056352A