Business promotion control method and related device

By obtaining and analyzing business communication data, updating business scenario data statistics results, and automatically promoting business according to preset conditions, the problem of low accuracy of manual control promotion timing is solved, and the accuracy and flexibility of business promotion control is improved.

CN119477432APending Publication Date: 2025-02-18AGRICULTURAL BANK OF CHINA
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411645865.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-18
Publication Date
2025-02-18

AI Technical Summary

Technical Problem

During the business promotion process, relying on manual control of promotion timing leads to low accuracy.

Method used

By obtaining the business communication data when the front-end interacts with the target application system, analyzing the data to update the business scenario data statistics, and selecting the target performance data according to preset conditions, and automatically performing business promotion operations.

Benefits of technology

It improves the accuracy of business promotion control, saves manpower, can flexibly adapt to the needs of different business scenarios, and reduces the difficulty of decoupling code after promotion is completed.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119477432A_ABST
    Figure CN119477432A_ABST
Patent Text Reader

Abstract

The invention provides a business promotion control method and a related device, and relates to the field of business promotion. According to the business promotion method and device, when business promotion is carried out, the two dimensions of the business scene data statistical result and the target performance data are considered, so that business promotion judgment meets actual business promotion requirements, and the accuracy of business promotion control is improved. Besides, when the business scene data statistical result is updated, business communication data during interaction with the target application system is acquired, the business communication data is analyzed to obtain business parameter information, and the business scene data statistical result is updated according to the business parameter information. According to the method and the device, the interaction data during actual interaction is considered, namely, the business scene data statistical result is updated according to the actual interaction data, so that the accuracy of updating the business scene data statistical result is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of business promotion, and more specifically, to a business promotion control method and related devices. Background Art

[0002] With the rapid development of Internet technology, the demand for online systems has exploded. The time from the proposal of a demand to its launch, and then to the nationwide promotion through business promotion is getting shorter and shorter, and the accuracy of promotion is required to be higher and higher. Among them, business promotion refers to the process of a program system from local trial to global use after realizing a certain business function.

[0003] In the related art, when promoting a business, the promotion timing is manually controlled, and the accuracy of the business promotion is low. Summary of the invention

[0004] In view of this, the present application provides a service promotion control method and related devices to solve the problem of low accuracy in manually controlling promotion timing.

[0005] In order to solve the above technical problems, this application adopts the following technical solutions:

[0006] A business promotion control method, wherein a program corresponding to the business promotion control method is embedded into a business code through a project object model (POM) dependency method; the business promotion control method comprises:

[0007] Obtain business communication data when the front end interacts with the target application system;

[0008] Performing a parsing operation on the business communication data to obtain business parameter information, and updating business scenario data statistics results according to the business parameter information;

[0009] If the statistical result of the business scenario data meets the preset business coverage condition, obtaining candidate performance data, and selecting target performance data from the candidate performance data;

[0010] When it is determined that the target performance data meets the preset performance promotion conditions, a business promotion operation is performed according to a preset business promotion strategy.

[0011] Optionally, obtaining business communication data when interacting with the target application system includes:

[0012] The business communication data when the front end interacts with the target application system is intercepted by means of annotation code; the business communication data includes business request data and response message data.

[0013] Optionally, parsing the service communication data to obtain service parameter information includes:

[0014] Performing a message parsing operation on the service request data to obtain first service parameter sub-information; the first service parameter sub-information includes a service scenario, an interface name, and a service branch;

[0015] Performing a message parsing operation on the response message data to obtain second service parameter sub-information; the second service parameter sub-information includes an interface response result;

[0016] The first service parameter sub-information and the second service parameter sub-information are combined to obtain service parameter information.

[0017] Optionally, updating the business scenario data statistics results according to the business parameter information includes:

[0018] Obtain business scenario data statistics; the business scenario data statistics include multiple dimensions, the multiple dimensions include business scenario statistics, interface name statistics, business branch statistics, interface call success rate and total transaction volume;

[0019] According to the content in the business parameter information, the values ​​of various dimensions in the business scenario data statistical results are adjusted to obtain updated business scenario data statistical results.

[0020] Optionally, obtaining candidate performance data and selecting target performance data from the candidate performance data includes:

[0021] Obtain candidate performance data retrieved from the log using a log keyword search method according to a preset statistical interval;

[0022] The candidate performance data with the largest value is taken as the target performance data.

[0023] Optionally, determining that the target performance data meets a preset performance promotion condition includes:

[0024] Perform transaction volume forecasting operations based on historical transaction volumes to obtain expected promotional transaction volumes;

[0025] Calculating expected post-promotion performance data based on the expected promotion transaction volume and the target performance data;

[0026] Determining whether the expected performance data after promotion meets the preset performance promotion conditions;

[0027] If so, it is determined that the target performance data meets the preset performance promotion conditions.

[0028] Optionally, it also includes:

[0029] If it is determined that no business promotion operation has been performed within the preset time, business promotion restriction data is determined according to the business scenario data statistical results and the candidate performance data;

[0030] The business promotion restriction data is pushed to a preset terminal.

