Monitoring data acquisition method and device, electronic equipment, medium and product

Through the call of user-configured target expressions and preset interfaces, the monitoring data of securities company asset management products is automatically calculated, solving the problem of inefficient acquisition of monitoring data and achieving an efficient and automated data acquisition process.

CN120235701APending Publication Date: 2025-07-01CSC FINANCIAL CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510297868.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-13
Publication Date
2025-07-01

AI Technical Summary

Technical Problem

When managing asset management products, it is difficult for securities companies to improve the degree of automation of obtaining monitoring data, resulting in inefficiency.

Method used

The user's target expression is obtained through the configuration page. This expression consists of an arithmetic operator and the identification of the specified asset. The expression is parsed to determine the operation method, the preset interface is called to obtain the statistical value of the specified asset, and the monitoring data is obtained using the arithmetic operator.

Benefits of technology

Automatic calculation and monitoring data are realized, the efficiency of obtaining monitoring data is improved, and the need for manual development and configuration is reduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120235701A_ABST
    Figure CN120235701A_ABST
Patent Text Reader

Abstract

The invention provides a monitoring data acquisition method and device, electronic equipment, a medium and a product, and relates to the technical field of data management. The method comprises the steps of obtaining a target expression in response to a configuration operation; the target expression is a combination of an arithmetic operator and a specified asset identifier; determining a specified product aiming at the target expression; analyzing the target expression to obtain an analysis result; the arrangement sequence of the specified asset identifiers and the arithmetic operators in the analysis result represents an operation mode; calling an acquisition function of each specified asset identifier in the analysis result through a preset calling interface to obtain a statistical value of each specified asset identifier; an acquisition function of each supported asset identifier is pre-registered in the preset calling interface; the acquisition function is used for acquiring position data of assets and calculating a statistical value based on the position data; and on the basis of the arrangement sequence, calculating each statistical value by utilizing an arithmetic operator in the analysis result to obtain monitoring data of the specified product. The efficiency of acquiring the monitoring data can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data management, and particularly to a method, device, electronic device, medium and product for obtaining monitoring data. Background Art

[0002] Securities companies need to pay attention to whether the asset management products they manage comply with relevant constraint rules such as product contracts, company regulations, and market supervision requirements, etc., to ensure the compliance and stable operation of asset management products. For example, for a fund asset management product, the constraint rule can be that the fixed-income assets of the product are not less than 20% of the total assets of the product, and the proportion of the fixed-income assets of the product in the total assets of the product is the data to be monitored.

[0003] However, in the face of a large number of asset management products, how to improve the automation degree of obtaining monitoring data and thus improve the efficiency of obtaining monitoring data is an urgent problem to be solved. Summary of the Invention

[0004] The purpose of the embodiments of the present invention is to provide a method, device, electronic device, medium and product for obtaining monitoring data to improve the efficiency of obtaining monitoring data. The specific technical solutions are as follows:

[0005] In a first aspect, the embodiments of the present invention provide a method for obtaining monitoring data, the method including:

[0006] Responding to a configuration operation of a user on a configuration page, obtaining a target expression for calculating monitoring data indicated by the configuration operation; wherein, the target expression is a combination of arithmetic operators and specified asset identifiers of various specified assets;

[0007] Determining a specified product targeted by the target expression;

[0008] Parsing the target expression to obtain a parsing result including each specified asset identifier and arithmetic operator; wherein, in the parsing result, the arrangement order of each specified asset identifier and arithmetic operator represents the operation mode of the target expression;

[0009] Through a preset call interface, calling acquisition functions corresponding to each specified asset identifier in the parsing result to obtain statistical values of a specified asset represented by each specified asset identifier belonging to the specified product for a specified dimension;

[0010] Wherein, acquisition functions corresponding to asset identifiers of each supported asset are pre-registered in the preset call interface; the acquisition function corresponding to each asset identifier is used to obtain the position-holding data of the asset represented by the asset identifier, and calculate the statistical value of this type of asset for a specified dimension based on the obtained position-holding data;

[0011] Based on the above arrangement order, using the arithmetic operators in the parsing result, calculate the obtained statistical values to obtain the monitoring data of the specified product.

[0012] Optionally, the target expression further includes: a sub-asset identifier corresponding to a first type of specified asset identifier; the sub-asset identifier corresponding to the first type of specified asset identifier indicates: the sub-assets included in the specified asset represented by the first type of specified asset identifier.

[0013] The position-holding data of the specified asset represented by each specified asset identifier is obtained through the following method:

[0014] For each first type of specified asset identifier, in the position-holding data of the specified product, obtain the position-holding data of the sub-assets represented by the sub-asset identifier corresponding to the first type of specified asset identifier in the target expression, and based on the obtained position-holding data of the sub-assets, obtain the position-holding data of the specified asset represented by the first type of specified asset identifier.

[0015] For each second type of specified asset identifier, in the position-holding data of the specified product, obtain the position-holding data of the specified asset represented by the second type of specified asset identifier; wherein, the second type of specified asset identifier is the specified asset identifier other than the first type of specified asset identifier in the parsing result.

[0016] Optionally, for any first type of specified asset identifier, the target expression further includes: a logical operator between the multiple sub-asset identifiers corresponding to the first type of specified asset identifier.

[0017] The parsing result further includes: a logical operator between the multiple sub-asset identifiers corresponding to any first type of specified asset identifier; in the parsing result, the arrangement order of each specified asset identifier, arithmetic operator, each sub-asset identifier, and logical operator represents the operation method of the target expression.

[0018] The obtaining the position-holding data of the specified asset represented by the first type of specified asset identifier based on the obtained position-holding data of the sub-assets includes:

[0019] Based on the obtained position-holding data of the sub-assets, perform a logical operation according to the logical operator between the multiple sub-asset identifiers corresponding to the first type of specified asset identifier recorded in the parsing result to obtain the position-holding data of the specified asset represented by the first type of specified asset identifier.

[0020] And / or

[0021] The method further includes:

[0022] For each sub-asset identifier corresponding to the first type of designated asset identifier, if there is no position data of the sub-asset represented by the sub-asset identifier in the position data of the designated product, then display on the display page the result indicating the non-existence of the position data of the sub-asset;

[0023] and / or

[0024] The method further includes:

[0025] After obtaining the statistical value of each designated asset represented by each designated asset identifier belonging to the designated product for a designated dimension, for each sub-asset identifier corresponding to each first type of designated asset identifier, if there is position data of the sub-asset represented by the sub-asset identifier in the position data of the designated product, then display a prompt message on the display page; wherein, the prompt message is used to indicate that the statistical value of the designated asset represented by the first type of designated asset identifier for the designated dimension is calculated based on the position data of the sub-asset represented by the sub-asset identifier; the prompt message includes: the sub-asset identifier, and the statistical value of the designated asset represented by the first type of designated asset identifier for the designated dimension;

[0026] For each second type of designated asset identifier, display on the display page the second type of designated asset identifier and the statistical value of the designated asset represented by the second type of designated asset identifier for the designated dimension.

[0027] Optionally, before obtaining, through a preset call interface, the statistical value of each designated asset represented by each designated asset identifier in the parsing result for a designated dimension, the method further includes:

[0028] Generate a target syntax tree corresponding to the target expression; wherein, the target syntax tree includes a first node representing an arithmetic operator and a second node representing a designated asset identifier; the connection relationship between a first node and a second node represents: the arithmetic operator represented by the first node is used to calculate the statistical value of the designated asset to which the designated asset identifier represented by the second node belongs for the designated dimension; the level of any first node in the target syntax tree represents: the execution order of the arithmetic operator represented by the first node in the operation mode of the target expression;

[0029] The obtaining, through a preset call interface, of the statistical value of each designated asset represented by each designated asset identifier in the parsing result for a designated dimension includes:

[0030] For each node of the target syntax tree, if the node represents a specified asset identifier, then through a preset call interface, call the acquisition function corresponding to the specified asset identifier to obtain the statistical value of the specified asset represented by each specified asset identifier belonging to the specified product for a specified dimension, and use it as the statistical value corresponding to the node;

[0031] Based on the sorting order, use the arithmetic operators in the parsing result to calculate the obtained statistical values to obtain the monitoring data of the specified product, including:

[0032] For each node representing a specified asset identifier, calculate the statistical value corresponding to the node according to the arithmetic operator represented by the node having a connection relationship with the node to obtain the monitoring data of the specified product.

[0033] Optionally, for each node representing a specified asset identifier, calculate the statistical value corresponding to the node according to the arithmetic operator represented by the node having a connection relationship with the node to obtain the monitoring data of the specified product, including:

[0034] Determine the last arithmetic operator executed in the operation mode of the target expression according to the levels of the first nodes in the target syntax tree, and use it as the first arithmetic operator;

[0035] According to the connection relationship in the target syntax tree, use each second arithmetic operator except the first arithmetic operator to calculate the statistical value corresponding to the specified asset identifier associated with the second arithmetic operator to obtain the process quantity corresponding to the second arithmetic operator;

[0036] Calculate the process quantity associated with the first arithmetic operator according to the calculation method represented by the first arithmetic operator to obtain the monitoring data of the specified product.

[0037] Optionally, the position-holding data of the specified product is stored in local memory;

