Data management method and device, computer equipment and storage medium

By obtaining and managing action point time data in the application business logic, the problem of inaccurate monitoring and management of program execution in the prior art is solved, and high-precision monitoring and management of business logic is achieved.

CN119537144APending Publication Date: 2025-02-28SHENZHEN SKYWORTH DISPLAY TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411615004.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-12
Publication Date
2025-02-28

AI Technical Summary

Technical Problem

The prior art is difficult to monitor or track a specific logic in a program, and lacks the adaptability of other platforms, so it is impossible to achieve accurate statistics and management of program execution time-consuming in business logic.

Method used

By obtaining the set of action points contained in the application's business logic, when the application executes to each action point, the time data of each action point is obtained and the time data is sent to the management service for management.

Benefits of technology

It realizes accurate statistics and management of the execution time-consuming of each program in the business logic, and improves the accuracy and adaptability of monitoring.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119537144A_ABST
    Figure CN119537144A_ABST
Patent Text Reader

Abstract

The embodiment of the invention relates to a data management method and device, computer equipment and a storage medium. The method comprises the steps that an action point set contained in service logic of an application program is acquired; when the application program executes each action point in the action point set, acquiring time data corresponding to each action point to obtain a plurality of pieces of time data; and sending the multiple pieces of time data to a management service corresponding to the application program so as to manage the multiple pieces of time data through the management service. Therefore, the time data of each action point can be obtained in the process of executing the business logic, the management of the time data is realized through the management service, and the accurate statistics and management of the execution time consumption of each section of program in the business logic are realized.
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 data management technology, and in particular to a data management method, apparatus, computer equipment, and storage medium. Background Art

[0002] Many operating systems currently include built-in program performance monitoring tools. For example, Windows includes Perfmon, a built-in performance monitoring tool that provides graphical real-time system performance monitoring, performance logging, and alert management. By adding performance counters, hundreds of metrics can be monitored for various objects, including CPU, memory, network, disk, and processes. However, this monitoring method is highly granular and can only monitor the performance of the program itself. It cannot monitor specific logic within the program or track specific program segments, and it lacks compatibility with other platforms.

[0003] In scenarios requiring higher monitoring accuracy, developers hope to monitor not only the overall performance of the program (for example, execution time), but also the execution of specific code logic within the program in detail to pinpoint performance bottlenecks or anomalies. Therefore, how to accurately count and manage the execution time of programs within business logic has become a pressing issue. Summary of the Invention

[0004] In view of this, in order to solve the above technical problems or part of the technical problems, embodiments of the present invention provide a data management method, apparatus, computer equipment and storage medium.

[0005] In a first aspect, an embodiment of the present invention provides a data management method, including:

[0006] Get the set of action points contained in the business logic of the application;

[0007] When the application program reaches each action point in the action point set, acquiring time data corresponding to each action point, thereby obtaining a plurality of time data;

[0008] The plurality of time data are sent to a management service corresponding to the application, so that the plurality of time data are managed by the management service.

[0009] In one possible implementation, the action point set includes: a starting action point, an intermediate action point, and an ending action point, and sending the plurality of time data to a management service corresponding to the application so as to manage the plurality of time data through the management service includes:

[0010] When obtaining the first time data corresponding to the starting action point and the second time data corresponding to the intermediate action point, sending the first time data and the second time data to the management service, so that the management service stores the first time data and the second time data in a memory of the management service;

[0011] When the third time data corresponding to the end action point is obtained, the third time data is sent to the management service, so that the management service sends the first time data, the second time data and the third time data to the target database.

[0012] In a possible implementation, when the application program executes to each action point in the action point set, obtaining time data corresponding to each action point includes:

[0013] Controlling the application to establish process communication with the management service;

[0014] After the process communication is established, the execution time of each action point is obtained in sequence according to the execution order of the action points in the business logic as the time data corresponding to the action point.

[0015] In a possible implementation, before obtaining the action point set included in the business logic of the application, the method further includes:

[0016] When a trigger operation for the business logic is received, obtaining a business type of the business logic;

[0017] Determine, according to the business type, a plurality of target programs and the number of points that need to be processed in the business logic;

[0018] When a dotting operation for the business logic is received, determining dotting positions of a plurality of the target programs according to the dotting quantity;

[0019] A dotting operation is performed according to the dotting positions to obtain the action point set.

[0020] In a possible implementation, determining the dot positions of the plurality of target programs according to the dot counts includes:

[0021] When the number of RBI points is less than the number of target programs, obtaining the RBI priority of each target program;

[0022] According to the order of the dotting priorities from high to low, dotting positions of the dotting quantity are determined from the plurality of target programs.

[0023] In a possible implementation manner, managing the plurality of time data through the management service includes:

[0024] Receiving an execution command sent by a terminal through the management service;

[0025] Acquire target time data from the target database according to the execution command;

[0026] Processing the target time data according to the execution command to obtain new target time data;

[0027] The new target time data is sent to the target database, so as to update the target database according to the new target time data.

[0028] In one possible implementation, the method further includes:

[0029] Acquire multiple historical time data corresponding to each of the action points;

[0030] Determining a time threshold corresponding to each of the action points based on the plurality of historical time data;

[0031] When the time data of any target action point is greater than the corresponding time threshold, reminder information is generated according to the target action point for reminder.

[0032] In a second aspect, an embodiment of the present invention provides a data management device, including:

[0033] A first acquisition module is used to acquire a set of action points included in the business logic of the application;

[0034] a second acquisition module, configured to acquire time data corresponding to each action point in the action point set when the application is executed, to obtain a plurality of time data;

[0035] The sending module is used to send the multiple time data to the management service corresponding to the application program, so as to manage the multiple time data through the management service.

[0036] In a third aspect, an embodiment of the present invention provides a computer device, comprising: a processor and a memory, wherein the processor is configured to execute a data management program stored in the memory to implement the data management method described in any one of the first aspects above.

[0037] In a fourth aspect, an embodiment of the present invention provides a storage medium, which stores one or more programs, and the one or more programs can be executed by one or more processors to implement the data management method described in any one of the first aspects above.

[0038] The data management solution provided by an embodiment of the present invention obtains a set of action points contained in the business logic of an application; when the application executes at each action point in the set, it obtains the time data corresponding to each action point, thereby obtaining multiple pieces of time data; and sends the multiple pieces of time data to the management service corresponding to the application, so that the multiple pieces of time data are managed by the management service. In this way, the time data of each action point can be obtained during the execution of the business logic, and the time data can be managed by the management service, thereby achieving accurate statistics and management of the execution time of each program segment in the business logic. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] Figure 1 A flowchart of a data management method provided by an embodiment of the present invention;

[0040] Figure 2 A flowchart of another data management method provided by an embodiment of the present invention;

[0041] Figure 3 A schematic structural diagram of a data management device provided by an embodiment of the present invention;

[0042] Figure 4 A schematic structural diagram of a computer device provided in an embodiment of the present invention;

[0043] Figure 5 A flowchart of another data management method provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0044] To make the objectives, technical solutions, and advantages of the embodiments of the present invention more clear, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts shall fall within the scope of protection of the present invention.

[0045] To facilitate understanding of the embodiments of the present invention, specific embodiments will be further explained below with reference to the accompanying drawings. The embodiments do not limit the embodiments of the present invention.

[0046] Figure 1 A flow chart of a data management method provided by an embodiment of the present invention is shown as follows: Figure 1 As shown, the method specifically includes:

[0047] S11. Obtain a set of action points included in the business logic of the application.

[0048] The data management method provided in an embodiment of the present invention is applied to computer devices, which may include but are not limited to: servers, desktop computers, tablet computers, PCs, mobile phones, smart home devices with central processing units (for example, smart TVs), vehicle-mounted systems, etc. Specifically, the time data of each action point included in the program can be obtained during the execution of a certain business logic by the computer device, and management operations such as storage and modification of the time data can be implemented through management services.