[0031] A business promotion control device, wherein a program corresponding to the business promotion control device is embedded into a business code through a project object model (POM) dependency method; the business promotion control device comprises:

[0032] The first data acquisition module is used to acquire the business communication data when the front end interacts with the target application system;

[0033] A parsing module, used to parse the business communication data to obtain business parameter information, and update the business scenario data statistics according to the business parameter information;

[0034] A second data acquisition module is used to acquire candidate performance data and select target performance data from the candidate performance data if the statistical result of the business scenario data meets the preset business coverage condition;

[0035] The business promotion module is used to perform business promotion operations according to a preset business promotion strategy when it is determined that the target performance data meets the preset performance promotion conditions.

[0036] An electronic device comprises at least one processor and a memory connected to the processor, wherein:

[0037] The memory is used to store computer programs;

[0038] The processor is used to execute the computer program so that the electronic device can implement the above-mentioned business promotion control method.

[0039] A computer storage medium carries one or more computer programs. When the one or more computer programs are executed by an electronic device, the electronic device can implement the above-mentioned business promotion control method.

[0040] The present application provides a business promotion control method and related devices. In the present application, when performing business promotion, the two dimensions of business scenario data statistics and target performance data are considered, so that the business promotion judgment meets the actual business promotion needs and improves the accuracy of business promotion control. In addition, in the present invention, when updating the business scenario data statistics, the business communication data when interacting with the target application system is obtained, and the business communication data is parsed to obtain business parameter information. According to the business parameter information, the business scenario data statistics are updated, that is, the present invention considers the interaction data during the actual interaction, that is, the business scenario data statistics are updated according to the actual interaction data, and the accuracy of the business scenario data statistics is improved. In addition, the present invention automatically implements the business promotion operation and saves manpower. In addition, in the present invention, the program corresponding to the business promotion control method is embedded in the business code through the POM dependency method. Later, only the program configuration needs to be modified to meet the needs of different business scenarios, which can effectively reduce the difficulty of use, reduce the amount of configuration and improve flexibility. After the promotion is completed, only the relevant POM dependency needs to be removed to achieve the degree of decoupling, and the decoupling operation is simple. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related technologies, the drawings required for use in the embodiments or the related technical descriptions are briefly introduced below. Obviously, the drawings described below are merely embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.

[0042] Figure 1 A flow chart of a service promotion control method provided by an embodiment of the present invention;

[0043] Figure 2 A flowchart of a method for determining service parameter information provided by an embodiment of the present invention;

[0044] Figure 3 A conditional judgment flow chart provided for an embodiment of the present invention;

[0045] Figure 4 A schematic diagram of a scenario of a service promotion control method provided by an embodiment of the present invention;

[0046] Figure 5 A flowchart of another service promotion control method provided by an embodiment of the present invention;

[0047] Figure 6 A schematic diagram of the structure of a service promotion control device provided by an embodiment of the present invention;

[0048] Figure 7A schematic diagram of a scenario of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0049] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0050] In order to enable those skilled in the art to more clearly understand the present invention, the professional terms in the embodiments of the present invention are now explained.

[0051] Log (specifically referring to program running log in this article): Log is to record the process information of program running in the system, and monitor the events that occur in the system through the program running track. Users can use logs to check the time and cause of errors or traces left by attackers. Usually, the functions of logs include problem tracking, status monitoring and security auditing.

[0052] Trading volume: The number of transactions completed by a customer within a specific time frame.

[0053] Monitoring program: It is an automated system that can dynamically obtain the input, output and running status of the target program. It is generally used to judge the running status of the target program, including performance indicators such as performance, reliability, capacity and balance.

[0054] Adaptation: During the processing and analysis process, the processing method, processing sequence, processing parameters, etc. are automatically adjusted according to the data characteristics of the processed data.

[0055] Business promotion: The process of a program system moving from local trial to global use after it has achieved a certain business function.

[0056] With the rapid development of Internet technology, customer demand is becoming increasingly strong. The business needs of the financial industry are diversified while also striving to maintain stability. How to find a balance between development and stability has become crucial. Generally speaking, new businesses will first screen customers or provinces for trial use and then be promoted nationwide.

[0057] Currently, promotion still relies on manual control. After selecting customers or provinces for trial, the system is put into production. During the operation, developers manually monitor the system operation logs, including application logs and performance logs. At the same time, they rely on customer feedback and judge the current business maturity through branch work orders. It usually runs for two weeks, a month or even longer, and then promotes more customers or provinces, re-enters the manual monitor until it is promoted nationwide. There are two problems with this promotion method. First, it relies on manual labor, which takes up a lot of developers' time to view and analyze monitoring data; second, the promotion conditions are unreliable. A single customer or identity has business preferences, and it may not have traversed all the business conditions of the system. The promotion conditions are not completely sufficient. In addition, individuals or teams make promotion decisions based on only some observed and detected data. The lack of data and logical rigor can easily lead to business function failures and low promotion accuracy.

