CN115934521A - Method and device for acquiring standing book information of business application and computer equipment - Google Patents

Method and device for acquiring standing book information of business application and computer equipment Download PDF

Info

Publication number
CN115934521A
CN115934521A CN202211505020.5A CN202211505020A CN115934521A CN 115934521 A CN115934521 A CN 115934521A CN 202211505020 A CN202211505020 A CN 202211505020A CN 115934521 A CN115934521 A CN 115934521A
Authority
CN
China
Prior art keywords
application
target
business
service
business application
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211505020.5A
Other languages
Chinese (zh)
Inventor
马文莹
赵佳怡
袁亚辉
谢文思
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Industrial and Commercial Bank of China Ltd ICBC
Original Assignee
Industrial and Commercial Bank of China Ltd ICBC
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Industrial and Commercial Bank of China Ltd ICBC filed Critical Industrial and Commercial Bank of China Ltd ICBC
Priority to CN202211505020.5A priority Critical patent/CN115934521A/en
Publication of CN115934521A publication Critical patent/CN115934521A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The present application relates to the field of software testing, and in particular, to a method and an apparatus for acquiring ledger information of a business application, and a computer device. The method comprises the following steps: and determining the relation between the target business application and other business applications according to the identification of the target business application and the target model, and further determining the associated business application according to the relation between the target business application and other business applications, so that the ledger information of the associated business application is displayed according to the identification of the associated business application and the preset corresponding relation. The target model is obtained by training the initial model according to each service application combination and the relation between each service application in the service application combination; the associated service application comprises other service applications associated with the target service application; the preset corresponding relation comprises the relation between the identification of different business applications and different standing book information. The method can improve the testing efficiency.

Description

