Transmission network service resource association relationship construction method and device, equipment and storage medium
By adopting disk cache and multi-threaded parallel construction methods in optical transmission networks, combined with Redis cache and real-time message subscription, the problem of excessive construction time of business resource data relationships and memory overflow in optical transmission networks is solved, and fast and accurate business associations and massive alarm processing are achieved.
Patent Information
- Application Number
- CN202411711513.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-27
- Publication Date
- 2025-02-28
AI Technical Summary
With the growth of business resource data in optical transmission networks, how to quickly and in real time build a huge business resource data relationship and ensure that the massive alarms connected to the transmission network management quickly and accurately serve the service.
The resource ID data is used to cache the resource ID data, and the parent-child tree relationship is built in batches and parallel through multi-threading. The Redis cache method is used to update the business relationship data in real time. By subscribing to resource data, the completeness, real-timeness and accuracy of the business relationship is ensured.
It effectively solves the problems of excessive construction time of full data and memory overflow, realizes rapid query of business association information, supports massive alarms and fast business association, and improves the efficiency and accuracy of transmission network management.
Smart Images

Figure CN119545223A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of optical transmission network management, and in particular to a method, device, equipment and storage medium for establishing a transmission network service resource association relationship. Background Art
[0002] In the current field of optical transmission network management, as the transmission network gradually expands, business resource data is also growing. How to quickly and in real time build a huge business resource data association (billions of business resource data, refer to the total amount of resource data of China Telecom Group and various provinces) to ensure that the massive alarms (real-time alarms up to 10 million / day, refer to the alarm volume of China Telecom Group and various provinces) connected to the transmission network management can be quickly and accurately connected to the business (business association query milliseconds) and then sent to the upper-level application (such as the integrated alarm system) is a key problem that must be solved, otherwise it will have a great impact on production.
[0003] As resource data grows, key issues such as the long time it takes to build the full data and memory overflow caused by the growing memory become increasingly prominent. Summary of the invention
[0004] Purpose of the invention: A method, device, equipment and storage medium for constructing a transmission network service resource association relationship are proposed, which adopts disk caching resource ID data, multi-threaded batch parallel construction, and parent-child tree relationship caching Redis. It solves the key problems such as the excessively long construction time of the full data and the memory overflow caused by the increasing memory as the resource data increases, and provides a fast query service association information interface for the alarm service of the all-optical network controller to perform alarm fast service association. The service association relationship of the incremental resource data of the optical transmission network is constructed by subscribing to the real-time change message topic of the resource data, and updating the service association relationship construction data cached in Redis in real time, so as to ensure the integrity, real-time and accuracy of the service association relationship.
[0005] A first aspect of the present invention provides a method for establishing a transmission network service resource association relationship, comprising the following steps: Collect all business resource objects regularly through scheduled tasks, sort out the parent-child business association relationships of all business resource objects, and build a full association relationship tree; Monitor the message queue in real time. If incremental business change data is generated in the current message queue, reconstruct the parent-child relationship of the incremental business change data, and update the construction result to the full relationship tree; When an error alarm occurs in a transmission network service, the latest full-volume association tree is parsed, and all parent object information of the alarm object is queried through a recursive algorithm, returning service association information in milliseconds.
[0006] In a further embodiment of the first aspect, the process of constructing a full association relationship tree specifically includes: Use batch parallel multi-threading level to build the parent-child business association relationship of complete circuit, optical path, SNC, and watershed fragment objects, and write the parent-child business association relationship into the Redis database; Batch update all existing data in the Redis database to ensure the integrity of business relationships.
[0007] In a further embodiment of the first aspect, a batch parallel multi-threaded hierarchy is used to construct a complete parent-child business association relationship of a circuit, optical path, SNC, and flow segment object, specifically including: Obtain ID data of circuit, optical path, SNC, and flow segment objects from the resource pool through multithreading, and cache all ID data in parallel multithreaded batches to the mounted network file system NFS; The cached ID data is obtained in batches from NFS, and the parent-child relationship of circuits, optical paths, SNCs, flow domain segments and their service routing sub-objects is established layer by layer in multi-threaded parallel manner; the service routing sub-objects include: matrix flow domain segments, transmission connections, cross connections, protection groups, and ports.
[0008] In a further embodiment of the first aspect, before all ID data are cached in parallel and multi-threaded batches to the mounted network file system NFS, all ID data are first divided into multiple file blocks of predetermined sizes.
[0009] In a further embodiment of the first aspect, in the process of constructing the full association relationship tree: determine whether there is child object information in the resource node in the Redis database, and if so, skip the current construction.
[0010] In a further embodiment of the first aspect, in the full association relationship tree: each business object serves as a child node of the tree structure, and the node information includes parent node list information, child node list information, construction identifier, and object node information.
[0011] In a further embodiment of the first aspect, the process of updating the construction results to the full association relationship tree specifically includes: updating the Redis cache information of each parent object and child object of the changed object, clearing the changed object ID information in the parent object and child object information of the object, and rebuilding the parent-child relationship of the changed object and writing it to the Redis database.
[0012] As a second aspect of the present invention, a transmission network service resource association relationship construction device is proposed, and the device includes: a first processing module, a second processing module, and a third processing module.
[0013] The first processing module collects all business resource objects regularly through a scheduled task, sorts out the parent-child business association relationship of the full business resource objects, and constructs a full association relationship tree; The second processing module is used to monitor the message queue in real time. If incremental business change data is generated in the current message queue, the parent-child relationship of the incremental business change data is rebuilt, and the construction result is updated to the full relationship tree; The third processing module parses the latest full association relationship tree when an error alarm occurs in the transmission network service, queries all parent object information of the alarm object through a recursive algorithm, and returns the service association information in milliseconds.
[0014] As a third aspect of the present invention, an electronic device is proposed, which includes: a processor and a memory storing computer program instructions; when the processor executes the computer program instructions, the method for establishing a transmission network service resource association relationship as described in the first aspect is implemented.
[0015] As a fourth aspect of the present invention, a computer-readable storage medium is proposed, which stores at least one executable instruction. When the executable instruction is executed on an electronic device, the electronic device executes the method for constructing a transmission network service resource association relationship as described in the first aspect.
[0016] Compared with the prior art, the present invention has at least the following beneficial effects: (1) Batch multi-threaded parallel construction of complete construction information of all business resource objects.
[0017] (2) Business association tree structure, each business object is a tree node, and the node information includes parent node list information, child node list information, construction identifier, and object node information. Through the recursive algorithm, all parent object information of the alarm object can be quickly queried.
[0018] (3) Business-related information is stored in Redis. High-speed storage also provides high-speed query speed. When storing in Redis, batch writing is done in a pipeline manner to reduce frequent access to Redis.
[0019] (4) When building a scheduled task, the tens of millions of full-scale business resource object ID snapshots that need to be built are cached on disk NFS to reduce memory overhead and avoid memory overflow caused by the growing resource object cache memory. At the same time, in order to ensure the read and write speed of disk files, resource data is divided into multiple data files according to type, and multi-threaded batch reading is used for processing to ensure reading efficiency.
[0020] (5) Real-time triggering of automatic updates of business association relationships through Kafka object change messages.
[0021] (6) Build services will be deployed in multiple instances in the future to further improve build efficiency.
[0022] (7) As an independent microservice, the resource construction service is decoupled from the alarm message processing service. The alarm service can quickly connect to the business (in milliseconds) by calling the resource construction service interface in real time to issue massive alarms, greatly improving the efficiency of querying the resource pool database to obtain business-related information. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Figure 1 It is an architecture diagram of the transmission network business resource association relationship construction service system in the embodiment.
[0024] Figure 2 It is a flowchart of constructing a full set of business resources in the embodiment.
[0025] Figure 3 It is a flowchart of incremental business resource construction in the embodiment.
[0026] Figure 4 It is a flowchart of alarm service hookup in the embodiment. DETAILED DESCRIPTION
[0027] In the following description, a large number of specific details are provided to provide a more thorough understanding of the present invention. However, it is apparent to those skilled in the art that the present invention can be implemented without one or more of these details. In other examples, in order to avoid confusion with the present invention, some technical features known in the art are not described.
[0028] Before describing the specific embodiments, the following terms are explained: SNC (Subnetwork Connection): is used to describe the transparent transmission of information between different subnets.
[0029] NFS (Network File System): is a distributed file system protocol mainly used for remote file access and data sharing. NFS allows a system to share directories and files with other hosts on the network.
[0030] In order to solve the technical problems existing in the prior art, this embodiment proposes a method for constructing a transmission network business resource association relationship. This method triggers the construction of the association relationship of all business resource objects through a scheduled task, and quickly constructs it through a batch multi-threaded parallel construction method. During construction, the parent-child relationship is constructed layer by layer for the business object, and the complete parent-child relationship of the object is updated to Redis to ensure the accuracy of the parent-child relationship of the object. When writing to Redis, a batch pipeline is used to write to Redis to reduce the Redis write load.
[0031] In addition, this method automatically triggers the update of the business association relationship of the changed object in real time by subscribing to the resource object change Kafka message.
[0032] In addition, in this method, the business association information is constructed as a tree structure and stored in Redis, ensuring that the business association information of the resource object can be quickly queried. The business association relationship tree structure model is as follows: each business object is a child node of the tree structure, and the node information includes the parent node list information, the child node list information, the construction identifier, and the object node information. Using this data structure model, all parent object information of the alarm object can be quickly queried (in milliseconds) through a recursive algorithm.
[0033] In addition, this method sets the build identification item. Before building, all build node objects in the Redis build relationship tree are set to unbuilt. During the building process, the build identification is set for the build object, and after the construction is completed, the objects without the build identification are deleted to ensure data accuracy.
[0034] In addition, this method caches the tens of millions of full resource object ID snapshots that need to be built to disk first, and then builds them in batches. Object IDs are not cached to memory to avoid memory overflow caused by the growing resource object cache memory. At the same time, in order to ensure the read and write speed of disk files, resource data is divided into multiple data files according to type (50,000 data items per file, configurable), and multi-threaded batch reading is used for processing to ensure reading efficiency.
[0035] During the resource construction process, this method determines whether the Redis resource node has sub-object information when building a full resource. It does not repeat the construction of sub-objects that have already been built, thereby improving the construction speed.
[0036] In this embodiment, the resource construction service is an independent microservice, which is decoupled from the alarm message processing service. The service builds the object business association relationship in advance and caches Redis. The alarm service real-time alarm (real-time alarm volume of tens of millions / day) realizes fast business hookup (millisecond level) by calling the interface, which greatly improves the efficiency of querying the resource pool database to obtain business-related information. In the future, consider implementing multi-instance deployment of the resource construction service to further improve the construction efficiency.
[0037] The following is a technical description of the method for constructing the relationship between service resources in the transmission network using a specific example: 1. Efficient construction of tree-like relationships associated with all business resources: Through scheduled tasks, the business association relationship of the full business resources is efficiently constructed on a regular basis. The construction process uses batch parallel multi-threading to build the parent-child business association relationship of the complete circuit, optical path, SNC, and watershed fragment objects, and batch updates the existing full data in Redis to ensure the integrity of the business association relationship. During the resource construction process, for the full construction, the judgment is made based on whether the child object information of the Redis resource node exists. The child objects that have been constructed will not be rebuilt repeatedly, which improves the construction speed. Please refer to the attached figure ( Figure 1 and Figure 2 ).
[0038] 2. Efficient construction of business resource association relationships of change objects: The resource construction service subscribes to the resource object change message queue Kafka topic, reconstructs the parent-child relationship of the received business change object, and updates the Redis relationship tree information to ensure the real-time nature of the business relationship. Please refer to the attached figure ( Figure 1 and Figure 3 ).
[0039] 3. Business object ID cache disk reduces memory resource usage: The business object association relationship is fully constructed, and all business object snapshot IDs obtained by the resource pool are cached on disk. This avoids the memory overflow problem caused by the increasing cache memory of resource objects.
[0040] 4. Business object associations batch cache Redis: Business association relationships are written to Redis in batches, which speeds up the writing process while reducing Redis operations and reducing Redis busyness.
[0041] 5. Quick connection of alarm service for alarm object: The business association information of the resource construction service is constructed as a tree structure and stored in Redis to ensure that the business association information of the resource object can be quickly queried. The business association relationship tree structure, each business object as a tree structure child node, the node information includes the parent node list information, child node list information, construction identifier, object node information. Through this data structure, all parent object information of the alarm object can be quickly queried through a recursive algorithm. The all-optical network controller alarm service calls the resource construction service interface, and quickly recursively queries the Redis resource object association information tree through the alarm object (real-time alarm volume of tens of millions / day), and returns the business association information in milliseconds. Please refer to the attached figure ( Figure 1 and Figure 4 ).
[0042] Specifically, the technical details of the method for constructing the transport network service resource association relationship are as follows: The resource construction service uses scheduled tasks to build the business association relationships of all business resource objects (circuits, optical paths, SNCs, and watershed segments) and their sub-objects on a daily basis. The construction results are stored in Redis in a tree format, with object nodes serving as sub-nodes of the tree structure.
[0043] In the business association tree structure model, each business object is a tree node, and the node information includes parent node list information, child node list information, construction identifier, and object node information.
[0044] During construction, the IDs of circuit, optical path, SNC, and flow field fragment objects are obtained from the resource pool through multiple threads, and the ID information is batch cached to the mounted NFS through multiple threads in parallel. By dividing the data into multiple files of appropriate sizes (50,000 entries) and caching the disk, the cache memory overhead is reduced and memory resources are saved. At the same time, efficient reading efficiency is guaranteed through parallel multi-threaded batch reading. Circuit, optical path, SNC, and flow field fragment object construction, batch obtain cached circuit ID data from NFS, and establish the parent-child relationship of circuit, optical path, SNC, flow field fragment and its business routing sub-objects (SNC, flow field fragment, matrix flow field fragment, transmission connection, cross connection, protection group, port) layer by layer in parallel through multiple threads. After caching the memory, the data is written to Redis in batches through pipelines. For details, please see the attached figure ( Figure 1 and Figure 2 ).
[0045] During the resource construction process, for full construction, the Redis resource node is judged based on whether there is sub-object information. Sub-objects that have already been built are not built again, which improves the construction speed.
[0046] The resource construction service subscribes to the Kafka message queue resource object change topic and updates the business-related information of each changed object. The update process involves: updating the Redis cache information of each parent object and child object of the changed object, clearing the changed object ID information in the parent object and child object information of the object. At the same time, the parent-child relationship of the changed object is rebuilt and written to Redis. For details, please see the attached figure ( Figure 1 and Figure 3 ).
[0047] The massive alarm service hook obtains the business association information of the alarm object (resource sub-object) by calling the business association information query interface of the resource construction service. The business association query interface uses the alarm object ID to obtain all associated parent node (circuit, optical path, SNC, watershed segment) information from the Redis business relationship tree of the resource construction service through a fast recursive algorithm (in milliseconds). The alarm service sends business alarms to the outside for alarms with business association relationships. For details, please see the attached figure ( Figure 1 and Figure 4 ).
[0048] The entire set of processes disclosed in the above-mentioned embodiments can be implemented in the form of a transmission network service resource association construction device, which includes a first processing module, a second processing module, and a third processing module. The first processing module collects all service resource objects regularly through a scheduled task, sorts out the parent-child service association relationships of the full service resource objects, and constructs a full association relationship tree; the second processing module is used to monitor the message queue in real time. If incremental service change data is generated in the current message queue, the parent-child association relationship of the incremental service change data is reconstructed, and the construction result is updated to the full association relationship tree; the third processing module parses the current latest full association relationship tree when an error alarm occurs in the transmission network service, queries all parent object information of the alarm object through a recursive algorithm, and returns the service association information in milliseconds. The specific implementation process will not be repeated here.
[0049] Through the method for establishing the transmission network service resource association relationship disclosed in the above embodiment, it is possible to achieve: In the context of massive resources in the transmission network, the rapidity, completeness and real-timeness of the construction of transmission resource association relationships must be ensured.
[0050] The business association relationship of the full resource data of the optical transmission network is efficiently and quickly constructed, multi-threaded batch parallel construction, and the business association parent-child tree relationship is batch written to Redis to ensure the integrity and speed of the construction. By subscribing to the real-time change message topic of resource data, the business association relationship construction data cached in Redis is updated in real time to ensure the real-time and accuracy of the business association relationship.
[0051] In the context of transmitting massive network resources, we need to ensure low energy consumption of host resource memory while building it efficiently.
[0052] The service first uses disk cache resource ID data snapshots for the resource data that needs to be built, and then obtains the specific parent-child relationship information of the resource in batches through the ID for construction, solving the problem of extremely high memory or even memory overflow caused by resource ID cache memory as resource data grows day by day. At the same time, when building, the object batch is used to build the complete parent-child relationship layer by layer and write it to Redis.
[0053] In the use of business-related attachments for massive alarm objects, the resource construction service and the alarm message processing service are completely decoupled. The resource construction service builds the business-related data in advance and ensures the rapid return of related information and high accuracy of business attachments through interface calls.
[0054] The resource construction service provides a RESTful interface for quickly querying business association information. The all-optical network controller alarm service calls this interface to query the business association relationship information of the alarm object. The resource construction service uses the alarm object type and ID to quickly query the parent-child construction information cached in Redis through a recursive algorithm, and quickly (in milliseconds) returns the business association information.
[0055] Compared with the prior art, this technical solution has the following technical effects: It solves the problems of serial construction of resource business objects, long construction time, and data accuracy.
[0056] Solve the problem of low real-time performance due to the inability to ensure that the business object relationship changes in real time after the business object changes.
[0057] Solve the problem of large memory overhead and memory overflow of tens of millions of business object ID cache memory as the business objects of resource construction service grow. Resource data is divided into multiple data files according to type, and parallel writing and reading ensures the disk file reading and writing speed.
[0058] During the resource construction process, for full construction, the Redis resource node is judged based on whether there is sub-object information. Sub-objects that have already been built are not built again, which improves the construction speed.
[0059] By building a Redis cache tree-shaped association model, each business object is used as a tree node, and the node information includes parent node list information, child node list information, construction identifier, and object node information. Through the recursive algorithm, all parent object information of the alarm object can be quickly queried to solve the problem of slow alarm object business connection.
[0060] In the future, this will be achieved through multi-instance deployment of resource construction services, which will greatly improve construction efficiency.
[0061] The above embodiments can be implemented in whole or in part by software, hardware, firmware or any other combination. When implemented by software, the above embodiments can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from one website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that contains one or more available media sets. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium. The semiconductor medium can be a solid-state hard disk.
[0062] It should be understood that in the various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0063] In the several embodiments provided in the present application, it should be understood that the disclosed system can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0064] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0065] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0066] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage media include: various media that can store program codes, such as USB flash drives, mobile hard disks, read-only memories (ROM), random access memories (RAM), magnetic disks or optical disks.
[0067] The technical features of the above embodiments can be combined arbitrarily. In order to make the description concise, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification. Although the present invention has been represented and described with reference to specific preferred embodiments, it shall not be interpreted as a limitation of the present invention itself. Various changes can be made to it in form and detail without departing from the spirit and scope of the present invention defined in the attached claims.
Claims
1. A method for constructing a transmission network service resource association relationship, characterized in that: include: Collect all business resource objects regularly through scheduled tasks, sort out the parent-child business association relationships of all business resource objects, and build a full association relationship tree; Monitor the message queue in real time. If incremental business change data is generated in the current message queue, reconstruct the parent-child relationship of the incremental business change data, and update the construction result to the full relationship tree; When an error alarm occurs in a transmission network service, the latest full-volume association tree is parsed, and all parent object information of the alarm object is queried through a recursive algorithm, returning service association information in milliseconds.
2. A method for constructing a transmission network service resource association relationship according to claim 1, characterized in that: The construction of the full association relationship tree specifically includes: Use batch parallel multi-threading level to build the parent-child business association relationship of complete circuit, optical path, SNC, and watershed fragment objects, and write the parent-child business association relationship into the Redis database; Batch update all existing data in the Redis database.
3. A method for constructing a transmission network service resource association relationship according to claim 2, characterized in that: The use of batch parallel multi-threaded hierarchical levels to build a complete parent-child business association relationship of circuit, optical path, SNC, and flow segment objects specifically includes: Obtain ID data of circuit, optical path, SNC, and flow segment objects from the resource pool through multithreading, and cache all ID data in parallel multithreaded batches to the mounted network file system NFS; The cached ID data is obtained in batches from NFS, and the parent-child relationship of circuits, optical paths, SNCs, flow domain segments and their service routing sub-objects is established layer by layer in multi-threaded parallel manner; the service routing sub-objects include: matrix flow domain segments, transmission connections, cross connections, protection groups, and ports.
4. A method for constructing a transmission network service resource association relationship according to claim 3, characterized in that: Before caching all ID data in parallel multi-threaded batches to the mounted network file system NFS: All ID data are divided into multiple file blocks of predetermined size.
5. A method for constructing a transmission network service resource association relationship according to claim 2, characterized in that: In the process of building a full association tree: Determine whether there is child object information in the resource node in the Redis database. If so, skip the current build.
6. A method for constructing a transmission network service resource association relationship according to claim 1, characterized in that: In the full association relationship tree: Each business object is a child node of the tree structure, and the node information includes parent node list information, child node list information, construction identifier, and object node information.
7. A method for constructing a transmission network service resource association relationship according to claim 1, characterized in that: The updating of the construction result to the full association relationship tree specifically includes: Update the Redis cache information for each parent object and child object of the changed object, clear the changed object ID information in the parent object and child object information of the object, and rebuild the parent-child relationship of the changed object and write it to the Redis database.
8. A transmission network service resource association relationship construction device, characterized in that: include: A first processing module; The first processing module collects all business resource objects regularly through a scheduled task, sorts out the parent-child business association relationships of the full business resource objects, and constructs a full association relationship tree; The second processing module is used to monitor the message queue in real time. If incremental business change data is generated in the current message queue, the parent-child relationship of the incremental business change data is rebuilt, and the construction result is updated to the full relationship tree; The third processing module; The third processing module parses the latest full association relationship tree when an error alarm occurs in the transmission network service, queries all parent object information of the alarm object through a recursive algorithm, and returns the service association information in milliseconds.
9. An electronic device, characterized in that: The device comprises: a processor and a memory storing computer program instructions; when the processor executes the computer program instructions, the method for establishing a transmission network service resource association relationship according to any one of claims 1 to 7 is implemented.
10. A computer-readable storage medium, characterized in that: The storage medium stores at least one executable instruction, and when the executable instruction is executed on the electronic device, the electronic device executes the method for establishing a transmission network service resource association relationship according to any one of claims 1 to 7.