[0058] To this end, the embodiment of the present invention designs an adaptive business promotion implementation scheme based on a monitoring program, which dynamically determines whether to expand the scope of business promotion by monitoring indicators such as the transaction volume, accuracy, system performance, and business scenario coverage of local trial services such as a single province or a single customer, and gradually realizes the comprehensive promotion of the business. At the same time, the monitoring program can also determine whether to roll back or close the promotion based on the transaction data of the business. The time and work cost of manual log monitoring and analysis, business branch judgment, etc. are greatly reduced, and the promotion efficiency of new businesses or new systems is improved while ensuring the normal operation of the business.

[0059] On the basis of the above content, an embodiment of the present invention provides a business promotion control method, and the execution subject can be a business promotion controller, etc. In practical applications, for the business promotion control method, it is necessary to design a corresponding program, such as a monitoring program. In order to reduce the coupling between the program and the existing business code, the program corresponding to the business promotion control method can be embedded into the business code through the POM (Project Object Model, Project Object Model) dependency method. After the promotion is completed, only the POM dependency related to the monitoring business needs to be removed. In this embodiment, by embedding the program into the business code in the form of POM dependency, the monitoring service for business promotion control is low-coupled with the business module, which can significantly reduce the difficulty of stripping the code from the business code after the promotion is completed, and avoid the monitoring service from still running after the promotion is completed, occupying system memory and resources. In addition, when facing different business scenarios, only the program configuration needs to be modified to meet the needs of different business scenarios, which can effectively reduce the difficulty of use, reduce the amount of configuration and improve flexibility, and can flexibly adapt to the needs of different business scenarios. In addition, the monitoring program is associated with the business module or system in the form of POM dependency, and only the application annotation is needed to obtain the business operation status of the business module or system, avoiding the operation risk brought to production.

[0060] Reference Figure 1 , a business promotion control method may include:

[0061] S11. Acquire business communication data when the front end interacts with the target application system.

[0062] Specifically, in the embodiment of the present invention, the front end receives a service request and calls the interface of the target application system according to the service request to perform a service processing operation.

[0063] For example, the front end can be each branch of a bank, and the target application system provides interfaces such as transfer, remittance, fund purchase, financial management, inquiry, and lending. The front end selects the appropriate interface of the target application system to send the business request data to the target application system through the interface according to the front end business request. Taking transfer as an example, the front end calls the transfer interface of the target application system to enable the target application system to perform the corresponding transfer operation. When the transfer operation is successfully executed or fails (such as insufficient balance transfer failure), the response message data is sent to the front end.

[0064] In an embodiment of the present invention, when the front end interacts with the target application system (i.e., the front end sends service request data to the target application system, and the target application system sends response message data to the front end), the service promotion controller obtains the service communication data when the front end interacts with the target application system.

[0065] When obtaining the data, the business communication data when the front end interacts with the target application system can be intercepted by annotating the code, wherein the business communication data includes business request data and response message data. The business request data and response message data are generally in the form of application messages.

[0066] In the specific implementation, it is implemented by intervening in the calling process between the front-end (such as the business microservice module or system that executes the specific business) and the target application system. When the business microservice module or system sends a request and receives a response, the monitoring program uses annotated code to intercept the request data and response data.

[0067] S12: parse the service communication data to obtain service parameter information, and update the service scenario data statistics according to the service parameter information.

[0068] Specifically, after obtaining the business communication data, it is necessary to parse it to obtain detailed information.

[0069] Reference Figure 2 , step S12 may include:

[0070] S21. Perform a message parsing operation on the service request data to obtain first service parameter sub-information.

[0071] The first service parameter sub-information includes a service scenario, an interface name, and a service branch.

[0072] Specifically, the parsing operation of the message is implemented through the message parsing module. In actual applications, since the business communication data includes business request data and response message data, and the content of the business request data and the response message data is different, the business request data mainly involves the requested port, interface name, business branch and other contents, and the response message data mainly involves the response result fed back by the target application system, such as interface response code, response information, etc., therefore, when performing the parsing operation, the two are parsed separately.

[0073] When parsing the business request data, the specific business scenarios can be analyzed based on the content of the business request data, such as the business parameters, business types, etc. The business scenarios can be transfer, query, loan, financial management, etc. Then, by parsing the interface data, the specific interface name is obtained, and the specific business content is analyzed to obtain the business branch. Taking transfer as an example, the business branches can be debit card transfer, check account transfer, credit card transfer, etc.

[0074] In this embodiment, the business scenarios, interface names and business branches are parsed to ensure that during the promotion process, the promotion operation is only carried out when the business scenarios are fully covered, the interface calls are fully covered, and the business branches are mostly covered. This ensures that during the promotion, each business scenario, each interface call and most of the business branches are successfully called without any abnormalities, thereby reducing the risk of abnormalities during subsequent promotion.

[0075] The above-mentioned business scenario, interface name and business branch serve as the first business parameter sub-information.

[0076] S22: Perform a message parsing operation on the response message data to obtain second service parameter sub-information.

[0077] When parsing the response message data, the response message data includes an interface response code and response information. The interface response code may be such as "000000", and the response information may be such as "Transaction successful". The interface response code and response information are the interface response results in the embodiment of the present invention. The second business parameter sub-information includes the interface response result.

[0078] S23. Combine the first service parameter sub-information and the second service parameter sub-information to obtain service parameter information.