[0038] After obtaining the process quantity corresponding to each second arithmetic operator, the method further includes:

[0039] Store the obtained process quantity corresponding to each second arithmetic operator into local memory;

[0040] The step of calculating the process quantity associated with the first arithmetic operator according to the calculation method represented by the first arithmetic operator to obtain the monitoring data of the specified product includes:

[0041] Obtain the process quantity associated with the first arithmetic operator from local memory;

[0042] Calculate the obtained process quantity according to the calculation method represented by the first arithmetic operator to obtain the monitoring data of the specified product;

[0043] and / or,

[0044] The method further includes:

[0045] Use the process quantity in the local memory and the monitoring data of the specified product as the display content and display it on the display page.

[0046] In a second aspect, an embodiment of the present invention provides a device for obtaining monitoring data, the device includes:

[0047] A first acquisition module, configured to obtain a target expression for calculating monitoring data indicated by the configuration operation in response to a user's configuration operation in a configuration page; wherein, the target expression is a combination of an arithmetic operator and specified asset identifiers of various specified assets;

[0048] A determination module, configured to determine the specified product targeted by the target expression;

[0049] An analysis module, configured to analyze the target expression to obtain an analysis result including each specified asset identifier and an arithmetic operator; wherein, in the analysis result, the arrangement order of each specified asset identifier and the arithmetic operator represents the operation method of the target expression;

[0050] A call module, configured to call the acquisition functions corresponding to each specified asset identifier in the analysis result through a preset call interface to obtain the statistical values of the specified assets represented by each specified asset identifier belonging to the specified product for a specified dimension; wherein, the acquisition functions corresponding to the asset identifiers of each supported asset are pre-registered in the preset call interface; the acquisition function corresponding to each asset identifier is used to obtain the position-holding data of the asset represented by the asset identifier and calculate the statistical value of the asset for a specified dimension based on the obtained position-holding data;

[0051] A calculation module, configured to calculate the obtained statistical values based on the arrangement order by using the arithmetic operator in the analysis result to obtain the monitoring data of the specified product.

[0052] In a third aspect, an embodiment of the present invention provides an electronic device, including a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory complete mutual communication through the communication bus;

[0053] The memory is used to store a computer program;

[0054] The processor is configured to implement the above-mentioned method for obtaining monitoring data when executing the program stored in the memory.

[0055] The embodiments of the present invention also provide a computer-readable storage medium, in which a computer program is stored, and when the computer program is executed by a processor, the above method for obtaining monitoring data is implemented.

[0056] The embodiments of the present invention also provide a computer program product, including a computer program, and when the computer program is executed by a processor, the above method for obtaining monitoring data is implemented.

[0057] Beneficial effects of the embodiments of the present invention:

[0058] In the embodiments of the present invention, a user can combine arithmetic operators and specified asset identifiers of various specified assets according to actual business requirements to configure a target expression for calculating monitoring data; then determine the specified product targeted by the target expression, that is, determine the monitoring data of the specified product that the target expression needs to calculate; the asset identifiers corresponding to the acquisition functions supported by each asset are pre-registered in the preset call interface, and the acquisition functions registered in the preset call interface include the acquisition functions corresponding to the specified asset identifiers in the target expression configured by the user; since the acquisition function corresponding to each asset identifier is used to obtain the position data of the asset represented by the asset identifier and calculate the statistical value of the asset for the specified dimension based on the obtained position data, the acquisition functions corresponding to the specified asset identifiers in the target expression configured by the user can be automatically called through the preset call interface to obtain the statistical values of the specified assets represented by each specified asset identifier belonging to the specified product for the specified dimension; furthermore, based on the arrangement order representing the operation mode of the target expression, the arithmetic operators in the analysis result are automatically used to calculate the obtained statistical values to obtain the monitoring data of the specified product. Therefore, for a specified product, as long as the user provides an expression for calculating monitoring data, the solution of the present application can be applied for automatic calculation, improving the efficiency of obtaining monitoring data.

[0059] Of course, when implementing any product or method of the present invention, it is not necessarily required to achieve all the above advantages simultaneously. Description of the Drawings

[0060] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the following drawings are only some embodiments of the present invention, and those of ordinary skill in the art can also obtain other embodiments based on these drawings.

[0061] Figure 1 It is a schematic flowchart of the first method for obtaining monitoring data provided by the embodiments of the present invention;

[0062] Figure 2 A flowchart showing the process of obtaining the position data of the specified assets represented by each specified asset identifier provided by an embodiment of the present invention;

[0063] Figure 3 A flowchart showing the process of the second method for obtaining monitoring data provided by an embodiment of the present invention;

[0064] Figure 4 A structural diagram showing the structure of the target syntax tree corresponding to the target expression provided by an embodiment of the present invention;

[0065] Figure 5 A flowchart showing the process of the third method for obtaining monitoring data provided by an embodiment of the present invention;

[0066] Figure 6 A schematic diagram showing the principle of a method for obtaining monitoring data provided by an embodiment of the present invention;

[0067] Figure 7 A structural diagram showing the structure of a device for obtaining monitoring data provided by an embodiment of the present invention;

[0068] Figure 8 A structural diagram showing the structure of an electronic device provided by an embodiment of the present invention. Detailed implementation manners

[0069] Next, the technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art based on the present invention belong to the scope of protection of the present invention.

[0070] To improve the automation degree of obtaining monitoring data, an embodiment of the present invention provides a method, device, electronic device, medium, and product for obtaining monitoring data.

[0071] Next, a method for obtaining monitoring data provided by an embodiment of the present invention will be introduced first.

[0072] Among them, a method for obtaining monitoring data provided by an embodiment of the present invention can be applied to an electronic device. Exemplarily, the electronic device can be a smart phone, a tablet computer, or a desktop computer.

[0073] A method for obtaining monitoring data provided by an embodiment of the present invention may include the following steps:

[0074] In response to a configuration operation of a user on a configuration page, obtain a target expression for calculating monitoring data; wherein, the target expression is a combination of arithmetic operators and specified asset identifiers of various specified assets;

[0075] Determine the specified product targeted by the target expression;

[0076] Parse the target expression to obtain a parsing result that includes each specified asset identifier and arithmetic operators; wherein, in the parsing result, the arrangement order of each specified asset identifier and arithmetic operator represents the operation mode of the target expression;

[0077] Through a preset call interface, call the acquisition functions corresponding to each specified asset identifier in the parsing result to obtain the statistical values of the specified assets represented by each specified asset identifier belonging to the specified product for a specified dimension;

[0078] Wherein, the acquisition functions corresponding to the asset identifiers of each supported asset are pre-registered in the preset call interface; the acquisition function corresponding to each asset identifier is used to obtain the position-holding data of the asset represented by the asset identifier, and calculate the statistical value of the asset for the specified dimension based on the obtained position-holding data;

[0079] Based on the arrangement order, use the arithmetic operators in the parsing result to calculate the obtained statistical values to obtain the monitoring data of the specified product.

[0080] In the embodiments of the present invention, the user can combine arithmetic operators and the specified asset identifiers of various specified assets according to actual business requirements to configure a target expression for calculating monitoring data; then determine the specified product targeted by the target expression, that is, determine that the monitoring data to be calculated by the target expression is the monitoring data of the specified product; the acquisition functions corresponding to the asset identifiers of each supported asset are pre-registered in the preset call interface, and the acquisition functions registered in the preset call interface include the acquisition functions corresponding to the specified asset identifiers in the target expression configured by the user; since the acquisition function corresponding to each asset identifier is used to obtain the position-holding data of the asset represented by the asset identifier, and calculate the statistical value of the asset for the specified dimension based on the obtained position-holding data, the acquisition functions corresponding to each specified asset identifier in the target expression configured by the user can be automatically called through the preset call interface to obtain the statistical values of the specified assets represented by each specified asset identifier belonging to the specified product for the specified dimension; furthermore, based on the arrangement order representing the operation mode of the target expression, automatically use the arithmetic operators in the parsing result to calculate the obtained statistical values to obtain the monitoring data of the specified product. Therefore, for a specified product, as long as the user provides an expression for calculating monitoring data, the solution of the present application can be applied for automatic calculation, improving the efficiency of obtaining monitoring data.

[0081] The following combines Figure 1 Introduce a method for obtaining monitoring data provided by an embodiment of the present invention. As Figure 1 shown, the method may include steps S101-S105.

[0082] S101, in response to a configuration operation by a user on a configuration page, obtain a target expression indicated by the configuration operation for calculating monitoring data.

[0083] Wherein, the target expression is: a combination of arithmetic operators and designated asset identifiers of various designated assets.

[0084] S102, determine the designated product targeted by the target expression.

[0085] It can be understood that the user can select the asset identifier of each asset on the configuration page as the designated asset identifier of the designated asset; the user can also select an arithmetic operator, and then combine the arithmetic operator with the designated asset identifiers of various designated assets to obtain the target expression. The electronic device can obtain the target expression configured by the user on the front-end configuration page. If the front-end configuration page is displayed by the display of the electronic device itself to the user, the electronic device can directly obtain the target expression configured by the user; if the front-end configuration page is displayed by a display that does not belong to the electronic device itself, the electronic device can obtain the target expression through data transmission between the two devices. For example, the electronic device can obtain the target expression from the device where the configuration page is located through a network transmission protocol.