[0049] In this embodiment, the application can be an application in a computer device, and the business logic refers to the core code within the application that implements specific business functions, which usually includes various application rules, calculations, conditional judgments, etc., used to realize the core functions and value of the application.

[0050] The business logic can be pre-marked to obtain multiple action points. Specific marking methods may include: setting multiple action points at key locations or core functions of the business logic (for example, function entry, loop start, database query, etc.), each action point representing a specific location of program execution; or marking preset programs in the business logic (for example, programs in a certain format, or programs at a certain location in the business logic); or, program developers can select several locations in the business logic for marking based on monitoring needs. When the business logic needs to be executed, the multiple action points obtained by pre-marking are obtained as the action point set.

[0051] S12. When the application program reaches each action point in the action point set, the time data corresponding to each action point is obtained to obtain a plurality of time data.

[0052] In this embodiment, when executing business logic, a timestamp is collected at each action point in the execution sequence. By comparing these timestamps, the execution time of each action point or the time difference between action points can be obtained. If timestamps are recorded at both the start and end action points of the business logic, the total execution time of the business logic can be calculated. Therefore, the specific execution time of the program at each action point can be obtained as the time data for that action point, thereby obtaining multiple time data for the business logic.

[0053] S13. Send the multiple time data to the management service corresponding to the application program, so as to manage the multiple time data through the management service.

[0054] In this embodiment, a communication connection can be established between the application and the corresponding management service. Each time the application generates time data, it can send it to the management service via the communication connection. The management service can store the time data in local memory or in a database corresponding to the management service (e.g., a SQLite database). Furthermore, the management service can receive requests from the terminal for operations such as deletion, query, and modification of time data for business logic or a specific program segment.

[0055] The data management method provided by an embodiment of the present invention obtains a set of action points contained in the business logic of an application; when the application executes at each action point in the set, it obtains the time data corresponding to each action point, thereby obtaining multiple pieces of time data; and sends the multiple pieces of time data to the management service corresponding to the application, so that the multiple pieces of time data are managed by the management service. In this way, the time data of each action point can be obtained during the execution of the business logic, and the time data can be managed by the management service, thereby achieving accurate statistics and management of the execution time of each program segment in the business logic.

[0056] Figure 2 A flow chart of another data management method provided by an embodiment of the present invention is shown as follows: Figure 2 As shown, the method specifically includes:

[0057] S21. When a trigger operation for business logic is received, the business type of the business logic is obtained; based on the business type, multiple target programs and the number of dotting operations that need to be performed in the business logic are determined; when a dotting operation for business logic is received, the dotting positions of the multiple target programs are determined based on the number of dotting operations; the dotting operation is performed based on the dotting positions to obtain a set of action points.

[0058] In this embodiment, when the application receives a trigger operation from the developer to trigger a dot on the business logic, the business type of the business logic is first obtained. The business type may include but is not limited to: process-type business logic, which is used to define the steps, sequence and conditions of the business process; calculation-type business logic, which is used to process, calculate and transform data; verification-type business logic, which is used to check the correctness, integrity and legality of the data. Since different business types use different rules, judgment conditions, calculation formulas, functions, etc. in the business logic, the number of dot points required and the programs that need to be dotted are different. The minimum number of dot points and multiple target programs corresponding to the business logic of different business types are pre-set. The identifiers of the programs that need to be dotted for different business types can be pre-set, and the multiple target programs in the business logic are determined based on the identifiers, wherein the target program represents a certain section of the program in the business logic.

