Method, device and equipment for processing business data and computer readable medium
By setting test quantities and determining transaction-specific test items for chip servers, the method enhances the stability and reliability of financial business data processing by selecting suitable servers through a distributed database system.
Patent Information
- Application Number
- CN202411417003.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-11
- Publication Date
- 2024-12-31
AI Technical Summary
The transformation process in financial business systems leads to reduced stability, making it difficult to ensure the processing of financial business data due to single and general performance evaluation methods in chip performance testing.
A method involving setting the test quantity of chip servers, determining test items based on transaction data type, and obtaining and inputting data into first and second chip servers through an operating system to screen out suitable servers for processing current transaction data, using a distributed database system.
Improves the stability of financial business systems by selecting chip servers suitable for transaction data, ensuring accurate and reliable processing of financial business data.
Smart Images

Figure CN119226114A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of cloud computing technology, and in particular to a method, device, equipment and computer-readable medium for processing business data. Background Art
[0002] The era of information technology application innovation industry has arrived. For the business systems in the financial field, transformation is imperative. Financial business is different from other industries. The transformation process involves system performance issues, which may cause system crashes and capacity failures, resulting in varying degrees of losses.
[0003] In the process of implementing the present invention, the inventors found that there are at least the following problems in the prior art: the transformation process leads to reduced stability of the financial business system, making it difficult to ensure the processing of financial business data. Summary of the invention
[0004] In view of this, embodiments of the present invention provide a method, apparatus, device and computer-readable medium for processing business data, which can improve the stability of a financial business system and ensure the processing of financial business data.
[0005] To achieve the above object, according to one aspect of an embodiment of the present invention, a method for processing business data is provided, comprising:
[0006] Setting a test quantity of a chip server, an operating system of the chip server, and a distributed database system for storing business transaction data, wherein the chip server includes a first chip server and a second chip server;
[0007] In response to a test business transaction data request, determining a test item according to the business transaction data type in the test business transaction data request, acquiring business transaction data from a database table in the distributed database system, and inputting the business transaction data into the first chip server of the test quantity and the second chip server of the test quantity through an operating system of the chip server;
[0008] The test results of the first chip server and the test results of the second chip server are obtained according to the test items, and chip servers are screened out to use the screened chip servers to process current business transaction data.
[0009] The method of responding to the test business transaction data request, determining the test item according to the business transaction data type in the test business transaction data request, acquiring the business transaction data from the database table in the distributed database system, and inputting the business transaction data into the first chip server of the test quantity and the second chip server of the test quantity through the operating system of the chip server, comprises:
[0010] In response to a test business transaction data request, obtaining a business transaction data type in the test business transaction data request, and determining a test item according to the business transaction data type;
[0011] Business transaction data is acquired according to the database table in the distributed database system, and the business transaction data is respectively input into the first chip server of the test quantity and the second chip server of the test quantity through the operating system of the chip server.
[0012] The step of responding to the test business transaction data request, obtaining the business transaction data type in the test business transaction data request, and determining the test item according to the business transaction data type includes:
[0013] In response to a test business transaction data request, obtaining a business transaction data type in the test business transaction data request, wherein the business transaction data type includes a single transaction test and / or a mixed transaction test;
[0014] Determine the test items according to the business transaction data type.
[0015] The determining of the test items according to the business transaction data type includes:
[0016] If the business transaction data type includes a single transaction test, then determining that the test items include a single transaction benchmark test and a single transaction load test;
[0017] The business transaction data type includes a mixed transaction test, and the test item is determined to include multiple mixed transaction tests.
[0018] The determining of the test items according to the business transaction data type includes:
[0019] The business transaction data type includes a single transaction test and a mixed transaction test, then the test items are determined to include a single transaction benchmark test, a single transaction load test and a mixed transaction test, and the test order of the test items is determined.
[0020] The acquiring the test result of the first chip server and the test result of the second chip server according to the test item, screening out the chip server, and using the screened chip server to process the current business transaction data includes:
[0021] Acquire the test result of the first chip server and the test result of the second chip server according to the test item, and filter out the chip servers in the test item;
[0022] If the current business transaction data meets the test parameters in the test project, the chip server in the test project is used to process the current business transaction data.
[0023] The acquiring of business transaction data from a database table in the distributed database system includes:
[0024] Acquire business transaction data from database tables of multiple deployment units in the distributed database system, where the business transaction data belongs to online business transaction data;
[0025] The acquiring the test result of the first chip server and the test result of the second chip server according to the test item, and screening out the chip server, comprises:
[0026] The test results of the first chip server and the test results of the second chip server are obtained according to the test items, and chip servers suitable for online services are screened out.
[0027] According to a second aspect of an embodiment of the present invention, there is provided a device for processing service data, including:
[0028] A setting module, used to set the test quantity of the chip server, the operating system of the chip server and the distributed database system for storing business transaction data, wherein the chip server includes a first chip server and a second chip server;
[0029] a determination module, configured to respond to a test business transaction data request, determine a test item according to the business transaction data type in the test business transaction data request, obtain business transaction data from a database table in the distributed database system, and input the business transaction data into the first chip server of the test quantity and the second chip server of the test quantity through an operating system of the chip server;
[0030] The screening module is used to obtain the test results of the first chip server and the test results of the second chip server according to the test items, and screen out the chip servers so as to use the screened chip servers to process the current business transaction data.
[0031] According to a third aspect of an embodiment of the present invention, there is provided an electronic device for processing service data, including:
[0032] one or more processors;
[0033] a storage device for storing one or more programs,
[0034] When the one or more programs are executed by the one or more processors, the one or more processors implement the above method.
[0035] According to a fourth aspect of an embodiment of the present invention, there is provided a computer-readable medium on which a computer program is stored, and when the program is executed by a processor, the method as described above is implemented.
[0036] According to a fifth aspect of an embodiment of the present invention, a computer program product is provided, including a computer program, and when the program is executed by a processor, the method as described above provided by an embodiment of the present invention is implemented.
[0037] An embodiment of the above invention has the following advantages or beneficial effects: setting the number of chip servers to be tested, the operating system of the chip servers, and the distributed database system storing business transaction data, wherein the chip servers include a first chip server and a second chip server; in response to a request for testing business transaction data, determining a test item according to the type of business transaction data in the request for testing business transaction data, obtaining business transaction data from a database table in the distributed database system, and inputting the business transaction data into the first chip server of the test number and the second chip server of the test number through the operating system of the chip server; obtaining the test results of the first chip server and the second chip server according to the test item, filtering out the chip server, and using the filtered chip server to process the current business transaction data. According to the business transaction data, the applicable chip server is selected through testing, and the chip server is applicable to the current business transaction data, thereby improving the stability of the financial business system and ensuring the processing of financial business data.
[0038] The further effects of the above-mentioned non-conventional optional manner will be described below in conjunction with the specific implementation manner. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] The accompanying drawings are used to better understand the present invention and do not constitute an improper limitation of the present invention.
[0040] Figure 1 is a schematic diagram of the main flow of a method for processing business data according to an embodiment of the present invention;
[0041] Figure 2 is a schematic diagram of a process of obtaining business transaction data from a database table in a distributed database system according to an embodiment of the present invention;
[0042] Figure 3 is a schematic diagram of a process for determining a test item according to a business transaction data type according to an embodiment of the present invention;
[0043] Figure 4 is a schematic diagram of a process of screening out chip servers according to test results of chip servers according to an embodiment of the present invention;
[0044] Figure 5 is a schematic diagram of a process for screening chip servers according to an embodiment of the present invention;
[0045] Figure 6 is a schematic diagram of the main structure of a device for processing business data according to an embodiment of the present invention;
[0046] Figure 7 is an exemplary system architecture diagram to which embodiments of the present invention may be applied;
[0047] Figure 8 It is a schematic diagram of the structure of a computer system of a terminal device or a server suitable for implementing an embodiment of the present invention. DETAILED DESCRIPTION
[0048] The following is a description of exemplary embodiments of the present invention in conjunction with the accompanying drawings, including various details of the embodiments of the present invention to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the present invention. Similarly, for clarity and conciseness, the description of well-known functions and structures is omitted in the following description. The acquisition, storage, use, and processing of data in the technical solution of this application comply with the relevant provisions of national laws and regulations.
[0049] It should be noted that in the embodiments of the present application, certain software, components, models and other existing solutions in the industry may be mentioned, and they should be regarded as exemplary. Their purpose is only to illustrate the feasibility of implementing the technical solution of the present application, but it does not mean that the applicant has or will necessarily use the solution.
[0050] As the number of information technology application innovations in financial business systems increases, in order to ensure that the capacity support of financial business systems is free of production risks, it is necessary to select chips suitable for financial business data. In current chip performance testing, the test indicators are single, and the performance evaluation and statistical methods are relatively general, which is difficult to apply to the processing of financial business data. The above transformation process has reduced the stability of the financial business system and made it difficult to ensure the processing of financial business data.
[0051] In order to solve the problem of reduced stability of the financial business system and difficulty in ensuring the processing of financial business data, the following technical solutions in the embodiments of the present invention can be adopted.
[0052] See also Figure 1 , Figure 1 1 is a schematic diagram of the main flow of a method for processing business data according to an embodiment of the present invention, wherein a chip server is selected based on business transaction data to improve the compatibility of the chip server with the business transaction data. Figure 1 As shown in 100, the following steps are specifically included:
[0053] S101. Set the test quantity of the chip server, the operating system of the chip server, and the distributed database system for storing business transaction data. The chip server includes a first chip server and a second chip server.
[0054] In an embodiment of the present invention, a chip server is used to process financial service data in a financial service system. As an example, the financial service data includes business transaction data.
[0055] Chip servers are core devices for data center diversity computing and green computing. They are usually built based on high-performance processors to meet the acceleration requirements of applications such as big data, distributed storage, native applications, high-performance computing, and databases. In financial business systems, chip servers are often used to process financial business data.
[0056] Selecting a chip server suitable for business transaction data can increase data adaptability and ensure the processing of financial business data.
[0057] In one embodiment of the present invention, in order to select a chip server, the number of chip server tests, the operating system of the chip server, and the distributed database system storing business transaction data can be set. As an example, two chip servers need to be compared, and the chip servers include a first chip server and a second chip server. Of course, the technical solution in the embodiment of the present invention can also be used to compare multiple chip servers.
[0058] In order to improve the accuracy of testing chip servers, when comparing two chip servers, the test quantity of the chip servers is set to be the same, the operating system of the chip servers is the same, and the distributed database system storing business transaction data is the same.
[0059] As an example, the same number of chip servers tested includes the same test parameters of the chip servers and the same number of chip servers tested. As an example, the chip server test parameters include: the same number of CPU cores and the same memory capacity.
[0060] S102. In response to a request for testing business transaction data, determine a test item according to the type of business transaction data in the request for testing business transaction data, obtain business transaction data from a database table in a distributed database system, and input the business transaction data into a first chip server of a test quantity and a second chip server of a test quantity through an operating system of the chip server.
[0061] In an embodiment of the present invention, in order to select a chip server suitable for business transaction data, a test on the chip server is triggered by receiving a test business transaction data request. A test item is determined according to the business transaction data type in the test business transaction data request, and the business transaction data is obtained from a database table in a distributed database system.
[0062] See also Figure 2 That is 200, Figure 2 This is a schematic diagram of a process for obtaining business transaction data from a database table in a distributed database system according to an embodiment of the present invention. Specifically, the following steps are included:
[0063] S201. In response to a test business transaction data request, obtain a business transaction data type in the test business transaction data request, and determine a test item according to the business transaction data type.
[0064] A response to a test business transaction data request is received, a business transaction data type is obtained in the test business transaction data request, and a test item is determined according to the business transaction data type.
[0065] In the embodiment of the present invention, the test items are determined according to the type of business transaction data, and the business transaction data applicable to the chip server is determined through the test items.
[0066] See also Figure 3 That is 300, Figure 3 This is a flow chart of determining test items according to business transaction data types according to an embodiment of the present invention. Specifically, it includes the following steps:
[0067] S301. In response to a test business transaction data request, obtain a business transaction data type in the test business transaction data request, where the business transaction data type includes a single transaction test and / or a mixed transaction test.
[0068] In response to the test business transaction data request, the business transaction data type in the test business transaction data request is obtained. As an example, the business transaction data type includes a single transaction test and / or a mixed transaction test.
[0069] Single transaction testing is used to test the performance of a single transaction under different loads. Through single transaction testing, a baseline for system performance can be established and a clear direction for performance improvement can be provided.
[0070] Mixed transaction testing is used to test system performance and system availability when multiple transactions are performed simultaneously. The purpose of mixed transaction testing is to ensure that the system can maintain high performance and high availability when facing complex and changing business requirements. Through this test, potential performance problems can be discovered and resolved in advance, providing guarantees for the smooth launch and stable operation of the system.
[0071] S302. Determine test items according to business transaction data types.
[0072] After the business transaction data type is determined, the test items can be determined according to the business transaction data type.
[0073] In one embodiment of the present invention, the business transaction data type includes a single transaction test, and the test items are determined to include a single transaction benchmark test and a single transaction load test.
[0074] In a single transaction benchmark, a single user runs the transaction multiple times, for example, 100 iterations, to resolve possible correlation and parameterization issues. The test scenario is generally set to 1 virtual user (VU), no delay, one-time pressure, and run a specified number of times or time.
[0075] Single transaction load testing is the change of transaction processing capacity under gradually increasing user load. As an example, it runs for 15 to 30 minutes to verify possible multi-thread synchronization problems in the script.
[0076] In one embodiment of the present invention, if the business transaction data type includes a mixed transaction test, then determining that the test item includes the mixed transaction test.
[0077] Mixed transaction testing tests the situation where multiple transactions are carried out simultaneously in actual business scenarios, and gradually increases the number of virtual users to increase the pressure. It more comprehensively evaluates the performance of the system when facing complex loads. As an example, mixed transaction testing includes stress testing, stability testing, and recoverability testing.
[0078] Stress testing is to obtain the trend of performance indicators changing with load by executing different groups of transactions per second (TPS). As an example, the test duration is 1 hour.
[0079] The stability test runs for a long time at the selected TPS level to test the stability of the system. As an example, it runs for 8 hours at the selected TPS level.
[0080] Recoverability testing is to verify the recoverability of the system by simulating server failure and restart.
[0081] In one embodiment of the present invention, the business transaction data type includes a single transaction test and a mixed transaction test, and the test items are determined to include a single transaction benchmark test, a single transaction load test, and a mixed transaction test.
[0082] In the case of including multiple test items, it is necessary to determine the test order of the test items. As an example, the test order includes a default test order and a specified test order.
[0083] The default test sequence is: single transaction benchmark test, single transaction load test, and mixed transaction test. Use the default test sequence and start with single transaction to obtain test results from multiple angles of the chip server.
[0084] The specified test sequence is requested from the test business transaction data. Based on the specified test sequence, the chip server test is more targeted.
[0085] exist Figure 3 In the embodiment, in response to the test service transaction data request, a test item is determined, and the test item reflects the test requirements of the chip server.
[0086] S202: Acquire business transaction data according to a database table in the distributed database system, and input the business transaction data into a test number of first chip servers and a test number of second chip servers through the operating system of the chip server.
[0087] The business transaction data is stored in a database table in the distributed database system. The business transaction data can be obtained according to the database table in the distributed database system, and the business transaction data is input into the first chip server and the second chip server of the test quantity through the operating system of the chip server.
[0088] In one embodiment of the present invention, the business transaction data of the financial business system has a high security requirement. The business transaction data has a large amount of data and can be stored in the deployment unit of the distributed database system.
[0089] The deployment unit is the part of the financial business system that stores business interaction data according to the attributes of the business interaction data. The deployment unit can be independently deployed, expanded and maintained, which helps to improve the scalability, availability and disaster recovery capabilities of the financial business system.
[0090] In one embodiment of the present invention, a deployment unit stores data of the same business interaction attribute. As an example, deployment unit 001 stores contract information. Deployment unit 002 stores personal foreign exchange transaction information. By obtaining business transaction data from multiple deployment units, online business transaction data can be extracted. Online business transaction data needs to be obtained from database tables of multiple deployment units in a distributed database system.
[0091] In the financial field, online business transaction data is particularly important because it involves the real-time flow of funds and the instant update of accounts. For example, stock market transaction data, including inflows, outflows, net inflows and their net proportions, are all part of online business transaction data. In addition, online business transaction data may also include financial indicators such as earnings per share, total operating income, and net profit.
[0092] In one embodiment of the present invention, the business transaction data includes one or more of the following: contract information, product transaction information, and account transaction information. Contract information includes: accumulated gold contract information and contract information query. Product transaction information includes: accumulated gold product parameter query, bond real-time market display list query, and personal foreign exchange transaction trial calculation. Account transaction information includes: account gold holdings and account gold product parameter query. As an example, the business transaction data involves 50 database tables, and the data volume reaches tens of millions.
[0093] In one embodiment of the present invention, when testing the first chip server and the second chip server, the test parameters are configured to be the same to test the test results of the chip servers in the same business scenario. As an example, the test parameters include: the number of concurrent transactions, the proportion of online transactions, and the time interval between two iterations of the transaction script.
[0094] S103: Acquire the test results of the first chip server and the test results of the second chip server according to the test items, filter out the chip servers, and use the filtered chip servers to process current business transaction data.
[0095] After the test items are determined, the test results of the first chip server and the second chip server can be obtained according to the test items to screen out chip servers that are suitable for current business transaction data and can be used to process the current business transaction data.
[0096] See also Figure 4 That is 400, Figure 4 The flowchart of selecting a chip server according to the test results of the chip server according to an embodiment of the present invention is shown in FIG. The flowchart specifically includes the following steps:
[0097] S401. Acquire test results of a first chip server and a second chip server according to a test item, and filter out chip servers in the test item.
[0098] In an embodiment of the present invention, for a test item, a test result of a first chip server and a test result of a second chip server are obtained to screen out chip servers in the test item.
[0099] As an example, if the test items include a single transaction test, the test results of the first chip server and the test results of the second chip server are obtained, and the chip servers in the single transaction test are screened out. For example, the test results of the first chip server include: 9 transaction response time test results all meet the standard. The test results of the second chip server include: 7 transaction response time test results meet the standard, and 2 transaction response time test results meet the standard. This indicates that the first chip server is more suitable for a single transaction.
[0100] When the test items include more than one item, that is, when there are multiple test items, the weights of the test items can be pre-set. According to the weights of the test items and the number of test results that meet the standards, the chip servers in the test items are screened out.
[0101] S402: If the current business transaction data meets the test parameters in the test project, the chip server in the test project is used to process the current business transaction data.
[0102] In an embodiment of the present invention, the corresponding chip server can be determined based on the current business transaction data to improve the matching of the chip server with the current business transaction data. Specifically, the current business transaction data is identified according to the test parameters in the test project. If the current business transaction data meets the test parameters in the test project, the chip server in the test project is used to process the current business transaction data.
[0103] As an example, the test project includes a single transaction test, and the test parameters in the test project include: single transactions account for more than 80%, and the current business transaction data meets the test parameters in the test project, then the chip server 1 in the single transaction test is used to process the current business transaction data. Compared with chip server 2, chip server 1 is more suitable for processing single transactions, so chip server 1 processes the current business transaction data.
[0104] As an example, the test project includes a mixed transaction test, and the test parameters in the test project include: the mixed transaction accounts for more than 80%, and the current business transaction data meets the test parameters in the test project, then the chip server 2 in the mixed transaction test is used to process the current business transaction data. Compared with chip server 1, chip server 2 is more suitable for processing mixed transactions, so chip server 2 processes the current business transaction data.
[0105] As an example, the test items include single transaction test and mixed transaction test. The test parameters in the test items include: mixed transaction accounts for less than 20%, single transaction test accounts for more than 80%, and the current business transaction data meets the test parameters in the test items, then chip server 1 is used to process the current business transaction data. Compared with chip server 2, chip server 1 is more suitable for processing the situation where single transactions account for a large proportion, so chip server 1 is used to process the current business transaction data.
[0106] exist Figure 4 In an embodiment, the test result of the chip server is combined with the current business transaction data to determine the chip server that processes the current business transaction data, so as to improve the matching between the business transaction data and the chip server.
[0107] See also Figure 5 That is 500, Figure 5 1 is a schematic diagram of a process for selecting a chip server according to an embodiment of the present invention. Specifically, the following steps are included:
[0108] S501. Obtain business transaction data from database tables of multiple deployment units in a distributed database system, where the business transaction data belongs to online business transaction data.
[0109] In the financial business system, online business has a high occupancy rate. In order to select chip servers suitable for online business, business transaction data can be obtained from database tables of multiple deployment units in the distributed database system. Business transaction data belongs to online business transaction data.
[0110] The chip server is tested with online business transaction data to reflect the compatibility between the online business and the chip server.
[0111] S502: Acquire test results of the first chip server and the second chip server according to the test items, and select chip servers suitable for online services.
[0112] The test results of the first chip server and the test results of the second chip server are obtained according to the test items, and then the chip server suitable for the online service is screened out.
[0113] exist Figure 5 In the embodiment, after the online business transaction data is obtained by multiple deployment units, the chip server suitable for the online business is screened out, thereby improving the matching between the chip server and the processing data.
[0114] In the above-mentioned embodiment of the present invention, the number of chip servers to be tested, the operating system of the chip servers and the distributed database system storing business transaction data are set, and the chip servers include a first chip server and a second chip server; in response to a request for testing business transaction data, a test item is determined according to the type of business transaction data in the request for testing business transaction data, business transaction data is obtained from a database table in the distributed database system, and the business transaction data is respectively input into the first chip server of the test number and the second chip server of the test number through the operating system of the chip server; the test results of the first chip server and the test results of the second chip server are obtained according to the test items, and the chip servers are screened out so as to use the screened chip servers to process the current business transaction data. According to the business transaction data, the applicable chip server is selected through testing, and the chip server is applicable to the current business transaction data, so that the stability of the financial business system can be improved and the processing of financial business data can be guaranteed.
[0115] See also Figure 6 , Figure 6is a schematic diagram of the main structure of a device for processing business data according to an embodiment of the present invention. The device for processing business data can implement a method for processing business data, such as Figure 6 As shown in 600, the device for processing business data specifically includes:
[0116] A setting module 601 is used to set the test quantity of the chip server, the operating system of the chip server and the distributed database system for storing business transaction data, wherein the chip server includes a first chip server and a second chip server;
[0117] A determination module 602 is used to respond to a test business transaction data request, determine a test item according to the business transaction data type in the test business transaction data request, obtain business transaction data from a database table in the distributed database system, and input the business transaction data into the first chip server of the test quantity and the second chip server of the test quantity through the operating system of the chip server;
[0118] The screening module 603 is used to obtain the test results of the first chip server and the test results of the second chip server according to the test items, and screen out the chip servers so as to use the screened chip servers to process the current business transaction data.
[0119] In one embodiment of the present invention, the determination module 602 is specifically configured to respond to a test business transaction data request, obtain a business transaction data type in the test business transaction data request, and determine a test item according to the business transaction data type;
[0120] Business transaction data is acquired according to the database table in the distributed database system, and the business transaction data is respectively input into the first chip server of the test quantity and the second chip server of the test quantity through the operating system of the chip server.
[0121] In one embodiment of the present invention, the determination module 602 is specifically configured to, in response to a test business transaction data request, obtain a business transaction data type in the test business transaction data request, wherein the business transaction data type includes a single transaction test and / or a mixed transaction test;
[0122] Determine the test items according to the business transaction data type.
[0123] In one embodiment of the present invention, the determination module 602 is specifically configured to determine that if the business transaction data type includes a single transaction test, the test items include a single transaction benchmark test and a single transaction load test;
[0124] The business transaction data type includes a mixed transaction test, and the test item is determined to include multiple mixed transaction tests.
[0125] In one embodiment of the present invention, the determination module 602 is specifically used to determine that the business transaction data type includes a single transaction test and a mixed transaction test, then determine that the test items include a single transaction benchmark test, a single transaction load test and a mixed transaction test, and determine the test order of the test items.
[0126] In one embodiment of the present invention, the screening module 603 is specifically configured to obtain the test result of the first chip server and the test result of the second chip server according to the test item, and screen out the chip servers in the test item;
[0127] If the current business transaction data meets the test parameters in the test project, the chip server in the test project is used to process the current business transaction data.
[0128] In one embodiment of the present invention, the determination module 602 is specifically configured to obtain business transaction data from database tables of multiple deployment units in the distributed database system, wherein the business transaction data belongs to online business transaction data;
[0129] The screening module 603 is specifically configured to obtain the test result of the first chip server and the test result of the second chip server according to the test items, and screen out the chip server suitable for the online service.
[0130] Figure 7 An exemplary system architecture 700 is shown to which the method for processing business data or the apparatus for processing business data according to the embodiments of the present invention can be applied.
[0131] like Figure 7 As shown, system architecture 700 may include terminal devices 701, 702, 703, network 704 and server 705. Network 704 is used to provide a medium for communication links between terminal devices 701, 702, 703 and server 705. Network 704 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.
[0132] The user can use the terminal devices 701, 702, 703 to interact with the server 705 through the network 704 to receive or send messages, etc. Various communication client applications can be installed on the terminal devices 701, 702, 703, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc. (only for example).
[0133] The terminal devices 701 , 702 , and 703 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, and desktop computers.
[0134] The server 705 may be a server that provides various services, such as a backend management server (only an example) that provides support for shopping websites browsed by users using the terminal devices 701, 702, and 703. The backend management server may analyze and process the received data such as product information query requests, and feed back the processing results (such as target push information, product information - only an example) to the terminal device.
[0135] It should be noted that the method for processing business data provided in the embodiment of the present invention is generally executed by the server 705 , and accordingly, the device for processing business data is generally set in the server 705 .
[0136] It should be understood that Figure 7 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to the implementation requirements.
[0137] A computer program product according to an embodiment of the present invention includes a computer program, and when the program is executed by a processor, the method for processing business data provided by the embodiment of the present invention is implemented.
[0138] Reference below Figure 8 , which shows a schematic diagram of the structure of a computer system 800 of a terminal device suitable for implementing an embodiment of the present invention. Figure 8 The terminal device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0139] like Figure 8 As shown, the computer system 800 includes a central processing unit (CPU) 801, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 802 or a program loaded from a storage part 808 to a random access memory (RAM) 803. In the RAM 803, various programs and data required for the operation of the system 800 are also stored. The CPU 801, the ROM 802, and the RAM 803 are connected to each other through a bus 804. An input / output (I / O) interface 805 is also connected to the bus 804.
[0140] The following components are connected to the I / O interface 805: an input section 806 including a keyboard, a mouse, etc.; an output section 807 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 808 including a hard disk, etc.; and a communication section 809 including a network interface card such as a LAN card, a modem, etc. The communication section 809 performs communication processing via a network such as the Internet. A drive 810 is also connected to the I / O interface 805 as needed. A removable medium 811, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 810 as needed, so that a computer program read therefrom is installed into the storage section 808 as needed.
[0141] In particular, according to the embodiments disclosed in the present invention, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present invention include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 809, and / or installed from the removable medium 811. When the computer program is executed by the central processing unit (CPU) 801, the above-mentioned functions defined in the system of the present invention are executed.
[0142] It should be noted that the computer-readable medium shown in the present invention may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present invention, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present invention, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.
[0143] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present invention. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0144] The modules involved in the embodiments of the present invention may be implemented in software or hardware. The modules described may also be set in a processor. For example, they may be described as: a processor includes a setting module, a determination module, and a screening module. The names of these modules do not, in some cases, constitute limitations on the modules themselves. For example, the setting module may also be described as "a distributed database system for setting the number of tests of a chip server, an operating system of a chip server, and storing business transaction data, wherein the chip server includes a first chip server and a second chip server".
[0145] As another aspect, the present invention further provides a computer-readable medium, which may be included in the device described in the above embodiment; or may exist independently without being assembled into the device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by a device, the device includes:
[0146] Setting a test quantity of a chip server, an operating system of the chip server, and a distributed database system for storing business transaction data, wherein the chip server includes a first chip server and a second chip server;
[0147] In response to a test business transaction data request, determining a test item according to the business transaction data type in the test business transaction data request, acquiring business transaction data from a database table in the distributed database system, and inputting the business transaction data into the first chip server of the test quantity and the second chip server of the test quantity through an operating system of the chip server;
[0148] The test results of the first chip server and the test results of the second chip server are obtained according to the test items, and chip servers are screened out to use the screened chip servers to process current business transaction data.
[0149] According to the technical solution of the embodiment of the present invention, the number of chip servers to be tested, the operating system of the chip servers and the distributed database system for storing business transaction data are set, and the chip servers include a first chip server and a second chip server; in response to a request for testing business transaction data, a test item is determined according to the type of business transaction data in the request for testing business transaction data, business transaction data is obtained from a database table in the distributed database system, and the business transaction data is respectively input into the first chip server of the test number and the second chip server of the test number through the operating system of the chip server; the test results of the first chip server and the test results of the second chip server are obtained according to the test items, and the chip servers are screened out so as to use the screened chip servers to process the current business transaction data. According to the business transaction data, the applicable chip server is selected through the test, and the chip server is applicable to the current business transaction data, so that the stability of the financial business system can be improved and the processing of financial business data can be guaranteed.
[0150] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may occur depending on design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
[0151] It should be noted that in the technical solution of the present invention, the collection, analysis, use, transmission, storage and other aspects of user personal information involved are in compliance with the provisions of relevant laws and regulations, are used for legal and reasonable purposes, are not shared, leaked or sold outside of these legal uses, and are subject to supervision and management by regulatory authorities. Necessary measures should be taken for user personal information to prevent illegal access to such personal information data, ensure that persons who have access to personal information data comply with the provisions of relevant laws and regulations, and ensure the security of user personal information. Once these user personal information data are no longer needed, the risks should be minimized by limiting or even prohibiting data collection and / or deleting data.
[0152] When applicable, including in certain relevant applications, protect user privacy by de-identifying data, such as by removing specific identifiers (e.g., date of birth, etc.) when applicable, controlling the amount or specificity of data stored (e.g., collecting location data at a city level rather than at a specific address level), controlling how data is stored, and / or other de-identification methods.
Claims
1. A method for processing business data, characterized in that: include: Setting a test quantity of a chip server, an operating system of the chip server, and a distributed database system for storing business transaction data, wherein the chip server includes a first chip server and a second chip server; In response to a test business transaction data request, determining a test item according to the business transaction data type in the test business transaction data request, acquiring business transaction data from a database table in the distributed database system, and inputting the business transaction data into the first chip server of the test quantity and the second chip server of the test quantity through an operating system of the chip server; The test results of the first chip server and the test results of the second chip server are obtained according to the test items, and chip servers are screened out to use the screened chip servers to process current business transaction data.
2. The method for processing business data according to claim 1, characterized in that: The method of responding to the test business transaction data request, determining the test item according to the business transaction data type in the test business transaction data request, acquiring the business transaction data from the database table in the distributed database system, and inputting the business transaction data into the first chip server of the test quantity and the second chip server of the test quantity through the operating system of the chip server, comprises: In response to a test business transaction data request, obtaining a business transaction data type in the test business transaction data request, and determining a test item according to the business transaction data type; Business transaction data is acquired according to the database table in the distributed database system, and the business transaction data is respectively input into the first chip server of the test quantity and the second chip server of the test quantity through the operating system of the chip server.
3. The method for processing business data according to claim 2, characterized in that: The step of responding to the test business transaction data request, obtaining the business transaction data type in the test business transaction data request, and determining the test item according to the business transaction data type includes: In response to a test business transaction data request, obtaining a business transaction data type in the test business transaction data request, wherein the business transaction data type includes a single transaction test and / or a mixed transaction test; Determine the test items according to the business transaction data type.
4. The method for processing business data according to claim 3, characterized in that: The determining of the test items according to the business transaction data type includes: If the business transaction data type includes a single transaction test, then determining that the test items include a single transaction benchmark test and a single transaction load test; The business transaction data type includes a mixed transaction test, and the test item is determined to include multiple mixed transaction tests.
5. The method for processing business data according to claim 3, characterized in that: The determining of the test items according to the business transaction data type includes: The business transaction data type includes a single transaction test and a mixed transaction test, then the test items are determined to include a single transaction benchmark test, a single transaction load test and a mixed transaction test, and the test order of the test items is determined.
6. The method for processing business data according to claim 1, characterized in that: The acquiring the test result of the first chip server and the test result of the second chip server according to the test item, screening out the chip server, and using the screened chip server to process the current business transaction data includes: Acquire the test result of the first chip server and the test result of the second chip server according to the test item, and filter out the chip servers in the test item; If the current business transaction data meets the test parameters in the test project, the chip server in the test project is used to process the current business transaction data.
7. The method for processing business data according to any one of claims 1 to 6, characterized in that: The acquiring of business transaction data from a database table in the distributed database system includes: Acquire business transaction data from database tables of multiple deployment units in the distributed database system, where the business transaction data belongs to online business transaction data; The acquiring the test result of the first chip server and the test result of the second chip server according to the test item, and screening out the chip server, comprises: The test results of the first chip server and the test results of the second chip server are obtained according to the test items, and chip servers suitable for online services are screened out.
8. A device for processing business data, characterized in that: include: A setting module, used to set the test quantity of the chip server, the operating system of the chip server and the distributed database system for storing business transaction data, wherein the chip server includes a first chip server and a second chip server; a determination module, configured to respond to a test business transaction data request, determine a test item according to the business transaction data type in the test business transaction data request, obtain business transaction data from a database table in the distributed database system, and input the business transaction data into the first chip server of the test quantity and the second chip server of the test quantity through an operating system of the chip server; The screening module is used to obtain the test results of the first chip server and the test results of the second chip server according to the test items, and screen out the chip servers so as to use the screened chip servers to process the current business transaction data.
9. An electronic device for processing business data, characterized in that: include: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 7.
10. A computer readable medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.
11. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.
