Business application account information acquisition method and device and computer equipment
By establishing a target model to determine the ledger information of related business applications, the problem of information communication between different business applications was solved, and the testing efficiency and flexibility were improved.
Patent Information
- Application Number
- CN202211505020.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-29
- Publication Date
- 2025-11-21
- Estimated Expiration
- 2042-11-29
AI Technical Summary
In the process of testing business applications in the financial industry, the frequent communication of ledger information between different business applications leads to low testing efficiency.
By establishing a target model, associated business applications are identified based on their identifiers and relationships, and their ledger information is displayed, thereby enabling information exchange between business applications.
It improved testing efficiency, reduced communication costs among testers, and increased the flexibility and efficiency of the testing process.
Smart Images

Figure CN115934521B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of financial technology, the field of software testing or other related fields, and in particular, relates to a method and device for obtaining account information of a business application and a computer device. BACKGROUND
[0002] A business application needs to be tested and maintained regularly from development to online.
[0003] Currently, the financial industry divides different applications according to business types, and different testers respectively test the different applications. However, in the process of testing, a transaction often involves different business applications, so the testers corresponding to the different business applications need to communicate the account information of the different business applications to ensure the testing effect of the business applications.
[0004] However, the testers corresponding to the different business applications need to spend a lot of time communicating the account information of the different business applications, which affects the testing efficiency of the business applications. SUMMARY
[0005] Therefore, it is necessary to provide a method and device for obtaining account information of a business application and a computer device to improve the testing efficiency.
[0006] In a first aspect, the present application provides a method for obtaining account information of a business application. The method comprises:
[0007] determining a relationship between a target business application and other business applications according to an identifier of the target business application and a target model; the target model is a model obtained by training an initial model according to a combination of business applications and a relationship between the business applications in the combination of business applications;
[0008] determining an associated business application according to the relationship between the target business application and the other business applications; the associated business application comprises other business applications associated with the target business application;
[0009] displaying account information of the associated business application according to an identifier of the associated business application and a preset corresponding relationship; the preset corresponding relationship comprises a relationship between identifiers of different business applications and different account information.
[0010] In one embodiment, the method further comprises:
[0011] obtaining account information of the target business application;
[0012] determining the identifier of the target business application according to the account information of the target business application and the preset corresponding relationship.
[0013] In one of the embodiments, the method further comprises:
[0014] In the case where the account information of the target business application changes, the changed account information of the target business application is sent to the terminal corresponding to the tester of the associated business application.
[0015] In one of the embodiments, the method further comprises:
[0016] In the case where the tester of the target business application changes, the account information of the target business application and the account information of the associated business application are sent to the terminal corresponding to the tester of the target business application.
[0017] In one of the embodiments, the method further comprises:
[0018] Obtaining the identities of the business applications;
[0019] Determining the business application combinations and the relationships between the business applications in the business application combinations according to the identities of the business applications;
[0020] Training the initial model to obtain the target model according to the business application combinations and the relationships between the business applications in the business application combinations.
[0021] In one of the embodiments, the business application combinations include two different business applications, and each business application combination is different; the training of the initial model to obtain the target model according to the business application combinations and the relationships between the business applications in the business application combinations comprises:
[0022] Determining the triple corresponding to the business application combination according to the two different business applications in each business application combination and the relationship between the two different business applications;
[0023] Training the initial model to obtain the target model according to the triple corresponding to each business application combination.
[0024] In one of the embodiments, the determination of the relationship between the target business application and other business applications according to the identity of the target business application and the target model comprises:
[0025] According to the identity of the target business application and the target model, the relationship between the target business application and other business applications is obtained in the form of a graph structure.
[0026] In a second aspect, the application further provides a business application account information acquisition device. The device comprises:
[0027] The first determining module is configured to determine a relationship between the target service application and other service applications according to an identifier of the target service application and a target model, wherein the target model is a model obtained by training an initial model according to a service application combination and a relationship between service applications in the service application combination.
[0028] The second determining module is configured to determine associated service applications according to the relationship between the target service application and other service applications, wherein the associated service applications include other service applications associated with the target service application.
[0029] The display module is configured to display account information of the associated service applications according to an identifier of the associated service applications and a preset corresponding relationship, wherein the preset corresponding relationship includes a relationship between identifiers of different service applications and different account information.
[0030] In a third aspect, the present application further provides a computer device. The computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the steps of any of the above methods when executing the computer program.
[0031] In a fourth aspect, the present application further provides a computer readable storage medium. The computer readable storage medium stores a computer program, and the computer program implements the steps of any of the above methods when executed by a processor.
[0032] In a fifth aspect, the present application further provides a computer program product. The computer program product includes a computer program, and the computer program implements the steps of any of the above methods when executed by a processor.
[0033] The aforementioned method, apparatus, and computer equipment for acquiring ledger information for business applications determine the relationship between the target business application and other business applications based on the target business application's identifier and target model. Then, based on this relationship, they identify associated business applications, including those related to the target business application. Finally, based on the identifiers of these associated business applications and a pre-defined correspondence between different business application identifiers and different ledger information, they display the ledger information of these associated business applications. Since the target model is trained on an initial model based on combinations of business applications and the relationships between them, the server can determine the relationship between the target business application and other business applications based on the target business application's identifier and target model. This allows the server to identify associated business applications within the other business applications and determine their ledger information. Currently, the ledger information for each business application is not shared; that is, testers of business application 1 are unaware of which business applications business application 1 is associated with, nor are they aware of the ledger information of other business applications. In the technical solution of this application, once a target business application is identified, the associated business applications and their ledger information can be determined. For testers of the target business application, there is no need to communicate ledger information between different business applications, thus improving the testing efficiency of the business application. Attached Figure Description
[0034] Figure 1 This is an application environment diagram of the ledger information acquisition method for business applications in this application embodiment;
[0035] Figure 2 This is a flowchart illustrating the method for obtaining ledger information in a business application according to an embodiment of this application.
[0036] Figure 3 This is a schematic diagram of a process for determining the identifier of a target business application in an embodiment of this application;
[0037] Figure 4 This is a schematic diagram of a process for obtaining a target model in an embodiment of this application;
[0038] Figure 5 This is a schematic diagram of another process for obtaining the target model in an embodiment of this application;
[0039] Figure 6 This is a schematic diagram of a graph structure in this application;
[0040] Figure 7 This is a structural block diagram of the ledger information acquisition device for business applications in this application embodiment;
[0041] Figure 8The internal structure diagram of the computer device in the embodiment of the present application. DETAILED DESCRIPTION
[0042] In order to make the purpose, technical scheme and advantages of the present application clearer, the present application will be further described in detail below in combination with the drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and do not limit the present application.
[0043] In the process of business application development online, regular testing and maintenance are required. The applicant finds that in the current testing process, since a transaction often involves different business applications, and the testers between different business applications do not know the situation of other business applications, therefore, in the actual testing process, the communication cost between the testers corresponding to each business application is increased, which affects the testing efficiency. For example, the tester of business application 1 discovers that business application 1 is abnormal in the testing process, and the tester wants to know the account information of other business applications such as business application 2 and business application 3, in order to complete the subsequent testing process, however, the tester of business application 1 needs to find the tester corresponding to other business applications first, and then knows the account information of other business applications through the tester corresponding to other business applications.
[0044] Based on this, it is necessary to provide a business application account information acquisition method, device and computer device capable of improving testing efficiency. The business application account information acquisition method of the present application will be explained below.
[0045] Figure 1 The application environment diagram of the business application account information acquisition method in the embodiment of the present application, the business application account information acquisition method provided by the present application can be applied in the application environment as shown in Figure 1 The terminal 102 communicates with the server 104 through the network. The data storage system can store the data required to be processed by the server 104. The data storage system can be integrated on the server 104, or placed on the cloud or other network servers. The terminal 102 can be, but is not limited to, various personal computers, notebook computers, smart phones, tablet computers, Internet of Things devices and portable wearable devices. The Internet of Things device can be a smart speaker, a smart television, a smart air conditioner, a smart vehicle device, etc. The portable wearable device can be a smart watch, a smart bracelet, a head-mounted device, etc. The server 104 can be realized by an independent server or a server cluster composed of multiple servers.
[0046] Figure 2 The flowchart of the business application account information acquisition method in the embodiment of the present application, the method can be applied in the server as shown in Figure 1 In one embodiment, as shown inFigure 2 As shown, comprising the following steps:
[0047] S201, according to the target business application and the target model, the relationship between the target business application and other business applications is determined; the target model is a model obtained by training an initial model according to each business application combination and the relationship between each business application in the business application combination.
[0048] In this embodiment, the target business application is one of the business applications, which can be a randomly determined application by the server from the business applications, or a user specified application. It can be understood that each business application corresponds to a unique identifier, and the server can distinguish different business applications according to the identifier of each business application. The identifier of each business application can be at least one of a number, a letter, and a symbol.
[0049] The server has a target model built-in, which is a model obtained by training an initial model according to each business application combination and the relationship between each business application in the business application combination. Each business application combination includes at least two business applications, for example, business application combination 1 includes business application 1 and business application 2, and business application combination 2 includes business application 1, business application 2 and business application 3.
[0050] The relationship between each business application is used to indicate whether there is an association between each application. Optionally, the relationship between each business application includes an association relationship and an association relationship, and further optionally, when there is an association relationship between each business application, it can be divided into a call relationship, a data dependency relationship, a key link interaction relationship, etc.
[0051] When the server determines each business application combination, it also determines the relationship between each business application in the business application combination. Taking business application combination 2 including business application 1 and business application 2 as an example, the server can determine that business application 1 and business application 2 have a call relationship, which means that the running of business application 1 needs to call business application 2 to run, or the running of business application 2 needs to call business application 1 to run.
[0052] It can be understood that since the server distinguishes each business application according to the identifier of each business application, the server also uses the identifier of each business combination in the training and use process.
[0053] Further, the server can train the initial model to obtain a target model according to the service application combinations and the relationships between the service applications in the service application combinations. The initial model and the target model can be Convolutional Neural Networks (CNN), Recurrent Neural Network (RNN), or other deep learning networks, machine learning networks, etc.
[0054] Further, since the target model is obtained by training the initial model based on the service application combinations and the relationships between the service applications in the service application combinations, the server can determine the relationships between the target service application and other service applications according to the identification of the target service application and the target model.
[0055] In an embodiment, the server can provide an interactive display interface, and a user can select a target service application in the interactive display interface or input the identification of the target service application, etc. Then, the server can determine the identification of the target service application in response to the operation of the user, and input the identification of the target service application into the target model to determine the relationships between the target service application and other service applications. Assuming that the service applications include service application 1 to service application 5, and the target service application is service application 1, the server can determine that the relationship between service application 1 and service application 2 is a calling relationship, the relationship between service application 1 and service application 3 is a data dependency relationship, the relationship between service application 1 and service application 4 is a key link interaction relationship, and the relationship between service application 1 and service application 5 is a non-dependence relationship.
[0056] In S202, associated service applications are determined according to the relationships between the target service application and other service applications. The associated service applications include other service applications associated with the target service application.
[0057] In the embodiment, after the server determines the relationships between the target service application and other service applications, the server can determine other service applications associated with the target service application according to the relationships between the target service application and other service applications. That is, as long as there is an association relationship between the target service application and other service applications, the server can determine other service applications as associated service applications.
[0058] For example, different relationships between service applications are distinguished by different relationship identifiers. The relationship identifier of the non-dependence relationship is 0, the relationship identifier of the calling relationship is 1, the relationship identifier of the data dependency relationship is 2, and so on. Then, the server determines other service applications corresponding to non-0 relationship identifiers as associated service applications. Continuing the example of S201, the server determines service application 2, service application 3, and service application 4 as associated service applications.
[0059] In S203, the account information of the associated business application is displayed according to the identification of the associated business application and the preset correspondence relationship. The preset correspondence relationship includes the relationship between the identification of different business applications and different account information.
[0060] In this embodiment, the server determines the associated business application, i.e., determines the identification of the associated business application. Further, the server stores the preset correspondence relationship, which includes the relationship between the identification of different business applications and different account information, such as the identification of business application 1 corresponds to the account information of business application 1, and the identification of business application 2 corresponds to the account information of business application 2. Further, the server can determine the account information of the associated business application according to the identification of the associated business application. That is, after the server determines that business application 2, business application 3 and business application 4 are associated business applications, the server can determine the account information of business application 2 according to the identification of business application 2, determine the account information of business application 3 according to the identification of business application 3, and determine the account information of business application 4 according to the identification of business application 4.
[0061] The account information is used to indicate the attributes of each type of business application. Optionally, the account information includes the server ip, server hardware configuration, server purpose, database address, foreground address, corresponding department, corresponding business field, tester, etc. corresponding to the business application, which can be set according to actual needs.
[0062] In an embodiment, the server acquires and updates the account information of each business application in real time or at regular intervals by calling an application program interface (API). Of course, the user can also maintain and manage the account information of each business application based on the interactive display interface provided by the server.
[0063] The business application account information acquisition method provided in the embodiment determines the relationship between the target business application and other business applications according to the identifier of the target business application and the target model, and then determines the associated business applications including the other business applications associated with the target business application according to the relationship between the target business application and the other business applications, so as to display the account information of the associated business applications according to the identifier of the associated business applications and the preset corresponding relationship between the identifiers of different business applications and different account information. Since the target model is a model obtained by training the initial model according to each business application combination and the relationship between the business applications in the business application combination, the server can determine the relationship between the target business application and other business applications according to the identifier of the target business application and the target model, and then determine the associated business applications associated with the target business application among the other business applications and the account information of the associated business applications. At present, the account information of each business application is not interconnected, that is, the tester of the business application 1 does not know which business applications are associated with the business application 1, and does not know the account information of the other business applications. However, in the technical solution of the present application, as long as a target business application is determined, the associated business applications associated with the target business application and the account information of the associated business applications can be determined. For the tester of the target business application, it is not necessary to communicate the account information of different business applications, and the test efficiency of the business application is improved.
[0064] Figure 3 For a flowchart for determining the identifier of a target business application in an embodiment of the present application, refer to Figure 3 The present embodiment relates to an optional implementation manner for determining the identifier of a target business application. On the basis of the above embodiment, the above-mentioned business application account information acquisition further includes the following steps:
[0065] S301, acquiring the account information of the target business application.
[0066] In some application scenarios, the user may not know the identifier of the target business application, but only know the account information of the target business application, for example, the user only knows the server IP of a certain business application, but in this case, the user also wants to know the account information of the associated business applications of the business application. Therefore, in the present embodiment, the server can acquire the account information of the target business application.
[0067] The server can acquire the account information of the target business application in response to the operation of the user, for example, the user inputs the account information of the target business application in a specified position.
[0068] S302, determining the identifier of the target business application according to the account information of the target business application and the preset corresponding relationship.
[0069] In this embodiment, the account information of the target service application and the identifier of the target service application have a corresponding relationship, and therefore, after the server obtains the account information of the target service application, the identifier of the target service application can also be determined according to the account information of the target service application.
[0070] The following illustrates one form of the preset corresponding relationship stored by the server. Of course, the computer can also store the preset corresponding relationship in other manners, as long as the identifiers of different service applications and different account information have a mapping relationship, and the embodiment is not limited in this regard. In the hardware configuration of the server, the memory specification is usually in g as a unit, for example, 50g represents that the memory is 50GB; the CPU specification is usually in u as a unit, for example, 2u represents that the CPU is dual-core.
[0071] Table 1: Preset corresponding relationship
[0072]
[0073] Further, after the server determines the identifier of the target service application, the associated service application can be further determined according to the identifier of the target service application and the target model, so as to determine the account information of the associated service application. The process is the same as the principles of S201-S203, and will not be described herein.
[0074] In this embodiment, the account information of the target service application is obtained, and the identifier of the target service application is determined according to the account information of the target service application and the preset corresponding relationship. That is, only the account information of the target service application is known, and the identifier of the target service application and the target model can also be determined according to the account information of the target service application, the relationship between the target service application and other service applications is determined, and the associated service application is determined according to the relationship between the target service application and other service applications, so as to display the account information of the associated service application according to the identifier of the associated service application and the preset corresponding relationship. Therefore, the method provided in this embodiment not only can provide test efficiency, but also improves the flexibility of the test process.
[0075] Optionally, the above-mentioned account information obtaining method of the service application can further include the following steps:
[0076] In the case where the account information of the target service application changes, the changed account information of the target service application is sent to the terminal corresponding to the tester of the associated service application.
[0077] In this embodiment, in order to synchronize information, the server sends the changed account information of the target service application to the terminal corresponding to the tester of the associated service application in the case where the account information of the target service application changes.
[0078] For example, the server compares the account information of each business application at a certain period, and when the account information changes, the server determines the test personnel in the account information of the associated business application according to the identifier of the associated business application, that is, determines the test personnel of the associated business application. Further, the server sends the changed account information of the target business application to the terminal corresponding to the test personnel of the associated business application. The terminal corresponding to the test personnel can be a computer device with a fixed physical location, a computer device logged in with a fixed account, or a computer device with a fixed IP.
[0079] For example, the test personnel corresponding to business application 1 is A, and it is assumed that business application 1 is the target business application, and its associated business application is business application 2. When the server IP of business application 1 changes, the server sends "the server IP of business application 1 has changed, please pay attention" to the terminal corresponding to the test personnel of business application 2.
[0080] In the case where the account information of the target business application changes, the embodiment sends the changed account information of the target business application to the terminal corresponding to the test personnel of the associated business application, so as to synchronize the account information and further reduce the communication cost between the test personnel and improve the test efficiency.
[0081] Optionally, the account information obtaining method of the business application can further include the following steps:
[0082] In the case where the test personnel of the target business application changes, the account information of the target business application and the account information of the associated business application are sent to the terminal corresponding to the test personnel of the target business application.
[0083] In the embodiment, in order to further synchronize the information, the server sends the account information of the target business application and the account information of the associated business application to the terminal corresponding to the test personnel of the target business application in the case where the test personnel of the target business application changes.
[0084] Continuing the above example, the test personnel corresponding to business application 1 is A, and it is assumed that business application 1 is the target business application, and its associated business application is business application 2. When the test personnel of business application 1 is changed from test personnel A to test personnel B, the server sends the account information of business application 1 and the account information of business application 2 to the terminal corresponding to test personnel B of business application 1 at the same time, so as to complete the handover of the account information.
[0085] In the case where the test personnel of the target business application changes, the embodiment sends the account information of the target business application and the account information of the associated business application to the terminal corresponding to the test personnel of the target business application, further reducing the communication cost between the test personnel and improving the test efficiency.
[0086] Figure 4 FIG. 1 is a schematic diagram of a process for obtaining a target model according to an embodiment of the present application. Figure 4 The embodiment relates to an optional implementation of how to obtain a target model. On the basis of the above embodiment, the account information obtaining method of the business application further includes the following steps.
[0087] S401: Obtain the identification of each business application.
[0088] In the embodiment, before use, the server first trains an initial model to obtain a target model. Based on this, the server first obtains the identification of each business application, that is, the server first knows the identification of all business applications. The server can receive the identification of each business application imported by other computer devices, or can obtain the identification of each business application in response to the operation of a user, and the embodiment does not make any limitation.
[0089] In one embodiment, after the server obtains the account information of each business application by using the API, the server performs structural processing on the account information of each business application to obtain the "primary key" of each business application, and takes the "primary key" of each business application as the identification of each business application. Alternatively, the server can determine the identification of each business application according to a preset coding order after performing structural processing on the account information of each business application.
[0090] S402: Determine each business application combination and the relationship between each business application in the business application combination according to the identification of each business application.
[0091] In the embodiment, the server determines each business application combination and the relationship between each business application, and then determines each business application combination and the relationship between each business application in the business application combination according to the identification of each business application.
[0092] Each business application combination can be determined by the server according to a preset rule, for example, traversing the entire application business, and combining every three into a business application combination.
[0093] Alternatively, after determining each business application combination, a user can use a "tagging" method to determine the relationship between each business application in combination with the actual situation. For example, business application 1 and business application 2 have a calling relationship, business application 1 and business application 2 have a data dependency relationship, and the like.
[0094] S403: Train the initial model to obtain a target model according to each business application combination and the relationship between each business application in the business application combination.
[0095] In this embodiment, the initial model is trained to obtain the target model according to each service application combination and the relationship between each service application in the service application combination. One way to train the initial model to obtain the target model is that the server inputs each service application combination and the relationship between each service application in the service application combination into the initial model, and adjusts the parameters of the initial model according to the prediction ability of the initial model to the identification of different service applications. When the prediction accuracy of the initial model reaches the target accuracy, the server determines the target model.
[0096] In this embodiment, the identification of each service application is obtained, and then the service application combination and the relationship between each service application in the service application combination are determined according to the identification of each service application, so that the initial model is trained to obtain the target model according to the service application combination and the relationship between each service application in the service application combination. Since the target model is obtained by training the initial model according to the service application combination and the relationship between each service application in the service application combination, the target model can determine the relationship between the target service application and other service applications according to the identification of the target service application, so as to improve the test efficiency.
[0097] Figure 5 For another flowchart of obtaining the target model in the embodiments of the present application, refer to Figure 5 The present embodiment relates to an optional implementation of how to obtain the target model. Based on the above-mentioned embodiments, the service application combination includes two different service applications, and each service application combination is different. S403 in the above-mentioned embodiments, the initial model is trained to obtain the target model according to each service application combination and the relationship between each service application in the service application combination, including the following steps:
[0098] S501, according to two different service applications in each service application combination and the relationship between the two different service applications, determining the corresponding triple of the service application combination.
[0099] In this embodiment, the service application combination includes two different service applications, and each service application combination is different. That is, the server combines each service application in pairs. Assuming that the number of service applications is N, N is an integer greater than 1, the server can determine service application combinations.
[0100] Further, the server determines the relationship between two different service applications in the service application combination, for example, the service application combination 1 includes the service application 1 and the service application 2, and the server determines the relationship between the service application 1 and the service application 2. It can be understood that for the server, the relationship between the identification of the service application 1 and the identification of the service application 2 is determined.
[0101] Further, the server also determines the triple corresponding to the service application combination, the triple corresponding to the service application combination including two different service applications and the relationship between the two different service applications, that is, the identification of the two different service applications and the relationship between the identification of the two different service applications. For example, the triple corresponding to the service application combination 1 is <service application 1, calling relationship, service application 2>, the triple corresponding to the service application combination 2 is <service application 1, data dependency relationship, service application 3>, and the triple corresponding to the service application combination 3 is <service application 2, key link interaction relationship, service application 3>.
[0102] Optionally, the server can generate a preset merged file according to the identification of the two different service applications and the identification of the two different service applications and the relationship between the two different service applications, and store the preset merged file. For example, the service application combination 1 includes the service application 1 and the service application 2, and the server splices the identification of the service application 1, the identification of the service application 2, and the relationship between the service application 1 and the service application 2 to obtain the triple corresponding to the service application combination 1.
[0103] S502, training the initial model according to the triple corresponding to each service application combination to obtain a target model.
[0104] In this embodiment, the server trains the initial model according to the triple corresponding to each service application combination to obtain a target model. For example, the server divides the triple corresponding to each service application combination into a training set and a validation set, trains an intermediate model according to the training set, and further modifies and optimizes the intermediate model by using the validation set. Optionally, the server inputs each triple into the initial model, adjusts the parameters of the initial model according to the prediction ability of the initial model for the identification of different service applications, and determines the intermediate model when the prediction accuracy of the initial model reaches the target accuracy. When the accuracy of the intermediate model on the validation set reaches the accuracy, the intermediate model is used as the target model, otherwise the intermediate model is retrained.
[0105] In some embodiments, since new service applications are regularly put online, the server can update the triple corresponding to each service application combination according to a preset update frequency, and retrain the target model.
[0106] This embodiment determines the triples corresponding to each business application combination based on the two different business applications within each combination and the relationship between those two applications. Then, it trains the initial model using these triples to obtain the target model. Since each business application combination contains two different applications, and each combination is unique, the server can determine the pairwise triples between each combination and use these triples to train the initial model to obtain the target model. Furthermore, by using the triples corresponding to each business application combination, the computational load is further reduced.
[0107] Optionally, in step S201 above, determining the relationship between the target business application and other business applications based on the identifier of the target business application and the target model can be achieved in the following way:
[0108] Based on the identifier of the target business application and the target model, the relationship between the target business application and other business applications is obtained and displayed in a graph structure.
[0109] In this embodiment, when the server determines the triples corresponding to each business application combination, it also stores the triples corresponding to each business application combination in the form of a graph structure. Figure 6 This is a schematic diagram of a graph structure in this application, such as... Figure 6 As shown, the graph structure consists of vertices and edges, where a vertex is... Figure 6 In a graph, vertices represent business applications; edges are line segments connecting vertices, representing the relationship between two business applications. For example, the line segment between business application 1 and business application 2 indicates a calling relationship between business application 2, and so on. Graph structures include directed graphs and undirected graphs. Figure 6 This illustrates one form of an undirected graph. It is understood that in some embodiments, the graph structure can also be a directed graph, further reflecting the direction of relationships between various business applications, for example, business application 1 is invoked by business application 2.
[0110] Furthermore, after the server inputs the identifier of the target business application into the target model, it can display the relationship between the target business application and other business applications in the form of a graph structure.
[0111] In one embodiment, the server displays the relationship between the target business application and other business applications in the form of a graph structure on the interactive display interface. Then, when the user selects other business applications on the graph structure, for example, when the user clicks on another business application, the server displays the ledger information of that business application.
[0112] Further, in order to improve the speed of the target model, on the basis of the above embodiment, the server can determine the relationship between two different service applications in the service application combination through a graph algorithm (Depth First Search, DFS). DFS is a commonly used graph traversal method, which starts from an initial node and reaches a target node as the criterion. If the target node is not reached and there is no way to go, it will return to the previous step and go to other nodes until the target node is reached. In combination with the above Figure 6 , the server traverses all nodes in the graph, i.e., each service application, to obtain the associated service applications of the target service application.
[0113] The embodiment displays the relationship between the target service application and other service applications in the form of a graph structure according to the identification of the target service application and the target model, so that the relationship between the target service application and other service applications can be more clearly understood at a glance, and the efficiency of the test process is improved.
[0114] It should be understood that although each step in the flowchart involved in each embodiment described above is displayed in sequence according to the arrow, these steps are not necessarily executed in sequence according to the arrow. Unless otherwise stated herein, the execution of these steps is not strictly limited in sequence, and these steps can be executed in other sequences. Moreover, at least part of the steps in the flowchart involved in each embodiment described above can include multiple steps or stages, which are not necessarily executed at the same time, but can be executed at different times, and the execution sequence of these steps or stages is not necessarily sequential, but can be executed in rotation or alternation with at least part of other steps or steps or stages in other steps.
[0115] Based on the same inventive concept, the embodiment of the present application also provides a service application account information acquisition device for implementing the above-mentioned service application account information acquisition method. The problem-solving implementation scheme provided by the device is similar to the implementation scheme described in the above method, so the specific limitations in one or more service application account information acquisition device embodiments provided below can refer to the limitations of the service application account information acquisition method in the above text, which will not be repeated here.
[0116] Figure 7 The structure block diagram of the service application account information acquisition device in the embodiment of the present application is shown in Figure 7 , in the embodiment of the present application, a service application account information acquisition device 700 is provided, which includes a first determination module 701, a second determination module 702 and a display module 703, wherein:
[0117] The first determining module 701 is configured to determine the relationship between the target service application and other service applications according to the identification of the target service application and a target model. The target model is a model obtained by training an initial model according to each service application combination and the relationship between the service applications in the service application combination.
[0118] The second determining module 702 is configured to determine associated service applications according to the relationship between the target service application and other service applications. The associated service applications include other service applications associated with the target service application.
[0119] The display module 703 is configured to display the account information of the associated service applications according to the identification of the associated service applications and a preset corresponding relationship. The preset corresponding relationship includes the relationship between the identification of different service applications and different account information.
[0120] The account information obtaining device for service applications provided in the embodiment determines the relationship between the target service application and other service applications according to the identification of the target service application and a target model, and then determines the associated service applications including other service applications associated with the target service application according to the relationship between the target service application and other service applications, so as to display the account information of the associated service applications according to the identification of the associated service applications and a preset corresponding relationship including the relationship between the identification of different service applications and different account information. Since the target model is a model obtained by training an initial model according to each service application combination and the relationship between the service applications in the service application combination, the server can determine the relationship between the target service application and other service applications according to the identification of the target service application and the target model, and then determine the associated service applications associated with the target service application among other service applications and the account information of the associated service applications. At present, the account information of each service application is not interconnected, that is, the tester of the service application 1 does not know which service applications are associated with the service application 1, and does not know the account information of other service applications. In the technical solution of the present application, as long as a target service application is determined, the associated service applications associated with the target service application and the account information of the associated service applications can be determined. For the tester of the target service application, it is not necessary to communicate the account information of different service applications, and the test efficiency of the service application is improved.
[0121] Optionally, the account information obtaining device 700 for service applications further includes:
[0122] The first obtaining module is configured to obtain the account information of the target service application.
[0123] The third determining module is configured to determine the identification of the target service application according to the account information of the target service application and a preset corresponding relationship.
[0124] Optionally, the business application's account information obtaining apparatus 700 further comprises:
[0125] The first sending module is configured to send the changed account information of the target business application to the terminal corresponding to the tester of the associated business application in the case that the account information of the target business application changes.
[0126] Optionally, the business application's account information obtaining apparatus 700 further comprises:
[0127] The second sending module is configured to send the account information of the target business application and the account information of the associated business application to the terminal corresponding to the tester of the target business application in the case that the tester of the target business application changes.
[0128] Optionally, the business application's account information obtaining apparatus 700 further comprises:
[0129] The second obtaining module is configured to obtain the identities of the business applications.
[0130] The fourth determining module is configured to determine the business application combinations and the relationships between the business applications in the business application combinations according to the identities of the business applications.
[0131] The training module is configured to train the initial model to obtain the target model according to the business application combinations and the relationships between the business applications in the business application combinations.
[0132] Optionally, the business application combinations comprise two different business applications, the business application combinations are different, and the training module comprises:
[0133] The determining unit is configured to determine the triple corresponding to the business application combination according to the two different business applications in the business application combination and the relationship between the two different business applications.
[0134] The training unit is configured to train the initial model to obtain the target model according to the triple corresponding to the business application combination.
[0135] Optionally, the first determining module 701 is configured to obtain the relationship between the target business application and other business applications in the form of a graph structure according to the identity of the target business application and the target model.
[0136] The above modules of the business application's account information obtaining apparatus can be realized by software, hardware and combinations thereof in whole or in part. The above modules can be embedded in or independent of the processor in the computer device in hardware form, or can be stored in the memory in the computer device in software form, so as to be called and executed by the processor to perform the operations corresponding to the above modules.
[0137] Figure 8 This is an internal structure diagram of a computer device in an embodiment of this application. This application provides a computer device, which may be a server, and its internal structure diagram can be as follows. Figure 8 As shown, the computer device includes a processor, memory, and a network interface connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The database stores relevant data. The network interface communicates with external terminals via a network connection. When executed by the processor, the computer program implements a method for retrieving ledger information for a business application.
[0138] Those skilled in the art will understand that Figure 8 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0139] In one embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to perform the following steps:
[0140] Based on the identifier of the target business application and the target model, the relationship between the target business application and other business applications is determined; the target model is a model obtained by training an initial model based on the combination of business applications and the relationship between the business applications in the combination of business applications.
[0141] Based on the relationship between the target business application and other business applications, associated business applications are determined; the associated business applications include other business applications related to the target business application.
[0142] Based on the identifiers of the associated business applications and the preset correspondence, the ledger information of the associated business applications is displayed; the preset correspondence includes the relationship between the identifiers of different business applications and different ledger information.
[0143] In one embodiment, the processor, when executing a computer program, also performs the following steps:
[0144] Obtain the ledger information of the target business application;
[0145] According to the account information of the target business application and the preset correspondence relationship, the identity of the target business application is determined.
[0146] In one embodiment, the processor, when executing the computer program, also implements the following steps:
[0147] In the case where the account information of the target business application changes, the changed account information of the target business application is sent to the terminal corresponding to the tester of the associated business application.
[0148] In one embodiment, the processor, when executing the computer program, also implements the following steps:
[0149] In the case where the tester of the target business application changes, the account information of the target business application and the account information of the associated business application are sent to the terminal corresponding to the tester of the target business application.
[0150] In one embodiment, the processor, when executing the computer program, also implements the following steps:
[0151] Obtain the identity of each business application;
[0152] According to the identity of each business application, determine each business application combination and the relationship between each business application in the business application combination;
[0153] According to each business application combination and the relationship between each business application in the business application combination, the initial model is trained to obtain the target model.
[0154] In one embodiment, the processor, when executing the computer program, also implements the following steps:
[0155] According to two different business applications in each business application combination, the relationship between the two different business applications, determine the corresponding triple of the business application combination;
[0156] According to the corresponding triple of each business application combination, the initial model is trained to obtain the target model.
[0157] In one embodiment, the processor, when executing the computer program, also implements the following steps:
[0158] According to the identity of the target business application and the target model, the relationship between the target business application and other business applications displayed in the form of a graph structure is obtained.
[0159] In one embodiment, a computer readable storage medium is provided, and the computer readable storage medium stores a computer program. The computer program is executed by a processor to implement the following steps:
[0160] determine a relationship between the target service application and other service applications according to the identification of the target service application and a target model; the target model is a model obtained by training an initial model according to service application combinations and relationships between service applications in the service application combinations;
[0161] determine associated service applications according to the relationship between the target service application and other service applications; the associated service applications include other service applications associated with the target service application;
[0162] display account information of the associated service applications according to the identification of the associated service applications and a preset corresponding relationship; the preset corresponding relationship includes relationships between identifications of different service applications and different account information.
[0163] In one embodiment, the computer program, when executed by the processor, further implements the following steps:
[0164] obtain account information of the target service application;
[0165] determine the identification of the target service application according to the account information of the target service application and the preset corresponding relationship.
[0166] In one embodiment, the computer program, when executed by the processor, further implements the following steps:
[0167] in the case that the account information of the target service application changes, send the changed account information of the target service application to a terminal corresponding to a tester of the associated service applications.
[0168] In one embodiment, the computer program, when executed by the processor, further implements the following steps:
[0169] in the case that the tester of the target service application changes, send the account information of the target service application and the account information of the associated service applications to a terminal corresponding to a tester of the target service application.
[0170] In one embodiment, the computer program, when executed by the processor, further implements the following steps:
[0171] obtain identifications of service applications;
[0172] determine service application combinations and relationships between service applications in the service application combinations according to the identifications of the service applications;
[0173] train the initial model according to the service application combinations and the relationships between service applications in the service application combinations to obtain the target model.
[0174] In one embodiment, the computer program, when executed by the processor, further implements the following steps:
[0175] According to two different business applications in each of the business application combinations and the relationship between the two different business applications, a corresponding triple of the business application combination is determined;
[0176] According to the corresponding triple of each of the business application combinations, the initial model is trained to obtain the target model.
[0177] In one embodiment, the computer program, when executed by the processor, further implements the following steps:
[0178] According to the identification of the target business application and the target model, the relationship between the target business application and other business applications displayed in a graph structure is obtained.
[0179] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by the processor, implements the following steps:
[0180] According to the identification of the target business application and the target model, the relationship between the target business application and other business applications is determined; the target model is a model obtained by training an initial model according to each business application combination and the relationship between each business application in the business application combination;
[0181] According to the relationship between the target business application and other business applications, an associated business application is determined; the associated business application includes other business applications associated with the target business application;
[0182] According to the identification of the associated business application and a preset corresponding relationship, account information of the associated business application is displayed; the preset corresponding relationship includes the relationship between the identification of different business applications and different account information.
[0183] In one embodiment, the computer program, when executed by the processor, further implements the following steps:
[0184] Obtain the account information of the target business application;
[0185] According to the account information of the target business application and the preset corresponding relationship, the identification of the target business application is determined.
[0186] In one embodiment, the computer program, when executed by the processor, further implements the following steps:
[0187] In the case that the account information of the target business application changes, the changed account information of the target business application is sent to the terminal corresponding to the tester of the associated business application.
[0188] In one embodiment, the computer program, when executed by the processor, further implements the following steps:
[0189] In the case where the tester of the target business application changes, the account information of the target business application and the account information of the associated business application are sent to the terminal corresponding to the tester of the target business application.
[0190] In one embodiment, the computer program, when executed by the processor, further implements the following steps:
[0191] Obtaining the identification of each business application;
[0192] According to the identification of each business application, determining each business application combination and the relationship between each business application in the business application combination;
[0193] According to each business application combination and the relationship between each business application in the business application combination, training the initial model to obtain the target model.
[0194] In one embodiment, the computer program, when executed by the processor, further implements the following steps:
[0195] According to two different business applications in each business application combination, the relationship between the two different business applications, determining the corresponding triple of the business application combination;
[0196] According to the corresponding triple of each business application combination, training the initial model to obtain the target model.
[0197] In one embodiment, the computer program, when executed by the processor, further implements the following steps:
[0198] According to the identification of the target business application and the target model, obtaining the relationship between the target business application and other business applications displayed in the form of a graph structure.
[0199] In one embodiment, the computer program, when executed by the processor, further implements the following steps:
[0200] It should be noted that the user information (including but not limited to user equipment information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved in the present application are all information and data authorized by the user or authorized by all parties.
[0201] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a non-volatile computer readable storage medium, and when the computer program is executed, the processes of the above-mentioned embodiments of the methods can be included. Any reference to memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (Read-Only Memory, ROM), magnetic tape, floppy disk, flash memory, optical storage, high-density embedded non-volatile memory, resistive memory (ReRAM), magnetoresistive random access memory (Magnetoresistive Random Access Memory, MRAM), ferroelectric memory (Ferroelectric Random Access Memory, FRAM), phase change memory (Phase Change Memory, PCM), graphene memory, etc. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory, etc. As an illustration but not limitation, RAM can be in various forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), etc. The database involved in the embodiments provided in the present application can include at least one of a relational database and a non-relational database. The non-relational database can include a distributed database based on a block chain, etc., without being limited thereto. The processor involved in the embodiments provided in the present application can be a general-purpose processor, a central processing unit, a graphics processing unit, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., without being limited thereto.
[0202] Any combination of the technical features of the above embodiments can be made. In order to make the description simple, all possible combinations of the technical features in the above embodiments are not described, however, as long as the combination of the technical features does not exist contradictory, it should be considered as the scope of the present application.
[0203] The above embodiments only express several implementation manners of the present application, and the description is more specific and detailed, but it should not be understood as a limitation on the scope of the patent of the present application. It should be pointed out that for ordinary skilled in the art, without departing from the concept of the present application, a number of modifications and improvements can be made, which are within the scope of protection of the present application. Therefore, the protection scope of the present application should be subject to the appended claims.
Claims
1. A method for obtaining ledger information in a business application, characterized in that, The method includes: Based on the identifier of the target business application and the target model, the relationships between the target business application and other business applications are obtained in a graph structure. The target model is a model obtained by training an initial model based on each business application combination and the relationships between the business applications in the combination. Each business application combination includes two different business applications, and each combination is different. Based on the identifier of the target business application and the target model, the relationships between the target business application and other business applications are obtained in a graph structure. Based on the relationships between the target business application and other business applications, associated business applications are determined. The associated business applications include other business applications related to the target business application. Based on the identifiers of the associated business applications and the preset correspondence, the ledger information of the associated business applications is displayed; the preset correspondence includes the relationship between the identifiers of different business applications and different ledger information, and the ledger information includes the server IP, server hardware configuration, server purpose, database address, front-end address, corresponding department, corresponding business area, and test personnel information of the business application.
2. The method according to claim 1, characterized in that, The method further includes: Obtain the ledger information of the target business application; The identifier of the target business application is determined based on the ledger information of the target business application and the preset correspondence.
3. The method according to claim 1 or 2, characterized in that, The method further includes: If the ledger information of the target business application changes, the changed ledger information of the target business application is sent to the terminal corresponding to the tester of the associated business application.
4. The method according to claim 1 or 2, characterized in that, The method further includes: If the testers of the target business application change, the ledger information of the target business application and the ledger information of the associated business application are sent to the terminal corresponding to the testers of the target business application.
5. The method according to claim 1 or 2, characterized in that, The method further includes: Obtain the identifiers of each business application; The relationships between each business application combination and the business applications in each business application combination are determined based on the identifier of each business application. The target model is obtained by training the initial model based on each of the business application combinations and the relationships between the business applications in the business application combinations.
6. The method according to claim 1 or 2, characterized in that, The business application combination includes two different business applications, and each business application combination is different; the step of training the initial model to obtain the target model based on each business application combination and the relationship between the business applications in the business application combination includes: Based on the two different business applications in each of the business application combinations and the relationship between the two different business applications, the triplet corresponding to the business application combination is determined; The target model is obtained by training the initial model based on the triples corresponding to each of the aforementioned business application combinations.
7. A ledger information acquisition device for a business application, wherein the ledger information acquisition device for a business application is used to implement the ledger information acquisition method for a business application as described in any one of claims 1-6, characterized in that, The device includes: The first determining module is used to determine the relationship between the target business application and other business applications based on the identifier of the target business application and the target model; the target model is a model obtained by training an initial model based on the combination of business applications and the relationship between the business applications in the combination of business applications. The second determining module is used to determine associated business applications based on the relationship between the target business application and other business applications; the associated business applications include other business applications associated with the target business application. The display module is used to display the ledger information of the associated business applications according to the identifiers of the associated business applications and the preset correspondence; the preset correspondence includes the relationship between the identifiers of different business applications and different ledger information.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 6.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 6.
10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Operation-maintenance data association auditing method, system, equipment and storage medium
CN107506484A
Application package analysis method and device and computer readable storage medium
CN111400197A
Visualization scheme design method and device based on cloud computing and computer equipment
CN114237580A