[0059] When it is necessary to start marking, if the number of markings is the same as the number of target programs, each target program can be marked. If the number of markings is greater than the number of target programs, each target program can be marked, and then the developer's target program selection operation can be received until the number of markings is reached. At the same time, the developer can also adjust the target programs and the number of markings that have been determined. When the number of markings is less than the number of target programs, the target programs with the number of markings can be randomly selected, or the target programs with the number of markings can be selected according to the execution order of the target programs. Among them, the target program can be set to include the starting point and end point of the business logic, that is, the action point set must include: starting action point, intermediate action point and end action point, so as to accurately obtain the execution time of each intermediate action point and the execution time of the entire business logic.

[0060] Furthermore, after determining multiple target programs based on the number of dot points, determine the dot point location of each target program (for example, the location after the target program is executed), and dot points are performed according to the dot point location. Each dot point location is an action point, and multiple action point sets are obtained.

[0061] In a possible implementation, determining the dot positions of the plurality of target programs according to the dot numbers further includes:

[0062] When the number of dotted points is less than the number of target programs, the dotted priority of each target program is obtained; and the dotted positions of the dotted points are determined from the multiple target programs according to the dotted priority order from high to low. The dotted priorities of different types of target programs can be pre-set (for example, the rule is greater than the judgment condition is greater than the calculation formula).

[0063] S22. Obtain a set of action points included in the business logic of the application.

[0064] In this embodiment, similar to step S11, please refer to Figure 1 For the sake of brevity, the relevant content will not be elaborated here.

[0065] S23. The control application establishes process communication with the management service. After the process communication is established, the execution time of each action point is obtained in sequence according to the execution order of the action points in the business logic as the time data corresponding to the action point.

[0066] In this embodiment, the application to be monitored establishes a process communication (binder communication) connection with the management service in advance. Based on the binder communication, the application can communicate with the management service through the client library and start executing the business logic. According to the execution order of the action points in the business logic, the execution time of the starting action point, the intermediate action point and the ending action point are obtained in sequence as the time data corresponding to the action points.

[0067] S24. When the first time data corresponding to the starting action point and the second time data corresponding to the intermediate action point are obtained, the first time data and the second time data are sent to the management service, so that the management service stores the first time data and the second time data in the memory of the management service.

[0068] In this embodiment, the application can send each time data obtained to the management service through binder communication to improve the efficiency and timeliness of transmitting time data. It can also obtain a preset number of time data and send them to the management service through binder communication to reduce the number of communications. After the first time data corresponding to the starting action point and the second time data corresponding to the intermediate action point are sent to the management service, the management service can first store the first time data and the second time data in the local memory.

[0069] S25. When the third time data corresponding to the end action point is obtained, the third time data is sent to the management service, so that the management service sends the first time data, the second time data, and the third time data to the target database.

[0070] In this embodiment, when the execution reaches the end action point, the third time data corresponding to the end action point is sent to the management service, and the management service then uniformly sends all the first time data, second time data and third time data to the target database (for example, a sqlite database) for storage, so as to realize unified storage of time data after the business logic is executed.

[0071] As an example, Figure 5 As shown, it is a flow chart of another data management method provided by an embodiment of the present invention, 1. The application creates a critical path corresponding to the business logic and obtains the operation handle of this business path; 2. The application executes to the starting point of the business logic, and transmits the time data of the starting action point to the management service through binder communication, and the management service caches the data in the memory; 3. The application executes to action point 1 of the business logic, and transmits the time data of action point 1 to the management service through binder communication, and the management service caches the data in the memory; 4. The application executes to action point 2 of the business logic, and transmits the time data of action point 2 to the management service through binder communication, and the management service caches the data in the memory; 5. The application executes to the end action point of the business logic, and transmits the time data of the end action point to the management service through binder communication, and the management service stores the time data generated by the execution process of this business logic in the SQLite database.

[0072] S26. Receive an execution command sent by the terminal through the management service; obtain target time data from the target database according to the execution command; process the target time data according to the execution command to obtain new target time data; send the new target time data to the target database to update the target database according to the new target time data.

