Public technology platform access relation generation method and device, equipment and medium

By scanning the configuration files of the public technology platform to determine the access relationship, the problem of difficulty in accurately obtaining the access relationship in the prior art is solved, and efficient and secure access relationship determination is achieved, reducing costs.

CN119806491APending Publication Date: 2025-04-11INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411892295.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-20
Publication Date
2025-04-11

AI Technical Summary

Technical Problem

When upgrading the public technology platform, it is difficult to accurately obtain the access relationship between the public technology platforms and the service nodes in the existing technology platform. The manual registration cost is high and the intrusiveness is strong, so it is impossible to accurately obtain the access relationship in the long-term uninvoked situation.

Method used

By obtaining the target access method of the target technology platform and the code base of each service node, scan the configuration file to determine the access relationship, avoid relying on call information, and reduce invasiveness to the target technology platform.

Benefits of technology

The access relationship of the target technology platform is accurately determined, which reduces costs, improves security and accuracy, and avoids the dependence of manual registration.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119806491A_ABST
    Figure CN119806491A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a public technology platform access relation generation method, device and equipment and a medium, relates to the field of financial science and technology, and is applied to an access relation generation system, and the access relation generation system comprises at least one public technology platform and at least one service node. The method comprises the following steps: acquiring a target access mode corresponding to a target technology platform and a code library corresponding to each service node; scanning the configuration file in each code library according to the target access mode to obtain a target configuration file recording the target access mode, and taking the code library corresponding to the target configuration file as a target code library having an access relationship with the target technology platform; according to the access relation between the target code library and the target technical platform and the corresponding relation between the target code library and the service node, the target service node having the access relation with the target technical platform is obtained, and the access relation of the target technical platform can be accurately determined.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of financial technology, and in particular to a method, device, equipment and medium for generating access relationships of a public technology platform. Background Art

[0002] The Bank Information Technology Center has built a large number of service nodes to support external services, internal management and internal decision-making. Since there are a large number of common capability requirements in these service nodes, in order to concentrate resources and improve the standardization and consistency of capabilities, the Bank Information Technology Center has developed a public technology platform for realizing the public capability requirements of service nodes to provide underlying technical support for the research and development, operation and maintenance of service nodes.

[0003] At present, in order to analyze the impact scope and conduct change control when planning the upgrade of public technology platforms, it is necessary to obtain the access relationship between each public technology platform and each service node. Specifically, the access relationship between each public technology platform and each service node can be manually registered, or the service node with which the public technology platform has an access relationship can be determined based on the call information of each public technology platform.

[0004] However, manually registering the access relationship between each public technology platform and each service node requires full reliance on manual labor, which is costly. Secondly, determining the access relationship between each public technology platform and each service node based on the call information will intrude into the public technology platform, thereby affecting the security of the public technology platform. Finally, when the service node that has an access relationship with the public technology platform has not called the public technology platform for a long time, the method of determining the access relationship between each public technology platform and each service node based on the call information cannot accurately obtain the access relationship of the public technology platform. Summary of the invention

[0005] The present invention provides a method, device, equipment and medium for generating access relations of a public technology platform, which can realize accurate determination of the access relations of a target technology platform and reduce the cost of determining the access relations of the target technology platform.

[0006] In a first aspect, an embodiment of the present invention provides a method for generating access relations of a public technology platform, which is applied to an access relationship generation system, wherein the access relationship generation system includes at least one public technology platform and at least one service node, and the method includes:

[0007] Obtain the target access method corresponding to the target technology platform and the code library corresponding to each service node;

[0008] Scan the configuration files in each code base according to the target access method to obtain the target configuration file recording the target access method, and use the code base corresponding to the target configuration file as the target code base having an access relationship with the target technology platform;

[0009] According to the access relationship between the target code library and the target technology platform, and the corresponding relationship between the target code library and the service node, the target service node having an access relationship with the target technology platform is obtained.

[0010] Optionally, obtaining a target access method corresponding to the target technology platform includes: scanning a pre-built remote repository according to the project name and organization name corresponding to the target technology platform to obtain at least one project version number corresponding to the target technology platform; generating at least one target access method corresponding to the target technology platform according to the project name, organization name and at least one project version number.

[0011] Optionally, after obtaining the target service node that has an access relationship with the target technology platform, it also includes: sending an upgrade coordination notification or alarm information to the target service node based on the correspondence between the pre-built project version number and the project access status; wherein the project access status is exited, pre-exited or in use.

[0012] Optionally, based on the correspondence between the pre-built project version number and the project access status, a cooperation notification or alarm information is sent to the target service node, including: if the project access status corresponding to the project version number is exited, an alarm message that the version of the target technology platform has expired is sent to the target service node; if the project access status corresponding to the project version number is pre-exited, an alarm message that the version of the target technology platform is about to expire is sent to the target service node; if the project access status corresponding to the project version number is in use, an upgrade cooperation notification is sent to the target service node before the target technology platform is upgraded.

[0013] Optionally, the method also includes: acquiring in real time the performance indicator values ​​corresponding to each service node, and taking any service node whose performance indicator value is greater than or equal to the corresponding performance indicator threshold as a service node to be processed; wherein the performance indicators include interface call frequency, memory utilization, CPU utilization and hard disk utilization; and recommending to the service node to be processed a target public technology platform for making the performance indicator value less than the corresponding performance indicator threshold.

[0014] Optionally, after obtaining the target service node that has an access relationship with the target technology platform, it also includes: constructing an entity relationship diagram based on the target technology platform, the target service node, and the project name, organization name and project version number corresponding to the target technology platform; when detecting a user's modification operation on the project version number on the entity relationship diagram, obtaining the updated project version number, and generating an updated target access method based on the project name, organization name and updated project version number; storing the updated target access method in the target configuration file corresponding to the target service node, and deleting the original target access method in the target configuration file.

[0015] In a second aspect, an embodiment of the present invention further provides a public technology platform access relationship generation device, which is applied to an access relationship generation system, wherein the access relationship generation system includes at least one public technology platform and at least one service node, and the device includes:

[0016] An information acquisition module, used to acquire a target access method corresponding to a target technology platform, and a code library corresponding to each service node;

[0017] A target code library determination module is used to scan the configuration files in each code library according to the target access method, obtain the target configuration file recording the target access method, and use the code library corresponding to the target configuration file as the target code library having an access relationship with the target technology platform;

[0018] The access relationship determination module is used to obtain the target service node that has an access relationship with the target technology platform based on the access relationship between the target code library and the target technology platform, and the corresponding relationship between the target code library and the service node.

[0019] In a third aspect, an embodiment of the present invention further provides an electronic device, the electronic device comprising:

[0020] at least one processor; and

[0021] a memory communicatively connected to at least one processor; wherein,

[0022] The memory stores a computer program that can be executed by at least one processor, and the computer program is executed by at least one processor so that the at least one processor can execute the method for generating a public technology platform access relationship provided in any embodiment of the present invention.

[0023] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, which stores computer instructions, and the computer instructions are used to enable a processor to implement the method for generating a public technology platform access relationship provided by any embodiment of the present invention when executed.

[0024] In a fifth aspect, an embodiment of the present invention further provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, it implements the method for generating a public technology platform access relationship provided in any embodiment of the present invention.

[0025] The technical solution of the embodiment of the present invention determines the target configuration file that records the target access method, takes the code library corresponding to the target configuration file as the target code library that has an access relationship with the target technology platform, and obtains the target service node that has an access relationship with the target technology platform according to the access relationship between the target code library and the target technology platform, and the corresponding relationship between the target code library and the service node, thereby avoiding the situation that the access relationship of the target technology platform is determined according to the call information of the target technology platform, resulting in the inability to accurately determine the access information of the target technology platform when the target service node has not called the target technology platform for a long time, and can accurately determine the target service node that has an access relationship with the target technology platform. Secondly, compared with the existing technology that determines the access relationship of the target technology platform according to the call information, the technical solution of the embodiment of the present invention determines the access relationship of the target technology platform according to the target access method, and will not invade the target technology platform, thereby improving the security of the target technology platform. Finally, compared with the existing technology that manually registers the access relationship between each public technology platform and each service node, the technical solution of the embodiment of the present invention can automatically determine the target service node that has an access relationship with the target technology platform, without relying on manual labor, and reducing the cost of determining the access information of the target technology platform.

[0026] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0028] Figure 1 is a flow chart of a method for generating a public technology platform access relationship according to Embodiment 1 of the present invention;

[0029] Figure 2 is a flowchart of another method for generating a public technology platform access relationship according to Embodiment 2 of the present invention;

[0030] Figure 3It is a structural diagram of a public technology platform access relationship generation device provided according to Embodiment 3 of the present invention;

[0031] Figure 4 It is a schematic diagram of the structure of an electronic device provided by Embodiment 4 of the present invention. DETAILED DESCRIPTION

[0032] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0033] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0034] Embodiment 1

[0035] Figure 1 It is a flowchart of a method for generating access relations of a public technology platform provided according to the first embodiment of the present invention. This embodiment is applicable to the situation where access relations of each public technology platform are generated. The method can be executed by a public technology platform access relationship generating device. The public technology platform access relationship generating device can be implemented in the form of hardware and / or software. The public technology platform access relationship generating device can be configured in an electronic device such as a computer.

[0036] like Figure 1 As shown, a method for generating access relationship of a public technology platform disclosed in this embodiment is applied to an access relationship generation system, wherein the access relationship generation system includes at least one public technology platform and at least one service node, and the method includes:

[0037] S110, obtaining a target access method corresponding to the target technology platform and a code library corresponding to each service node.

[0038] In this embodiment, the target technology platform may be a public technology platform for which full access information needs to be determined. The public technology platform may be used to implement the public capability requirements of different service nodes. The service node may be an information system for implementing a specific function.

[0039] In this step, specifically, the target access method corresponding to the target technology platform can be obtained according to the project name and organization name corresponding to the target technology platform. Among them, the project name can be the name of the target technology platform, and the organization name can be the name of the organization to which the target technology platform belongs. The target access method can be used to uniquely identify the target technology platform, and the target access method at least includes the project name and organization name corresponding to the target technology platform. The code library corresponding to each service node can be obtained according to the pre-defined correspondence between the service node and the code library.

[0040] S120. Scan the configuration files in each code base according to the target access method to obtain a target configuration file recording the target access method, and use the code base corresponding to the target configuration file as a target code base having an access relationship with the target technology platform.

[0041] In this step, specifically, each configuration file may be queried according to the target access method to obtain a target configuration file having the target access method recorded therein, and then the code library corresponding to the target configuration file may be used as a target code library having an access relationship with the target technology platform.

[0042] Exemplarily, the configuration file in each code base can be parsed to obtain the full dependency information of each code base, and the full dependency information of each code base can be queried according to the target access method to obtain the target configuration file recording the target access method.

[0043] S130. According to the access relationship between the target code library and the target technology platform, and the corresponding relationship between the target code library and the service node, a target service node having an access relationship with the target technology platform is obtained.

[0044] In this step, specifically, after determining the target code library that has an access relationship with the target technology platform, the service node corresponding to the target code library can be used as the target service node that has an access relationship with the target technology platform.

[0045] The technical solution of this embodiment obtains the target access method corresponding to the target technology platform and the code library corresponding to each service node; scans the configuration file in each code library according to the target access method to obtain the target configuration file recording the target access method, and uses the code library corresponding to the target configuration file as the target code library that has an access relationship with the target technology platform; obtains the technical means of the target service node that has an access relationship with the target technology platform according to the access relationship between the target code library and the target technology platform, and the corresponding relationship between the target code library and the service node. This solves the problem that the prior art determines the target service node that has an access relationship with the target technology platform according to the calling information of the target technology platform, resulting in the inability to accurately obtain the access relationship of the target technology platform when the target service node has not called the target technology platform for a long time. This can achieve accurate determination of the access relationship of the target technology platform and reduce the cost of determining the access relationship of the target technology platform.