[0079] Specifically, the first service parameter sub-information and the second service parameter sub-information are combined to obtain the service parameter information.

[0080] It should be noted that the business request data and the response message data can be parsed successively or simultaneously, depending on the actual scenario.

[0081] In this embodiment, the business communication data is parsed to obtain data related to the actual business, such as business scenarios, interfaces, business analysis and interface response results. These data related to the actual business can then be analyzed, and promotion operations are performed only when the promotion needs of the actual business are met.

[0082] After the business parameter information is obtained through parsing, the business scenario data statistics are updated according to the business parameter information.

[0083] Specifically, the obtained business scenario data statistics generally include multiple dimensions.

[0084] The multiple dimensions include business scenario statistics, interface name statistics, business branch statistics, interface call success rate and total transaction volume.

[0085] Among them, the business scenario statistics refer to how many business scenarios the existing business involves, the interface name statistics refer to how many interface names the existing business involves for each business scenario, the business branch statistics refer to how many business branches the existing business involves for each business branch under each business scenario, the interface call success rate refers to the call success rate of the called interface, and the total transaction volume refers to the sum of the transaction volumes of the existing business.

[0086] In actual applications, a business scenario counter can be set. When an existing business involves a new business scenario, the counter is incremented by one. Similarly, an interface counter and a business branch counter are set to respectively count the business scenarios, interface names and business branches involved.

[0087] The interface call success rate can be determined by parsing the response message data returned by the target application system each time the business calls the interface to obtain the interface response result. Since the interface response result includes the interface response code and response information, the interface response code and response information can reflect whether the interface call is successful or failed. Therefore, the number of successful interface calls and the total number of interface calls can be counted, and the value of successful interface calls / total number of interface calls is used as the interface call success rate.

[0088] The total transaction volume is obtained by summing up the transaction volume of each business that has been carried out.

[0089] After determining the content of the business parameter information, the values ​​of the various dimensions in the business scenario data statistical results are adjusted according to the calculation methods of the above-mentioned dimensions to obtain updated business scenario data statistical results, thereby ensuring that the business scenario data statistical results are updated in real time.

[0090] S13: If the statistical result of the business scenario data meets the preset business coverage condition, obtain candidate performance data, and select target performance data from the candidate performance data.

[0091] Specifically, the preset service coverage condition is obtained according to the actual configuration, and the preset service coverage condition is as follows:

[0092] 1. Full coverage of business scenarios;

[0093] 2. Full coverage of interface calls;

[0094] 3. Interface call success rate>90%;

[0095] 4. Interface business logic branch coverage> 80%;

[0096] 5. Total transaction volume > 50% of expected transaction peak.

[0097] Among them, full coverage of business scenarios refers to whether the existing business involves all business scenarios. Full coverage of interface calls refers to whether the existing business involves all business interfaces, which is determined by the interface name. The interface call success rate and the total transaction volume are directly obtained according to the above corresponding methods. The interface business logic branch coverage rate refers to the proportion of all business branches involved in the existing business to all business branches in the same business scenario. The expected transaction peak is obtained through prediction, such as predicting future transaction peak data based on historical transaction peak data to obtain the expected transaction peak.

[0098] In actual scenarios, the business decision module determines whether the statistical results of the business scenario data meet the above five conditions. If so, it further determines whether the performance data meets the promotion requirements.

[0099] When specifically acquiring the performance data, the candidate performance data may be retrieved from the log by using a log keyword search method according to a preset statistical interval.

[0100] Specifically, the preset statistical interval is determined according to the actual scenario. For example, after the software is put into use, the performance data can be obtained every three hours. The log is generated in real time, but the performance data is obtained only when the statistical time corresponding to the preset statistical interval is reached.

[0101] When obtaining performance data from the log, the log keyword search method is used, such as the keyword ASMP is a keyword that identifies the performance, and the performance data is obtained by detecting the keyword in the log. It should be noted that the number and content of the keywords in the embodiment of the present invention can be set according to actual conditions, and can be one or more.

[0102] The performance data obtained by keyword retrieval is called candidate performance data. There are multiple candidate performance data, and the content of the candidate performance data can be:

[0103] The system CPU (Central Processing Unit) usage, memory usage, etc. when calling.

[0104] Subsequently, it is necessary to select target performance data from multiple candidate performance data. In an embodiment of the present invention, the candidate performance data with the largest value can be used as the target performance data. Specifically, among the candidate performance data, the CPU will occupy memory when in use. Therefore, in general, the CPU usage rate is proportional to the memory usage rate. The greater the CPU usage rate, the greater the memory usage rate, which means that more resources are occupied when the interface is called. The interface call that occupies the most resources can represent the maximum amount of resources required for the interface call. This amount of resources can reflect the maximum capacity required for the interface call. Therefore, in an embodiment of the present invention, the candidate performance data with the largest value is used as the target performance data.

[0105] S14: When it is determined that the target performance data meets the preset performance promotion conditions, a service promotion operation is performed according to a preset service promotion strategy.

[0106] Specifically, like the preset service coverage conditions, preset performance promotion conditions are also configured for the target performance data.

[0107] Specifically, the preset performance promotion conditions may be as follows:

[0108] 1. (Expected CPU usage after promotion = expected promotion transaction volume / (current transaction volume / CPU usage)) < 60%

[0109] 2. (Expected memory usage after promotion = expected promotion transaction volume / (current transaction volume / memory usage)) < 60%.

[0110] In order to determine whether the performance data meets the preset performance promotion conditions, it is also necessary to calculate the expected promotion transaction volume, and then calculate the expected CPU usage rate and expected memory occupancy rate after promotion. Figure 3 , determining that the target performance data meets the preset performance promotion conditions may include:

[0111] S31. Perform a transaction volume prediction operation based on historical transaction volumes to obtain an expected promotion transaction volume.

[0112] Specifically, the transaction volume prediction model can be called to process the historical transaction volume to obtain the expected promotion transaction volume.

[0113] To elaborate, historical trading volume refers to all trading volumes collected before this trading volume forecast.

[0114] The trading volume prediction model can be a neural network model, a machine learning model, etc. When training the model, the time series trading volume samples can be input. In the trading volume samples, all trading volumes before the last trading volume are called training data. The last trading volume is the actual value corresponding to the data to be predicted. The model is trained using the training data and the last trading volume, so that the model learns the logical relationship between the training data and the last trading volume. After the model training is completed, the historical trading volume is input into the model to obtain the expected promotion trading volume.

[0115] S32. Calculate the expected post-promotion performance data based on the expected promotion transaction volume and the target performance data.

[0116] Specifically, the expected performance data after promotion include:

[0117] Expected CPU usage and memory usage after promotion.

[0118] Taking the calculation of the expected CPU usage after promotion as an example, the following describes the calculation process.

[0119] Expected CPU usage after promotion = expected promotion transaction volume / (current transaction volume / CPU usage).

[0120] The current transaction volume refers to the above-mentioned total transaction volume, and the CPU usage rate refers to the CPU usage rate in the above-mentioned target performance data.

[0121] The value of expected promotion transaction volume / (current transaction volume / CPU usage) is the expected CPU usage after promotion.

[0122] The calculation process of the expected memory usage after promotion is similar.

[0123] S33, determining whether the expected performance data after promotion meets the preset performance promotion conditions; if so, executing step S34.

[0124] S34: Determine whether the target performance data meets preset performance promotion conditions.

[0125] Specifically, it is determined whether the expected performance data after promotion meets the preset performance promotion conditions, that is, whether the expected CPU usage after promotion is less than 60%, and whether the expected memory occupancy after promotion is less than 60%.

[0126] In this embodiment, the reason for judging whether the two are less than 60% is that after the business promotion, the resource occupation will increase. If the resource occupation is large after the business promotion, it will affect the operation of the equipment. Therefore, the present invention limits the expected post-promotion CPU usage rate and the expected post-promotion memory occupation rate after the business promotion to less than 60%.

[0127] If both are less than 60%, it means that the expected performance data after promotion meets the preset performance promotion conditions, that is, the target performance data meets the preset performance promotion conditions, and the business promotion operation can be carried out at this time.

[0128] When promoting a business, the business promotion operation is performed according to the preset business promotion strategy. For example, the preset business promotion strategy may be to promote 10 cities each time, or to promote 100,000 customers each time, and the business promotion operation may be performed according to the preset business promotion strategy.

[0129] In this embodiment, when performing business promotion, the two dimensions of business scenario data statistics and target performance data are considered, so that the business promotion judgment meets the actual business promotion needs and improves the accuracy of business promotion control. In addition, in the present invention, when updating the business scenario data statistics, the business communication data when interacting with the target application system is obtained, and the business communication data is parsed to obtain business parameter information, and the business scenario data statistics are updated according to the business parameter information, that is, the present invention takes into account the interaction data during actual interaction, that is, the business scenario data statistics are updated according to the actual interaction data, and the accuracy of the business scenario data statistics is improved. In addition, the present invention automatically implements business promotion operations and saves manpower. In addition, in the present invention, the program corresponding to the business promotion control method is embedded in the business code through the POM dependency method, and the needs of different business scenarios can be met by modifying the program configuration later, which can effectively reduce the difficulty of use, reduce the amount of configuration and improve flexibility. After the promotion is completed, only the relevant POM dependency needs to be removed to achieve the degree of decoupling, and the decoupling operation is simple.

[0130] In another implementation of the present invention, the business promotion controller updates the business scenario data statistics results, and determines whether the business scenario data statistics results meet the preset business coverage conditions. If they meet the conditions, it further determines whether the target performance data meets the preset performance promotion conditions. If the business scenario data statistics results do not meet the preset business coverage conditions, or the business scenario data statistics results meet the preset business coverage conditions and the target performance data does not meet the preset performance promotion conditions, no promotion operation is performed. If it is determined that no business promotion operation has been performed within a preset time (specifically, it can be set by technical personnel according to actual conditions), it means that the business promotion operation cannot be performed due to resource limitations or the above-mentioned thresholds are set unreasonably. Then, the business promotion restriction data can be determined based on the business scenario data statistics results and the candidate performance data.