[0073] In this embodiment, the terminal can communicate with the management service via a socket, providing the terminal's execution command. Based on the execution command, the management service can retrieve the time data to be processed and perform operations such as deletion and query on it, thereby obtaining new target time data. This new target time data is then sent to the target database to update the historical time data. This ensures real-time data synchronization, improving the accuracy and efficiency of user viewing and processing. The terminal can also export the data table corresponding to the time data for viewing.

[0074] In one possible implementation, multiple historical time data corresponding to each action point are obtained; the time threshold corresponding to each action point is determined based on the multiple historical time data; when the time data of any target action point is greater than the corresponding time threshold, a reminder message is generated based on the target action point for reminder. Specifically, for the business logic of the same business type, multiple historical time data are obtained for each corresponding action point of the same type during historical execution, that is, the historical execution time of each type of action point is obtained. The maximum value of the historical time data can be used as the time threshold of the corresponding action point, or the developer can pre-set the time threshold corresponding to each action point. When the time data of the target action point is greater than the corresponding time threshold, it means that the execution may take too long, and there may be a problem during the execution process. At this time, a reminder message is generated for the target action point and sent to the developer for reminder.

[0075] The data management method provided by the embodiment of the present invention counts the execution time of the program as time data by setting multiple action points in the program code of the business logic of the application, and at the same time establishes a communication connection between the application and the management service, so that after the application executes the corresponding code logic link, the relevant execution time data is sent to the management service for management and storage through the management service. This achieves that when monitoring the program of the business logic, a specific logic can be monitored, a certain program segment can be tracked, the granularity of the monitoring is refined, and the accuracy of the execution time monitoring is improved.

[0076] Figure 3 A structural diagram of a data management device provided by an embodiment of the present invention is shown in FIG. Figure 3 As shown, the device specifically includes:

[0077] A first acquisition module 31 is used to acquire a set of action points included in the business logic of the application;

[0078] A second acquisition module 32 is configured to acquire time data corresponding to each action point in the action point set when the application is executed, thereby obtaining a plurality of time data;

[0079] The sending module 33 is configured to send the plurality of time data to the management service corresponding to the application, so as to manage the plurality of time data through the management service.

[0080] In one possible implementation, the sending module is specifically configured to, upon acquiring the first time data corresponding to the starting action point and the second time data corresponding to the intermediate action point, send the first time data and the second time data to the management service, so that the management service stores the first time data and the second time data in a memory of the management service;

[0081] When the third time data corresponding to the end action point is obtained, the third time data is sent to the management service, so that the management service sends the first time data, the second time data and the third time data to the target database.

[0082] In a possible implementation, the second acquisition module is specifically configured to control the application to establish process communication with the management service;

[0083] After the process communication is established, the execution time of each action point is obtained in sequence according to the execution order of the action points in the business logic as the time data corresponding to the action point.

[0084] In a possible implementation, the processing module 34 is configured to obtain a business type of the business logic when a trigger operation for the business logic is received;

[0085] Determine, according to the business type, a plurality of target programs and the number of points that need to be processed in the business logic;

[0086] When a dotting operation for the business logic is received, determining dotting positions of a plurality of the target programs according to the dotting quantity;

[0087] A dotting operation is performed according to the dotting positions to obtain the action point set.

[0088] In a possible implementation, the processing module is specifically configured to obtain the RBI priority of each target program when the RBI number is less than the number of target programs;

[0089] According to the order of the dotting priorities from high to low, dotting positions of the dotting quantity are determined from the plurality of target programs.

[0090] In a possible implementation, the management module 35 is configured to receive an execution command sent by a terminal through the management service;

[0091] Acquire target time data from the target database according to the execution command;

[0092] Processing the target time data according to the execution command to obtain new target time data;

[0093] The new target time data is sent to the target database, so as to update the target database according to the new target time data.

[0094] In a possible implementation, the management module is further configured to obtain a plurality of historical time data corresponding to each of the action points;

[0095] Determining a time threshold corresponding to each of the action points based on the plurality of historical time data;

[0096] When the time data of any target action point is greater than the corresponding time threshold, reminder information is generated according to the target action point for reminder.

[0097] The data management device provided in this embodiment can be as follows Figure 3 The device shown in , can perform the following Figure 1-2 All steps of the data management method in Figure 1-2 For details on the technical effects of the data management method shown, please refer to Figure 1-2 For the sake of brevity, the relevant description will not be repeated here.

[0098] Figure 4 A schematic diagram of the structure of a computer device provided in an embodiment of the present invention is provided. Figure 4 The computer device 400 shown includes: at least one processor 401, memory 402, at least one network interface 404 and other user interfaces 403. The various components in the computer device 400 are coupled together via a bus system 405. It is understood that the bus system 405 is used to achieve connection and communication between these components. In addition to including a data bus, the bus system 405 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, the bus system 405 is not described in detail. Figure 4 Various buses are labeled as bus system 405 .

[0099] The user interface 403 may include a display, a keyboard, or a pointing device (eg, a mouse, a trackball, a touchpad, or a touch screen).

[0100] It is understood that the memory 402 in the embodiment of the present invention can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate synchronous DRAM (DDRSDRAM), enhanced synchronous DRAM (ESDRAM), synchronous link DRAM (SLDRAM), and direct RAM bus random access memory (DRRAM). The memory 402 described herein is intended to include, but is not limited to, these and any other suitable types of memory.

[0101] In some embodiments, the memory 402 stores the following elements, executable units or data structures, or a subset thereof, or an extended set thereof: an operating system 4021 and application programs 4022 .

[0102] The operating system 4021 includes various system programs, such as a framework layer, a core library layer, and a driver layer, for implementing various basic services and handling hardware-based tasks. Application programs 4022 include various application programs, such as a media player and a browser, for implementing various application services. Programs implementing the methods of the embodiments of the present invention may be included in application programs 4022.

[0103] In an embodiment of the present invention, by calling a program or instruction stored in the memory 402, specifically, a program or instruction stored in the application 4022, the processor 401 is configured to execute the method steps provided in each method embodiment, for example, including:

[0104] Get the set of action points contained in the business logic of the application;

[0105] When the application program reaches each action point in the action point set, acquiring time data corresponding to each action point, thereby obtaining a plurality of time data;

[0106] The plurality of time data are sent to a management service corresponding to the application, so that the plurality of time data are managed by the management service.

[0107] In one possible implementation, when the first time data corresponding to the starting action point and the second time data corresponding to the intermediate action point are obtained, the first time data and the second time data are sent to the management service, so that the management service stores the first time data and the second time data in a memory of the management service;

[0108] When the third time data corresponding to the end action point is obtained, the third time data is sent to the management service, so that the management service sends the first time data, the second time data and the third time data to the target database.

[0109] In one possible implementation, controlling the application to establish process communication with the management service;

[0110] After the process communication is established, the execution time of each action point is obtained in sequence according to the execution order of the action points in the business logic as the time data corresponding to the action point.

[0111] In one possible implementation, when a trigger operation for the business logic is received, obtaining a business type of the business logic;

[0112] Determine, according to the business type, a plurality of target programs and the number of points that need to be processed in the business logic;

[0113] When a dotting operation for the business logic is received, determining dotting positions of a plurality of the target programs according to the dotting quantity;

[0114] A dotting operation is performed according to the dotting positions to obtain the action point set.

[0115] In a possible implementation, when the number of RBI points is less than the number of target programs, obtaining the RBI priority of each target program;

[0116] According to the order of the dotting priorities from high to low, dotting positions of the dotting quantity are determined from the plurality of target programs.

[0117] In one possible implementation, receiving, via the management service, an execution command sent by the terminal;

[0118] Acquire target time data from the target database according to the execution command;

[0119] Processing the target time data according to the execution command to obtain new target time data;

[0120] The new target time data is sent to the target database, so as to update the target database according to the new target time data.