[0046] Embodiment 2

[0047] Figure 2 It is a flowchart of another method for generating access relationships of a public technology platform provided according to the second embodiment of the present invention. This embodiment is a further optimization and expansion based on the above embodiments, and can be combined with various optional technical solutions in the above implementation methods.

[0048] like Figure 2 As shown, a method for generating access relationship of a public technology platform disclosed in this embodiment is applied to an access relationship generation system, wherein the access relationship generation system includes at least one public technology platform and at least one service node, and the method includes:

[0049] S210: Scan the pre-built remote repository according to the project name and organization name corresponding to the target technology platform to obtain at least one project version number corresponding to the target technology platform.

[0050] In this embodiment, the remote warehouse may be used to store the target technology platform in the software package file format, and the target technology platform in the software package file format may be uniquely identified by the target access mode.

[0051] In this step, specifically, the remote repository can be scanned according to the project name and organization name corresponding to the target technology platform to obtain at least one target technology platform in a software package file format and a project version number corresponding to each target technology platform in a software package file format.

[0052] S220. Generate at least one target access method corresponding to the target technology platform according to the project name, the organization name, and at least one project version number.

[0053] In this step, specifically, a target access method corresponding to the target technology platform can be generated according to the project name, organization name and project version number. Among them, a target access method can only contain one project name, one organization name and one project version number.

[0054] For example, assuming that the organization name is "xxx", the project name is "yyy", and the project version numbers are "1.1.1", "1.1.2", and "1.1.3", three target access methods can be generated.

[0055] Among them, the target access method for the project version number "1.1.1" can be as follows:

[0056] <dependency>

[0057] <groupid> xxx< / groupid>

[0058] <artifactid> yyy< / artifactid>

[0059] <version> 1.1.1< / version>

[0060] < / dependency>

[0061] The target access method for the project version number "1.1.2" can be as follows:

[0062] <dependency>

[0063] <groupid> xxx< / groupid>

[0064] <artifactid> yyy< / artifactid>

[0065] <version> 1.1.2< / version>

[0066] < / dependency>

[0067] The target access method for the project version number "1.1.3" can be as follows:

[0068] <dependency>

[0069] <groupid> xxx< / groupid>

[0070] <artifactid> yyy< / artifactid>

[0071] <version> 1.1.3< / version>

[0072] < / dependency>

[0073] Among them, dependency is the dependency configuration, groupId is the organization name, artifactId is the project name, and version is the project version number.

[0074] The advantage of this setting is that the target access method corresponding to the target technology platform is generated through the project name, organization name and project version number, which facilitates the subsequent sending of upgrade cooperation notifications or alarm information to the target service node based on the project version number, avoiding the situation where the target service node continues to access an expired or about to expire target technology platform.

[0075] Optionally, before generating at least one target access method corresponding to the target technology platform, it also includes: packaging the target technology platform to obtain the target technology platform in the software package file format; generating a storage path of the target technology platform in the software package file format in a remote warehouse according to the project name, organization name and project version number; and storing the target technology platform in the software package file format to the remote warehouse according to the above storage path.

[0076] The advantage of such a setting is that by storing the target technology platform in the software package file format in the remote warehouse, it facilitates each service node to access the target technology platform, thereby improving the efficiency of the service node accessing the target technology platform.

[0077] S230: Obtain a code library corresponding to each service node, and scan a configuration file in each code library according to a target access method to obtain a target configuration file recording the target access method.

[0078] Among them, the target configuration file can only record one target access method corresponding to the target technology platform, that is, the target service node can only access one version of the target technology platform.

[0079] Optionally, before obtaining the code library corresponding to each service node, the method further includes: pre-defining the code library corresponding to each service node, and the corresponding relationship between the service node and the code library is one-to-one.

[0080] S240: Use the code library corresponding to the target configuration file as a target code library that has an access relationship with the target technology platform.

[0081] S250. According to the access relationship between the target code library and the target technology platform, and the corresponding relationship between the target code library and the service node, a target service node having an access relationship with the target technology platform is obtained.