[0131] Specifically, the statistical results of the business scenario data and the data that do not meet the above corresponding conditions in the candidate performance data can be screened out as business promotion restriction data, and the business promotion restriction data can be pushed to a preset terminal.

[0132] If the business branch coverage rate has always failed, the interface business logic branch coverage rate can be used as business promotion restriction data, and the business promotion restriction data will be pushed to the mobile phone of the person in charge. The person in charge can adjust the threshold of the interface business logic branch coverage rate, such as lowering the threshold to 70%.

[0133] For another example, if the CPU usage rate after the expected promotion has not been met, the candidate performance data can be pushed to the technician's mobile phone to enable the technician to adjust the threshold of the CPU usage rate after the expected promotion, adjust the calculation process of the expected promotion transaction volume, or replace the CPU with a stronger processing power.

[0134] In this embodiment, when all promotion conditions are met, the monitoring system will automatically expand the promotion scope. If the monitoring program does not expand the promotion scope after running for a period of time (the business person in charge can configure the time threshold by himself), a text message will be sent to the business person in charge to prompt the unsatisfied promotion conditions, that is, the specific data of the performance data warning. The person in charge can supplement the system resources and re-monitor and promote the decision, such as adjusting the above promotion threshold according to the business characteristics. This process is repeated until the full range of promotion is completed to ensure the reliability of business promotion.

[0135] In another implementation of the present invention, in addition to monitoring the operation of the application program, the monitoring program also needs to meet the low coupling with the business system module and can flexibly adapt to the needs of different business systems. Therefore, in the embodiment of the present invention, the low coupling between the monitoring service and the business module can significantly reduce the difficulty of separating the code from the business code after the promotion is completed, and avoid the monitoring service still running after the promotion is completed, occupying system memory and resources. The monitoring service is embedded in the business code in the form of POM dependency. After the promotion is completed, it is only necessary to remove the POM dependency related to the monitoring business.

[0136] Reference Figure 4 The monitoring service uses the monitoring program to provide services. The monitoring level includes two parts: data extraction annotations and business logic code. These two parts are embedded in the business code, that is, the functional module or system, through POM dependencies. The data extraction annotation mainly intercepts the business communication data when interacting with the target application system through the annotation code, and the business logic code performs subsequent operations.

[0137] The financial system has a variety of business scenarios. For complex business scenarios, there may be multiple functional branches. Therefore, the monitoring program must also count the coverage of different functional branches to ensure the maturity of the promotion business.

[0138] Therefore, based on the overall design concept of "low coupling business modules, high coverage of multi-scenario business", the business logic code in the monitoring program mainly includes seven parts: message acquisition, message parsing, business scenario data statistics, promotion decision-making and business promotion. Figure 4 shown.

[0139] Among them, the business message is the carrier for storing the communication data between the front end and the target application system. Message acquisition includes two parts: application message acquisition and performance log acquisition. Application message acquisition is the process of intercepting the request and response message data of the corresponding business interface through annotation code. It is implemented by intervening in the functional module or system, such as intervening in the call process between the front end and the target application system. When the business module or system sends and receives and sends a response, the monitoring program intercepts the request data and response data. Performance log acquisition, obtains the performance data of this request process through the performance log keyword.

[0140] Message parsing is to identify and parse the intercepted request and response messages. The parsing content includes the business scenario to which the request belongs, the interface name, the interface logical branch, the interface response code and response information, as well as the system CPU usage and memory usage during this call.

[0141] Business scenario data statistics refer to the business branch counter of the interface corresponding to the business scenario being incremented by 1 according to the elements and results of message parsing after each interface call, and other counters being similar, and recording whether the response result is success or failure. At the same time, statistics are collected on the performance data of the system or module operation, and associated application data, such as CPU usage and memory usage when running X scenarios, Y interfaces, and Z branches.

[0142] Business promotion and business decision-making refers to judging whether to expand promotion based on the statistical results of business scenario transaction data. The main judgment logic includes:

[0143] Full coverage of business scenarios

[0144] Full coverage of interface calls

[0145] Interface call success rate>90%

[0146] Interface business logic branch coverage>80%

[0147] Total transaction volume > 50% of expected transaction peak

[0148] Calculate whether the current performance resources meet the promotion conditions based on the business volume:

[0149] 1) (Expected CPU usage after promotion = expected promotion transaction volume / (current transaction volume / CPU usage)) < 60%

[0150] 2) (Expected memory usage after promotion = expected promotion transaction volume / (current transaction volume / memory usage)) < 60%

[0151] When all the above conditions are met, the monitoring system will automatically expand the promotion scope. When the performance conditions are not met, a text message will be sent to the business manager to prompt the specific data of the performance data warning. The manager can replenish system resources and make new monitoring and promotion decisions. If the monitoring program does not expand the promotion scope after running for a period of time (the business manager can configure the time threshold by himself), a text message will be sent to the business manager to prompt the promotion conditions that are not met. The manager can adjust the above promotion thresholds according to the business characteristics.

[0152] Repeat this process until the full range of promotion is completed. For specific procedures, please refer to Figure 5 shown.