[0121] In one possible implementation, a plurality of historical time data corresponding to each of the action points is obtained;

[0122] Determining a time threshold corresponding to each of the action points based on the plurality of historical time data;

[0123] When the time data of any target action point is greater than the corresponding time threshold, reminder information is generated according to the target action point for reminder.

[0124] The methods disclosed in the above embodiments of the present invention can be applied to or implemented by processor 401. Processor 401 may be an integrated circuit chip with signal processing capabilities. During implementation, each step of the above method can be completed by hardware integrated logic circuits in processor 401 or by software instructions. The above processor 401 may be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. The methods, steps, and logic block diagrams disclosed in the embodiments of the present invention can be implemented or executed. The general-purpose processor may be a microprocessor or any conventional processor. The steps of the methods disclosed in conjunction with the embodiments of the present invention can be directly implemented and executed by a hardware decoding processor, or by a combination of hardware and software units in the decoding processor. The software units can be located in storage media well-known in the art, such as random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, etc. The storage medium is located in the memory 402 , and the processor 401 reads the information in the memory 402 and completes the steps of the above method in combination with its hardware.

[0125] It is understood that the embodiments described herein may be implemented using hardware, software, firmware, middleware, microcode, or a combination thereof. For hardware implementation, the processing unit may be implemented in one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), general-purpose processors, controllers, microcontrollers, microprocessors, other electronic units for performing the functions described herein, or a combination thereof.

[0126] For software implementation, the technology described herein can be implemented by a unit that performs the functions described herein. The software code can be stored in a memory and executed by a processor. The memory can be implemented in the processor or outside the processor.

[0127] The computer device provided in this embodiment may be Figure 4 The device shown in , can perform Figure 1-2 All steps of the data management method in Figure 1-2 For details on the technical effects of the data management method shown, please refer to Figure 1-2 For the sake of brevity, the relevant description will not be repeated here.

[0128] An embodiment of the present invention further provides a storage medium (computer-readable storage medium). The storage medium stores one or more programs. The storage medium may include volatile memory, such as random access memory; the memory may also include non-volatile memory, such as read-only memory, flash memory, hard disk, or solid-state drive; and the memory may also include a combination of the aforementioned types of memory.

[0129] When one or more programs in the storage medium can be executed by one or more processors, the above-mentioned data management method executed on the device side can be implemented.

[0130] The processor is configured to execute a data management program stored in the memory to implement the following steps of a data management method executed on the device side:

[0131] Get the set of action points contained in the business logic of the application;

[0132] When the application program reaches each action point in the action point set, acquiring time data corresponding to each action point, thereby obtaining a plurality of time data;

[0133] The plurality of time data are sent to a management service corresponding to the application, so that the plurality of time data are managed by the management service.

[0134] In one possible implementation, when the first time data corresponding to the starting action point and the second time data corresponding to the intermediate action point are obtained, the first time data and the second time data are sent to the management service, so that the management service stores the first time data and the second time data in a memory of the management service;

[0135] When the third time data corresponding to the end action point is obtained, the third time data is sent to the management service, so that the management service sends the first time data, the second time data and the third time data to the target database.

[0136] In one possible implementation, controlling the application to establish process communication with the management service;

[0137] After the process communication is established, the execution time of each action point is obtained in sequence according to the execution order of the action points in the business logic as the time data corresponding to the action point.

[0138] In one possible implementation, when a trigger operation for the business logic is received, obtaining a business type of the business logic;

[0139] Determine, according to the business type, a plurality of target programs and the number of points that need to be processed in the business logic;

[0140] When a dotting operation for the business logic is received, determining dotting positions of a plurality of the target programs according to the dotting quantity;

[0141] A dotting operation is performed according to the dotting positions to obtain the action point set.

[0142] In a possible implementation, when the number of RBI points is less than the number of target programs, obtaining the RBI priority of each target program;

[0143] According to the order of the dotting priorities from high to low, dotting positions of the dotting quantity are determined from the plurality of target programs.