[0086] The user can select a designated product on the configuration page. Exemplarily, the user can select the name of the designated product to select the designated product. Wherein, the designated product can be a combination of various assets.

[0087] The designated assets represented by the designated asset identifiers in the target expression are the assets in the designated product. For example, a designated product can include Bond A, Fund B, and Stock C. Among the designated asset identifiers included in the target expression, there are Bond A and Fund B, and the user can select Bond A and Fund B as the designated asset identifiers. Optionally, the number of designated products is at least 1. If the number of designated products is 1, the monitoring data to be calculated currently is only the monitoring data of this designated product; if the number of designated products is multiple, the monitoring data to be calculated currently includes the monitoring data of these multiple designated products. The target expression configured by the user for the designated product can calculate the monitoring data of the designated product. By determining whether the monitoring data of the designated product reaches a preset threshold, it can be determined whether the designated product meets the constraint rules, so that the user can understand the operation status of the designated product.

[0088] The designated asset identifier represents a designated asset. Optionally, the name of the designated asset can be used as the designated asset identifier. The arithmetic operators can include at least one of a plus sign, a minus sign, a multiplication sign, and a division sign. Each designated asset can be a financial asset. For example, each designated asset can include bonds, funds, and receivable securities, etc.

[0089] Optionally, the specified product may be the company's funds, the specified assets may be the company's total assets, the stocks held by the company, and the company's cash, etc. The statistical value of the specified assets for the specified dimension may be the specific amount of the company's total assets, the market value of the stocks held by the company, and the amount of the company's cash, etc. In this regard, the embodiments of the present invention are only for illustrative purposes and are not specifically limited.

[0090] Optionally, in one implementation, an asset identifier display box and an arithmetic operator display box are provided on the configuration page. Each asset identifier is displayed in the asset identifier display box in the form of an icon, and the arithmetic operator is displayed in the arithmetic operator display box in the form of an icon. The business personnel of the securities company can select each specified asset identifier and arithmetic operator by dragging the icons from the asset identifier display box and the arithmetic operator display box with the mouse, and then form the specified asset identifiers and arithmetic operators into an expression to obtain the target expression. For example, the business personnel can select Asset 1, the plus sign, and Asset 2, place the icon of Asset 1 on the left side of the plus sign, and place the icon of Asset 2 on the right side of the plus sign to construct an expression of Asset 1 + Asset 2. It can be understood that for each asset identifier displayed in the asset identifier display box, a corresponding acquisition function is pre-configured.

[0091] Optionally, in another implementation, there is an expression input box on the configuration page. The business personnel can input the target expression including each specified asset identifier and arithmetic operator to be calculated into the expression input box through the keyboard, that is, the configuration operation is the keyboard input of the target expression. It can be understood that the developer can pre-configure the corresponding acquisition function for all asset identifiers that the user can use, ensuring that each specified asset identifier input by the user is configured with a corresponding acquisition function. Among them, all asset identifiers that the user can use refer to all assets in the asset management platform provided by the securities company.

[0092] In the embodiments of the present invention, the user can first configure the target expression and then associate the target expression with the specified product. If the monitoring data of different specified products have the same calculation logic, the user can directly associate the configured target expression with the products with the same calculation logic. Compared with the user configuring the target expression of the specified product, the processing of associating the expression configuration with the product can be decoupled, avoiding the user from repeatedly configuring the expression for the products with the same calculation logic, improving the user experience while improving the acquisition efficiency of the monitoring data of the specified product.

[0093] It can be understood that symbols such as asset identifiers and arithmetic operators displayed on the configuration page can all be highly readable aliases. For example, the specific names can be displayed to avoid showing complex function names in the program, preventing users from directly facing function names in the program during the process of configuring expressions, facilitating users to configure expressions, improving user friendliness, and enhancing the user experience.

[0094] S103. Parse the target expression to obtain a parsing result containing each specified asset identifier and arithmetic operator.

[0095] Among them, in the parsing result, the arrangement order of each specified asset identifier and arithmetic operator represents the operation method of the target expression.

[0096] It can be understood that the electronic device can disassemble the target expression according to the operation method of the target expression to obtain a parsing result containing each specified asset identifier and arithmetic operator. Among them, the arrangement order of each specified asset identifier and arithmetic operator in the parsing result represents the operation method of the target expression. For example, if the target expression is (a + b) × c, the electronic device can disassemble the target expression to obtain 7 characters including (, a, +, b, ), ×, and c. Each specified asset identifier is a, b, and c, and the arithmetic operators are + and ×. These 7 characters are the parsing result of the target expression, and the arrangement order of these 7 characters indicates that the target expression needs to first calculate the sum of a and b, and then calculate the product of the sum and c.

[0097] Optionally, the target expression can be parsed through a preset parsing tool to obtain a parsing result. Among them, the preset parsing tool can be a dynamic script engine that has pre-configured the code for parsing expressions. For example, the dynamic script engine can be a Quick Language Express (QLExpress) engine or an Aviator expression evaluation engine.

[0098] S104. Through a preset call interface, call the acquisition functions corresponding to each specified asset identifier in the parsing result to obtain the statistical values of each specified asset represented by each specified asset identifier for a specified dimension belonging to the specified product.

[0099] Among them, the acquisition functions corresponding to the asset identifiers of each supported asset are pre-registered in the preset call interface; the acquisition function corresponding to each asset identifier is used to obtain the position-holding data of the asset represented by the asset identifier, and calculate the statistical value of this type of asset for a specified dimension based on the obtained position-holding data.

[0100] It can be understood that the assets represented by different asset identifiers have their own calculation methods for the statistical values of the specified dimension. For example, the market value of bonds in a product is the statistical value of bonds for the market value dimension. The market value of bonds in this product can be the product of the holding quantity and the unit price of the bonds in the product. Among them, the holding quantity and the unit price of the bonds in the product are the holding data of the bonds in the product. Another example is that the receivable securities settlement amount in a product is the statistical value of receivable securities for the settlement amount dimension. The receivable securities settlement amount in this product can be: the difference between the product of the securities transaction data and the transaction price of the receivable securities in the product and the transaction commission. Among them, the securities transaction data, the transaction price, and the transaction commission of the receivable securities in the product are the holding data of the receivable securities in the product. Among them, each asset supported by the pre-registered preset call interface is all the assets in the asset management platform provided by the securities company.

[0101] Developers can develop acquisition functions for all assets. Exemplarily, for an asset identifier, the holding data required to calculate the statistical value of the asset represented by the asset identifier for the specified dimension can be determined, as well as the specific calculation method, and the storage location of the determined holding data can be determined. Developers can write an acquisition function for obtaining the holding data at the determined storage location and calculating the holding data using the determined calculation method; among them, the acquisition function can be a JAVA method. Then, developers can register the acquisition functions of each asset in the preset call interface. Exemplarily, the function name of the acquisition function can be embedded in the code of the preset call interface. In the embodiment of the present invention, developers only need to develop for each asset identifier, without having to pay attention to the complete monitoring data acquisition logic, optimizing the development process and improving the development efficiency.

[0102] To facilitate users to configure expressions, the embodiment of the present invention writes the acquisition process of the statistical values of each asset for the specified dimension into an acquisition function. The asset identifier configured with the acquisition function can be called a feature factor. The essence of the process of the user configuring the target expression including each specified asset identifier is to select the required feature factors in the feature factor library for expression configuration, and use the asset identifier to point to the acquisition function to obtain the statistical value of the asset represented by the asset identifier. Users can configure expressions based on the asset identifier, avoiding the need for users to consider how to obtain the statistical value of the asset represented by the asset identifier for the specified dimension, and improving the automation degree of obtaining monitoring data.

[0103] It can be understood that the electronic device can identify the specified product targeted by the target expression. When calling the acquisition function to obtain the statistical value, it can obtain the statistical value of the specified asset represented by each specified asset identifier belonging to the specified product based on the holding data of the identified specified product.

[0104] Since all the acquisition functions for asset identifiers that can be used by the user are registered in a preset call interface, and the asset identifiers supported by the preset call interface include the specified asset identifiers in the target expression configured by the user, the electronic device can call the acquisition functions corresponding to the respective specified asset identifiers in the parsing result through the preset call interface to obtain the statistical values of the specified assets represented by each specified asset identifier for a specified dimension.

[0105] Optionally, a preset call interface is provided in the preset parsing tool, and the acquisition function can be registered in the preset call interface. After the preset parsing tool parses the target expression and obtains the parsing result, the preset parsing tool can call the acquisition function through its own preset call interface to obtain the statistical value of the specified asset for the specified dimension. Among them, the preset parsing tool can be a program framework that provides a custom function interface, and this program framework can be a dynamic script engine.

[0106] S105. Based on the arrangement order, use the arithmetic operators in the parsing result to calculate the obtained statistical values to obtain the monitoring data of the specified product.

[0107] It can be understood that the arrangement order of the respective specified asset identifiers and arithmetic operators in the parsing result represents the operation method of the target expression, that is, the arrangement order represents the specific operation logic. For example, the sequence of precedence when the respective specified asset identifiers perform the four arithmetic operations. The electronic device can calculate the obtained statistical values according to the specific operation logic by using the arithmetic operators in the parsing result to obtain the monitoring data of the specified product.

