CN106411555B - Communication link configuration method, device and related system - Google Patents

Communication link configuration method, device and related system Download PDF

Info

Publication number
CN106411555B
CN106411555B CN201510479265.9A CN201510479265A CN106411555B CN 106411555 B CN106411555 B CN 106411555B CN 201510479265 A CN201510479265 A CN 201510479265A CN 106411555 B CN106411555 B CN 106411555B
Authority
CN
China
Prior art keywords
communication link
service data
link
sub
changed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510479265.9A
Other languages
Chinese (zh)
Other versions
CN106411555A (en
Inventor
袁自诚
连琨
曹刚
魏强
樊宏伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Advanced New Technologies Co Ltd
Advantageous New Technologies Co Ltd
Original Assignee
Alibaba Group Holding Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201510479265.9A priority Critical patent/CN106411555B/en
Publication of CN106411555A publication Critical patent/CN106411555A/en
Application granted granted Critical
Publication of CN106411555B publication Critical patent/CN106411555B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a communication link configuration method, a device and a related system, wherein the method comprises the steps that a decision server acquires corresponding relation information of a sub-link of a communication link and service data; when receiving the change information of the communication link, generating configuration information according to the corresponding relation information of the sub-link and the service data; and sending the configuration information to a sublink to be changed in the communication link so as to reconfigure the service data of the sublink to be changed. Compared with the prior art, according to the technical scheme, the decision server is used for collecting the corresponding relation information of each sub-link and the service data and carrying out system management on the communication link, the service data and the equipment corresponding to the service data, so that when the communication link is changed, the configuration information can be generated in time according to the systematized relation information, a mode of manually analyzing and summarizing data is replaced, the efficiency of configuring the communication link is high, and the error risk can be reduced.

Description

Communication link configuration method, device and related system
Technical Field
The present invention relates to the field of internet technologies, and in particular, to a communication link configuration method, an apparatus, and a related system.
Background
With the development of internet technology, network platforms have become widespread in various industries, and service data exchange between platforms can also be completed through network communication links. Generally, in order to ensure that service data between platforms can be transmitted quickly and improve the security of the service data, a dedicated line is usually connected between the platforms to perform service data exchange, where the dedicated line refers to a dedicated communication link for performing service data exchange between two network platforms. According to the bank payment platform and any bank behavior example, a bank dedicated communication link (hereinafter referred to as a bank dedicated line) is connected between the bank and the bank payment platform, when a user generates transaction data with the bank on the bank payment platform, the bank payment platform transmits the transaction data to the bank through the bank dedicated line, and receives data information fed back by the bank through the bank dedicated line.
Generally, the paymate platform is connected with a bank dedicated line through an intermediate server, wherein the intermediate server is used for configuring communication interface information for the bank dedicated line, converting a service data format and the like. When transaction data are generated, the Payment platform sends the transaction data to the intermediate server, the intermediate server converts the format of the transaction data into a data type which can be identified by a bank, and the converted transaction data are input into a special line of the bank through a communication interface corresponding to the special line of the bank and are transmitted to the bank. When the bank feeds back data, the data are transmitted to the intermediate server through the special line of the bank, and the intermediate server carries out format conversion on the data fed back by the bank and sends the data to the payer platform.
Therefore, in the process of exchanging the service data between the payer platform and the bank, the intermediate server processes the service data, so that the intermediate server is loaded greatly when the service data volume of the bank is large. In order to solve the problem in the prior art, a communication link is generally split into a plurality of sub-links, each sub-link corresponds to one intermediate server, one communication link corresponds to a plurality of intermediate servers, and each intermediate server processes part of service data of a bank. When one of the intermediate servers fails or needs to be offline, the sub-links connected with the intermediate server cannot communicate, and data transmitted by the sub-links need to be manually summarized and analyzed, so that the communication links are reconfigured. However, the transmission flow of the service data involves multiple links, each link involves multiple devices, so that the service data of the communication link and the devices are in a many-to-many relationship, and the corresponding relationship is seriously fragmented, which not only results in long time for analyzing the data and low efficiency for configuring the communication link, but also has high error rate and high risk.
Disclosure of Invention
In order to solve the above technical problem, embodiments of the present invention provide a method, an apparatus, and a related system for configuring a communication link, which can solve the problem that when a communication link is changed due to fragmentation of a corresponding relationship between service data and devices, the communication link is configured in a manner of manually analyzing data, and the method is low in efficiency, prone to error, and high in risk.
In a first aspect, an embodiment of the present invention provides a communication link configuration method, including: a decision server acquires corresponding relation information between the sub-link of the communication link and service data; when receiving the change information of the communication link, generating configuration information according to the corresponding relation information of the sub-link and the service data; and sending the configuration information to a sublink to be changed in the communication link so as to reconfigure the service data of the sublink to be changed.
With reference to the first aspect, in a first possible implementation manner of the first aspect, the acquiring correspondence information between the sublinks of the communication link and the service data includes: acquiring the corresponding relation between the sub-link of the communication link and the intermediate server; reading the service data content and the service data flow of the corresponding sub-link from each intermediate server according to the corresponding relation between the sub-links and the intermediate servers; and correspondingly storing the service data content and the service data flow with the corresponding sublinks.
With reference to the first aspect, in a second possible implementation manner of the first aspect, the generating configuration information according to correspondence information between the sublink and the service data includes: determining a sublink to be changed according to the change information; reading the service data of the sublink to be changed; and generating configuration information according to the service data of the sublink to be changed.
With reference to the first aspect, in a third possible implementation manner of the first aspect, after sending the configuration information to the sublink to be changed in the communication link, the method further includes: acquiring configuration project data from the configuration information; and generating a change log of the communication link according to the configuration item data.
With reference to the first aspect, in a fourth possible implementation manner of the first aspect, after sending the configuration information to the sublink to be changed in the communication link, the method further includes: calculating the service data flow of the communication link after the change; comparing the service data flow after the communication link is changed with the service data flow before the communication link is changed; when the traffic data flow after the communication link is changed is smaller than the traffic data flow before the communication link is changed, acquiring the change log; and restoring the service data of each sublink to be changed into service data before change according to the change log.
With reference to the first aspect, in a fifth possible implementation manner of the first aspect, after sending the configuration information to the sublink to be changed in the communication link, the method further includes: receiving recovery information for recovering the communication link to the communication link before the change; acquiring the change log; and restoring the service data of each sublink to be changed into service data before change according to the change log.
In a second aspect, an embodiment of the present invention provides a communication link configuration apparatus, including: the acquisition module is used for acquiring the corresponding relation information between the sub-link of the communication link and the service data; the generating module is used for generating configuration information according to the corresponding relation information of the sub-link and the service data acquired by the acquisition module when the change information of the communication link is received; a sending module, configured to send the configuration information generated by the generating module to a sub-link to be changed in the communication link, so as to reconfigure the service data of the sub-link to be changed.
With reference to the second aspect, in a first possible implementation manner of the second aspect, the acquisition module includes an acquisition unit, a reading unit, and a storage unit, where the acquisition unit is configured to acquire a correspondence relationship between a sub-link of the communication link and an intermediate server; the reading unit is used for reading the service data content and the service data flow of the corresponding sub-link from each intermediate server according to the corresponding relation between the sub-link and the intermediate server acquired by the acquiring unit; the storage unit is configured to store the service data content and the service data traffic read by the reading unit in correspondence with the corresponding sub-link.
With reference to the second aspect, in a second possible implementation manner of the second aspect, the generating module includes a determining unit and a generating unit, where the determining unit is configured to determine the sublink to be changed according to the change information; the reading unit is further configured to read the service data of the sub-link to be changed, which is determined by the determining unit; the generating unit is configured to generate configuration information according to the service data of the sublink to be changed, which is read by the reading unit.
With reference to the second aspect, in a third possible implementation manner of the second aspect, the system further includes an obtaining module, where the obtaining module is configured to obtain configuration item data from the configuration information; the generating module is further configured to generate a change log of the communication link according to the configuration item data acquired by the acquiring module.
With reference to the second aspect, in a fourth possible implementation manner of the second aspect, the method further includes a calculating module, a comparing module, and a service data recovering module, where the calculating module is configured to calculate a service data traffic of the communication link after the change; the comparison module is used for comparing the service data flow after the communication link is changed and the service data flow before the communication link is changed, which are calculated by the calculation module; when the traffic data flow after the communication link is changed is smaller than the traffic data flow before the communication link is changed, the obtaining module is further configured to obtain the change log; and the service data recovery module is configured to recover the service data of each sub-link to be changed into service data before change according to the change log acquired by the acquisition module.
With reference to the second aspect, in a fifth possible implementation manner of the second aspect, the apparatus further includes a receiving module, where the receiving module is configured to receive recovery information before the communication link is recovered to the changed state.
In a third aspect, an embodiment of the present invention provides a communication link configuration system, including: a decision server, an intermediate server and an operation and maintenance server, wherein the decision server is as described in the second aspect; the intermediate server is used for determining a sublink to be changed and receiving configuration information and recovery information corresponding to the sublink to be changed, wherein the configuration information and the recovery information are sent by the decision server; and the operation and maintenance server is used for sending the corresponding relation information between the sub-link of the communication link and the service data to the decision server.
With reference to the third aspect, in a first possible implementation manner of the third aspect, when the communication link is changed, the decision server sends change result information to the operation and maintenance server; and when the communication link is successfully recovered, the decision server sends recovery result information to the operation and maintenance server.
As can be seen from the above description, for the problem caused by fragmentation of the correspondence between service data and devices, in the communication link configuration method, apparatus, and related system provided in the embodiments of the present invention, a decision server is preset, where the decision server acquires correspondence information between a sub-link of a communication link and service data, and when receiving change information of the communication link, the decision server generates configuration information according to the correspondence information between the sub-link and the service data, and sends the configuration information to a sub-link to be changed in the communication link, so as to reconfigure the service data of the sub-link to be changed. Compared with the prior art, the decision server acquires the corresponding relation information of each sub-link and the service data, and carries out system management on the communication link, the service data and the equipment corresponding to the service data, so that when the communication link is changed, the configuration information can be generated in time according to the systematized relation information, the mode of manually analyzing and summarizing the data is replaced, the efficiency of configuring the communication link is high, and the error risk can be reduced.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention, as claimed.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without creative efforts. The above and other objects, features and advantages of the present invention will become more apparent from the accompanying drawings. Like reference numerals refer to like parts throughout the drawings. The drawings are not necessarily to scale, emphasis instead being placed upon illustrating the principles of the invention.
Fig. 1 is a flowchart of a communication link configuration method according to an embodiment of the present invention;
fig. 2 is a schematic diagram of communication link configuration information interaction provided in an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a communication link configuration apparatus according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of another communication link configuration apparatus provided in the embodiment of the present invention;
fig. 5 is a schematic structural diagram of a communication link configuration system according to an embodiment of the present invention.
Detailed Description
Generally, when a certain intermediate server corresponding to a sub-link of a communication link fails, or goes down, or adds a sub-link, the communication link needs to be reconfigured, so as to redistribute the service data corresponding to the communication link. When analyzing and summarizing the service data of the communication link, a plurality of devices such as an operation and maintenance server end and an intermediate server end need to be coordinated, and a plurality of network engineers are used for coordination, so that the process is long, and a large amount of manpower and time are occupied. Based on various problems in the prior art, the technical scheme of the embodiment of the invention is provided.
The technical solutions in the embodiments of the present invention will be described clearly and completely with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a flowchart of a communication link configuration method according to an embodiment of the present invention. As shown in fig. 1, the method includes the following steps.
Step S101, a decision server collects corresponding relation information of the sub-link of the communication link and the service data.
In order to perform system management on information with scattered correspondence between sub-links and service data of a communication link, a decision server is preset in the embodiment of the invention, the decision server acquires sub-link information of each communication link and service data information processed by the sub-links, and then stores the sub-link information and the service data according to the correspondence between the sub-links and the service data, and a system relationship information base is formed corresponding to each communication link, so that various information systems of the communication link are managed, and meanwhile, the sub-link information is also used as basic data for configuring the communication link.
Specifically, the sub-links are accessed through interface information provided by the intermediate server, that is, the sub-links correspond to the intermediate server one to one, so that the decision server can first obtain the correspondence between the sub-links and the intermediate server. For convenience of maintenance, the operation and maintenance server sets an identifier for each intermediate server, and stores the sub-link information connected to the intermediate server in correspondence with the identifier of the intermediate server, so that the decision server can obtain the correspondence between the sub-links and the intermediate server from the operation and maintenance server.
Secondly, the content and the flow of the service data transmitted by the sub-links are configured by the intermediate server connected to the sub-links, for example, taking a private line of a tenderer bank as an example, assuming that the private line of the tenderer bank is provided with three sub-links, which are respectively connected to the intermediate servers with the identifiers 1, 2 and 3, wherein the intermediate server with the identifier 1 can set the content of the service data as refund data, and the data processing capacity is 50%. Therefore, the decision server can determine the intermediate server corresponding to the sub-link according to the corresponding relationship, then obtain the service data content and the traffic corresponding to the corresponding sub-link from the intermediate server, and finally, correspondingly store the service data content and the traffic and the corresponding sub-link to form the corresponding relationship between the sub-link and the service data.
It should be noted that one intermediate server may access one or more sub-links, and when multiple sub-links are accessed, any two sub-links do not belong to the same communication link, for example, when three sub-links are accessed, a first sub-link belongs to a private line of a money-attracting bank, a second sub-link belongs to a private line of a construction bank, and a third sub-link belongs to a private line of a chinese bank. For convenience of management, each communication link is provided with own identification information, and the sub-links of the communication link are marked in a mode of adding labels to the identification information, so that when a plurality of sub-links are accessed, the intermediate server can correspondingly store the identification information of the sub-links and interface information of the sub-links.
In addition, in the embodiment of the present invention, the decision server may execute the step of acquiring information after receiving the change notification, or may perform information acquisition according to a preset period, which is not limited in this embodiment of the present invention.
And step S102, when the change information of the communication link is received, generating configuration information according to the corresponding relation information of the sub-link and the service data.
Since the sub-links of the communication link are accessed through the intermediate server, and when the intermediate server is changed, a part of the sub-links are changed, and the communication link is changed, the communication link change information is substantially intermediate server adjustment information in the present embodiment. The communication link change information comprises two types, one type is sub-link deletion information, the other type is sub-link addition information, and the sub-link deletion information shows that the sub-link needs to be closed when an intermediate server connected with the sub-link fails or needs to be adjusted offline; the sublink addition information appears as a new sublink that introduces the communication link on other intermediate servers.
In this embodiment, whether the intermediate server stops operating or not may be represented by an indicator symbol, for example, if the change information generated by the intermediate server stopping operating is generated, the indicator symbol may be set to "0"; if the operation state of the intermediate server is not changed, but the communication link is changed, the indicator may be set to "1," which is not limited in the embodiment of the present invention.
In addition, the operation and maintenance server monitors the operation state of each intermediate server, when the operation state of one intermediate server changes, the corresponding operation data changes, and an engineer can determine the adjusted intermediate server according to the change of the operation data and then input a command for generating change information to the operation and maintenance server. And after receiving the command input by the engineering personnel, the operation and maintenance server reads the identifier of the intermediate server to generate change information and sends the change information to the decision server. After the decision server receives the change information of the communication link, firstly, the change type can be determined according to the indicator in the change information, then, the sub-link to be changed is determined according to the intermediate server identifier, the service data of the sub-link to be changed is read according to the corresponding relation between the sub-link and the service data, and the configuration information of the communication link is generated according to the service data of the sub-link to be changed. Since the change includes two types, the following describes the two types of changes in detail with reference to examples.
When the change type is deletion of the sublinks, the decision server can read the identifier of the intermediate server from the change information, determine the sublinks to be deleted according to the identifier of the intermediate server, read the service data of the sublinks to be deleted, analyze the service data of other sublinks, determine the allocation strategy for allocating the service data of the sublinks to be deleted, and generate the configuration information according to the allocation strategy.
For example, it is assumed that the recruiter bank line includes three sublinks, and when a first sublink needs to be deleted, the service data corresponding to the first sublink should be allocated to a second sublink and/or a third sublink. Assuming that the data processed by the first sublink is 50% refund data and 20% payment data; the data processed by the second sublink is 30% refund data and 40% payment data; the data processed by the third sublink is refund data of 20% and payment data of 40%, part of data of the first sublink can be respectively allocated to the second sublink, and other data are allocated to the third sublink, and at this time, the three sublinks are to-be-changed sublinks; all data can be distributed to one of the sublinks according to the throughputs of the second sublink and the third sublink, and at the moment, the first sublink and the sublink receiving the data are sublinks to be changed. And after the decision server determines the distribution strategy, generating corresponding configuration information.
When the change type is that a new sublink is added, the decision server reads the intermediate server identifier corresponding to the new sublink, and then the shunted sublink and the data content and flow shunted by each sublink can be determined according to the service data flow and throughput of other sublinks, and then configuration information is generated. At this time, the sub-link to be shunted is the sub-link to be changed.
For example, by adding one sub-link of the recruiter bank, a part of data can be shunted to the new sub-link according to the throughput of the other three sub-links. Assume that 30% of the first sublink refund data is shunted to the new sublink and 10% of the third sublink payment data is allocated to the new sublink.
Of course, the service data allocation policies are all examples, and the technical solution of the embodiment of the present invention is not limited. In the technical solution of the embodiment of the present invention, the business data allocation policy is made according to the attribute of the business data and the data traffic of each sub-link, which is not limited in this embodiment of the present invention.
It should be noted that, although the service data of the sub-link is processed by the intermediate server, the flow direction of the service data, the interface information, and the like are controlled by different systems, for example, the content of the service data corresponding to the sub-link is managed and set by the service system, and the service system transmits different data contents through different interfaces; the traffic data flow of the sublinks is set by the management system. Therefore, when distributing service data, parameters of multiple systems need to be modified, that is, the configuration information includes command information corresponding to the multiple systems, when the decision server generates the command information, corresponding identifiers can be added according to the systems corresponding to the command information, after the generation is completed, the command information is sorted into multiple command sets according to different identifiers, and a relevant identifier is set for each command set.
Step S103, sending the configuration information to a sublink to be changed in the communication link.
As can be seen from the above description of the steps, parameters of each relevant system need to be modified in the configuration process of the communication link, and therefore, the configuration information is organized into a plurality of command sets corresponding to different systems. Correspondingly, the step of sending the configuration information to the intermediate server specifically includes sending the command sets to the corresponding systems respectively, and executing corresponding operations after each system receives the command sets, thereby realizing the configuration of the communication link.
For example, a service system of the sublink to be deleted should perform a service closing operation; the sub-link receiving the other sub-link service data should perform the traffic adjustment operation by its management system. In this way, operations executed by other systems are performed according to the customized command, and the embodiment of the present invention is not described again.
It should be noted that, because the change reason may be offline adjustment of the intermediate server, and after the adjustment of the intermediate server is completed, the intermediate server can still continue to operate, then the sub-link corresponding to the intermediate server also needs to resume processing of the service data. In addition, the configuration information generated by the decision server is only strategic information, and the total traffic data flow after configuration may be smaller than that before configuration. Therefore, after sending the configuration information to the intermediate server, the decision server may further obtain the configuration item data according to the configuration information, and store the configuration item data as a change log. The change log records service data before and after each sublink is changed.
In order to avoid that the total flow of the configured service data is smaller than that before configuration, the method also comprises the steps of calculating the service data flow of the communication link after the configuration information is sent to the sub-link to be changed in the communication link, comparing the service data flow after the communication link is changed with the service data flow before the change, and if the service data flow after the change is larger than the service data flow before the change, not needing to be recovered to the position before configuration; and if the changed service data flow is smaller than the service data flow before the change, reading the change log of the communication link, and restoring the service data of each sub-link into the service data before the change according to the change log.
Of course, if the change reason is the offline adjustment of the intermediate server, after the adjustment of the intermediate server is completed, the operation and maintenance server sends the recovery information to the decision server, and after the decision server receives the recovery information, the decision server reads the change log and recovers the service data of each sub-link into the service data before the change according to the change log. The method for restoring the service data to the state before the change is similar to the above description, and includes generating configuration information according to the change log, and sending the configuration information to the intermediate server, so that the intermediate server performs communication link configuration according to the configuration information.
As can be seen from the above description, in the technical solution of the embodiment of the present invention, the preset decision server performs system management on the sub-link of the communication link and the service data, so that when the communication link is changed, configuration information can be generated in time according to the systematic correspondence between the service data and the device, and not only is the efficiency of configuring the communication link high, but also the error risk can be reduced.
The above embodiment describes the technical solution of the present invention from the perspective of the decision server itself, and in order to make those skilled in the art more comprehensively and more specifically understand the technical solution of the embodiment of the present invention, the following describes the technical solution of the present invention from the perspective of interaction between the decision server and other servers based on the above embodiment.
Since this embodiment is a description of the technical solution of the present invention from another perspective and is a supplementary description of the above embodiment, in this embodiment, reference is made to the description of the above embodiment for the part related to the content of the above embodiment, and this embodiment is not described again here.
Referring to fig. 2, fig. 2 is a schematic view illustrating interaction of communication link configuration information according to an embodiment of the present invention, in this embodiment, a preset decision server is connected to communication interfaces of an operation and maintenance server and an intermediate server, respectively, to form a network, which is a precondition for configuration of a communication link.
In this embodiment, the offline adjustment of the intermediate server is used as a scene, and when a certain intermediate server needs to be offline, the communication link change information is generated by the operation and maintenance server and is sent to the decision server. After receiving the change information, the decision server may scan information of a service system, a management system, and the like of each intermediate server in an interface query manner, collect sub-links and service data of the communication link and perform system management, and then send acceptance success information to the operation and maintenance server to notify the operation and maintenance server that data collection is completed.
The change information comprises an intermediate server identifier, the decision server reads the intermediate server identifier, determines the sub-link to be closed and the corresponding service data according to the intermediate server identifier, then calls other data of the communication link to which the sub-link to be closed belongs from the collected data, determines a distribution strategy according to the service data of the other sub-links, generates configuration information according to the distribution strategy, arranges the configuration information into command sets, respectively sends the command sets to corresponding systems of the intermediate server, detects the change result, and records a change log.
It should be noted that, when the offline intermediate server connects multiple sub-links, because each sub-link belongs to a different communication link, when the intermediate server sends a command set, the intermediate server may send the command set by taking the communication link as a unit, detect a result after the current communication link is changed, then send a command set of the next communication link, and so on.
And after the decision server completes the configuration of the communication link, sending the change result to the operation and maintenance server so that the operation and maintenance server can monitor the current operation state of the intermediate server.
When the off-line intermediate server is debugged and the operation is recovered, the operation and maintenance server generates recovery information and sends the recovery information to the decision server, the decision server acquires the change log, reversely generates configuration information according to the record of the change log, and also arranges the configuration information into a command set, then sends the command set to a corresponding system of the intermediate server, detects the change result, and sends the recovery result to the operation and maintenance server after the communication link is recovered, so that the operation and maintenance server can monitor the current operation state of the intermediate server.
Similarly, if the intermediate server is connected to a plurality of sub-links, when the change is recovered, the loop operation is still performed, and this embodiment is not described herein again.
It should be noted that, the processes of collecting data and generating configuration information by the decision server are described in the above embodiments, and the details of the present invention are not described herein again.
In addition, this embodiment is only one technical implementation scenario of the present invention, and the technical solution of the embodiment of the present invention is not limited, and the technical solution of the embodiment of the present invention can also be applied to other feasible scenarios, and the embodiment of the present invention is not described herein again.
To sum up, for the problem caused by fragmentation of the correspondence between service data and devices, in the communication link configuration method provided in the embodiment of the present invention, a decision server is preset, the decision server acquires correspondence information between a sub-link of a communication link and service data, and when receiving change information of the communication link, the decision server generates configuration information according to the correspondence information between the sub-link and the service data, and sends the configuration information to the sub-link to be changed in the communication link, so as to reconfigure the service data of the sub-link to be changed. Compared with the prior art, the decision server acquires the corresponding relation information of each sub-link and the service data, and carries out system management on the communication link, the service data and the equipment corresponding to the service data, so that when the communication link is changed, the configuration information can be generated in time according to the systematized relation information, the mode of manually analyzing and summarizing the data is replaced, the efficiency of configuring the communication link is high, and the error risk can be reduced.
Corresponding to the foregoing implementation method, an embodiment of the present invention further provides a communication link configuration device, please refer to fig. 3, where fig. 3 is a schematic structural diagram of the communication link configuration device provided in the embodiment of the present invention, and the device includes: the system comprises an acquisition module 11, a generation module 12 and a sending module 13, wherein the acquisition module 11 is used for acquiring the corresponding relation information between the sub-links of the communication link and the service data; a generating module 12, configured to generate configuration information according to the information about the correspondence between the sub-link and the service data acquired by the acquiring module 11 when receiving the change information of the communication link; a sending module 13, configured to send the configuration information generated by the generating module 12 to a sub-link to be changed in the communication link, so as to reconfigure the service data of the sub-link to be changed.
The implementation processes of the functions and actions of the modules in the device are described in detail in the corresponding implementation processes in the above method, and are not described again here.
Compared with the prior art, the device of the embodiment performs system management on the sub-link of the communication link and the service data through the preset decision server, so that when the communication link is changed, the configuration information can be generated in time according to the systematic corresponding relation between the service data and the equipment, the efficiency of configuring the communication link is high, and the error risk can be reduced.
Furthermore, based on the foregoing embodiment, an embodiment of the present invention further provides another implementation manner of a communication link configuration apparatus, referring to fig. 4, where fig. 4 is a schematic structural diagram of another communication link configuration apparatus provided in the embodiment of the present invention, and the apparatus includes: the system comprises an acquisition module 21, a generation module 22, a sending module 23, an acquisition module 24, a calculation module 25, a comparison module 26, a service data recovery module 27 and a receiving module 28. The functions and functions of the acquisition module 21, the generation module 2 and the sending module 23 are similar to those of the above embodiments, and the embodiments of the present invention are not described in detail here.
An obtaining module 24, configured to obtain configuration item data from the configuration information, in this embodiment, the generating module 22 is further configured to generate a change log of the communication link according to the configuration item data obtained by the obtaining module. A calculating module 25, configured to calculate a service data flow of the communication link after the change; a comparing module 26, configured to compare the traffic data after the communication link is changed and the traffic data before the communication link is changed, which are calculated by the calculating module 25, and when the traffic data after the communication link is changed is smaller than the traffic data before the communication link is changed, the obtaining module 24 is further configured to obtain the change log; and a service data recovery module 27, configured to recover the service data of each sub-link to be changed into service data before change according to the change log obtained by the obtaining module 24. A receiving module 28, configured to receive recovery information before the communication link is recovered to the changed state.
It should be noted that, in this embodiment, the acquisition module 21 includes an acquisition unit, a reading unit and a storage unit, where the acquisition unit is configured to acquire a correspondence between a sub-link of the communication link and an intermediate server; the reading unit is used for reading the service data content and the service data flow of the corresponding sub-link from each intermediate server according to the corresponding relation between the sub-link and the intermediate server acquired by the acquiring unit; the storage unit is configured to store the service data content and the service data traffic read by the reading unit in correspondence with the corresponding sub-link.
In another embodiment, the generating module 22 includes a determining unit and a generating unit, wherein the determining unit is configured to determine the sublink to be changed according to the change information; in this embodiment, the reading unit is further configured to read the service data of the sub-link to be changed, which is determined by the determining unit; the generating unit is configured to generate configuration information according to the service data of the sublink to be changed, which is read by the reading unit.
The implementation processes of the functions and actions of the modules in the device are described in detail in the corresponding implementation processes in the above method, and are not described again here.
As can be seen from the above description, in the communication link configuration device provided in the embodiment of the present invention, a decision server is preset, the decision server acquires information of correspondence between a sub-link of the communication link and service data, and when receiving change information of the communication link, the decision server generates configuration information according to the information of correspondence between the sub-link and the service data, and sends the configuration information to a sub-link to be changed in the communication link, so as to reconfigure the service data of the sub-link to be changed. Compared with the prior art, the decision server acquires the corresponding relation information of each sub-link and the service data, and carries out system management on the communication link, the service data and the equipment corresponding to the service data, so that when the communication link is changed, the configuration information can be generated in time according to the systematized relation information, the mode of manually analyzing and summarizing the data is replaced, the efficiency of configuring the communication link is high, and the error risk can be reduced.
Corresponding to the above description, an embodiment of the present invention further provides a communication link configuration system, and referring to fig. 5, fig. 5 is a schematic structural diagram of the communication link configuration system provided in the embodiment of the present invention, where the system includes: a decision server 1, an intermediate server 2 and an operation and maintenance server 3. The decision server 1 includes the above-mentioned device, and the functions and functions thereof are described in detail in the above description, which is not repeated herein. The intermediate server 2 is configured to determine a sub-link to be changed, and receive configuration information and recovery information corresponding to the sub-link to be changed, where the configuration information and the recovery information are sent by the decision server. And the operation and maintenance server 3 is used for sending the corresponding relation information between the sub-link of the communication link and the service data to the decision server.
In addition, when the communication link is changed, the decision server 1 needs to send the change result information to the operation and maintenance server 3, and similarly, when the communication link is successfully restored, the decision server 1 sends the restoration result information to the operation and maintenance server 3. The specific implementation process is described in detail in the above description, and the embodiment of the present invention is not described in detail again.
In summary, for the problem caused by fragmentation of the correspondence between service data and devices, in the communication link configuration method, apparatus, and related system provided in the embodiments of the present invention, a decision server is preset, where the decision server acquires correspondence information between a sub-link of a communication link and service data, and when receiving change information of the communication link, the decision server generates configuration information according to the correspondence information between the sub-link and the service data, and sends the configuration information to a sub-link to be changed in the communication link, so as to reconfigure the service data of the sub-link to be changed. Compared with the prior art, the decision server acquires the corresponding relation information of each sub-link and the service data, and carries out system management on the communication link, the service data and the equipment corresponding to the service data, so that when the communication link is changed, the configuration information can be generated in time according to the systematized relation information, the mode of manually analyzing and summarizing the data is replaced, the efficiency of configuring the communication link is high, and the error risk can be reduced.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This invention is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.

Claims (10)

1. A method of communication link configuration, comprising:
a decision server acquires corresponding relation information between the sub-link of the communication link and service data;
when receiving the change information of the communication link, generating configuration information according to the corresponding relation information of the sub-link and the service data;
sending the configuration information to a sublink to be changed in the communication link to reconfigure the service data of the sublink to be changed;
generating configuration information according to the correspondence information between the sublinks and the service data, including:
determining a sublink to be changed according to the change information, wherein the sublink to be changed comprises a deleted sublink and a sublink receiving data of the deleted sublink when the change information of the communication link is sublink deletion information, and the sublink to be changed comprises a sublink which is shunted partial data to a newly added sublink when the change information of the communication link is sublink addition information;
reading the service data of the sublink to be changed;
generating configuration information according to the service data of the sublink to be changed;
after sending the configuration information to the sub-link to be changed in the communication link, the method further includes:
acquiring configuration project data from the configuration information;
and generating a change log of the communication link according to the configuration item data.
2. The method according to claim 1, wherein the collecting the correspondence information between the sub-links of the communication link and the traffic data comprises:
acquiring the corresponding relation between the sub-link of the communication link and the intermediate server;
reading the service data content and the service data flow of the corresponding sub-link from each intermediate server according to the corresponding relation between the sub-links and the intermediate servers;
and correspondingly storing the service data content and the service data flow with the corresponding sublinks.
3. The method of claim 1, further comprising, after sending the configuration information to the sublink to be changed in the communication link:
calculating the service data flow of the communication link after the change;
comparing the service data flow after the communication link is changed with the service data flow before the communication link is changed;
when the traffic data flow after the communication link is changed is smaller than the traffic data flow before the communication link is changed, acquiring the change log;
and restoring the service data of each sublink to be changed into service data before change according to the change log.
4. The method of claim 1, further comprising, after sending the configuration information to the sublink to be changed in the communication link:
receiving recovery information for recovering the communication link to the communication link before the change;
acquiring the change log;
and restoring the service data of each sublink to be changed into service data before change according to the change log.
5. A communication link configuration apparatus, comprising:
the acquisition module is used for acquiring the corresponding relation information between the sub-link of the communication link and the service data;
the generating module is used for generating configuration information according to the corresponding relation information of the sub-link and the service data acquired by the acquisition module when the change information of the communication link is received;
a sending module, configured to send the configuration information generated by the generating module to a sub-link to be changed in the communication link, so as to reconfigure service data of the sub-link to be changed;
wherein the generation module comprises a determination unit, a reading unit and a generation unit, wherein,
the determining unit is configured to determine a sub-link to be changed according to the change information, where the sub-link to be changed includes a deleted sub-link and a sub-link that receives data of the deleted sub-link when the change information of the communication link is sub-link deletion information, and the sub-link to be changed includes a sub-link from which data is shunted to a newly added sub-link when the change information of the communication link is sub-link addition information;
the reading unit is further configured to read the service data of the sub-link to be changed, which is determined by the determining unit;
the generating unit is used for generating configuration information according to the service data of the sublink to be changed read by the reading unit;
wherein, the device also comprises an acquisition module, wherein,
the acquisition module is used for acquiring configuration project data from the configuration information;
the generating module is further configured to generate a change log of the communication link according to the configuration item data acquired by the acquiring module.
6. The apparatus of claim 5, wherein the acquisition module comprises an acquisition unit, a reading unit, and a storage unit, wherein,
the acquiring unit is used for acquiring the corresponding relation between the sub-link of the communication link and the intermediate server;
the reading unit is used for reading the service data content and the service data flow of the corresponding sub-link from each intermediate server according to the corresponding relation between the sub-link and the intermediate server acquired by the acquiring unit;
the storage unit is configured to store the service data content and the service data traffic read by the reading unit in correspondence with the corresponding sub-link.
7. The apparatus of claim 5, further comprising a computation module, a comparison module, and a traffic data recovery module, wherein,
the calculation module is used for calculating the service data flow of the communication link after the change;
the comparison module is used for comparing the service data flow after the communication link is changed and the service data flow before the communication link is changed, which are calculated by the calculation module; when the traffic data flow after the communication link is changed is smaller than the traffic data flow before the communication link is changed, the obtaining module is further configured to obtain the change log;
and the service data recovery module is configured to recover the service data of each sub-link to be changed into service data before change according to the change log acquired by the acquisition module.
8. The apparatus of claim 5, further comprising a receiving module, wherein,
the receiving module is used for receiving recovery information before the communication link is recovered to be changed.
9. A communication link configuration system, comprising: a decision server, an intermediate server and an operation and maintenance server, wherein,
the decision server as claimed in any one of claims 5 to 8;
the intermediate server is used for determining a sublink to be changed and receiving configuration information and recovery information corresponding to the sublink to be changed, wherein the configuration information and the recovery information are sent by the decision server;
and the operation and maintenance server is used for sending the corresponding relation information between the sub-link of the communication link and the service data to the decision server.
10. The system of claim 9,
when the communication link is changed, the decision server sends change result information to the operation and maintenance server; and is
And when the communication link is successfully recovered, the decision server sends recovery result information to the operation and maintenance server.
CN201510479265.9A 2015-08-03 2015-08-03 Communication link configuration method, device and related system Active CN106411555B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510479265.9A CN106411555B (en) 2015-08-03 2015-08-03 Communication link configuration method, device and related system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510479265.9A CN106411555B (en) 2015-08-03 2015-08-03 Communication link configuration method, device and related system

Publications (2)

Publication Number Publication Date
CN106411555A CN106411555A (en) 2017-02-15
CN106411555B true CN106411555B (en) 2020-02-14

Family

ID=58007528

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510479265.9A Active CN106411555B (en) 2015-08-03 2015-08-03 Communication link configuration method, device and related system

Country Status (1)

Country Link
CN (1) CN106411555B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115225493B (en) * 2022-07-11 2023-11-28 上海焜耀网络科技有限公司 Configuration generation method and device of networking node based on wireless

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1091530A3 (en) * 1999-10-05 2002-09-11 Alcatel Traffic allocation on virtual trunks
CN101547082A (en) * 2009-04-22 2009-09-30 华为技术有限公司 Active/standby link switching method and network device
CN102271048A (en) * 2010-06-02 2011-12-07 中兴通讯股份有限公司 Method and device for protecting services of aggregated link
CN102480368A (en) * 2010-11-22 2012-05-30 中兴通讯股份有限公司 Protecting method and system of aggregation link
CN103534996A (en) * 2012-11-29 2014-01-22 华为技术有限公司 Method and device for implementing load balance

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1091530A3 (en) * 1999-10-05 2002-09-11 Alcatel Traffic allocation on virtual trunks
CN101547082A (en) * 2009-04-22 2009-09-30 华为技术有限公司 Active/standby link switching method and network device
CN102271048A (en) * 2010-06-02 2011-12-07 中兴通讯股份有限公司 Method and device for protecting services of aggregated link
CN102480368A (en) * 2010-11-22 2012-05-30 中兴通讯股份有限公司 Protecting method and system of aggregation link
CN103534996A (en) * 2012-11-29 2014-01-22 华为技术有限公司 Method and device for implementing load balance

Also Published As

Publication number Publication date
CN106411555A (en) 2017-02-15

Similar Documents

Publication Publication Date Title
CN108847989B (en) Log processing method based on micro-service architecture, service system and electronic equipment
US10944628B2 (en) Network operation support system and network device management method
CN104170323B (en) Fault handling method and device, system based on network function virtualization
US11561849B1 (en) Intelligently adaptive log level management of a service mesh
CN108633311B (en) Method and device for concurrent control based on call chain and control node
EP1394984A1 (en) Method and Apparatus for Network Resource Utilization Assessment
CN105052076B (en) Network element management system and network element management method based on cloud computing
CN109508295B (en) Block chain consensus algorithm testing method and device, calculating device and storage medium
CN105827678B (en) Communication means and node under a kind of framework based on High Availabitity
CN109542781B (en) Block chain consensus algorithm testing method and device, calculating device and storage medium
CN111784329A (en) Service data processing method and device, storage medium and electronic device
CN113747150B (en) Method and system for testing video service system based on container cloud
CN104219175A (en) Data exchanging and service invocation system and data exchanging and service invocation method
CN103179211A (en) Cloud-computing-based data processing method and system of comprehensive operation support system
CN106411555B (en) Communication link configuration method, device and related system
CN113411209A (en) Distributed password service full-link detection system and method
CN111698301A (en) Service management method, device and storage medium for ensuring service continuation
CN113347036B (en) Method and system for realizing cloud environment bypass monitoring by utilizing public cloud storage
US10353365B2 (en) Electric power facilities identification number generation apparatus and method
CN114092246A (en) Problem positioning method and device for financial transaction link
CN112787853B (en) Automatic generation method and device of network change scheme and related equipment
CN112380040B (en) Message processing method and device, electronic equipment and storage medium
CN102868594B (en) Method and device for message processing
CN112688818A (en) Data transmission method and device, electronic equipment and readable storage medium
CN106487694A (en) A kind of data flow processing method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20200923

Address after: Grand Cayman Islands

Patentee after: Innovative advanced technology Co.,Ltd.

Address before: Grand Cayman Islands

Patentee before: Advanced innovation technology Co.,Ltd.

Effective date of registration: 20200923

Address after: Grand Cayman Islands

Patentee after: Advanced innovation technology Co.,Ltd.

Address before: Grand Cayman Islands

Patentee before: Alibaba Group Holding Ltd.