[0082] S260: Send an upgrade coordination notification or warning information to the target service node according to the correspondence between the pre-built project version number and the project access status.

[0083] Among them, the project access status is exited, pre-exited or in use.

[0084] In this step, specifically, the project version number can be obtained from the target access method recorded in the target configuration file, and the project access status can be obtained based on the correspondence between the project version number and the project access status. If the project access status is exited or pre-exited, an alarm message is sent to the target service node. If the project access status is in use, an upgrade coordination notification is sent to the target service node.

[0085] The advantage of this setting is that by using the correspondence between the project version number and the project access status, upgrade coordination notifications or alarm information can be sent to the target service node, so that prompt information can be uniformly sent to the target service node that has an access relationship with the target technology platform, thereby facilitating the management of the target service node.

[0086] Optionally, based on the correspondence between the pre-built project version number and the project access status, a cooperation notification or alarm information is sent to the target service node, including: if the project access status corresponding to the project version number is exited, an alarm message that the version of the target technology platform has expired is sent to the target service node; if the project access status corresponding to the project version number is pre-exited, an alarm message that the version of the target technology platform is about to expire is sent to the target service node; if the project access status corresponding to the project version number is in use, an upgrade cooperation notification is sent to the target service node before the target technology platform is upgraded.

[0087] Exemplarily, it can be pre-defined that when the project version number is "1.1.1", the project access mode is exited, when the project version number is "1.1.2", the project access mode is pre-exited, and when the project version number is "1.1.3", the project access mode is in use. Then, when the project version number in the target access mode is "1.1.1", an alarm message that the version of the target technology platform has expired can be sent to the target service node. When the project version number in the target access mode is "1.1.2", an alarm message that the version of the target technology platform is about to expire is sent to the target service node. When the project version number in the target access mode is "1.1.3", in response to the target technology platform upgrade instruction triggered by the user, an upgrade cooperation notification is sent to the target service node.

[0088] The advantage of this setting is that by sending an alarm message to the target service node when the project access status corresponding to the project version number is exited or pre-exited, it is possible to accurately push service nodes involved in the exited or pre-exited access mode, thereby avoiding the situation where the target service node continues to access the expired or about to expire target technology platform. Secondly, by sending an upgrade coordination notification to the target service node when the project access status corresponding to the project version number is in use, it is possible to analyze the impact scope of the target technology platform when planning the upgrade of the target technology platform, and perform change control on each target service platform based on the results of the impact scope analysis.

[0089] Optionally, after obtaining the target service node that has an access relationship with the target technology platform, it also includes: constructing an entity relationship diagram based on the target technology platform, the target service node, and the project name, organization name and project version number corresponding to the target technology platform; when detecting a user's modification operation on the project version number on the entity relationship diagram, obtaining the updated project version number, and generating an updated target access method based on the project name, organization name and updated project version number; storing the updated target access method in the target configuration file corresponding to the target service node, and deleting the original target access method in the target configuration file.

[0090] Specifically, an entity relationship diagram can be constructed based on the target technology platform, the target service node, the access relationship between the target technology platform and the target service node, and the project name, organization name and project version number corresponding to the target technology platform. Among them, the entity relationship diagram includes the target technology platform, the target service node, and the project name, organization name and project version number corresponding to the target technology platform. Then, when the user's modification operation on the project version number on the entity relationship diagram is detected, the entity relationship diagram can be updated and the updated project version number can be obtained. Afterwards, an updated target access method can be generated based on the project name, organization name and updated project version number, and the updated target access method can be stored in each target configuration file. Finally, the target configuration file can be queried based on the project name and organization name corresponding to the target technology platform to obtain the original target access method, and the original target access method can be deleted.

[0091] The advantage of this setting is that by constructing an entity relationship diagram corresponding to the target technology platform and modifying the target configuration file based on the user's modification operations on the entity relationship diagram, the access relationship between the target technology platform and the target service node can be intuitively displayed to the user while improving the update efficiency of the target configuration file.