[0108] Optionally, the monitoring data of the specified product can be calculated through the preset parsing tool. Specifically, the preset parsing tool is pre-configured with code for calculating data. After the preset parsing tool obtains the statistical value, it can calculate the statistical value associated with the arithmetic operator according to the operation logic of the arithmetic operator to obtain the monitoring data of the specified product. Among them, the preset parsing tool can be a dynamic script engine.

[0109] It should be noted that different products have different monitoring indicators. There are logical overlaps and differences among the monitoring indicators, and the monitoring indicators will change with the changes in regulatory requirements. That is to say, the generation logics of monitoring data are diverse. When business personnel refine the generation logic of new monitoring data, developers need to re-develop the corresponding business code for the new generation logic of monitoring data. Since they need to wait for developers to re-perform the development work, the business response time will be greatly extended, unable to meet the dynamic change requirements of the business in a timely manner, and the generation efficiency of monitoring data is relatively low. In view of the above problems of the prior art, the monitoring data acquisition method provided by the embodiments of the present invention can provide a configuration page for business personnel. Users can configure a target expression for calculating the monitoring data of a specified product, and then automatically parse the target expression, call the acquisition functions corresponding to each specified asset identifier, obtain the statistical values of the specified asset for a specified dimension, and use arithmetic operators to calculate the obtained statistical values to obtain the monitoring data of the specified product, avoiding the cumbersome processes of offline submitting business requirements, logic development, and online production in the prior art, that is, avoiding manually developing new code for obtaining monitoring data, and improving the automation degree of obtaining monitoring data.

[0110] Optionally, in one implementation, after obtaining the monitoring data of the specified product, the obtained monitoring data can be compared with the preset threshold of the specified product to determine whether there is an operation risk for the specified product. Exemplarily, if the monitoring data is less than the preset threshold, it is determined that there is an operation risk for the specified product, and vice versa, it is determined that there is no operation risk for the specified product. For example, the monitoring data of the specified product is the proportion of the fixed-income assets of the specified product in the total assets of the specified product, and the preset threshold is 20%. If the proportion is less than 20%, a judgment result that there is an operation risk for the specified product is obtained.

[0111] The electronic device can display the judgment result of whether there is an operation risk for the specified product on the display page. When the user sees the result that there is an operation risk for the specified product, the user can check each asset in the specified product to ensure the safe operation of the specified product.

[0112] In the embodiments of the present invention, a user can combine arithmetic operators and specified asset identifiers of various specified assets according to actual business requirements to configure a target expression for calculating monitoring data; then determine the specified product targeted by the target expression, that is, determine that the monitoring data to be calculated by the target expression is the monitoring data of the specified product; acquisition functions corresponding to the asset identifiers of each supported asset are pre-registered in a preset call interface, and the acquisition functions registered in the preset call interface include the acquisition functions corresponding to the specified asset identifiers in the target expression configured by the user; since the acquisition function corresponding to each asset identifier is used to acquire the position data of the asset represented by the asset identifier and calculate the statistical value of the asset for a specified dimension based on the acquired position data, the acquisition functions corresponding to the specified asset identifiers in the target expression configured by the user can be automatically called through the preset call interface to obtain the statistical value of the specified asset represented by each specified asset identifier belonging to the specified product for the specified dimension; furthermore, based on the arrangement order representing the operation mode of the target expression, the arithmetic operators in the analysis result are automatically used to calculate the obtained statistical values to obtain the monitoring data of the specified product. Therefore, for a specified product, the user only needs to provide an expression for calculating monitoring data, and the solution of the present application can be applied for automatic calculation, improving the efficiency of obtaining monitoring data.

[0113] Optionally, in an embodiment, the target expression further includes: a sub-asset identifier corresponding to a first type of specified asset identifier; the sub-asset identifier corresponding to the first type of specified asset identifier indicates: the sub-assets included in the specified asset represented by the first type of specified asset identifier. Figure 2 A flowchart of the acquisition process of the position data of the specified asset represented by each specified asset identifier is as follows Figure 2 shown, and the steps for acquiring the position data of the specified asset represented by each specified asset identifier include S201-S202.

[0114] S201, for each first type of specified asset identifier, in the position data of the specified product, acquire the position data of the sub-asset represented by the sub-asset identifier corresponding to the first type of specified asset identifier in the target expression, and based on the acquired position data of the sub-asset, obtain the position data of the specified asset represented by the first type of specified asset identifier.

[0115] S202, for each second type of specified asset identifier, in the position data of the specified product, acquire the position data of the specified asset represented by the second type of specified asset identifier.

[0116] Among them, the second type of specified asset identifier is the specified asset identifier other than the first type of specified asset identifier in the analysis result.

[0117] It can be understood that when a user configures a target expression, the user can also add corresponding sub-asset identifiers to the existing specified asset identifiers. Thus, the target expression further includes: sub-asset identifiers corresponding to the first type of specified asset identifiers. The first type of specified asset identifiers are the specified asset identifiers that have corresponding sub-asset identifiers, and the second type of specified asset identifiers are the specified asset identifiers other than the first type of specified asset identifiers in the parsing result of the second type of specified asset identifiers, that is, the second type of specified asset identifiers do not have corresponding sub-asset identifiers.

[0118] Optionally, there is a display box for the sub-asset identifiers of the first type of specified asset identifiers on the configuration page. After the user selects the first type of specified asset identifiers, the user can further select the sub-asset identifiers corresponding to the first type of specified asset identifiers in the display box for the sub-asset identifiers.

[0119] The sub-asset identifiers corresponding to the first type of specified asset identifiers indicate: the sub-assets included in the specified assets represented by the first type of specified asset identifiers, and the corresponding sub-asset identifiers limit the position data of the specified assets represented by the first type of specified asset identifiers that need to be obtained. For example, if the first type of specified asset identifier is the market value of funds, the sub-asset identifier corresponding to the first type of specified asset identifier can be bond type, then the electronic device only obtains the market value of bond-type funds; if the second type of specified asset identifier is the market value of funds and the second type of specified asset identifier does not have a corresponding sub-asset identifier, then all types of market values of funds are obtained.

[0120] Among them, the specified asset identifier represents the specified asset, the sub-asset identifier of the specified asset identifier represents the sub-asset of the detailed attributes in the specified asset, the specified asset identifier can be called a quantitative factor, and the sub-asset identifier of the specified asset identifier can be called a qualitative factor.

[0121] Exemplarily, a description will be given below in conjunction with an example of a target expression that includes the first type of specified asset identifiers, the sub-asset identifiers corresponding to the first type of specified asset identifiers, the second type of specified asset identifiers, and arithmetic operators.

[0122] The target expression can be: (bond market value + fund market value (bond type, money market type) + bond repurchase balance (reverse repurchase) + receivable securities settlement amount + deposit market value + underlying asset income right market value) ÷ total assets.

[0123] Among them, the second type of designated asset identifiers include: bond market value, receivables for securities settlement, deposit market value, market value of the income right of underlying assets, and total assets. The first type of designated asset identifiers include: fund market value and balance of bond repurchases. The sub-asset identifiers corresponding to the fund market value include: bond type and money market type. The sub-asset identifiers corresponding to the balance of bond repurchases include: reverse repurchase. When obtaining the position data of the designated asset identifiers, the position data of the bond market value, receivables for securities settlement, deposit market value, market value of the income right of underlying assets, total assets, bond-type fund market value, money market-type fund market value, and reverse-repurchase balance of bond repurchases can be obtained.

[0124] In the embodiments of the present invention, the configuration of sub-asset identifiers is provided for users, enabling users to perform various calculations of monitoring data, meeting the specific needs of users, improving the user experience, and at the same time increasing the automation level of obtaining monitoring data.

[0125] Optionally, in one implementation, for any first type of designated asset identifier, the target expression further includes: logical operators between multiple sub-asset identifiers corresponding to the first type of designated asset identifier; the parsing result further includes: logical operators between multiple sub-asset identifiers corresponding to any first type of designated asset identifier; in the parsing result, the arrangement order of each designated asset identifier, arithmetic operator, each sub-asset identifier, and logical operator represents the operation method of the target expression.

[0126] The specific implementation manner of obtaining the position data of the designated asset represented by the first type of designated asset identifier based on the obtained position data of the sub-assets includes the following steps:

[0127] Based on the obtained position data of the sub-assets, perform logical operations according to the logical operators between multiple sub-asset identifiers corresponding to the first type of designated asset identifier recorded in the parsing result to obtain the position data of the designated asset represented by the first type of designated asset identifier.

[0128] It can be understood that if there are multiple sub-asset identifiers corresponding to the first type of designated asset identifier, when the user configures the sub-asset identifiers, the combination of sub-asset identifiers required for calculating the monitoring data can be further configured by selecting logical operators.

[0129] Optionally, there is a display box for logical operators on the configuration page. When the user selects multiple sub-asset identifiers, they can select a logical operator to connect the sub-asset identifiers. The target expression further includes: the logical operator between multiple sub-asset identifiers corresponding to any first type of specified asset identifier; the parsing result further includes: the logical operator between multiple sub-asset identifiers corresponding to any first type of specified asset identifier; and, in the parsing result, the arrangement order of each specified asset identifier, arithmetic operator, each sub-asset identifier, and logical operator represents the operation method of the target expression.

