Environmental link supply and detection method, device, equipment, medium and program product
By performing supply and detection operations in the order from the target end to the access end in the environmental link supply and detection method, the problems of many steps and long cycles in the prior art are solved, and the rapid supply and detection of the environmental link are realized. Improved efficiency and investigation speed.
Patent Information
- Application Number
- CN202210749633.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-28
- Publication Date
- 2024-11-15
- Estimated Expiration
- 2042-06-28
AI Technical Summary
In the prior art, the supply and detection process of environmental links has many steps, long cycles and low efficiency, resulting in challenges in information security and system performance guarantee in the field of financial technology, especially in internal and external network transactions, the investigation is complex and inefficient. .
Provide an environmental link supply and detection method, by receiving configuration sequence and node information in user requests, performing supply and detection operations in sequence, and performing multi-node serial supply in order from the target end to the access end, shortening the environmental link Ready time and quickly locate the fault point in the event of an access exception.
It realizes rapid supply and detection of environmental links, reduces unnecessary time overhead, improves inspection efficiency, avoids redundant manpower dependence, and helps the project complete efficiently.
Smart Images

Figure CN115134228B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the financial field or other fields, and specifically to an environmental link supply and detection method, device, equipment, medium and program product. Background Art
[0002] In the field of financial technology, the environmental links of different businesses are complex and diverse, especially for the environmental links of intranet and extranet transactions. In order to ensure information security, system performance, system stability, etc., the environmental links of businesses usually include but are not limited to server load balancing, digital certificate processing platform, platform as a service, and peripheral network link nodes. Different link nodes correspond to different application platforms and application processes. On this basis, the supply and detection of environmental links are mostly operated manually.
[0003] As a result, there are many problems in the supply and detection of environmental links, such as many steps, long cycles, complex troubleshooting, and low efficiency. Summary of the invention
[0004] In view of the above problems, the present disclosure provides a method, device, equipment, medium and program product for supplying and detecting an environmental link that improves supply efficiency and detection efficiency.
[0005] According to the first aspect of the present disclosure, there is provided an environment link supply and detection method, comprising: receiving a user request, the user request comprising a configuration order and node information, wherein the configuration order is the order of nodes in an environment link from an access target end to an access initiating end; performing a supply operation on the link node through the node information according to the configuration order; and in the case where the supply operation is successful, performing a detection operation on the environment link according to the configuration order.
[0006] According to an embodiment of the present disclosure, the supply operation performed on the link node according to the configuration order through the node information includes: when the current node is the head-end node of the configuration order, obtaining the calling information of the head-end node, wherein the calling information of the head-end node comes from the node information; based on the calling information of the head-end node, calling the head-end node; and when the calling of the head-end node is successful, performing an activation operation on the node device corresponding to the head-end node.
[0007] According to an embodiment of the present disclosure, the supply operation is performed on the link node through the node information in accordance with the configuration order, and also includes: when the current node is a non-first-end node in the configuration order, obtaining the calling information of the non-first-end node, the calling information of the non-first-end node is generated when the previous node device is successfully activated; based on the calling information of the non-first-end node, calling the non-first-end node; and when the calling of the non-first-end node is successful, performing an activation operation on the node device corresponding to the non-first-end node.
[0008] According to an embodiment of the present disclosure, the activation operation includes: applying for a node device; if the node device application is successful, obtaining node configuration information, wherein the node configuration information comes from the node information; and configuring the node device based on the node configuration information.
[0009] According to an embodiment of the present disclosure, after the end node of the configuration sequence completes the supply operation, the method further includes: obtaining domain name call information, wherein the domain name call information comes from the node information; based on the domain name call information, calling the domain name service; in the case of successful calling of the domain name service, obtaining domain name configuration information, wherein the domain name configuration information comes from the node information; and configuring the domain name of the end link node based on the domain name configuration information.
[0010] According to an embodiment of the present disclosure, performing detection operations on the environmental link in accordance with the configuration sequence includes: setting a fixed detection point and a variable detection point, wherein the fixed detection point corresponds to the access target end, and the variable detection point corresponds to other non-access target end nodes; and changing the variable detection point in sequence in accordance with the configuration sequence; and detecting in sequence whether the transition from the variable detection point to the fixed detection point is normal.
[0011] According to an embodiment of the present disclosure, the method further includes: recording execution points when performing a supply operation on a link node through the node information in accordance with the configuration order, and / or when performing detection on the environmental link in accordance with the configuration order.
[0012] The second aspect of the present disclosure provides an environment link supply and detection device, the device comprising: a receiving module, a supply module and a detection module, wherein the receiving module is used to receive a user request, the user request includes a configuration sequence and node information, wherein the configuration sequence is the sequence of the environment link from the access target end to the access initiating end; the supply module is used to perform a supply operation on the link node according to the configuration sequence and through the node information; and the detection module is used to perform a detection operation on the environment link according to the configuration sequence if the supply operation is successful.
[0013] According to an embodiment of the present disclosure, the supply module is also used to obtain the calling information of the head-end node when the current node is the head-end node of the configuration order, wherein the calling information of the head-end node comes from the node information; based on the calling information of the head-end node, call the head-end node; and when the calling of the head-end node is successful, perform an activation operation on the node device corresponding to the head-end node.
[0014] According to an embodiment of the present disclosure, the supply module is also used to obtain the calling information of the non-head-end node when the current node is a non-head-end node in the configuration order, and the calling information of the non-head-end node is generated when the previous node device is successfully activated; based on the calling information of the non-head-end node, call the non-head-end node; and when the calling of the non-head-end node is successful, perform an activation operation on the node device corresponding to the non-head-end node.
[0015] According to an embodiment of the present disclosure, the activation operation includes: applying for a node device; if the node device application is successful, obtaining node configuration information, wherein the node configuration information comes from the node information; and configuring the node device based on the node configuration information.
[0016] According to an embodiment of the present disclosure, the device also includes a domain name configuration module, which is used to obtain domain name call information, wherein the domain name call information comes from the node information; based on the domain name call information, call the domain name service; in the case of successful calling of the domain name service, obtain domain name configuration information, wherein the domain name configuration information comes from the node information; and configure the domain name of the end link node based on the domain name configuration information.
[0017] According to an embodiment of the present disclosure, the detection module is also used to set fixed detection points and variable detection points, wherein the fixed detection points correspond to the access target end, and the variable detection points correspond to other non-access target end nodes; and the variable detection points are changed in sequence according to the configuration order; and whether the transition from the variable detection points to the fixed detection points is normal is detected in sequence.
[0018] According to an embodiment of the present disclosure, the device also includes an execution point recording module, which is used to record the execution point when the supply operation is performed on the link node through the node information according to the configuration order, and / or when the detection is performed on the environmental link according to the configuration order.
[0019] The third aspect of the present disclosure provides an electronic device, comprising: one or more processors; and a memory for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors execute the above-mentioned environmental link supply and detection method.
[0020] According to a fourth aspect of the present disclosure, a computer-readable storage medium is provided, on which executable instructions are stored. When the instructions are executed by a processor, the processor executes the above-mentioned environmental link supply and detection method.
[0021] According to a fifth aspect of the present disclosure, a computer program product is provided, including a computer program, which implements the above-mentioned environmental link supply and detection method when executed by a processor.
[0022] In the embodiment of the present disclosure, a method for supplying and detecting an environmental link is provided, which adopts the sequence from the target end to the access end to perform a multi-node serial supply operation, thereby realizing the rapid supply of the environmental link and shortening the time for the environmental link to be ready. At the same time, the sequence from the target end to the access end is adopted to perform a serial detection operation on each node in the environmental link, which can quickly locate the fault point in the event of an access anomaly, thereby avoiding unnecessary time expenditure. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] The above contents and other objects, features and advantages of the present disclosure will become more apparent through the following description of the embodiments of the present disclosure with reference to the accompanying drawings, in which:
[0024] Figure 1 The application scenario diagram of the environmental link provisioning and detection method according to an embodiment of the present disclosure is schematically shown.
[0025] Figure 2 The flowchart of the environmental link provisioning and detection method according to the embodiment of the present disclosure is schematically shown.
[0026] Figure 3 The flowchart schematically shows a supply operation method according to an embodiment of the present disclosure.
[0027] Figure 4 The flowchart schematically shows another supply operation method according to an embodiment of the present disclosure.
[0028] Figure 5 The flowchart of another supply operation method according to an embodiment of the present disclosure is schematically shown.
[0029] Figure 6 The structural block diagram of the environment link supply and detection device according to an embodiment of the present disclosure is schematically shown.
[0030] Figure 7 A block diagram of an electronic device suitable for implementing an environmental link provisioning and detection method according to an embodiment of the present disclosure is schematically shown. DETAILED DESCRIPTION
[0031] Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the present disclosure. In the following detailed description, for ease of explanation, many specific details are set forth to provide a comprehensive understanding of the embodiments of the present disclosure. However, it is apparent that one or more embodiments may also be implemented without these specific details. In addition, in the following description, descriptions of known structures and technologies are omitted to avoid unnecessary confusion of the concepts of the present disclosure.
[0032] The terms used herein are only for describing specific embodiments and are not intended to limit the present disclosure. The terms "comprise", "include", etc. used herein indicate the existence of the features, steps, operations and / or components, but do not exclude the existence or addition of one or more other features, steps, operations or components.
[0033] All terms (including technical and scientific terms) used herein have the meanings commonly understood by those skilled in the art, unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning consistent with the context of this specification, and should not be interpreted in an idealized or overly rigid manner.
[0034] When using expressions such as "at least one of A, B, and C, etc.", they should generally be interpreted according to the meaning of the expression commonly understood by those skilled in the art (for example, "a system having at least one of A, B, and C" should include but is not limited to a system having A alone, B alone, C alone, A and B, A and C, B and C, and / or A, B, C, etc.).
[0035] Before the embodiments of the present disclosure are disclosed in detail, the technical terms involved in the embodiments of the present disclosure are explained one by one:
[0036] Server Load Balancing (SLB) is used to achieve load balancing among multiple servers. SLB virtualizes a server and presents this virtual server to the user. A virtual server represents a cluster of multiple real servers. When a client initiates a connection to a virtual server, SLB forwards it to a real server through a certain balancing algorithm.
[0037] F5: A load balancing solution that balances and distributes the load to multiple operation units for execution.
[0038] Digital Certificate Processing Platform: (DCPP) can be used for e-commerce authentication to ensure the security of account funds.
[0039] Platform as a Service (PaaS) refers to a business model that provides a server platform as a service. In the typical hierarchy of cloud computing, the PaaS layer is between software as a service and infrastructure as a service.
[0040] Demilitarized Zone (DMZ), also known as a demilitarized zone, is a physical or logical subnetwork that contains and exposes an organization's external-facing services to untrusted networks.
[0041] Environment ID: The ID of the application environment. For example, there are 5 application environments, and each environment has a different ID.
[0042] Context root: The last string of characters in the access domain name, separated by " / ".
[0043] In the prior art, in order to speed up version iteration, it is usually necessary to provide multiple environments to complete the parallel development of multiple versions. Therefore, the provision and detection of such environments with complex links require more manpower to complete. In this context, each time a new environment is built, an application needs to be submitted separately on the respective platform. For example, if you apply for an SLB, you need to fill out the application form according to the actual situation and submit the application on the corresponding platform. The application process includes approval by multiple different job roles, which may include 3-4 approval processes, and finally the SLB is allocated. There may be dependencies between link nodes. For example, the application of F5 depends on the application result of SLB, so the environmental link provision cycle of a set of environments becomes longer. After the provision operation of all the involved link nodes is completed, the link needs to be tested. If the link is normal, it can be delivered for development and testing. If the link is abnormal, it needs to be checked layer by layer, and after locating the problem, the corresponding professional personnel are found to handle and solve it. This makes the supply and detection process of the entire environmental link inefficient and redundant.
[0044] In the process of supplying and testing the execution environment link, there are long processes, cumbersome processes, low efficiency, and a particularly high dependence on personnel, and problems are not handled in a timely manner. In the context of rapid development iteration, the supply and testing of the environment link has become a bottleneck for shortening the development cycle. How to solve this difficulty and help the project to be completed efficiently is a very urgent matter.
[0045] To solve the above technical problems, an embodiment of the present disclosure provides an environment link supply and detection method, comprising: receiving a user request, the user request including a configuration order and node information, wherein the configuration order is the order of nodes in the environment link from the access target end to the access initiating end; according to the configuration order, performing a supply operation on the link node through the node information; and when the supply operation is successful, performing a detection operation on the environment link according to the configuration order.
[0046] In the embodiment of the present disclosure, a method for supplying and detecting an environmental link is provided, which adopts the sequence from the target end to the access end to perform a multi-node serial supply operation, thereby realizing the rapid supply of the environmental link and shortening the time for the environmental link to be ready. At the same time, the sequence from the target end to the access end is adopted to perform a serial detection operation on each node in the environmental link, which can quickly locate the fault point in the event of an access anomaly, thereby avoiding unnecessary time expenditure.
[0047] Figure 1 The application scenario diagram of the environmental link provisioning and detection method according to an embodiment of the present disclosure is schematically shown.
[0048] like Figure 1As shown, the application scenario 100 according to this embodiment may include terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 is used to provide a medium for a communication link between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.
[0049] Users can use terminal devices 101, 102, 103 to interact with server 105 through network 104 to receive or send messages, etc. Various communication client applications can be installed on terminal devices 101, 102, 103, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc. (only examples).
[0050] The terminal devices 101 , 102 , and 103 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, and desktop computers.
[0051] The server 105 may be a server that provides various services, such as a background management server (only an example) that provides support for websites browsed by users using the terminal devices 101, 102, and 103. The background management server may analyze and process the received data such as user requests, and feed back the processing results (such as web pages, information, or data obtained or generated according to user requests) to the terminal device.
[0052] It should be noted that the environmental link supply and detection method provided in the embodiment of the present disclosure can generally be executed by the server 105. Accordingly, the environmental link supply and detection device provided in the embodiment of the present disclosure can generally be set in the server 105. The environmental link supply and detection method provided in the embodiment of the present disclosure can be executed by a server or server cluster that is different from the server 105 and can communicate with the terminal devices 101, 102, 103 and / or the server 105. Accordingly, the environmental link supply and detection device provided in the embodiment of the present disclosure can also be set in a server or server cluster that is different from the server 105 and can communicate with the terminal devices 101, 102, 103 and / or the server 105.
[0053] It should be understood that Figure 1 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to the implementation requirements.
[0054] The following will be based on Figure 1 The scene described by Figure 2 to Figure 5 The environmental link provisioning and detection method of the disclosed embodiment is described in detail.
[0055] Figure 2 The flowchart of the environmental link provisioning and detection method according to the embodiment of the present disclosure is schematically shown.
[0056] like Figure 2 As shown, the environment link provisioning and detection method of this embodiment includes operations S210 to S230, and the environment link provisioning and detection method can be executed by the server 105.
[0057] In operation S210, a user request is received, wherein the user request includes a configuration order and node information, wherein the configuration order is the order of nodes in an environment link from an access target end to an access initiator end.
[0058] When the environment link is configured accordingly, the access initiator can access the target end through the domain name, wherein one access is from the access initiator through multiple nodes in the environment link and finally reaches the access target end. Specifically, in the embodiment of the present disclosure, the access initiator is a client and the access target end is an application service.
[0059] When the environment link is provisioned and tested, the server receives a user request from the front end of the WEB page. The user request contains the configuration order and node information. The configuration order is the order of nodes in the environment link from the access target end to the access initiator end. In other words, the configuration order is the reverse order of the order from the user end to the application server end.
[0060] For example, a set of complex environment links (i.e., network link environments) needs to be prepared, and the relationship between the access initiator and the access target network is: "domain name->first-layer F5 system->DCPP system->second-layer F5 system->SLB system->application service". That is, when a user wants to access an application service, after entering the domain name, the jump order of the environment link in the network is from the first-layer F5 system->DCPP system->second-layer F5 system->SLB system, and finally reaches the application service. The configuration order of the nodes in the environment link is in the following order: "SLB system->second-layer F5 system->DCPP system->first-layer F5 system". Among them, the above-mentioned "first-layer F5 system", "DCPP system", "second-layer F5 system", "SLB system" and "application service" are called nodes in the environment link. The above-mentioned "first-layer F5 system", "DCPP system", "second-layer F5 system", "SLB system" and "application service" are mainly responsible for receiving call instructions and completing corresponding operations according to the instructions. It should be noted that the above "domain name" is the domain name of the "first layer F5 system", so the above "domain name" is regarded as part of the "first layer F5" and is not regarded as a node in the environment link. At the same time, although the above "application service" exists as a node in the environment link, it does not need to participate in the supply operation, but only in the detection operation.
[0061] For the sake of simplicity, the node order of the environment link "A-->B-->C-->D-->E" will be used below to replace the above expression "one-layer F5 system-->DCPP system-->two-layer F5 system-->SLB system-->application service". Among them, "A" corresponds to "one-layer F5 system", "B" corresponds to "DCPP system", "C" corresponds to "two-layer F5 system", "D" corresponds to "SLB system", and "E" corresponds to "application service".
[0062] According to an embodiment of the present disclosure, the node information at least includes the node name, the port of the node, the environment identifier, and the domain name information, etc. The domain name information includes: a domain name and a context root.
[0063] In operation S220, a provisioning operation is performed on the link nodes according to the configuration order through the node information.
[0064] Specifically, taking the above-mentioned environment link relationship from the access initiator to the access target as an example, the order of supply operations on the nodes in the environment link is: "D-->C-->B-->A", that is, first perform the supply operation on "D", and then perform the supply operation on "C", "B" and "A" in the order of the arrows.
[0065] It should be noted that, in the embodiments of the present disclosure, the above-mentioned provisioning operation for the nodes in the environment link is a serial process. Therefore, there is no situation where multiple nodes perform provisioning operations in parallel at the same time.
[0066] In operation S230, if the provisioning operation is successful, a detection operation is performed on the environment links according to the configuration order.
[0067] According to an embodiment of the present disclosure, the performing of the detection operation on the environmental link in accordance with the configuration sequence includes: setting a fixed detection point and a variable detection point, wherein the fixed detection point corresponds to the access target end, and the variable detection point corresponds to other non-access target end nodes; and changing the variable detection point in sequence in accordance with the configuration sequence; and detecting in sequence whether the transition from the variable detection point to the fixed detection point is normal.
[0068] Specifically, taking the above-mentioned environmental link relationship (or network relationship) from the access initiator to the access target as an example, the detection operation of the nodes in the environmental link is performed in the following order: "D-->E", "C-->E", "B-->E" and "A-->E". Among them, the "E" point is the application service, that is, the access target end, and a fixed detection point is set at "E", while variable detection points are set at "A", "B", "C" and "D". In the order from "D" to "A", the variable detection points are changed in turn to detect the smoothness of different nodes to the "application service", that is, to detect whether the "application service is accessible".
[0069] Of course, the above operation S230 can also be performed after all nodes in the environment link have successfully completed the supply operation. That is, after "A", "B", "C" and "D" have completed the supply operation, the above detection sequence is: "D-->E", "C-->E", "B-->E" and "A-->E". The above operation S230 can also be performed after two adjacent nodes in the environment link have completed the supply operation. That is, after the supply operation is completed for "D", the detection operation is performed for "D-->E", and then, after the supply operation is completed for "C", the detection operation is performed for "C-->E", and so on.
[0070] It should be noted that there are multiple solutions for executing the above detection operations in different orders.
[0071] According to an embodiment of the present disclosure, the execution order of the detection operation may also be to perform the detection operation on the adjacent nodes according to the above configuration order.
[0072] Specifically, the detection operation of the nodes in the environment link is performed in the following order: "D-->E", "C-->D", "B-->C" and "A-->B". However, this solution requires setting two variable detection points on different nodes.
[0073] According to an embodiment of the present disclosure, the execution order of the detection operations may be performed in the reverse order of the above configuration order.
[0074] Specifically, when executing in the reverse order of the above configuration sequence, there are two cases: Case 1, setting a variable detection point and a fixed detection point; Case 2, setting two variable detection points. For Case 1, the detection operation of the nodes in the environmental link is performed in the following order: "A-->E", "B-->E", "C-->E" and "D-->E". For Case 2, the detection operation of the nodes in the environmental link is performed in the following order: "A-->B", "B-->C", "C-->D" and "D-->E". Of course, the above detection operation in the reverse order of the configuration sequence can only be performed after all nodes in the environmental link have successfully completed the supply operation. Therefore, the execution conditions of the execution order of this type of detection operation are more stringent and have poor adaptability. Moreover, in Case 1, if an access failure occurs in the middle, the fault location is more complicated, which increases the time overhead.
[0075] In the embodiment of the present disclosure, a variable detection point and a fixed detection point are used. When performing detection, only the configuration process of the detection point needs to be changed, which saves the configuration process of the detection point. At the same time, the configuration sequence used for environmental link detection can make the solution adaptable to a large number of scenarios.
[0076] According to an embodiment of the present disclosure, the method further includes: recording execution points when performing a supply operation on a link node through the node information in accordance with the configuration order, and / or when performing detection on the environmental link in accordance with the configuration order.
[0077] Of course, the records of the above-mentioned execution points can also be for operations of different granularities. For a supply operation or a detection operation, there are also many sub-operations. When individual sub-operations are executed in the supply operation, or when individual sub-operations are executed in the detection operation, two situations may occur, namely, successful execution and failed execution. Of course, the records of the above-mentioned execution points do not limit the granularity of execution. Therefore, a rollback operation can be performed through the recorded execution points, which can generally improve the efficiency of the supply operation and detection operation of the environmental link. The above-mentioned rollback operation can be triggered by the timed detection of the fault, and the above-mentioned rollback operation is performed when the problem is not solved.
[0078] In the embodiment of the present disclosure, a method for supplying and detecting an environmental link is provided, which adopts the sequence from the target end to the access end to perform a multi-node serial supply operation, thereby realizing the rapid supply of the environmental link and shortening the time for the environmental link to be ready. At the same time, the sequence from the target end to the access end is adopted to perform a serial detection operation on each node in the environmental link, which can quickly locate the fault point in the event of an access anomaly, thereby avoiding unnecessary time expenditure.
[0079] Figure 3 The flowchart schematically shows a supply operation method according to an embodiment of the present disclosure.
[0080] like Figure 3 As shown, a supply operation method of this embodiment includes operations S310 to S330, and part of the above operation S220 can at least be performed by operations S310 to S330.
[0081] In operation S310, when the current node is the head-end node of the configuration sequence, the calling information of the head-end node is obtained, wherein the calling information of the head-end node comes from the node information.
[0082] In operation S320, the head-end node is called based on the calling information of the head-end node.
[0083] In operation S330, when the calling of the head-end node is successful, an activation operation is performed on the node device corresponding to the head-end node.
[0084] According to an embodiment of the present disclosure, the activation operation includes: applying for a node device; if the node device application is successful, obtaining node configuration information, wherein the node configuration information comes from the node information; and configuring the node device based on the node configuration information.
[0085] Specifically, when performing the supply operation, the "application service" does not need to be configured. Therefore. In the embodiment of the present disclosure, taking the configuration sequence in the above-mentioned environment link as an example, when the head-end node is "D", that is, the head-end node is the "SLB system". Parse the node information and obtain the call information of the "SLB system". Generate a call instruction based on the call information, and call the "SLB system" through the above-mentioned call command. And record the current execution node S0 at this time. The execution point S0 is used to troubleshoot and solve the problem when the "SLB system" call fails, and return to the execution point S0 after that, without having to restart the entire process from the initial step.
[0086] If the system call is successful, the device corresponding to the "SLB system" is applied for. If the device application is successful, the node configuration information in the node information (i.e., the configuration information of the device corresponding to the "SLB system") is obtained to perform node configuration. The application process of the SLB device is an encapsulated automated process and will not be repeated here.
[0087] It should be noted that if the node "SLB system" is configured successfully, the "SLB system" attached IP and attached port will be returned.
[0088] In the embodiment of the present disclosure, the calling information in the supply operation of the head-end node needs to be obtained from the node information input by the user, thereby starting the supply operation process of the head-end node.
[0089] Figure 4 The flowchart schematically shows another supply operation method according to an embodiment of the present disclosure.
[0090] like Figure 4 As shown, a supply operation method of this embodiment includes operations S410 to S430, and part of the above operation S220 can at least be performed by operations S410 to S430.
[0091] In operation S410, when the current node is a non-head-end node in the configuration sequence, the calling information of the non-head-end node is obtained, where the calling information of the non-head-end node is generated when the previous node device is successfully activated.
[0092] In operation S420, the non-head-end node is called based on the calling information of the non-head-end node.
[0093] In operation S430, when the non-head-end node is successfully called, an activation operation is performed on a node device corresponding to the non-head-end node.
[0094] Specifically, in the embodiment of the present disclosure, still taking the above-mentioned environment link as an example, the above-mentioned non-head-end nodes include "two-layer F5 system", "DCPP system" and "one-layer F5 system". When performing the supply operation of the "one-layer F5 system", the downlink IP and downlink port of the above-mentioned "SLB system" are obtained. Based on the downlink IP and downlink port, a call instruction for the "two-layer F5 system" is generated to execute the node call. At this time, the current execution node S1 is recorded.
[0095] If the system call is successful, the second-layer F5 device application is performed. If the second-layer F5 device application is successful, the node configuration information in the node information is obtained to perform node configuration. Among them, the application process of the second-layer F5 device is a packaged automated process and will not be repeated here.
[0096] When the node "Layer 2 F5 System" is configured successfully, the IP and port of the "Layer 2 F5 System" will be returned. The IP and port of the "Layer 2 F5 System" are used to generate the call instruction of the "DCPP System" to execute the node call. At this time, the current execution node S2 is recorded.
[0097] If the system call is successful, the DCPP device application is performed. If the DCPP device application is successful, the node configuration information in the node information is obtained and the node configuration is performed. Among them, the application process of the F5 device is a packaged automated process and will not be repeated here.
[0098] When the node "DCPP system" is configured successfully, the IP and port of the "DCPP system" will be returned. The IP and port of the "DCPP system" are used to generate the call instruction of the "first layer F5 system" to execute the node call. At this time, the current execution node S3 is recorded.
[0099] If the system call is successful, a layer F5 device application is performed. If the layer F5 device application is successful, the node configuration information in the node information is obtained to perform node configuration. The application process for the layer F5 device is an encapsulated automated process and will not be repeated here.
[0100] In the embodiment of the present disclosure, for the call information in the supply operation of the non-head-end node, it is necessary to complete the acquisition from the previous node if the application is successful, and then start the supply operation process of a certain node.
[0101] Figure 5 The flowchart of another supply operation method according to an embodiment of the present disclosure is schematically shown.
[0102] like Figure 5 As shown, a supply operation method of this embodiment includes operations S510 to S540, and operations S510 to S540 are performed after the above-mentioned operation S430.
[0103] In operation S510, domain name calling information is obtained, wherein the domain name calling information comes from the node information.
[0104] In operation S520, a domain name service is called based on the domain name calling information.
[0105] In operation S530, when the domain name service is successfully called, domain name configuration information is obtained, wherein the domain name configuration information comes from the node information.
[0106] In operation S540, a domain name of the end link node is configured based on the domain name configuration information.
[0107] Specifically, the domain name calling information is obtained, a domain name calling instruction is generated to call the domain name system, and the current execution point is recorded as S5.
[0108] If the system call is successful, a domain name application is performed. If the domain name application is successful, the domain name configuration information in the node information is obtained to complete the domain name configuration. The domain name applied for above is the domain name of the "first-layer F5 system".
[0109] Based on the above-mentioned environmental link supply and detection method, the present disclosure also provides an environmental link supply and detection device. Figure 6 The device is described in detail.
[0110] Figure 6 The structural block diagram of the environment link supply and detection device according to an embodiment of the present disclosure is schematically shown.
[0111] like Figure 6 As shown, the environment link supply and detection device 600 of this embodiment includes a receiving module 610 , a supply module 620 and a detection module 630 .
[0112] The receiving module 610 is used to receive a user request, wherein the user request includes a configuration order and node information, wherein the configuration order is the order of the environment link from the access target end to the access initiator end. In one embodiment, the receiving module 810 can be used to perform the operation S210 described above, which will not be repeated here.
[0113] The supply module 620 is used to perform a supply operation on the link node according to the configuration sequence through the node information. In one embodiment, the supply module 820 can be used to perform the operation S220 described above, which will not be repeated here.
[0114] The detection module 630 is used to perform a detection operation on the environment link according to the configuration sequence when the provisioning operation is successful. In one embodiment, the detection module 830 can be used to perform the operation S230 described above, which will not be described in detail here.
[0115] In the embodiment of the present disclosure, a method for supplying and detecting an environmental link is provided, which adopts the sequence from the target end to the access end to perform a multi-node serial supply operation, thereby realizing the rapid supply of the environmental link and shortening the time for the environmental link to be ready. At the same time, the sequence from the target end to the access end is adopted to perform a serial detection operation on each node in the environmental link, which can quickly locate the fault point in the event of an access anomaly, thereby avoiding unnecessary time expenditure.
[0116] According to an embodiment of the present disclosure, the supply module 620 is also used to obtain the calling information of the head-end node when the current node is the head-end node of the configuration order, wherein the calling information of the head-end node comes from the node information; based on the calling information of the head-end node, call the head-end node; and when the calling of the head-end node is successful, perform an activation operation on the node device corresponding to the head-end node.
[0117] According to an embodiment of the present disclosure, the supply module 620 is also used to obtain the calling information of the non-head-end node when the current node is a non-head-end node in the configuration order, and the calling information of the non-head-end node is generated when the previous node device is successfully activated; based on the calling information of the non-head-end node, call the non-head-end node; and when the calling of the non-head-end node is successful, perform an activation operation on the node device corresponding to the non-head-end node.
[0118] According to an embodiment of the present disclosure, the activation operation includes: applying for a node device; if the node device application is successful, obtaining node configuration information, wherein the node configuration information comes from the node information; and configuring the node device based on the node configuration information.
[0119] According to an embodiment of the present disclosure, the device also includes a domain name configuration module, which is used to obtain domain name call information, wherein the domain name call information comes from the node information; based on the domain name call information, call the domain name service; in the case of successful calling of the domain name service, obtain domain name configuration information, wherein the domain name configuration information comes from the node information; and configure the domain name of the end link node based on the domain name configuration information.
[0120] According to an embodiment of the present disclosure, the detection module 630 is also used to set a fixed detection point and a variable detection point, wherein the fixed detection point corresponds to the access target end, and the variable detection point corresponds to other non-access target end nodes; and the variable detection point is changed in sequence according to the configuration order; and whether the transition from the variable detection point to the fixed detection point is normal is detected in sequence.
[0121] According to an embodiment of the present disclosure, the device also includes an execution point recording module, which is used to record the execution point when the supply operation is performed on the link node through the node information according to the configuration order, and / or when the detection is performed on the environmental link according to the configuration order.
[0122] According to an embodiment of the present disclosure, any multiple modules of the receiving module 610, the supply module 620 and the detection module 630 can be combined into one module for implementation, or any one of the modules can be split into multiple modules. Alternatively, at least part of the functions of one or more of these modules can be combined with at least part of the functions of other modules and implemented in one module. According to an embodiment of the present disclosure, at least one of the receiving module 610, the supply module 620 and the detection module 630 can be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on a chip, a system on a substrate, a system on a package, an application-specific integrated circuit (ASIC), or can be implemented by hardware or firmware such as any other reasonable way of integrating or packaging the circuit, or implemented in any one of the three implementation methods of software, hardware and firmware or in any appropriate combination of any of them. Alternatively, at least one of the receiving module 610, the supply module 620 and the detection module 630 can be at least partially implemented as a computer program module, and when the computer program module is run, the corresponding function can be executed.
[0123] Figure 7 A block diagram of an electronic device suitable for implementing an environmental link provisioning and detection method according to an embodiment of the present disclosure is schematically shown.
[0124] like Figure 7 As shown, the electronic device 700 according to an embodiment of the present disclosure includes a processor 701, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 702 or a program loaded from a storage part 708 into a random access memory (RAM) 703. The processor 701 may include, for example, a general-purpose microprocessor (e.g., a CPU), an instruction set processor and / or a related chipset and / or a special-purpose microprocessor (e.g., an application-specific integrated circuit (ASIC)), etc. The processor 701 may also include an onboard memory for caching purposes. The processor 701 may include a single processing unit or multiple processing units for performing different actions of the method flow according to an embodiment of the present disclosure.
[0125] In RAM 703, various programs and data required for the operation of electronic device 700 are stored. Processor 701, ROM 702 and RAM 703 are connected to each other via bus 704. Processor 701 performs various operations of the method flow according to the embodiment of the present disclosure by executing the program in ROM 702 and / or RAM 703. It should be noted that the program can also be stored in one or more memories other than ROM 702 and RAM 703. Processor 701 can also perform various operations of the method flow according to the embodiment of the present disclosure by executing the program stored in the one or more memories.
[0126] According to an embodiment of the present disclosure, the electronic device 700 may further include an input / output (I / O) interface 705, which is also connected to the bus 704. The electronic device 700 may further include one or more of the following components connected to the I / O interface 705: an input portion 706 including a keyboard, a mouse, etc.; an output portion 707 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage portion 708 including a hard disk, etc.; and a communication portion 709 including a network interface card such as a LAN card, a modem, etc. The communication portion 709 performs communication processing via a network such as the Internet. A drive 710 is also connected to the I / O interface 705 as needed. A removable medium 711, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 710 as needed, so that a computer program read therefrom is installed into the storage portion 708 as needed.
[0127] The present disclosure also provides a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiments; or may exist independently without being assembled into the device / apparatus / system. The above computer-readable storage medium carries one or more programs, and when the above one or more programs are executed, the method according to the embodiment of the present disclosure is implemented.
[0128] According to an embodiment of the present disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium, for example, may include but is not limited to: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, an apparatus or a device. For example, according to an embodiment of the present disclosure, a computer-readable storage medium may include the ROM 702 and / or RAM 703 described above and / or one or more memories other than ROM 702 and RAM 703.
[0129] The embodiment of the present disclosure also includes a computer program product, which includes a computer program, and the computer program contains program code for executing the method shown in the flowchart. When the computer program product is run in a computer system, the program code is used to enable the computer system to implement the item recommendation method provided by the embodiment of the present disclosure.
[0130] The above functions defined in the system / device of the embodiment of the present disclosure are performed when the computer program is executed by the processor 701. According to the embodiment of the present disclosure, the system, device, module, unit, etc. described above can be implemented by a computer program module.
[0131] In one embodiment, the computer program may rely on tangible storage media such as optical storage devices, magnetic storage devices, etc. In another embodiment, the computer program may also be transmitted and distributed in the form of signals on a network medium, and downloaded and installed through the communication part 709, and / or installed from the removable medium 711. The program code contained in the computer program may be transmitted using any appropriate network medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.
[0132] In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 709, and / or installed from the removable medium 711. When the computer program is executed by the processor 701, the above functions defined in the system of the embodiment of the present disclosure are performed. According to the embodiment of the present disclosure, the system, device, means, module, unit, etc. described above can be implemented by a computer program module.
[0133] According to an embodiment of the present disclosure, the program code for executing the computer program provided by the embodiment of the present disclosure can be written in any combination of one or more programming languages. Specifically, these computing programs can be implemented using high-level procedural and / or object-oriented programming languages, and / or assembly / machine languages. Programming languages include, but are not limited to, Java, C++, python, "C" language or similar programming languages. The program code can be executed entirely on the user computing device, partially on the user device, partially on the remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device can be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computing device (for example, using an Internet service provider to connect through the Internet).
[0134] The flow charts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0135] It will be appreciated by those skilled in the art that the features described in the various embodiments and / or claims of the present disclosure may be combined and / or combined in a variety of ways, even if such combinations and / or combinations are not explicitly described in the present disclosure. In particular, the features described in the various embodiments and / or claims of the present disclosure may be combined and / or combined in a variety of ways without departing from the spirit and teachings of the present disclosure. All of these combinations and / or combinations fall within the scope of the present disclosure.
[0136] The embodiments of the present disclosure are described above. However, these embodiments are only for illustrative purposes and are not intended to limit the scope of the present disclosure. Although the embodiments are described above separately, this does not mean that the measures in the various embodiments cannot be used in combination to advantage. The scope of the present disclosure is defined by the attached claims and their equivalents. Without departing from the scope of the present disclosure, those skilled in the art may make a variety of substitutions and modifications, which should all fall within the scope of the present disclosure.
Claims
1. A method for providing and detecting an environmental link, include: Receive a user request, the user request including a configuration order and node information, wherein the configuration order is the order of nodes in an environment link from an access target end to an access initiator end; performing a supply operation on the link nodes through the node information in the configuration order; and In case the provisioning operation is successful, performing a detection operation on the environment link according to the configuration order; The performing of the supply operation on the link node through the node information according to the configuration sequence includes: when the current node is the head-end node of the configuration sequence, obtaining the calling information of the head-end node, wherein the calling information of the head-end node comes from the node information; calling the head-end node based on the calling information of the head-end node; and performing an activation operation on the node device corresponding to the head-end node when the calling of the head-end node is successful; Among them, the supply operation is performed on the link node according to the configuration order through the node information, and also includes: when the current node is a non-head-end node in the configuration order, obtaining the calling information of the non-head-end node, and the calling information of the non-head-end node is generated when the previous node device is successfully activated; based on the calling information of the non-head-end node, calling the non-head-end node; and when the calling of the non-head-end node is successful, performing the activation operation on the node device corresponding to the non-head-end node.
2. The method according to claim 1, in, The activation operation includes: Apply for node equipment; In the case where the node device application is successful, obtaining node configuration information, wherein the node configuration information comes from the node information; and The node device is configured based on the node configuration information.
3. The method according to claim 1, in, After performing the activation operation on the node device corresponding to the non-head-end node, the method further includes: Acquire domain name call information, wherein the domain name call information comes from the node information; Based on the domain name calling information, calling the domain name service; In the case where the domain name service is successfully called, domain name configuration information is obtained, wherein the domain name configuration information comes from the node information; and Based on the domain name configuration information, the domain name of the non-head-end node is configured.
4. The method according to claim 1, in, The performing the detection operation on the environment link according to the configuration order comprises: Setting a fixed detection point and a variable detection point, wherein the fixed detection point corresponds to the access target end, and the variable detection point corresponds to other non-access target end nodes; and According to the configuration order, the variable detection points are sequentially changed; and Check in sequence whether the variable detection point to the fixed detection point is normal.
5. The method according to claim 1, in, The method further comprises: When the supply operation is performed on the link node through the node information according to the configuration order, and / or when the detection is performed on the environment link according to the configuration order, the execution point is recorded.
6. An environmental link supply and detection device, the device include: Receiving module, supply module and detection module, in, The receiving module is used to receive a user request, wherein the user request includes a configuration sequence and node information, wherein the configuration sequence is the sequence of the environment link from the access target end to the access initiator end; The provisioning module is used to perform a provisioning operation on the link node according to the configuration sequence and through the node information; and The detection module is used to perform a detection operation on the environment link according to the configuration sequence if the provisioning operation is successful; The performing of the supply operation on the link node through the node information according to the configuration sequence includes: when the current node is the head-end node of the configuration sequence, obtaining the calling information of the head-end node, wherein the calling information of the head-end node comes from the node information; calling the head-end node based on the calling information of the head-end node; and performing an activation operation on the node device corresponding to the head-end node when the calling of the head-end node is successful; Among them, the supply operation is performed on the link node according to the configuration order through the node information, and also includes: when the current node is a non-head-end node in the configuration order, obtaining the calling information of the non-head-end node, and the calling information of the non-head-end node is generated when the previous node device is successfully activated; based on the calling information of the non-head-end node, calling the non-head-end node; and when the calling of the non-head-end node is successful, performing the activation operation on the node device corresponding to the non-head-end node.
7. An electronic device, include: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors are enabled to execute the method according to any one of claims 1 to 5.
8. A computer-readable storage medium having executable instructions stored thereon, which, when executed by a processor, causes the processor to execute the method according to any one of claims 1 to 5.
9. A computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the method according to any one of claims 1 to 5 is implemented.