[0092] Optionally, the method also includes: acquiring in real time the performance indicator values ​​corresponding to each service node, and taking any service node whose performance indicator value is greater than or equal to the corresponding performance indicator threshold as a service node to be processed; wherein the performance indicators include interface call frequency, memory utilization, CPU utilization and hard disk utilization; and recommending to the service node to be processed a target public technology platform for making the performance indicator value less than the corresponding performance indicator threshold.

[0093] Specifically, it can be determined in turn whether each performance indicator value of each service node is greater than the corresponding performance indicator threshold, and at least one service node with a performance indicator value greater than or equal to the corresponding performance indicator threshold is used as a service node to be processed, and a performance indicator value greater than or equal to the corresponding performance indicator threshold is used as a performance indicator value to be processed. Then, a target public technology platform for making the performance indicator value to be processed less than the corresponding performance indicator threshold can be recommended to the service node to be processed.

[0094] Exemplarily, if the interface call frequency of the service node to be processed is greater than the set interface call frequency threshold, the service node to be processed can be recommended to access the current limiting center. If the memory usage, CPU usage or hard disk usage of the service node to be processed is greater than the corresponding performance indicator threshold, the service node to be processed can be recommended to access the cloud computing platform. If the interface call frequency of the service node to be processed is greater than the set interface call frequency threshold, and the memory usage of the service node to be processed is greater than the set memory usage threshold, the service node to be processed can be recommended to access the current limiting center and the cloud computing platform.

[0095] The advantage of this setting is that by real-time monitoring of the performance indicator values ​​corresponding to each service node and comparing the performance indicator values ​​with the corresponding performance indicator thresholds, a public technology platform is recommended to the service node. This allows problems with the service node to be discovered in a timely manner and performance optimization of the service node to be achieved.

[0096] The technical solution of this embodiment sends upgrade coordination notifications or alarm information to the target service node through the correspondence between the project version number and the project access status, so as to uniformly send prompt information to the target service node that has an access relationship with the target technology platform, thereby facilitating the management of the target service node. Secondly, by constructing an entity relationship diagram corresponding to the target technology platform, and modifying the target configuration file based on the user's modification operation on the entity relationship diagram, the access relationship between the target technology platform and the target service node can be intuitively displayed to the user, while improving the update efficiency of the target configuration file.

[0097] In a preferred embodiment, the present invention provides a system for generating access relationships including multiple public technology platforms and multiple service nodes. Specifically, each public technology platform can be used as a target technology platform in turn, and the following access relationship generation operation can be performed for the target technology platform: Step 1: After scanning the pre-built remote warehouse according to the project name and organization name corresponding to the target technology platform, and obtaining each project version number corresponding to the target technology platform, generate the target access method corresponding to the target technology platform according to the project name, organization name and project version number, and define the project access status corresponding to each target access method. Step 2: Obtain the code library corresponding to each service node, and parse the configuration file in each code library to obtain the full dependency information of each code library. Step 3: Query the full dependency information of each code library according to each target access method, obtain the target configuration file with the target access method recorded, and use the code library corresponding to the target configuration file as the target code library with an access relationship with the target technology platform. Step 4: According to the access relationship between the target code library and the target technology platform, and the corresponding relationship between the target code library and the service node, obtain the target service node with an access relationship with the target technology platform. Step 5: Obtain the project access status corresponding to the target access method recorded in the target configuration file, and send an upgrade coordination notification or alarm information to the target service node according to the project access status.

[0098] Among them, after executing step four, it also includes: constructing an entity relationship diagram according to the target technology platform, the target service node, and the project name, organization name and project version number corresponding to the target technology platform; when detecting that the user has modified the project version number on the entity relationship diagram, obtaining the updated project version number, and generating an updated target access method according to the project name, organization name and updated project version number; storing the updated target access method in the target configuration file corresponding to the target service node, and deleting the original target access method in the target configuration file.

[0099] In the process of executing the access relationship generation operation for the target technology platform, the performance indicator values ​​corresponding to each service node can also be obtained in real time, and any service node whose performance indicator value is greater than or equal to the corresponding performance indicator threshold can be regarded as a service node to be processed, and a target public technology platform for making the performance indicator value less than the corresponding performance indicator threshold can be recommended to the service node to be processed.