[0130] Among them, the logical operators can include the logical AND symbol and the logical OR symbol. The logical AND symbol means that all the connected sub-asset identifiers need to be used. For example, if the first type of specified asset identifier is the fund market value, && is the logical AND symbol, and bond type and money market type are sub-asset identifiers, then the expression: fund market value (bond type && money market type) represents the fund market value of the bond type and the money market type. When obtaining the position data, it is necessary to obtain the position data of the fund market value of the bond type and the money market type as the position data of the fund market value. Correspondingly, when calculating the statistical value of the fund market value, the position data of the fund market value of the bond type and the money market type is used for calculation.

[0131] The logical OR symbol means that only one of the connected sub-asset identifiers is used. For example, if the first type of specified asset identifier is the fund market value, || is the logical OR symbol, and bond type and money market type are sub-asset identifiers, then the expression: fund market value (bond type || money market type) represents the fund market value of the bond type or the money market type. When obtaining the position data, it is necessary to obtain the position data of the fund market value of the bond type or the money market type as the position data of the fund market value. Correspondingly, when calculating the statistical value of the fund market value, the position data of the fund market value of the bond type or the money market type is used for calculation. When the business personnel are unable to determine the sub-asset identifier to be used, the logical OR symbol can be used to randomly determine a sub-asset identifier. For example, when both the bond type fund market value and the money market type fund market value can be used as the fund market value for operation, the business personnel can select one of them through the logical OR symbol as the fund market value for expression calculation.

[0132] In the embodiments of the present invention, through the setting of logical operators, a variety of target expression configuration methods are provided for users, enabling users to perform a variety of calculations of monitoring data, meeting the specific needs of users, improving the user experience, and at the same time improving the automation degree of obtaining monitoring data.

[0133] Optionally, in one implementation, the position data of the specified product does not necessarily contain the position data of the sub-asset represented by the sub-asset identifier.

[0134] For each sub-asset identifier corresponding to the first type of designated asset identifier, if there is no position data of the sub-asset represented by the sub-asset identifier in the position data of the designated product, then a result indicating the non-existence of the position data of the sub-asset is displayed on the display page.

[0135] It can be understood that the judgment result on whether there is position data represented by the sub-asset identifier can be represented by a Boolean value. If it does not exist, the Boolean value of the sub-asset identifier is displayed as 0 on the display page, and if it exists, the Boolean value of the sub-asset identifier is displayed as 1 on the display page.

[0136] In an embodiment of the present invention, the result of whether there is position data of the sub-asset represented by the sub-asset identifier in the position data of the designated product can be displayed on the display page, facilitating the user to understand the actual situation of the position data of the designated product, so that the user can analyze and manage the designated product.

[0137] Optionally, in one implementation, the method further includes:

[0138] After obtaining the statistical value of the designated asset represented by each designated asset identifier belonging to the designated product for a designated dimension, for each sub-asset identifier corresponding to each first type of designated asset identifier, if there is position data of the sub-asset represented by the sub-asset identifier in the position data of the designated product, then a prompt message is displayed on the display page.

[0139] Wherein, the prompt message is used to indicate that the statistical value of the designated asset represented by the first type of designated asset identifier for the designated dimension is calculated based on the position data of the sub-asset represented by the sub-asset identifier; the prompt message includes: the sub-asset identifier, and the statistical value of the designated asset represented by the first type of designated asset identifier for the designated dimension.

[0140] For each second type of designated asset identifier, the second type of designated asset identifier and the statistical value of the designated asset represented by the second type of designated asset identifier for the designated dimension are displayed on the display page.

[0141] It can be understood that after obtaining the statistical value, the electronic device can display the statistical value to the user, as well as the asset identifier of the specified asset used to calculate the statistical value. The second type of specified asset identifier and the statistical value of the specified asset represented by the second type of specified asset identifier for the specified dimension can also be regarded as a kind of prompt information to inform the user of the statistical value and the specified asset used to calculate the statistical value. If the sub-assets under the specified asset are used to calculate the statistical value of a specified asset, the statistical value and the sub-asset identifier of the sub-assets used to calculate the statistical value can be displayed to the user. The sub-asset identifier is the identifier of the sub-assets under the specified asset. Thus, the sub-asset identifier can be regarded as an attribute of the specified asset. That is to say, the displayed prompt information can include the attributes of the specified asset and the statistical value. Subsequently, the user can understand the situation of each asset in the expression through the prompt information for further decision-making processing.

[0142] Optionally, the electronic device directly displays the prompt information after calculating the statistical value; optionally, the local device can first store the prompt information locally, and after obtaining the monitoring data, display the monitoring data and the prompt information together.

[0143] In the embodiments of the present invention, the electronic device can display the asset characteristics involved in the target expression (for example, the statistical value of the asset and the attributes of the asset), use the asset as a factor in the expression, and provide the user with the display of detailed data at the factor level. Through the complete framework provided by the embodiments of the present invention for realizing expression parsing, calculation, and detailed data display, whenever a factor in the expression is added, modified, or deleted, there is no need to develop additional functions for detailed query, improving the development convenience and achieving the effect of customized development at low cost.

[0144] Optionally, on the basis of Figure 1 a method for obtaining a certain monitoring data as shown, as Figure 3 shown, the method further includes step S301, step S104 includes step S1041, and step S105 includes step S1051.

[0145] S301, generating a target syntax tree corresponding to the target expression.

[0146] Among them, the target syntax tree includes a first node representing an arithmetic operator and a second node representing a specified asset identifier; the connection relationship between a first node and a second node represents that the arithmetic operator represented by the first node is used to calculate the statistical value of the specified asset to which the specified asset identifier represented by the second node belongs for the specified dimension; the level of any first node in the target syntax tree represents the execution order of the arithmetic operator represented by the first node in the operation mode of the target expression.

[0147] It can be understood that the electronic device can convert each specified asset identifier in the parsing result into a first node and each specified asset identifier in the parsing result into a second node; then, according to the operation method represented by the arrangement order of the specified asset identifiers and arithmetic operators in the parsing result, connect each first node and second node to obtain a target syntax tree.

[0148] Specifically, in the process of connecting the first node and the second node, the second node corresponding to the specified asset identifier associated with the arithmetic operator represented by a first node can be connected to represent that the arithmetic operator represented by the first node is used to calculate the statistical value of the specified asset to which the specified asset identifier represented by the second node belongs for a specified dimension. For example, for the expression a + b, where a and b are specified asset identifiers and + is an arithmetic operator, the second node representing a can be connected to the first node representing +, and the second node representing b can be connected to the first node representing + to obtain the syntax tree corresponding to this expression.

[0149] The electronic device can divide the levels to which each first node belongs according to the execution order of the arithmetic operators represented by each first node in the operation method of the target expression. For example, the execution order in the operation method of the expression (a + b) × c is as follows: first calculate the plus sign (i.e., calculate the sum value of a and b) to obtain the sum value, and then calculate the product of the sum value and c; if the higher the level, the more forward the execution order, then the level of the first node representing the plus sign is higher than the level of the first node representing the multiplication sign; on the contrary, if the lower the level, the more forward the execution order, then the level of the first node representing the plus sign is lower than the level of the first node representing the multiplication sign.

[0150] The following is an introduction in combination with the structural schematic diagram of the target syntax tree. The target expression is: (bond market value + fund market value (bond type, money market type) + bond repurchase balance (reverse repurchase) + receivable securities settlement amount + deposit market value + underlying asset income right market value) ÷ total assets. The structure of the target syntax tree corresponding to this target expression is as Figure 4 shown. Node 1 represents the bond market value, node 2 represents the bond fund market value and money market fund market value, node 3 represents the bond repurchase balance of reverse repurchase, node 4 represents the receivable securities settlement amount, node 5 represents the deposit market value, node 6 represents the underlying asset income right market value, node 7 represents the plus sign, node 8 represents the division sign, node 9 represents the total assets. Among them, nodes 1, 2, 3, 4, 5, 6, 9 are all second nodes, nodes 7 and 8 are first nodes. If the higher the level, the more forward the execution order, the level of node 7 is higher than the level of node 8. It should be noted that the levels of the nodes in the target syntax tree are not getting higher and higher from top to bottom or from bottom to top. The example in the figure is only a structure of a target syntax tree, and the target syntax tree can also be a structure upside down from the example in the figure. The levels of the nodes are only related to the execution order.

[0151] S1041. For each node of the target syntax tree, if the node represents a specified asset identifier, then through a preset call interface, call the acquisition function corresponding to the specified asset identifier to obtain the statistical value of the specified asset represented by each specified asset identifier belonging to the specified product for a specified dimension, as the statistical value corresponding to the node.

[0152] S1051. For each node representing a specified asset identifier, calculate the statistical value corresponding to the node according to the arithmetic operator represented by the node having a connection relationship with the node, to obtain the monitoring data of the specified product.

[0153] It can be understood that the electronic device can traverse each node in the target syntax tree. If the node represents a specified asset identifier, then through a preset call interface, call the acquisition function corresponding to the specified asset identifier to obtain the statistical value of the specified asset represented by each specified asset identifier belonging to the specified product for a specified dimension, as the statistical value corresponding to the node. Then, for the node representing the specified asset identifier, calculate the statistical value corresponding to the node according to the arithmetic operator represented by the node having a connection relationship with the node, to obtain the monitoring data of the specified product.

[0154] In an embodiment of the present invention, a target syntax tree corresponding to a target expression can be constructed. The target syntax tree includes a first node representing an arithmetic operator and a second node representing a specified asset identifier. The level of any first node in the target syntax tree represents: the execution order of the arithmetic operator represented by the first node in the operation mode of the target expression. Through the hierarchical division of different first nodes, the accurate execution order of each operation step is ensured to ensure accurate monitoring data is obtained.

[0155] Moreover, through the execution of each node of the target syntax tree, the acquisition function can be directly called to obtain the statistical value, reducing the calculation amount of the operation and improving the acquisition efficiency of the monitoring data.

[0156] Optionally, on the basis of the monitoring data acquisition method shown in Figure 3 as shown in Figure 5 step S1051 includes steps S1051a - S1051c.

[0157] S1051a. According to the levels of the first nodes in the target syntax tree, determine the last arithmetic operator executed in the operation mode of the target expression as the first arithmetic operator.

[0158] It can be understood that since the level of any first node in the target syntax tree represents the execution order of the arithmetic operator represented by the first node in the operation mode of the target expression, the electronic device can determine the last executed first arithmetic operator in the operation mode of the target expression through the level of the first node. For example, for the target expression (a + b) × c, the higher the level, the earlier the execution order. The level of the first node representing the plus sign is higher than the level of the first node representing the multiplication sign. Then, according to the level, it can be determined that the multiplication sign is the last executed arithmetic operator.

[0159] S1051b. According to the connection relationship in the target syntax tree, use each second arithmetic operator except the first arithmetic operator to calculate the statistical value corresponding to the specified asset identifier associated with the second arithmetic operator, and obtain the process quantity corresponding to the second arithmetic operator.

[0160] It can be understood that the connection relationship between a first node and a second node in the target syntax tree represents that the arithmetic operator represented by the first node is used to calculate the statistical value of the specified asset to which the specified asset identifier represented by the second node belongs for a specified dimension. Thus, the electronic device can determine the second node connected to the first node according to the connection relationship of the first node representing the second arithmetic operator, and use the specified asset identifier represented by the determined second node as the specified asset identifier associated with the second arithmetic operator. Then, according to the operation rule of the second arithmetic operator, calculate the statistical value corresponding to the specified asset identifier associated with the determined second arithmetic operator, and obtain the process quantity corresponding to the second arithmetic operator.

[0161] It should be noted that the second arithmetic operator is an arithmetic operator other than the first arithmetic operator among the arithmetic operators included in the parsing result. Since the first arithmetic operator is the last executed in the operation mode, the second arithmetic operator is an arithmetic operator that is not the last executed in the operation mode. The values calculated from the statistical values by the arithmetic operators that are not the last executed can be collectively referred to as process quantities.

[0162] S1051c. According to the calculation method represented by the first arithmetic operator, calculate the process quantity associated with the first arithmetic operator to obtain the monitoring data of the specified product.

[0163] It can be understood that after the calculation of each second arithmetic operator is completed, the last execution step in the operation mode of the target expression can be executed, that is, according to the calculation mode represented by the first arithmetic operator, the respective numerical values connected by the first arithmetic operator are calculated. Specifically, the first node representing the first arithmetic operator can be connected to the first node representing the second arithmetic operator, and the process quantity obtained through the calculation of the second arithmetic operator is the process quantity associated with the first arithmetic operator.

[0164] Optionally, in one implementation, the first node representing the first arithmetic operator can be connected to multiple first nodes representing the second arithmetic operator to calculate the process quantity associated with the first arithmetic operator to obtain the monitoring data of the specified product; optionally, in another implementation, the first node representing the first arithmetic operator can be connected to the first node and the second node representing the second arithmetic operator, and according to the operation rule represented by the first arithmetic operator, the process quantity associated with the first arithmetic operator and the statistical value corresponding to the specified asset identifier represented by the second node are calculated to obtain the monitoring data of the specified product.

[0165] In the embodiment of the present invention, by calculating the monitoring data of the specified product according to the calculation mode of each statistical value in the target expression represented by the connection relationship in the target syntax tree, the calculation accuracy of the statistical value targeted by each arithmetic operator can be ensured to ensure accurate monitoring data. Moreover, through the target syntax tree, the connection relationship between duplicate nodes can be identified, the process quantity is calculated only once and then stored in the local memory. When the process quantity needs to be used, it only needs to be obtained from the local memory, reducing the calculation amount.

[0166] Optionally, in one implementation, the position-holding data of the specified product is stored in the local memory. After obtaining the process quantity corresponding to each second arithmetic operator, the method may include step A1, and the specific process of calculating the monitoring data of the specified product may include steps A2 - A3.

[0167] A1, storing the obtained process quantity corresponding to each second arithmetic operator into the local memory.

[0168] A2, obtaining the process quantity associated with the first arithmetic operator from the local memory.

[0169] A3, calculating the obtained process quantity according to the calculation mode represented by the first arithmetic operator to obtain the monitoring data of the specified product.

[0170] It can be understood that the position-holding data of the specified product can be stored in the local memory, and the electronic device can obtain the required position-holding data from the local memory, avoiding interaction with the device storing the position-holding data and improving the expression calculation efficiency.

[0171] Exemplarily, the specified position-holding data can be stored in a specified storage area in the local memory, and this specified storage area is the storage location for each data generated in calculating the target expression. This specified storage area can be referred to as a factor calculation context.

[0172] When calculating the process quantity corresponding to each second arithmetic operator, the process quantity corresponding to the second arithmetic operator can be stored in the local memory. When the first arithmetic operator is executed, the process quantity associated with the first arithmetic operator can be obtained from the local memory, and then, according to the calculation method represented by the first arithmetic operator, the obtained process quantity is calculated to obtain the monitoring data of the specified product.

[0173] In the embodiments of the present invention, the process quantity can be stored in the local memory, avoiding storing the process quantity in storage locations such as external hard disks. By virtue of the relatively high read and write speed of the memory, the efficiency of calculating the expression is improved.

[0174] Optionally, in one implementation, the process quantity in the local memory and the monitoring data of the specified product can be used as display content and displayed on the display page.

[0175] It can be understood that the electronic device can retain the process quantity in the calculation and the monitoring data of the specified product through the local memory, and then use the process quantity in the local memory and the monitoring data of the specified product as display content and display it on the display page. The user can view the process quantity and the monitoring data of the specified product.

[0176] Exemplarily, the electronic device can display the judgment result of whether the specified product has an operation risk, the monitoring data of the specified product, and the process quantity to the user on the display page. When the user sees the result that the specified product has an operation risk, the user can check according to the process quantity for attribution analysis to ensure the accuracy and efficiency of the asset management product.

[0177] Figure 6 This is a schematic diagram of the principle of a method for obtaining monitoring data provided by the embodiments of the present invention.

[0178] As Figure 6 shown, the monitoring index setting module is used to provide a configuration page for the user. The user can match the arithmetic operator with the specified asset identifier of various specified assets on the configuration page to obtain a target expression for calculating the monitoring data; then the target expression is associated with the specified product so that the electronic device can determine the specified product targeted by the target expression. The monitoring index storage module is used to store the target expression.

[0179] An expression engine is used to parse a target expression to obtain a parsing result containing each specified asset identifier and arithmetic operators; through a preset call interface, call the acquisition functions corresponding to each specified asset identifier in the parsing result to obtain the statistical values of each specified asset represented by the specified asset identifier for a specified dimension that belongs to a specified product; wherein, the acquisition functions corresponding to the asset identifiers of each supported asset are pre-registered in the preset call interface; the acquisition function corresponding to each asset identifier is used to obtain the position-holding data of the asset represented by the asset identifier, and calculate the statistical value of this type of asset for a specified dimension based on the obtained position-holding data; use the arithmetic operators in the parsing result to calculate the obtained statistical values to obtain the monitoring data of the specified product.

[0180] The factor calculation context is a specified storage area in local memory, and the factor calculation context can store the position-holding data of each asset, the monitoring data of the specified product, and the intermediate quantities during the process of calculating the monitoring data of the specified product.

[0181] A product data loading module is used to obtain the position-holding data of the asset represented by the asset identifier from the factor calculation context when calling the acquisition function corresponding to each asset identifier. A characteristic factor calculation module is used to, when calling the acquisition function corresponding to each asset identifier, use the arithmetic operators in the parsing result to calculate the obtained statistical values to obtain the monitoring data of the specified product, and store the monitoring data of the specified product and the intermediate quantities during the process of calculating the monitoring data of the specified product in the factor calculation context.

[0182] A monitoring result query module is used to provide a display page of query results to the user. Among them, the query results include data such as the monitoring data of the specified product and the intermediate quantities during the process of calculating the monitoring data of the specified product.

[0183] Optionally, an embodiment of the present invention further provides a device for obtaining monitoring data, as Figure 7 shown, the device includes:

[0184] A first acquisition module 710 is used to obtain the target expression for calculating monitoring data indicated by the configuration operation in response to the user's configuration operation on the configuration page; wherein, the target expression is a combination of arithmetic operators and the specified asset identifiers of various specified assets;

[0185] A determination module 720 is used to determine the specified product targeted by the target expression;

[0186] A parsing module 730 is used to parse the target expression to obtain a parsing result containing each specified asset identifier and arithmetic operators; wherein, in the parsing result, the arrangement order of each specified asset identifier and arithmetic operator represents the operation method of the target expression;

[0187] A calling module 740, configured to call, through a preset calling interface, the obtaining functions corresponding to each specified asset identifier in the parsing result, so as to obtain the statistical value of each specified asset represented by the specified asset identifier belonging to the specified product for a specified dimension; wherein, the obtaining functions corresponding to the asset identifiers of all supported assets are pre-registered in the preset calling interface; the obtaining function corresponding to each asset identifier is configured to obtain the position-holding data of the asset represented by the asset identifier, and calculate the statistical value of this type of asset for a specified dimension based on the obtained position-holding data;

[0188] A calculating module 750, configured to calculate, based on the sorting order, each obtained statistical value by using the arithmetic operators in the parsing result, so as to obtain the monitoring data of the specified product.

[0189] Optionally, the target expression further includes: a sub-asset identifier corresponding to a first type of specified asset identifier; the sub-asset identifier corresponding to the first type of specified asset identifier indicates: the sub-assets included in the specified asset represented by the first type of specified asset identifier;

[0190] The position-holding data of each specified asset represented by each specified asset identifier is obtained by the following method:

[0191] For each first type of specified asset identifier, in the position-holding data of the specified product, obtain the position-holding data of the sub-assets represented by the sub-asset identifier corresponding to the first type of specified asset identifier in the target expression, and based on the obtained position-holding data of the sub-assets, obtain the position-holding data of the specified asset represented by the first type of specified asset identifier;

[0192] For each second type of specified asset identifier, in the position-holding data of the specified product, obtain the position-holding data of the specified asset represented by the second type of specified asset identifier; wherein, the second type of specified asset identifier is the specified asset identifier other than the first type of specified asset identifier in the parsing result.

[0193] Optionally, for any first type of specified asset identifier, the target expression further includes: a logical operator between the multiple sub-asset identifiers corresponding to the first type of specified asset identifier;

[0194] The parsing result further includes: a logical operator between the multiple sub-asset identifiers corresponding to any first type of specified asset identifier; in the parsing result, the sorting order of each specified asset identifier, arithmetic operator, each sub-asset identifier, and logical operator represents the operation method of the target expression;

[0195] The obtaining, based on the obtained position-holding data of the sub-assets, the position-holding data of the specified asset represented by the first type of specified asset identifier includes:

[0196] Based on the position data of the sub-assets obtained, perform a logical operation according to the logical operators among the multiple sub-asset identifiers corresponding to the first type of specified asset identifier recorded in the parsing result, to obtain the position data of the specified asset represented by the first type of specified asset identifier;

[0197] and / or,

[0198] The device further includes:

[0199] A first display module, for each sub-asset identifier corresponding to the first type of specified asset identifier, if there is no position data of the sub-asset represented by the sub-asset identifier in the position data of the specified product, display the result indicating the non-existence of the position data of the sub-asset on the display page.

[0200] and / or

[0201] The device further includes:

[0202] A second display module, after obtaining the statistical value of each specified asset represented by each specified asset identifier belonging to the specified product for a specified dimension, for each sub-asset identifier corresponding to each first type of specified asset identifier, if there is position data of the sub-asset represented by the sub-asset identifier in the position data of the specified product, display a prompt message on the display page; wherein, the prompt message is used to indicate that the statistical value of the specified asset represented by the first type of specified asset identifier for the specified dimension is calculated based on the position data of the sub-asset represented by the sub-asset identifier; the prompt message includes: the sub-asset identifier, and the statistical value of the specified asset represented by the first type of specified asset identifier for the specified dimension;

[0203] The second display module is further used to display, for each second type of specified asset identifier, the second type of specified asset identifier and the statistical value of the specified asset represented by the second type of specified asset identifier for the specified dimension on the display page

[0204] Optionally, the device further includes:

[0205] A generation module, for generating a target syntax tree corresponding to the target expression; wherein, the target syntax tree includes a first node representing an arithmetic operator and a second node representing a specified asset identifier; the connection relationship between a first node and a second node represents: the arithmetic operator represented by the first node is used to calculate the statistical value of the specified asset to which the specified asset identifier represented by the second node belongs for a specified dimension; the level of any first node in the target syntax tree represents: the execution order of the arithmetic operator represented by the first node in the operation mode of the target expression;

[0206] A calling module, specifically for each node of the target syntax tree, if the node represents a specified asset identifier, then through a preset calling interface, call the acquisition function corresponding to the specified asset identifier, and obtain the statistical value of the specified asset represented by each specified asset identifier belonging to the specified product for a specified dimension, as the statistical value corresponding to the node;

[0207] A calculation module, including:

[0208] A calculation unit, configured to calculate, for each node representing a specified asset identifier, according to the arithmetic operator represented by the node having a connection relationship with this node, the statistical value corresponding to this node, to obtain the monitoring data of the specified product.

[0209] Optionally, the calculation unit is specifically configured to determine, according to the levels of each first node in the target syntax tree, the last executed arithmetic operator in the operation mode of the target expression, as the first arithmetic operator;

[0210] According to the connection relationship in the target syntax tree, respectively use each second arithmetic operator other than the first arithmetic operator to calculate the statistical value corresponding to the specified asset identifier associated with this second arithmetic operator, to obtain the process quantity corresponding to this second arithmetic operator;

[0211] According to the calculation method represented by the first arithmetic operator, calculate the process quantity associated with the first arithmetic operator, to obtain the monitoring data of the specified product.

[0212] The position-holding data of the specified product is stored in the local memory;

[0213] After obtaining the process quantity corresponding to each second arithmetic operator, the device further includes:

[0214] A storage module, configured to store the obtained process quantity corresponding to each second arithmetic operator into the local memory;

[0215] The calculation unit is specifically configured to obtain the process quantity associated with the first arithmetic operator from the local memory;

[0216] According to the calculation method represented by the first arithmetic operator, calculate the obtained process quantity, to obtain the monitoring data of the specified product;

[0217] And / or,

[0218] The device further includes:

[0219] A third display module, configured to use the process quantity in the local memory and the monitoring data of the specified product as display content and display them on the display page.

[0220] In an embodiment of the present invention, a user can combine arithmetic operators and specified asset identifiers of various specified assets according to actual business requirements to configure a target expression for calculating monitoring data; then determine the specified product targeted by the target expression, that is, determine that the monitoring data to be calculated by the target expression is the monitoring data of the specified product; acquisition functions corresponding to the asset identifiers of each supported asset are pre-registered in a preset call interface, and the acquisition functions registered in the preset call interface include the acquisition function corresponding to the specified asset identifier in the target expression configured by the user; since the acquisition function corresponding to each asset identifier is used to acquire the position data of the asset represented by the asset identifier and calculate the statistical value of this type of asset for a specified dimension based on the acquired position data, the acquisition functions corresponding to the specified asset identifiers in the target expression configured by the user can be automatically called through the preset call interface to obtain the statistical values of the specified assets represented by each specified asset identifier belonging to the specified product for the specified dimension; furthermore, based on the arrangement order representing the operation mode of the target expression, the arithmetic operators in the parsing result are automatically used to calculate the obtained statistical values to obtain the monitoring data of the specified product. Therefore, for a specified product, only the user needs to provide an expression for calculating the monitoring data, and the solution of the present application can be applied for automatic calculation, improving the efficiency of obtaining the monitoring data.

[0221] An embodiment of the present invention further provides an electronic device, as Figure 8 shown, including a processor 801, a communication interface 802, a memory 803, and a communication bus 804. Among them, the processor 801, the communication interface 802, and the memory 803 complete communication with each other through the communication bus 804.

[0222] The memory 803 is used to store a computer program;

[0223] The processor 801 is used to implement the above-mentioned method for obtaining monitoring data when executing the program stored on the memory 803.

[0224] The communication bus mentioned in the above electronic device may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. This communication bus can be divided into an address bus, a data bus, a control bus, etc. For the sake of convenience of representation, only a thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.

[0225] The communication interface is used for communication between the above electronic device and other devices.

[0226] The memory may include a Random Access Memory (RAM), or may also include a Non-Volatile Memory (NVM), such as at least one disk memory. Optionally, the memory may also be at least one storage device located far from the aforementioned processor.

[0227] The aforementioned processor may be a general-purpose processor, including a Central Processing Unit (CPU), a Network Processor (NP), etc.; it may also be 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, discrete hardware components.

[0228] In another embodiment provided by the present invention, there is also provided a computer-readable storage medium, in which a computer program is stored, and when the computer program is executed by a processor, the steps of any of the above-mentioned methods for obtaining monitoring data are implemented.

[0229] In another embodiment provided by the present invention, there is also provided a computer program product containing instructions, which when running on a computer, causes the computer to execute any of the methods for obtaining monitoring data in the above embodiments.