[0144] In one possible implementation, receiving, via the management service, an execution command sent by the terminal;

[0145] Acquire target time data from the target database according to the execution command;

[0146] Processing the target time data according to the execution command to obtain new target time data;

[0147] The new target time data is sent to the target database, so as to update the target database according to the new target time data.

[0148] In one possible implementation, a plurality of historical time data corresponding to each of the action points is obtained;

[0149] Determining a time threshold corresponding to each of the action points based on the plurality of historical time data;

[0150] When the time data of any target action point is greater than the corresponding time threshold, reminder information is generated according to the target action point for reminder.

[0151] Professionals should also be further aware that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the above description has generally described the components and steps of each example according to their functions. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0152] The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein may be implemented using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

[0153] The specific implementation methods described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific implementation method of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. A data management method, characterized in that: include: Get the set of action points contained in the business logic of the application; When the application is executed to each action point in the action point set, the time data corresponding to each action point is obtained to obtain a plurality of the time data; The plurality of time data are sent to a management service corresponding to the application so that the plurality of time data are managed through the management service.

2. The method according to claim 1, characterized in that The action point set includes: a starting action point, an intermediate action point, and an ending action point, and the sending of the plurality of time data to a management service corresponding to the application so as to manage the plurality of time data through the management service includes: When the first time data corresponding to the starting action point and the second time data corresponding to the intermediate action point are obtained, the first time data and the second time data are sent to the management service, so that the management service stores the first time data and the second time data in the memory of the management service; When the third time data corresponding to the end action point is obtained, the third time data is sent to the management service, so that the management service sends the first time data, the second time data and the third time data to the target database.

3. The method according to claim 1, characterized in that When the application program is executed to each action point in the action point set, obtaining time data corresponding to each action point includes: Controlling the application to establish process communication with the management service; After the process communication is established, the execution time of each action point is obtained in turn according to the execution order of the action point in the business logic as the time data corresponding to the action point.

4. The method according to claim 1, characterized in that: Before obtaining the action point set included in the business logic of the application, the method further includes: When a trigger operation for the business logic is received, obtaining a business type of the business logic; Determine, according to the business type, a plurality of target programs and the number of points that need to be processed in the business logic; When a dotting operation for the business logic is received, determining dotting positions of a plurality of the target programs according to the dotting quantity; A dotting operation is performed according to the dotting positions to obtain the action point set.

5. The method according to claim 4, characterized in that The step of determining the dot positions of the plurality of target programs according to the dot numbers includes: When the number of RBIs is less than the number of target programs, obtaining the RBI priority of each target program; According to the order of the dotting priorities from high to low, dotting positions of the dotting quantity are determined from the plurality of target programs.

6. The method according to claim 2, characterized in that The managing of the plurality of time data through the management service includes: Receiving an execution command sent by a terminal through the management service; Acquire target time data from the target database according to the execution command; Processing the target time data according to the execution command to obtain new target time data; The new target time data is sent to the target database, so as to update the target database according to the new target time data.

7. The method according to claim 6, characterized in that The method further comprises: Acquire multiple historical time data corresponding to each of the action points; Determine a time threshold corresponding to each of the action points according to the plurality of historical time data; When the time data of any target action point is greater than the corresponding time threshold, reminder information is generated according to the target action point for reminder.

8. A data management device, characterized in that: include: A first acquisition module is used to acquire a set of action points included in the business logic of the application; A second acquisition module, configured to acquire time data corresponding to each action point in the action point set when the application is executed, so as to obtain a plurality of time data; The sending module is used to send the multiple time data to the management service corresponding to the application program, so as to manage the multiple time data through the management service.

9. A computer device, characterized in that: include: A processor and a memory, wherein the processor is used to execute a data management program stored in the memory to implement the data management method according to any one of claims 1 to 7.

10. A storage medium, characterized in that: The storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the data management method according to any one of claims 1 to 7.