[0100] Embodiment 3

[0101] Figure 3It is a structural diagram of a public technology platform access relationship generation device provided according to Example 3 of the present invention. This embodiment can be applied to the situation where the access relationship of each public technology platform is generated. The public technology platform access relationship generation device can be implemented in the form of hardware and / or software and can be configured in an electronic device such as a computer.

[0102] like Figure 3 As shown, the public technology platform access relationship generation device disclosed in this embodiment is applied to an access relationship generation system, and the access relationship generation system includes at least one public technology platform and at least one service node. The device includes: an information acquisition module 31, a target code library determination module 32 and an access relationship determination module 33, wherein:

[0103] The information acquisition module 31 is used to acquire the target access method corresponding to the target technology platform and the code library corresponding to each service node;

[0104] The target code library determination module 32 is used to scan the configuration files in each code library according to the target access method, obtain the target configuration file recording the target access method, and use the code library corresponding to the target configuration file as the target code library having an access relationship with the target technology platform;

[0105] The access relationship determination module 33 is used to obtain the target service node that has an access relationship with the target technology platform according to the access relationship between the target code library and the target technology platform, and the corresponding relationship between the target code library and the service node.

[0106] The technical solution in this embodiment, through the mutual cooperation of the information acquisition module, the target code library determination module and the access relationship determination module, solves the problem that the prior art determines the target service node that has an access relationship with the target technology platform based on the calling information of the target technology platform, resulting in the inability to accurately obtain the access relationship of the target technology platform when the target service node has not called the target technology platform for a long time. It can achieve accurate determination of the access relationship of the target technology platform and reduce the cost of determining the access relationship of the target technology platform.

[0107] Optionally, the device also includes an access method acquisition module, which is used to: scan a pre-built remote repository according to the project name and organization name corresponding to the target technology platform to obtain at least one project version number corresponding to the target technology platform; generate at least one target access method corresponding to the target technology platform according to the project name, organization name and at least one project version number.

[0108] Optionally, the device also includes an information notification module, which is used to: send upgrade coordination notification or alarm information to the target service node based on the correspondence between the pre-built project version number and the project access status; wherein the project access status is exited, pre-exited or in use.

[0109] Optionally, the information notification module is specifically used for: if the project access status corresponding to the project version number is exited, then sending a warning message to the target service node that the version of the target technology platform has expired; if the project access status corresponding to the project version number is pre-exited, then sending a warning message to the target service node that the version of the target technology platform is about to expire; if the project access status corresponding to the project version number is in use, then sending an upgrade cooperation notification to the target service node before the target technology platform is upgraded.

[0110] Optionally, the device also includes a technology platform recommendation module, which is used to: obtain in real time the performance indicator values ​​corresponding to each service node, and use any service node whose performance indicator value is greater than or equal to the corresponding performance indicator threshold as a service node to be processed; wherein the performance indicators include interface call frequency, memory utilization, CPU utilization and hard disk utilization; and recommend to the service node to be processed a target public technology platform for making the performance indicator value less than the corresponding performance indicator threshold.

[0111] Optionally, the device also includes a configuration file update module, which is used to: construct an entity relationship diagram based on the target technology platform, the target service node, and the project name, organization name and project version number corresponding to the target technology platform; when a user modification operation on the project version number on the entity relationship diagram is detected, obtain the updated project version number, and generate an updated target access method based on the project name, organization name and updated project version number; store the updated target access method in the target configuration file corresponding to the target service node, and delete the original target access method in the target configuration file.

[0112] The public technology platform access relationship generation device provided in the embodiment of the present invention can execute the public technology platform access relationship generation method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method. The contents not described in detail in this embodiment can refer to the description in any method embodiment of this application.

[0113] Embodiment 4

[0114] Figure 4 FIG. 1 is a schematic diagram showing the structure of an electronic device 10 that can be used to implement an embodiment of the present invention. Figure 4As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0115] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0116] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The processor 11 executes the various methods and processes described above, such as a method for generating a public technology platform access relationship.