[0230] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions described in the embodiments of the present invention are generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (such as coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that can be accessed by a computer, or a data storage device such as a server or data center that includes one or more integrated available media. The available medium can be a magnetic medium (such as a floppy disk, hard disk, magnetic tape), an optical medium (such as a DVD), or a semiconductor medium (such as a solid state disk (SSD)).

[0231] It should be noted that, in this document, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the term "comprising", "including" or any other variation thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements not only includes those elements, but also includes other elements not expressly listed, or elements inherent to such process, method, article or device. Without further limitation, an element defined by the statement "comprising a..." does not exclude the existence of additional identical elements in the process, method, article or device comprising said element.

[0232] Each embodiment in this specification is described in a related manner. The same or similar parts among the embodiments can be referred to each other, and the differences between each embodiment and other embodiments are emphasized. In particular, for the device 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.

[0233] The above are only the preferred embodiments of the present invention and are not intended to limit the protection scope of the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principle of the present invention are all included within the protection scope of the present invention.

Claims

1. A method for acquiring monitoring data, characterized in that: The method comprises: In response to a configuration operation performed by a user in a configuration page, a target expression for calculating monitoring data indicated by the configuration operation is obtained; wherein the target expression is a combination of an arithmetic operator and designated asset identifiers of various designated assets; Determining a specific product targeted by the target expression; Parsing the target expression to obtain a parsing result including each designated asset identifier and an arithmetic operator; wherein, in the parsing result, the arrangement order of each designated asset identifier and the arithmetic operator represents the operation mode of the target expression; Through a preset calling interface, the acquisition function corresponding to each designated asset identifier in the parsing result is called to obtain the statistical value of the designated asset represented by each designated asset identifier belonging to the designated product for the designated dimension; wherein the acquisition function corresponding to the asset identifier of each supported asset is pre-registered in the preset calling interface; the acquisition function corresponding to each asset identifier is used to obtain the position data of the asset represented by the asset identifier, and calculate the statistical value of the asset for the designated dimension based on the acquired position data; Based on the arrangement order, the obtained statistical values ​​are calculated using the arithmetic operators in the analysis results to obtain the monitoring data of the designated product.

2. The method according to claim 1, characterized in that The target expression further includes: a sub-asset identifier corresponding to the first type of designated asset identifier; the sub-asset identifier corresponding to the first type of designated asset identifier represents: a sub-asset included in the designated asset represented by the first type of designated asset identifier; The position data of the specified asset represented by each specified asset identifier is obtained in the following ways: For each first-category designated asset identifier, in the position data of the designated product, obtain the position data of the sub-asset represented by the sub-asset identifier corresponding to the first-category designated asset identifier in the target expression, and obtain the position data of the designated asset represented by the first-category designated asset identifier based on the obtained position data of the sub-asset; For each second-category designated asset identifier, the holding data of the designated asset represented by the second-category designated asset identifier is obtained from the holding data of the designated product; wherein the second-category designated asset identifier is the designated asset identifier other than the first-category designated asset identifier in the parsing result.

3. The method according to claim 2, characterized in that For any first-category designated asset identifier, the target expression further includes: a logical operator between multiple sub-asset identifiers corresponding to the first-category designated asset identifier; The parsing result further includes: a logical operator between multiple sub-asset identifiers corresponding to any first-category designated asset identifier; in the parsing result, the arrangement order of each designated asset identifier, arithmetic operator, each sub-asset identifier and logical operator represents the operation mode of the target expression; The obtaining of the holding data of the designated asset represented by the first type of designated asset identifier based on the acquired holding data of the sub-asset includes: Based on the acquired sub-asset holding data, logical operations are performed according to the logical operators between the multiple sub-asset identifiers corresponding to the first type of designated asset identifiers recorded in the parsing results to obtain the holding data of the designated asset represented by the first type of designated asset identifiers; and / or, The method further comprises: For each sub-asset identifier corresponding to the first type of designated asset identifier, if the holding data of the sub-asset represented by the sub-asset identifier does not exist in the holding data of the designated product, a result indicating that the holding data of the sub-asset does not exist is displayed on the display page; and / or The method further comprises: After obtaining the statistical value of the designated asset represented by each designated asset identifier belonging to the designated product for the designated dimension, for each sub-asset identifier corresponding to each first-category designated asset identifier, if the position data of the sub-asset represented by the sub-asset identifier exists in the position data of the designated product, a prompt message is displayed in the display page; wherein the prompt message is used to indicate that the statistical value of the designated asset represented by the first-category designated asset identifier for the designated dimension is calculated based on the position data of the sub-asset represented by the sub-asset identifier; the prompt message includes: the sub-asset identifier, and the statistical value of the designated asset represented by the first-category designated asset identifier for the designated dimension; For each second-category designated asset identifier, the second-category designated asset identifier and the statistical value of the designated asset represented by the second-category designated asset identifier for the designated dimension are displayed on the display page.

4. The method according to any one of claims 1 to 3, characterized in that: Before calling the acquisition function corresponding to each designated asset identifier in the parsing result through a preset calling interface to obtain the statistical value of the designated asset represented by each designated asset identifier belonging to the designated product for the designated dimension, the method further includes: Generate a target syntax tree corresponding to the target expression; wherein the target syntax tree includes a first node representing an arithmetic operator and a second node representing a specified asset identifier; the connection relationship between a first node and a second node represents: the arithmetic operator represented by the first node is used to calculate the statistical value of a specified asset belonging to the specified asset identifier represented by the second node for a specified dimension; the level of any first node in the target syntax tree represents: the execution order of the arithmetic operator represented by the first node in the operation mode of the target expression; The method of calling the acquisition function corresponding to each designated asset identifier in the parsing result through the preset calling interface to obtain the statistical value of the designated asset represented by each designated asset identifier belonging to the designated product for the designated dimension includes: For each node of the target syntax tree, if the node represents a specified asset identifier, the acquisition function corresponding to the specified asset identifier is called through a preset calling interface to obtain the statistical value of the specified asset represented by each specified asset identifier belonging to the specified product for the specified dimension as the statistical value corresponding to the node; The method of calculating each obtained statistical value based on the arrangement order and using the arithmetic operator in the analysis result to obtain the monitoring data of the specified product includes: For each node representing a designated asset identifier, the statistical value corresponding to the node is calculated according to the arithmetic operator represented by the node connected to the node to obtain the monitoring data of the designated product.

5. The method according to claim 4, characterized in that For each node representing the designated asset identifier, the statistical value corresponding to the node is calculated according to the arithmetic operator represented by the node connected to the node to obtain the monitoring data of the designated product, including: According to the level of each first node in the target syntax tree, determine the last arithmetic operator executed in the operation mode of the target expression as the first arithmetic operator; According to the connection relationship in the target syntax tree, each second arithmetic operator except the first arithmetic operator is used to calculate the statistical value corresponding to the designated asset identifier associated with the second arithmetic operator to obtain the process quantity corresponding to the second arithmetic operator; According to the calculation method represented by the first arithmetic operator, the process quantity associated with the first arithmetic operator is calculated to obtain the monitoring data of the designated product.

6. The method according to claim 5, characterized in that The position data of the specified product is stored in the local memory; After obtaining the process quantity corresponding to each second arithmetic operator, the method further includes: The obtained process quantity corresponding to each second arithmetic operator is stored in the local memory; The step of calculating the process quantity associated with the first arithmetic operator according to the calculation method represented by the first arithmetic operator to obtain the monitoring data of the designated product includes: Obtaining from local memory the process quantity associated with the first arithmetic operator; Calculating the acquired process quantity according to the calculation method represented by the first arithmetic operator to obtain monitoring data of the designated product; and / or, The method further comprises: The process quantities in the local memory and the monitoring data of the designated product are used as display contents and displayed in the display page.

7. A monitoring data acquisition device, characterized in that: The device comprises: A first acquisition module is used to obtain, in response to a configuration operation performed by a user in a configuration page, a target expression for calculating monitoring data indicated by the configuration operation; wherein the target expression is a combination of an arithmetic operator and designated asset identifiers of various designated assets; A determination module, used to determine the specified product targeted by the target expression; A parsing module, used to parse the target expression to obtain a parsing result including each designated asset identifier and an arithmetic operator; wherein, in the parsing result, the arrangement order of each designated asset identifier and the arithmetic operator represents the operation mode of the target expression; A calling module, used to call the acquisition function corresponding to each designated asset identifier in the parsing result through a preset calling interface, and obtain the statistical value of the designated asset represented by each designated asset identifier belonging to the designated product for the designated dimension; wherein the acquisition function corresponding to the asset identifier of each supported asset is pre-registered in the preset calling interface; the acquisition function corresponding to each asset identifier is used to obtain the position data of the asset represented by the asset identifier, and calculate the statistical value of the asset for the designated dimension based on the acquired position data; A calculation module is used to calculate the obtained statistical values ​​based on the arrangement order and using arithmetic operators in the analysis results to obtain the monitoring data of the specified product.

8. An electronic device, characterized in that: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; Memory, used to store computer programs; A processor, for implementing any of the methods described in claims 1-6 when executing a program stored in a memory.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.

10. A computer program product, characterized in that The invention comprises a computer program, which implements the method according to any one of claims 1 to 6 when executed by a processor.