Method and device for acquiring standing book information of business application and computer equipment
Technical Field
The present application relates to the field of financial technology, software testing, or other related fields, and in particular, to a method and an apparatus for acquiring ledger information of business applications, and a computer device.
Background
Business applications need to be regularly tested and maintained from development to online.
At present, the financial industry divides different applications according to service types and tests the applications by different testers respectively, but in the testing process, different service applications are often involved in a transaction, so that the testers corresponding to the service applications need to communicate ledger information of the different service applications to ensure the testing effect for the service applications.
However, because it takes a lot of time for the testers corresponding to each business application to communicate the ledger information of different business applications, the testing efficiency of the business applications is affected.
Disclosure of Invention
In view of the foregoing, it is necessary to provide a method, an apparatus, and a computer device for acquiring ledger information of a business application, which can improve test efficiency.
In a first aspect, the present application provides a method for acquiring ledger information of a business application. The method comprises the following steps:
determining the relation between the target business application and other business applications according to the identification of the target business application and the target model; the target model is a model obtained by training an initial model according to each service application combination and the relation between each service application in the service application combination;
determining associated service application according to the relation between the target service application and other service applications; the associated business application comprises other business applications associated with the target business application;
displaying the ledger information of the associated service application according to the identification of the associated service application and the preset corresponding relation; the preset corresponding relation comprises the relation between the identification of different business applications and different standing book information.
In one embodiment, the method further comprises:
acquiring the standing book information of the target business application;
and determining the identifier of the target business application according to the standing book information of the target business application and the preset corresponding relation.
In one embodiment, the method further comprises:
and under the condition that the standing book information of the target business application is changed, sending the changed standing book information of the target business application to a terminal corresponding to a tester of the associated business application.
In one embodiment, the method further comprises:
and sending the standing book information of the target business application and the standing book information of the associated business application to a terminal corresponding to the tester of the target business application under the condition that the tester of the target business application changes.
In one embodiment, the method further comprises:
acquiring the identifier of each service application;
determining each service application combination and the relation between each service application in the service application combination according to the identification of each service application;
and training the initial model to obtain the target model according to the business application combination and the relation between the business applications in the business application combination.
In one embodiment, the service application combination comprises two different service applications, and each service application combination is different; the training the initial model according to the service application combination and the relationship between the service applications in the service application combination to obtain the target model includes:
determining a triple group corresponding to the service application combination according to two different service applications in each service application combination and the relationship between the two different service applications;
and training the initial model to obtain the target model according to the triples corresponding to the service application combinations.
In one embodiment, the determining the relationship between the target business application and other business applications according to the identification of the target business application and the target model includes:
and obtaining the relation between the target business application and other business applications displayed in a graph structure form according to the identification of the target business application and the target model.
In a second aspect, the application further provides a machine account information obtaining apparatus for business application. The device comprises:
the first determining module is used for determining the relation between the target business application and other business applications according to the identification of the target business application and the target model; the target model is a model obtained by training the initial model according to each service application combination and the relation between each service application in the service application combination;
the second determining module is used for determining the associated service application according to the relation between the target service application and other service applications; the associated business application comprises other business applications associated with the target business application;
the display module is used for displaying the ledger information of the associated business application according to the identification of the associated business application and the preset corresponding relation; the preset corresponding relation comprises the relation between the identification of different business applications and different standing book information.
In a third aspect, the present application also provides a computer device. The computer device comprises a memory storing a computer program and a processor implementing the steps of any of the above methods when the processor executes the computer program.
In a fourth aspect, the present application further provides a computer-readable storage medium. The computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of any of the methods described above.
In a fifth aspect, the present application further provides a computer program product. The computer program product comprising a computer program that when executed by a processor implements the steps of any of the methods described above.
According to the method, the device and the computer equipment for acquiring the standing book information of the business application, the relation between the target business application and other business applications is determined according to the identification of the target business application and the target model, and then the associated business application comprising other business applications associated with the target business application is determined according to the relation between the target business application and other business applications, so that the standing book information of the associated business application is displayed according to the identification of the associated business application and the preset corresponding relation between the identification comprising different business applications and different standing book information. Because the target model is obtained by training the initial model according to the relation between each service application combination and each service application in the service application combination, the server can determine the relation between the target service application and other service applications according to the identification of the target service application and the target model, further determine the associated service application associated with the target service application in other service applications, and determine the ledger information of the associated service application. At present, the ledger information of each service application is not intercommunicated, that is, a tester of the service application 1 does not know which service applications the service application 1 is associated with, and does not know the ledger information of other service applications. In the technical scheme of the application, only one target business application is determined, the associated business application associated with the target business application and the ledger information of the associated business application can be determined. For the testers of the target business application, the machine account information of different business applications does not need to be communicated, and the testing efficiency of the business application is further improved.
Drawings
Fig. 1 is an application environment diagram of a method for acquiring ledger information of a business application in an embodiment of the present application;
fig. 2 is a schematic flow chart of a method for acquiring ledger information of a business application in an embodiment of the present application;
fig. 3 is a schematic flowchart of a process for determining an identifier of a target service application in an embodiment of the present application;
FIG. 4 is a schematic flow chart illustrating a process of obtaining a target model according to an embodiment of the present application;
FIG. 5 is a schematic flow chart of another embodiment of the present application for obtaining a target model;
FIG. 6 is a schematic diagram of one of the graph structures in the present application;
fig. 7 is a block diagram illustrating a configuration of a ledger information acquisition apparatus for business applications in an embodiment of the present application;
fig. 8 is an internal structural diagram of a computer device in the embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
In the process of business application development online, periodic test maintenance is required. The applicant finds that in the current testing process, because one transaction often relates to different business applications, and testers between different business applications do not know the conditions of other business applications, in the actual testing process, the communication cost between the testers corresponding to each business application is increased, and the testing efficiency is influenced. For example, a tester of the business application 1 finds that the business application 1 is abnormal in a test process, and the tester wants to acquire ledger information of other business applications such as the business application 2 and the business application 3, so as to complete a subsequent test process, however, the tester of the business application 1 needs to find a tester corresponding to the other business applications first, and then knows the ledger information of the other business applications through the tester corresponding to the other business applications.
Based on this, it is necessary to provide a ledger information acquisition method, apparatus, and computer device for business applications, which can improve test efficiency. The following explains a standing book information acquisition method of a business application of the present application.
Fig. 1 is an application environment diagram of a standing book information obtaining method for business applications in the embodiment of the present application, and the standing book information obtaining method for business applications provided in the embodiment of the present application may be applied to the application environment shown in fig. 1. Wherein the terminal 102 communicates with the server 104 via a network. The data storage system may store data that the server 104 needs to process. The data storage system may be integrated on the server 104 or may be placed on the cloud or other network server. The terminal 102 may be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers, internet of things devices and portable wearable devices, and the internet of things devices may be smart speakers, smart televisions, smart air conditioners, smart car-mounted devices, and the like. The portable wearable device can be a smart watch, a smart bracelet, a head-mounted device, and the like. The server 104 may be implemented as a stand-alone server or as a server cluster comprised of multiple servers.
Fig. 2 is a schematic flowchart of a method for acquiring ledger information of a business application in this embodiment, where the method may be applied to the server shown in fig. 1, and in an embodiment, as shown in fig. 2, the method includes the following steps:
s201, determining the relation between the target service application and other service applications according to the identification of the target service application and the target model; the target model is obtained by training the initial model according to the service application combination and the relation between the service applications in the service application combination.
In this embodiment, the target service application is one of the service applications, which may be an application randomly determined by the server from the service applications or an application designated by the user. It can be understood that each service application corresponds to a unique identifier, and the server can distinguish different service applications according to the identifier of each service application. The identification of each business application may be at least one of a number, a letter, a symbol.
And a target model is built in the server, and the target model is obtained by training the initial model according to the relation between each service application combination and each service application in the service application combination. Each service application combination comprises at least two service applications, for example, the service application combination 1 comprises a service application 1 and a service application 2, and the service application combination 2 comprises a service application 1, a service application 2 and a service application 3.
The relationship between the business applications is used to indicate whether there is a relationship between the applications, optionally, the relationship between the business applications includes the presence of a relationship and the absence of a relationship, and further optionally, when there is a relationship between the business applications, the relationship may be divided into a call relationship, a data dependency relationship, a key link interaction relationship, and the like.
When determining the service application combination, the server also determines the relationship between the service applications in the service application combination. Taking the example that the service application combination 2 includes the service application 1 and the service application 2, the server may determine that the service application 1 and the service application 2 have a call relationship, which indicates that the operation of the service application 1 requires that the call of the service application 2 also operates, or that the operation of the service application 2 requires that the call of the service application 1 also operates.
It can be understood that, since the server distinguishes the service applications according to the identifications of the service applications, the server also utilizes the identifications according to the service combinations during the training and using processes.
Further, the server can train the initial model according to the service application combination and the relation among the service applications in the service application combination to obtain the target model. The initial model and the target model may be Convolutional Neural Networks (CNNs), recurrent Neural Networks (RNNs), or other deep learning Networks, machine learning Networks, or the like.
Furthermore, since the target model is obtained by training the initial model based on each service application combination and the relationship between each service application in the service application combination, the server can determine the relationship between the target service application and other service applications according to the identifier of the target service application and the target model.
In one embodiment, the server may provide an interactive display interface, the user may select a target business application in the interactive display interface, or input an identification of the target business application, and the like, and the server may determine the identification of the target business application in response to the user's operation and input the identification of the target business application into the target model to determine the relationship between the target business application and other business applications. Assuming that the service applications include service applications 1 to 5, and the target service application is the service application 1, the server may determine that the relationship between the service application 1 and the service application 2 is a call relationship, the relationship between the service application 1 and the service application 3 is a data dependency relationship, the relationship between the service application 1 and the service application 4 is a key link interaction relationship, and the relationship between the service application 1 and the service application 5 is a no-dependency relationship.
S202, determining associated service application according to the relation between the target service application and other service applications; the associated business application includes other business applications associated with the target business application.
In this embodiment, after determining the relationship between the target service application and the other service applications, the server may determine the other service applications associated with the target service application according to the relationship between the target service application and the other service applications. That is, the server may use the other service applications as associated service applications as long as there is an association between the target service application and the other service applications.
For example, different relationships between business applications are distinguished by different relationship identifiers, a relationship identifier without a dependency relationship is 0, a relationship identifier with a call relationship is 1, a relationship identifier with a data dependency relationship is 2, and so on. And then the server takes other business applications corresponding to the relation identifications which are not 0 as associated business applications. Continuing with the example of S201 above, the server may determine that business application 2, business application 3, and business application 4 are associated business applications.
S203, displaying the ledger information of the associated business application according to the identification of the associated business application and the preset corresponding relation; the preset corresponding relation comprises the relation between the identification of different business applications and different standing book information.
In this embodiment, the server determines the associated service application, that is, determines the identifier of the associated service application. Further, the server stores a preset corresponding relationship, where the preset corresponding relationship includes a relationship between an identifier of a different service application and different ledger information, for example, the identifier of the service application 1 corresponds to the ledger information of the service application 1, and the identifier of the service application 2 corresponds to the ledger information of the service application 2. Furthermore, the server can determine the ledger information of the associated business application according to the identification of the associated business application. That is, after the server determines that the business application 2, the business application 3, and the business application 4 are associated business applications, the server can determine the standing book information of the business application 2 according to the identifier of the business application 2, determine the standing book information of the business application 3 according to the identifier of the business application 3, and determine the standing book information of the business application 4 according to the identifier of the business application 4.
The machine account information is used for indicating various types of attributes of the business application, and optionally, the machine account information includes a server ip, a server hardware configuration, a server use, a database address, a foreground address, a front-end room, a front-end business field, a tester and the like corresponding to the business application, and the machine account information can be set according to actual requirements.
In one embodiment, the server obtains and updates the ledger information of each business Application in real time or at regular time by calling an Application Program Interface (API). Of course, the user may also perform maintenance and management on the ledger information of each business application based on the interactive display interface provided by the server.
According to the method for acquiring the standing book information of the business application, provided by this embodiment, the relationship between the target business application and other business applications is determined according to the identifier of the target business application and the target model, and then the associated business application including the other business applications associated with the target business application is determined according to the relationship between the target business application and the other business applications, so that the standing book information of the associated business application is displayed according to the identifier of the associated business application and the preset corresponding relationship between the identifier including different business applications and different standing book information. Because the target model is obtained by training the initial model according to the service application combinations and the relationship between the service applications in the service application combinations, 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, further determine the associated service application associated with the target service application in other service applications, and determine the ledger information of the associated service application. At present, the ledger information of each service application is not intercommunicated, that is, a tester of the service application 1 does not know which service applications are all related to the service application 1, and does not know the ledger information of other service applications. In the technical scheme of the application, only one target business application is determined, the associated business application related to the target business application and the ledger information of the associated business application can be determined. For the testers of the target business application, the machine account information of different business applications does not need to be communicated, and the testing efficiency of the business application is further improved.
Fig. 3 is a schematic flowchart of a process for determining an identifier of a target service application in this embodiment, and referring to fig. 3, this embodiment relates to an alternative implementation manner of how to determine the identifier of the target service application. On the basis of the above embodiment, the obtaining of the ledger information of the business application further includes the following steps:
s301, obtaining the machine account information of the target business application.
In some application scenarios, the user may not know the identity of the target business application, but only know the ledger 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 ledger information of the business application associated with the business application. Therefore, in this embodiment, the server may obtain the ledger information of the target business application.
The server may obtain the standing book information of the target business application after responding to the operation of the user, for example, the user inputs the standing book information of the target business application at a specified position.
S302, determining the identifier of the target business application according to the standing book information of the target business application and the preset corresponding relation.
In this embodiment, the ledger information of the target business application and the identifier of the target business application have a corresponding relationship, and therefore, after the server acquires the ledger information of the target business application, the identifier of the target business application can be determined according to the ledger information of the target business application.
The following exemplifies one form of the preset corresponding relationship stored by the server, and of course, the computer may also store the preset corresponding relationship in other ways, as long as the identifiers of different business applications and different ledger information have a mapping relationship, which is not limited in this embodiment. In the server hardware configuration, the memory specification usually takes g as a unit, for example, 50g represents that the memory is 50GB; the CPU specification usually has u as a unit, and for example, 2u indicates that the CPU is dual core.
TABLE 1 Preset correspondence schematic
Figure BDA0003968752550000091
Further, after the server determines the identifier of the target service application, the server may further determine the associated service application according to the identifier of the target service application and the target model, so as to determine the ledger information of the associated service application, which is the same as the principle of S201 to S203 and is not described herein again.
The embodiment obtains the standing book information of the target business application, and determines the identifier of the target business application according to the standing book information of the target business application and the preset corresponding relation. That is, only the ledger information of the target business application is known, the identifier and the target model of the target business application may be determined according to the ledger information of the target business application, the relationship between the target business application and other business applications is determined, and the associated business application is determined according to the relationship between the target business application and other business applications, so that the ledger information of the associated business application is displayed according to the identifier and the preset corresponding relationship of the associated business application. Therefore, the method provided by the embodiment can not only provide the testing efficiency, but also improve the flexibility of the testing process.
Optionally, the method for acquiring ledger information of business applications may further include the following steps:
and sending the changed ledger information of the target business application to a terminal corresponding to a tester of the associated business application under the condition that the ledger information of the target business application is changed.
In this embodiment, for information synchronization, when the ledger information of the target business application changes, the server sends the changed ledger information of the target business application to the terminal corresponding to the tester related to the business application.
For example, the server may compare the ledger information of each service application at regular intervals, and when the ledger information changes, the server may determine, according to the identifier of the associated service application, a tester in the ledger information of the associated service application, that is, determine a tester of the associated service application. Further, the server may send changed ledger information of the target business application to a terminal corresponding to a tester of the associated business application. The terminal corresponding to the tester may be a computer device in a fixed physical location, a computer device logged with a fixed account, or a computer device in a fixed IP.
For example, the tester corresponding to the service application 1 is a, and it is assumed that the service application 1 is a target service application and its associated service application is a service application 2. When the server IP of the service application 1 changes, the server sends "the server IP of the service application 1 has changed, please pay attention to" to the terminal corresponding to the tester of the service application 2.
In this embodiment, under the condition that the ledger information of the target service application changes, the changed ledger information of the target service application is sent to the terminal corresponding to the tester of the associated service application to synchronize the ledger information, so that the communication cost between the testers is further reduced, and the testing efficiency is improved.
Optionally, the method for acquiring ledger information of business applications may further include the following steps:
and sending the standing book information of the target business application and the standing book information of the associated business application to a terminal corresponding to the tester of the target business application under the condition that the tester of the target business application changes.
In this embodiment, to further achieve information synchronization, the server sends the ledger information of the target business application and the ledger information of the associated business application to the terminal corresponding to the tester of the target business application when the tester of the target business application changes.
Continuing with the above example, the tester corresponding to the service application 1 is a, and it is assumed that the service application 1 is the target service application and the associated service application is the service application 2. When the tester of the business application 1 is changed from the tester a to the tester B, the server sends the ledger information of the business application 1 and the ledger information of the business application 2 to the terminal corresponding to the tester B of the business application 1 at the same time, so as to complete the handover of the ledger information.
In this embodiment, under the condition that the tester of the target business application changes, 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 tester of the target business application, so that the communication cost between the testers is further reduced, and the testing efficiency is improved.
Fig. 4 is a schematic flowchart of a process for obtaining a target model in an embodiment of the present application, and referring to fig. 4, this embodiment relates to an alternative implementation of how to obtain a target model. On the basis of the above embodiment, the method for acquiring ledger information of business applications further includes the following steps:
s401, obtaining the identification of each service application.
In this embodiment, before using, the server first trains the initial model to obtain the target model. Based on this, the server first obtains the identity of each service application, that is, the server first needs to know the identities of all service applications. The server may receive the identifier of each service application imported by another computer device, and may also obtain the identifier of each service application in response to the operation of the user, which is not limited in this embodiment.
In one embodiment, after the server obtains the ledger information of each business application by using the API, the server performs a structuring process on the ledger information of each business application to obtain a "primary key" of each business application, and uses the "primary key" of each business application as an identifier of each business application. Optionally, the server may also determine the identifier of each service application according to a preset coding sequence after performing structural processing on the ledger information of each service application.
S402, determining each service application combination and the relation between each service application in the service application combination according to the identification of each service application.
In this embodiment, the server determines each service application combination, determines the relationship between each service application, and further determines each service application combination and the relationship between each service application in the service application combination according to the identifier of each service application.
Each service application combination may be determined by the server according to a preset rule, for example, traversing the entire application service, and combining every three service application combinations into one service application combination.
Optionally, after determining each service application combination, the user may determine the relationship between each service application by using a "tagging" manner in combination with an actual situation. For example, the service application 1 has a calling relationship with the service application 2, the service application 1 has a data dependency relationship with the service application 2, and so on.
And S403, training the initial model according to the service application combination and the relation among the service applications in the service application combination to obtain a target model.
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. A mode for training an initial model to obtain a target model is that a server inputs each service application combination and the relation between each service application in the service application combination into the initial model, and parameters of the initial model are adjusted according to the prediction capability of the initial model to the identifications of different service applications. When the prediction accuracy of the initial model reaches the target accuracy, the server determines the target model.
In this embodiment, the identifier of each service application is obtained, and then the relationship between each service application combination and each service application in the service application combination is determined according to the identifier of each service application, so that the initial model is trained according to each service application combination and each service application in the service application combination to obtain the target model. Because the target model is obtained by training the initial model according to the relation between each service application combination and each service application in the service application combination, the target model can determine the relation between the target service application and other service applications according to the identification of the target service application so as to improve the testing efficiency.
Fig. 5 is a schematic flowchart of another process for obtaining a target model in this embodiment, and referring to fig. 5, this embodiment relates to an alternative implementation of how to obtain a target model. On the basis of the above embodiment, the service application combination includes two different service applications, each service application combination is different, and in S403, the initial model is trained according to the relationship between each service application combination and each service application in the service application combination to obtain the target model, including the following steps:
s501, determining a triple corresponding to the service application combination according to two different service applications in each service application combination and the relationship between the two different service applications.
In this embodiment, the service application combination includes two different service applications, and each service application combination is different. That is, the server performs pairwise combination on each service application, and assuming that the number of service applications is N, where N is an integer greater than 1, the server may determine that the service applications are combined pairwise
Figure BDA0003968752550000121
A combination of business applications.
Further, the server determines the relationship between two different business applications in the business application combination, for example, the business application combination 1 includes the business application 1 and the business application 2, and then the server determines the relationship between the business application 1 and the business application 2. It will be appreciated that for the server, it is the relationship between the identity of the business application 1 and the identity of the business application 2 that is determined.
Further, the server determines a triple corresponding to the service application combination, where the triple corresponding to the service application combination includes two different service applications and a relationship between the two different service applications, that is, a relationship between identifiers of the two different service applications and identifiers of the two different service applications. For example, the triplet corresponding to the service application combination 1 is: < business application 1, calling relationship, business application 2>, the triple corresponding to the business application combination 2 is: < business application 1, data dependency relationship, business application 3>, the triple corresponding to the business application combination 3 is: < business application 2, key link interaction relation, business application 3>.
Optionally, the server may generate a preset merged file by using a preset coding rule according to the identifiers of the two different service applications and the identifiers of the two different service applications, and store the preset merged file. For example, if the service application combination 1 includes the service application 1 and the service application 2, the server performs character splicing on "the identifier of the service application 1 + the identifier of the service application 2 + the relationship identifier between the service application 1 and the service application 2" to obtain a triple corresponding to the service application combination 1.
And S502, training the initial model to obtain a target model according to the triples corresponding to each service application combination.
In this embodiment, the server trains the initial model to obtain the target model according to the triples corresponding to each service application combination. For example, the server divides the triplets corresponding to each service application combination into a training set and a verification set, obtains an intermediate model according to the training set, and further modifies and optimizes the intermediate model by using the verification set. Optionally, the server inputs each triplet into the initial model, and adjusts parameters of the initial model according to the prediction capability of the initial model for the identifiers of different service applications. When the prediction accuracy of the initial model reaches the target accuracy, the server determines the intermediate model. And when the accuracy of the intermediate model on the verification set reaches the accuracy, taking the intermediate model as a target model, and otherwise, returning to retrain the intermediate model.
In some embodiments, since new service applications are online periodically, the server may update the triples corresponding to each service application combination according to a preset update frequency, and retrain to obtain the target model.
In this embodiment, a triple corresponding to each service application combination is determined according to two different service applications in each service application combination and a relationship between the two different service applications, and an initial model is trained according to the triple corresponding to each service application combination to obtain a target model. Because the service application combination comprises two different service applications, and the service application combinations are different, the server can determine the corresponding triplets between every two service application combinations, and then train the initial model by using the triplets to obtain the target model. In addition, the calculation amount is further reduced because the corresponding triples are combined by each service application.
Optionally, in the above S201, determining the relationship between the target service application and other service applications according to the identifier of the target service application and the target model may be implemented in the following manner:
and obtaining the relation between the target service application and other service applications displayed in a graph structure form according to the identification of the target service application and the target model.
In this embodiment, when determining the triple corresponding to each service application combination, the server also stores the triple corresponding to each service application combination in the form of a graph structure. FIG. 6 is a schematic diagram of a graph structure of the present application, as shown in FIG. 6, the graph structure is composed of points and edges, the points are the vertices of FIG. 6, and represent business applications; an edge is a line segment connecting points, which represents a relationship between two service applications, for example, a line segment between service application 1 and service application 2 indicates that there is a call relationship between service application 2 and service application 2, and so on. The graph structure includes a directed graph and an undirected graph, and FIG. 6 illustrates one form of an undirected graph. It is understood that in some embodiments, the graph structure may also be a directed graph, further reflecting the relationship direction between the business applications, for example, the business application 1 is invoked by the business application 2.
Further, after the server inputs the identification of the target business application into the target model, the relationship between the target business application and other business applications can be displayed in a graph structure form.
In one embodiment, the server displays the relationship between the target business application and other business applications in the form of the graph structure on the interactive display interface, and then the server displays the ledger information of the business application after the user can select other business applications on the graph structure, for example, when the user clicks some other business application.
Further optionally, in order to improve the speed of the target model, on the basis of the foregoing embodiment, the server may determine the relationship between two different service applications in the service application combination through a graph algorithm (DFS). DFS is a traversal method of a common graph, which starts from an initial node until a target node is reached by using depth as a criterion, and if the target node is not reached and no path is available, the DFS returns to the state of the previous step and walks other nodes until the target node is reached. With reference to fig. 6, the server uses the target service application as an initial node, and traverses all nodes in the graph, that is, all the service applications, so as to obtain the associated service application of the target service application.
According to the embodiment, the relationship between the target service application and other service applications displayed in the graph structure form is obtained according to the identification and the target model of the target service application, so that the relationship between the target service application and other service applications can be more clearly understood, and the efficiency of the test process is improved.
It should be understood that, although the steps in the flowcharts related to the embodiments as described above are sequentially displayed as indicated by arrows, the steps are not necessarily performed sequentially as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a part of the steps in the flowcharts related to the embodiments described above may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the execution order of the steps or stages is not necessarily sequential, but may be rotated or alternated with other steps or at least a part of the steps or stages in other steps.
Based on the same inventive concept, the embodiment of the application also provides a standing book information acquisition device for business application, which is used for realizing the above-mentioned standing book information acquisition method for business application. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the method, so that specific limitations in the following embodiments of the ledger information acquisition device for one or more business applications can be referred to the limitations on the ledger information acquisition method for the business applications, and details are not repeated here.
Fig. 7 is a block diagram of a configuration of an equipment for acquiring ledger information of a business application in an embodiment of the present application, and as shown in fig. 7, in the embodiment of the present application, an equipment 700 for acquiring ledger information of a business application is provided, which includes: a first determining module 701, a second determining module 702 and a display module 703, wherein:
a first determining module 701, configured to determine a relationship between a target service application and another service application according to an identifier of the target service application and a target model; the target model is obtained by training the initial model according to the service application combination and the relation among the service applications in the service application combination.
A second determining module 702, configured to determine an associated service application according to a relationship between the target service application and another service application; the associated business application includes other business applications associated with the target business application.
A display module 703, configured to display ledger information of the associated service application according to the identifier of the associated service application and a preset correspondence; the preset corresponding relation comprises the relation between the identification of different business applications and different standing book information.
The ledger information acquisition apparatus for a business application provided in this embodiment determines a relationship between a target business application and another business application according to an identifier of the target business application and a target model, and further determines an associated business application including another business application associated with the target business application according to the relationship between the target business application and another business application, so that ledger information of the associated business application is displayed according to the identifier of the associated business application and a preset corresponding relationship between the identifier including different business applications and different ledger information. Because the target model is obtained by training the initial model according to the relation between each service application combination and each service application in the service application combination, the server can determine the relation between the target service application and other service applications according to the identification of the target service application and the target model, further determine the associated service application associated with the target service application in other service applications, and determine the ledger information of the associated service application. At present, the ledger information of each service application is not intercommunicated, that is, a tester of the service application 1 does not know which service applications the service application 1 is associated with, and does not know the ledger information of other service applications. In the technical scheme of the application, only one target business application is determined, the associated business application associated with the target business application and the ledger information of the associated business application can be determined. For the testers of the target business application, the machine account information of different business applications does not need to be communicated, and the testing efficiency of the business application is further improved.
Optionally, the apparatus 700 for acquiring ledger information of a business application further includes:
the first acquisition module is used for acquiring the standing book information of the target business application.
And the third determining module is used for determining the identifier of the target business application according to the standing book information of the target business application and the preset corresponding relation.
Optionally, the apparatus 700 for acquiring ledger information of a business application further includes:
and the first sending module is used for sending the changed standing book information of the target business application to a terminal corresponding to a tester of the associated business application under the condition that the standing book information of the target business application is changed.
Optionally, the apparatus 700 for acquiring ledger information of a business application further includes:
and the second sending module is used for sending the standing book information of the target business application and the standing book information of the associated business application to a terminal corresponding to the tester of the target business application under the condition that the tester of the target business application changes.
Optionally, the apparatus 700 for acquiring ledger information of a business application further includes:
and the second acquisition module is used for acquiring the identifier of each service application.
And the fourth determining module is used for determining each service application combination and the relationship among the service applications in the service application combination according to the identification of each service application.
And the training module is used for training the initial model to obtain a target model according to the service application combination and the relation between the service applications in the service application combination.
Optionally, the service application combination includes two different service applications, each service application combination is different, and the training module includes:
and the determining unit is used for determining the triple corresponding to the service application combination according to the two different service applications in each service application combination and the relationship between the two different service applications.
And the training unit is used for training the initial model to obtain a target model according to the triples corresponding to each service application combination.
Optionally, the first determining module 701 is configured to obtain, according to the identifier of the target service application and the target model, a relationship between the target service application and another service application displayed in a graph structure.
All or part of each module in the standing book information acquisition device for business application can be realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent of a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
Fig. 8 is an internal structural diagram of a computer device in an embodiment of the present application, and in the embodiment of the present application, a computer device is provided, where the computer device may be a server, and an internal structural diagram of the computer device may be as shown in fig. 8. The computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operating system and the computer program to run on the non-volatile storage medium. The database of the computer device is used for storing relevant data. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a ledger information acquisition method for business applications.
Those skilled in the art will appreciate that the architecture shown in fig. 8 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having a computer program stored therein, the processor implementing the following steps when executing the computer program:
determining the relation between the target service application and other service applications according to the identification of the target service application and the target model; the target model is obtained by training an initial model according to each service application combination and the relation between each service application in the service application combination;
determining associated service application according to the relation between the target service application and other service applications; the associated business application comprises other business applications associated with the target business application;
displaying the ledger information of the associated service application according to the identification of the associated service application and a preset corresponding relation; the preset corresponding relation comprises the relation between the identification of different business applications and different standing book information.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
acquiring the standing book information of the target business application;
and determining the identifier of the target service application according to the standing book information of the target service application and the preset corresponding relation.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
and sending the changed standing book information of the target business application to a terminal corresponding to a tester of the associated business application under the condition that the standing book information of the target business application is changed.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
and sending the standing book information of the target business application and the standing book information of the associated business application to a terminal corresponding to the tester of the target business application under the condition that the tester of the target business application changes.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
acquiring the identifier of each business application;
determining each business application combination and the relation between the business applications in the business application combination according to the identification of each business application;
and training the initial model to obtain the target model according to the business application combinations and the relation among the business applications in the business application combinations.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
determining a triple group corresponding to the service application combination according to two different service applications in each service application combination and a relation between the two different service applications;
and training the initial model to obtain the target model according to the triples corresponding to the business application combinations.
In one embodiment, the processor when executing the computer program further performs the steps of:
and obtaining the relation between the target business application and other business applications displayed in a graph structure form according to the identification of the target business application and the target model.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
determining the relation between the target business application and other business applications according to the identification of the target business application and the target model; the target model is obtained by training an initial model according to each service application combination and the relation between each service application in the service application combination;
determining associated service application according to the relation between the target service application and other service applications; the associated business application comprises other business applications associated with the target business application;
displaying the ledger information of the associated service application according to the identification of the associated service application and a preset corresponding relation; the preset corresponding relation comprises the relation between the identification of different business applications and different standing book information.
In one embodiment, the computer program when executed by the processor further performs the steps of:
acquiring the machine account information of the target business application;
and determining the identifier of the target service application according to the standing book information of the target service application and the preset corresponding relation.
In one embodiment, the computer program when executed by the processor further performs the steps of:
and under the condition that the machine account information of the target business application is changed, sending the changed machine account information of the target business application to a terminal corresponding to a tester of the associated business application.
In one embodiment, the computer program when executed by the processor further performs the steps of:
and sending the standing book information of the target business application and the standing book information of the associated business application to a terminal corresponding to the tester of the target business application under the condition that the tester of the target business application changes.
In one embodiment, the computer program when executed by the processor further performs the steps of:
acquiring the identifier of each business application;
determining each business application combination and the relation between the business applications in the business application combination according to the identification of each business application;
and training the initial model to obtain the target model according to the business application combinations and the relation among the business applications in the business application combinations.
In one embodiment, the computer program when executed by the processor further performs the steps of:
determining a triple corresponding to each business application combination according to two different business applications in each business application combination and the relationship between the two different business applications;
and training the initial model according to the triples corresponding to the business application combinations to obtain the target model.
In one embodiment, the computer program when executed by the processor further performs the steps of:
and obtaining the relation between the target business application and other business applications displayed in a graph structure form according to the identification of the target business application and the target model.
In one embodiment, a computer program product is provided, comprising a computer program which, when executed by a processor, performs the steps of:
determining the relation between the target business application and other business applications according to the identification of the target business application and the target model; the target model is obtained by training an initial model according to each service application combination and the relation between each service application in the service application combination;
determining associated service application according to the relation between the target service application and other service applications; the associated business application comprises other business applications associated with the target business application;
displaying the ledger information of the associated service application according to the identification of the associated service application and a preset corresponding relation; the preset corresponding relation comprises the relation between the identification of different business applications and different standing book information.
In one embodiment, the computer program when executed by the processor further performs the steps of:
acquiring the standing book information of the target business application;
and determining the identifier of the target service application according to the standing book information of the target service application and the preset corresponding relation.
In one embodiment, the computer program when executed by the processor further performs the steps of:
and under the condition that the machine account information of the target business application is changed, sending the changed machine account information of the target business application to a terminal corresponding to a tester of the associated business application.
In one embodiment, the computer program when executed by the processor further performs the steps of:
and sending the machine account information of the target business application and the machine account information of the associated business application to a terminal corresponding to the tester of the target business application under the condition that the tester of the target business application changes.
In one embodiment, the computer program when executed by the processor further performs the steps of:
acquiring the identifier of each business application;
determining each business application combination and the relation between the business applications in the business application combination according to the identification of each business application;
and training the initial model to obtain the target model according to the business application combinations and the relation among the business applications in the business application combinations.
In one embodiment, the computer program when executed by the processor further performs the steps of:
determining a triple group corresponding to the service application combination according to two different service applications in each service application combination and a relation between the two different service applications;
and training the initial model to obtain the target model according to the triples corresponding to the business application combinations.
In one embodiment, the computer program when executed by the processor further performs the steps of:
and obtaining the relation between the target service application and other service applications displayed in a graph structure form according to the identification of the target service application and the target model.
In one embodiment, the computer program when executed by the processor further performs the steps of:
it should be noted that, the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, presented data, etc.) referred to in the present application are information and data authorized by the user or sufficiently authorized by each party.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above may be implemented by hardware instructions of a computer program, which may be stored in a non-volatile computer-readable storage medium, and when executed, may include the processes of the embodiments of the methods described above. Any reference to memory, databases, or other media used in the embodiments provided herein can include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, high-density embedded nonvolatile Memory, resistive Random Access Memory (ReRAM), magnetic Random Access Memory (MRAM), ferroelectric Random Access Memory (FRAM), phase Change Memory (PCM), graphene Memory, and the like. Volatile Memory can include Random Access Memory (RAM), external cache Memory, and the like. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others. The databases referred to in various embodiments provided herein may include at least one of relational and non-relational databases. The non-relational database may include, but is not limited to, a block chain based distributed database, and the like. The processors referred to in the various embodiments provided herein may be, without limitation, general purpose processors, central processing units, graphics processors, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, or the like.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present application shall be subject to the appended claims.