[0117] In some embodiments, the public technology platform access relationship generation method can be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the public technology platform access relationship generation method described above can be performed. Alternatively, in other embodiments, the processor 11 can be configured to execute the public technology platform access relationship generation method in any other appropriate manner (for example, by means of firmware).

[0118] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0119] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0120] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0121] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).

[0122] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0123] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.

[0124] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0125] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for generating access relations of a public technology platform, characterized in that: Applied to an access relationship generation system, the access relationship generation system includes at least one public technology platform and at least one service node, and the method includes: Obtain the target access method corresponding to the target technology platform and the code library corresponding to each service node; Scan the configuration files in each code base according to the target access method to obtain the target configuration file recording the target access method, and use the code base corresponding to the target configuration file as the target code base having an access relationship with the target technology platform; According to the access relationship between the target code library and the target technology platform, and the corresponding relationship between the target code library and the service node, the target service node having an access relationship with the target technology platform is obtained.

2. The method according to claim 1, characterized in that Obtain the target access method corresponding to the target technology platform, including: Scanning a pre-built remote repository according to a project name and an organization name corresponding to the target technology platform to obtain at least one project version number corresponding to the target technology platform; At least one target access method corresponding to the target technology platform is generated according to the project name, the organization name and at least one project version number.

3. The method according to claim 2, characterized in that After obtaining the target service node that has an access relationship with the target technology platform, it also includes: Send upgrade coordination notification or alarm information to the target service node based on the correspondence between the pre-built project version number and the project access status; Among them, the project access status is exited, pre-exited or in use.

4. The method according to claim 3, characterized in that According to the correspondence between the pre-built project version number and the project access status, a cooperation notification or alarm information is sent to the target service node, including: If the project access status corresponding to the project version number is exited, an alarm message indicating that the version of the target technology platform has expired is sent to the target service node; If the project access status corresponding to the project version number is pre-exit, a warning message that the version of the target technology platform is about to expire is sent to the target service node; If the project access status corresponding to the project version number is in use, an upgrade cooperation notification is sent to the target service node before the target technology platform is upgraded.

5. The method according to claim 1, characterized in that The method further comprises: Obtain the performance indicator values ​​corresponding to each service node in real time, and take any service node whose performance indicator value is greater than or equal to the corresponding performance indicator threshold as a service node to be processed; Among them, the performance indicators include interface call frequency, memory usage, CPU usage, and hard disk usage; A target public technology platform for making the performance indicator value less than the corresponding performance indicator threshold is recommended to the service node to be processed.

6. The method according to claim 2, characterized in that After obtaining the target service node that has an access relationship with the target technology platform, it also includes: Construct an entity relationship diagram based on the target technology platform, target service node, and the project name, organization name, and project version number corresponding to the target technology platform; When a user modification operation on a project version number on an entity relationship diagram is detected, an updated project version number is obtained, and an updated target access method is generated according to the project name, the organization name, and the updated project version number; The updated target access method is stored in a target configuration file corresponding to the target service node, and the original target access method in the target configuration file is deleted.

7. A device for generating access relations of a public technology platform, characterized in that: Applied to an access relationship generation system, the access relationship generation system includes at least one public technology platform and at least one service node, and the device includes: An information acquisition module, used to acquire a target access method corresponding to a target technology platform, and a code library corresponding to each service node; A target code library determination module is used to scan the configuration files in each code library according to the target access method, obtain the target configuration file recording the target access method, and use the code library corresponding to the target configuration file as the target code library having an access relationship with the target technology platform; The access relationship determination module is used to obtain the target service node that has an access relationship with the target technology platform based on the access relationship between the target code library and the target technology platform, and the corresponding relationship between the target code library and the service node.

8. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the method for generating a public technology platform access relationship according to any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the method for generating a public technology platform access relationship according to any one of claims 1 to 6 when executed.

10. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the method for generating a public technology platform access relationship according to any one of claims 1 to 6 is implemented.