[0153] In this embodiment, the monitoring program is loosely coupled with the business code to reduce the risk of production. Specifically, the monitoring program is associated with the business module or system through POM dependency, and the business operation status of the business module or system can be obtained by applying annotations, avoiding the operational risks brought to production.

[0154] In addition, the present invention can flexibly adapt to the needs of different business scenarios. Specifically, only the program configuration needs to be modified to meet the needs of different business scenarios, which can effectively reduce the difficulty of use, reduce the amount of configuration and improve flexibility.

[0155] In addition, the present invention reduces the work of a large amount of manual monitoring and log analysis in business promotion, automatically completes the promotion, and reduces the complexity of business promotion.

[0156] In addition, the present invention avoids the business risks caused by poor operation or temporary inconsideration in manual promotion, thereby reducing the promotion risks.

[0157] Based on the above-mentioned embodiment of the business promotion control method, another embodiment of the present invention provides a business promotion control device, wherein the program corresponding to the business promotion control method is embedded into the business code through the project object model POM dependency method; Figure 6 , the business promotion control device comprises:

[0158] The first data acquisition module 11 is used to acquire the business communication data when the front end interacts with the target application system;

[0159] The parsing module 12 is used to parse the service communication data to obtain service parameter information, and update the service scenario data statistics according to the service parameter information;

[0160] The second data acquisition module 13 is used to acquire candidate performance data and select target performance data from the candidate performance data if the statistical result of the business scenario data meets the preset business coverage condition;

[0161] The service promotion module 14 is used to perform service promotion operations according to a preset service promotion strategy when it is determined that the target performance data meets the preset performance promotion conditions.

[0162] In one implementation, the first data acquisition module 11 is specifically used for:

[0163] The business communication data when the front end interacts with the target application system is intercepted by means of annotation code; the business communication data includes business request data and response message data.

[0164] In one implementation, the parsing module 12 includes:

[0165] A first parsing submodule, configured to perform a message parsing operation on the service request data to obtain first service parameter sub-information; the first service parameter sub-information includes a service scenario, an interface name, and a service branch;

[0166] A second parsing submodule is used to perform a message parsing operation on the response message data to obtain second service parameter sub-information; the second service parameter sub-information includes an interface response result;

[0167] A combining submodule is used to combine the first service parameter sub-information and the second service parameter sub-information to obtain service parameter information.

[0168] In one implementation, the parsing module 12 includes:

[0169] A result acquisition submodule is used to obtain business scenario data statistics; the business scenario data statistics include multiple dimensions, including business scenario statistics, interface name statistics, business branch statistics, interface call success rate and total transaction volume;

[0170] The updating submodule is used to adjust the values ​​of various dimensions in the business scenario data statistical results according to the content in the business parameter information to obtain updated business scenario data statistical results.

[0171] In one implementation, the second data acquisition module 13 includes:

[0172] A data acquisition submodule is used to obtain candidate performance data retrieved from the log using a log keyword search method according to a preset statistical interval;

[0173] The data determination submodule is used to take the candidate performance data with the largest value as the target performance data.

[0174] In one implementation, the business promotion module 14 includes:

[0175] The prediction submodule is used to perform transaction volume prediction operations based on historical transaction volumes to obtain the expected promotion transaction volume;

[0176] A data calculation submodule, used to calculate the expected performance data after promotion according to the expected promotion transaction volume and the target performance data;

[0177] A first condition determination submodule is used to determine whether the expected performance data after promotion meets a preset performance promotion condition;

[0178] The second condition determination submodule is used to determine that the target performance data meets a preset performance promotion condition if the condition is met.

[0179] In one implementation, the method further includes:

[0180] The data push module is used to determine the business promotion restriction data according to the business scenario data statistics results and the candidate performance data if it is determined that no business promotion operation has been performed within the preset time, and push the business promotion restriction data to the preset terminal.

[0181] In this embodiment, when performing business promotion, the two dimensions of business scenario data statistics and target performance data are considered, so that the business promotion judgment meets the actual business promotion needs and improves the accuracy of business promotion control. In addition, in the present invention, when updating the business scenario data statistics, the business communication data when interacting with the target application system is obtained, and the business communication data is parsed to obtain business parameter information, and the business scenario data statistics are updated according to the business parameter information, that is, the present invention takes into account the interaction data during actual interaction, that is, the business scenario data statistics are updated according to the actual interaction data, and the accuracy of the business scenario data statistics is improved. In addition, the present invention automatically implements business promotion operations and saves manpower. In addition, in the present invention, the program corresponding to the business promotion control method is embedded in the business code through the POM dependency method, and the needs of different business scenarios can be met by modifying the program configuration later, which can effectively reduce the difficulty of use, reduce the amount of configuration and improve flexibility. After the promotion is completed, only the relevant POM dependency needs to be removed to achieve the degree of decoupling, and the decoupling operation is simple.

[0182] It should be noted that, for the working process of each module and sub-module in the embodiment of the present invention, please refer to the corresponding description in the above embodiment, which will not be repeated here.

[0183] An embodiment of the present application also provides an electronic device, comprising at least one processor and a memory connected to the processor, wherein:

[0184] The memory is used to store computer programs;

[0185] The processor is used to execute the computer program so that the electronic device can implement the above-mentioned business promotion control method.

[0186] refer to Figure 7 As shown, it shows a schematic diagram of the structure of an electronic device suitable for implementing the embodiment of the present application. The electronic device in the embodiment of the present application may include but is not limited to fixed terminals such as mobile phones, laptops, PDAs (personal digital assistants), PADs (tablet computers), desktop computers, etc. Figure 7 The electronic device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0187] like Figure 7As shown, the electronic device may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 601, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage device 608 to a random access memory (RAM) 603. When the electronic device is powered on, various programs and data required for the operation of the electronic device are also stored in the RAM 603. The processing device 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.

[0188] Typically, the following devices may be connected to the I / O interface 605: an input device 606 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 607 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 608 including, for example, a memory card, a hard disk, etc.; and a communication device 609. The communication device 609 may allow the electronic device to communicate with other devices wirelessly or by wire to exchange data. Although Figure 7 An electronic device having various devices is shown, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.

[0189] An embodiment of the present application also provides a computer program product including computer-readable instructions. When the computer-readable instructions are executed on an electronic device, the electronic device implements any service promotion control method provided in the embodiment of the present application.

[0190] A computer-readable storage medium is also provided in an embodiment of the present application. The storage medium carries one or more computer programs. When the one or more computer programs are executed by an electronic device, the electronic device can implement any service promotion control method provided in an embodiment of the present application.

[0191] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A business promotion control method, characterized in that: The program corresponding to the business promotion control method is embedded into the business code through the project object model POM dependency method; The business promotion control method comprises: Obtain business communication data when the front end interacts with the target application system; Performing a parsing operation on the business communication data to obtain business parameter information, and updating business scenario data statistics results according to the business parameter information; If the statistical result of the business scenario data meets the preset business coverage condition, obtaining candidate performance data, and selecting target performance data from the candidate performance data; When it is determined that the target performance data meets the preset performance promotion conditions, a business promotion operation is performed according to a preset business promotion strategy.

2. The business promotion control method according to claim 1, characterized in that: Obtain business communication data when the front end interacts with the target application system, including: The business communication data when the front end interacts with the target application system is intercepted by means of annotation code; the business communication data includes business request data and response message data.

3. The business promotion control method according to claim 2, characterized in that: The service communication data is parsed to obtain service parameter information, including: Performing a message parsing operation on the service request data to obtain first service parameter sub-information; the first service parameter sub-information includes a service scenario, an interface name, and a service branch; Performing a message parsing operation on the response message data to obtain second service parameter sub-information; the second service parameter sub-information includes an interface response result; The first service parameter sub-information and the second service parameter sub-information are combined to obtain service parameter information.

4. The business promotion control method according to claim 3, characterized in that: According to the business parameter information, the business scenario data statistics are updated, including: Obtain business scenario data statistics; the business scenario data statistics include multiple dimensions, the multiple dimensions include business scenario statistics, interface name statistics, business branch statistics, interface call success rate and total transaction volume; According to the content in the business parameter information, the values ​​of various dimensions in the business scenario data statistical results are adjusted to obtain updated business scenario data statistical results.

5. The business promotion control method according to claim 1, characterized in that: Acquiring candidate performance data and selecting target performance data from the candidate performance data includes: Obtain candidate performance data retrieved from the log using a log keyword search method according to a preset statistical interval; The candidate performance data with the largest value is taken as the target performance data.

6. The business promotion control method according to claim 1, characterized in that: Determining that the target performance data meets the preset performance promotion conditions includes: Perform transaction volume forecasting operations based on historical transaction volumes to obtain expected promotional transaction volumes; Calculating expected post-promotion performance data based on the expected promotion transaction volume and the target performance data; Determining whether the expected performance data after promotion meets the preset performance promotion conditions; If so, it is determined that the target performance data meets the preset performance promotion condition.

7. The business promotion control method according to claim 1, characterized in that: Also includes: If it is determined that no business promotion operation has been performed within the preset time, business promotion restriction data is determined according to the business scenario data statistical results and the candidate performance data; The business promotion restriction data is pushed to a preset terminal.

8. A business promotion control device, characterized in that: The program corresponding to the business promotion control device is embedded into the business code through the project object model POM dependency method; The business promotion control device comprises: The first data acquisition module is used to acquire the business communication data when the front end interacts with the target application system; A parsing module, used to parse the business communication data to obtain business parameter information, and update the business scenario data statistics according to the business parameter information; A second data acquisition module is used to acquire candidate performance data and select target performance data from the candidate performance data if the statistical result of the business scenario data meets the preset business coverage condition; The business promotion module is used to perform business promotion operations according to a preset business promotion strategy when it is determined that the target performance data meets the preset performance promotion conditions.

9. An electronic device, characterized in that: The method comprises at least one processor and a memory connected to the processor, wherein: The memory is used to store computer programs; The processor is used to execute the computer program so that the electronic device can implement the service promotion control method as described in any one of claims 1 to 7.

10. A computer storage medium, characterized in that: The storage medium carries one or more computer programs, and when the one or more computer programs are executed by an electronic device, the electronic device can implement the business promotion control method as described in any one of claims 1 to 7.