Claims (11)

1. A method for acquiring ledger information of business applications is characterized by comprising the following steps:
determining the relation between the target service application and other service applications according to the identification of the target service application and the target model; the target model is obtained by training an initial model according to each service application combination and the relation between each service application in the service application combination;
determining associated service application according to the relation between the target service application and other service applications; the associated business application comprises other business applications associated with the target business application;
displaying the ledger information of the associated service application according to the identification of the associated service application and a preset corresponding relation; the preset corresponding relation comprises the relation between the identification of different business applications and different standing book information.
2. The method of claim 1, further comprising:
acquiring the machine account information of the target business application;
and determining the identifier of the target service application according to the standing book information of the target service application and the preset corresponding relation.
3. The method according to claim 1 or 2, characterized in that the method further comprises:
and under the condition that the machine account information of the target business application is changed, sending the changed machine account information of the target business application to a terminal corresponding to a tester of the associated business application.
4. The method according to claim 1 or 2, characterized in that the method further comprises:
and sending the standing book information of the target business application and the standing book information of the associated business application to a terminal corresponding to the tester of the target business application under the condition that the tester of the target business application changes.
5. The method according to claim 1 or 2, characterized in that the method further comprises:
acquiring the identifier of each business application;
determining each business application combination and the relation between the business applications in the business application combination according to the identification of each business application;
and training the initial model to obtain the target model according to the business application combinations and the relation among the business applications in the business application combinations.
6. The method according to claim 1 or 2, characterized in that said service application combination comprises two different said service applications, each said service application combination being different; the training the initial model according to the business application combinations and the relationship between the business applications in the business application combinations to obtain the target model comprises:
determining a triple group corresponding to the service application combination according to two different service applications in each service application combination and a relation between the two different service applications;
and training the initial model according to the triples corresponding to the business application combinations to obtain the target model.
7. The method of claim 1, wherein determining the relationship between the target business application and other business applications according to the target business application's identity and target model comprises:
and obtaining the relation between the target business application and other business applications displayed in a graph structure form according to the identification of the target business application and the target model.
8. An apparatus for acquiring ledger information of a business application, the apparatus comprising:
the first determining module is used for determining the relation between the target business application and other business applications according to the identification of the target business application and the target model; the target model is obtained by training an initial model according to each service application combination and the relation between each service application in the service application combination;
the second determining module is used for determining the associated service application according to the relation between the target service application and other service applications; the associated business application comprises other business applications associated with the target business application;
the display module is used for displaying the ledger information of the associated business application according to the identification of the associated business application and the preset corresponding relation; the preset corresponding relation comprises the relation between the identification of different business applications and different standing book information.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method of any of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.
11. A computer program product comprising a computer program, characterized in that the computer program, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.
CN202211505020.5A 2022-11-29 2022-11-29 Method and device for acquiring standing book information of business application and computer equipment Pending CN115934521A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211505020.5A CN115934521A (en) 2022-11-29 2022-11-29 Method and device for acquiring standing book information of business application and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211505020.5A CN115934521A (en) 2022-11-29 2022-11-29 Method and device for acquiring standing book information of business application and computer equipment

Publications (1)

Publication Number Publication Date
CN115934521A true CN115934521A (en) 2023-04-07

Family

ID=86551528

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211505020.5A Pending CN115934521A (en) 2022-11-29 2022-11-29 Method and device for acquiring standing book information of business application and computer equipment

Country Status (1)

Country Link
CN (1) CN115934521A (en)

Similar Documents

Publication Publication Date Title
CN110474820B (en) Flow playback method and device and electronic equipment
CN115480987A (en) Link data display method and device and computer equipment
CN116468543A (en) Credit risk assessment method, device, equipment and medium based on federal learning
CN109981311A (en) Scheme the implementation method and device of layout
US20200218507A1 (en) Data merge processing based on differences between source and merged data
CN115934521A (en) Method and device for acquiring standing book information of business application and computer equipment
CN111859985B (en) AI customer service model test method and device, electronic equipment and storage medium
CN110266610B (en) Traffic identification method and device and electronic equipment
CN113255769A (en) Compound attribute prediction model training method and compound attribute prediction method
CN111049988A (en) Intimacy prediction method, system, equipment and storage medium for mobile equipment
CN111552715A (en) User query method and device
CN116541454B (en) Event configuration method, device, computer equipment and storage medium
CN114218056B (en) Performance test method and device for transaction system, computer equipment and storage medium
CN115314513B (en) Trust twinning method based on block chain and related equipment
CN114416805B (en) Data checking method and device, computer equipment and storage medium
CN114201271A (en) Node determination method and device, computer equipment and storage medium
CN115033478A (en) Test resource pushing method, device, equipment, storage medium and program product
CN115905340A (en) User portrait verification method and device, computer equipment and storage medium
CN117033172A (en) Test data processing method, apparatus, device, storage medium and program product
CN116010256A (en) Test data generation method, device, equipment and storage medium
CN117390490A (en) Method, apparatus, device, storage medium and product for generating report for telecommunication
CN117436484A (en) Image recognition model construction, image recognition model construction device, computer equipment and storage medium
CN117453561A (en) Test script calling method, device, computer equipment and storage medium
CN116149750A (en) Data processing method, device, computer equipment and storage medium
CN114579179A (en) Version synchronization method and device, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination