Path determination method and device
By verifying and evaluating the credibility of network nodes and determining a secure and trustworthy transmission path, it solves the problems of transmission path insecurity caused by network equipment security risks and malicious attacks, and ensures the secure transmission of high-security services.
Patent Information
- Application Number
- CN202411304232.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-18
- Publication Date
- 2024-11-12
- Estimated Expiration
- 2044-09-18
AI Technical Summary
In the context of the development of services towards cloudization, Internet of Things and wirelessization, security risks and malicious attacks of network equipment make it difficult to guarantee the security and credibility of transmission paths, and cannot meet the service transmission needs of high security needs.
By obtaining the credibility of each network node and determining a secure and trusted transmission path based on this, we ensure that the target service is transmitted in a secure and trusted path. The method includes obtaining node information of the network node, verifying its accuracy, determining its credibility, and selecting a suitable transmission path, and assigning an identifier to the network node using the DID interface to verify its identity and security.
It effectively ensures the security and trustworthiness of the network transmission path, ensures that services with high security needs are transmitted on secure and trustworthy paths, and improves the security and trustworthiness of network equipment.
Smart Images

Figure CN118944975A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of network security technology, and in particular to a path determination method and device. Background Art
[0002] As services gradually develop towards cloud, Internet of Things, and wireless, network boundaries are also extended, which also brings about the diversification of user access methods, device types, and service types. In this context, higher requirements are placed on the security and reliability of the network.
[0003] The trustworthiness of network devices is an important foundation for ensuring network security and trustworthiness, and is also a key factor in ensuring the secure transmission of business requests. Therefore, when network devices have security risks or are attacked maliciously, the security and trustworthiness of the network transmission path cannot be guaranteed, and thus the secure transmission of services with higher security requirements cannot be guaranteed. Summary of the invention
[0004] The present application provides a path determination method and device, which can accurately verify the legitimacy and security of network devices accessing the network, and use the security and legitimacy of the network devices as evaluation factors for selecting transmission paths, thereby ensuring the security and reliability of the network transmission path, and further ensuring the secure transmission of high-security demand services.
[0005] In order to achieve the above purpose, this application adopts the following technical solutions:
[0006] In a first aspect, the present application provides a path determination method, which may be executed by a controller, and includes:
[0007] Obtain the credibility of each network node. The credibility of each network node is used to characterize the accuracy of the node information of the network node.
[0008] Based on the credibility of each network node, at least one transmission path is determined for the target service. Each transmission path is used to transmit the target service.
[0009] At least one transmission path is sent to each network node.
[0010] Based on the above technical solution, the controller can determine at least one transmission path that matches the business requirements of the target business based on the credibility of each network node. In this way, by using the credibility of the network node as an evaluation factor for determining the transmission path, the security and credibility of the network transmission path can be guaranteed, thereby ensuring that the target business is securely transmitted along a secure and reliable transmission path.
[0011] Optionally, determining at least one transmission path for the target service based on the credibility of each network node may include: determining a security level of the target service, and determining at least one transmission path for the target service based on the credibility of each network node and the security level of the target service.
[0012] The security level of the target service is used to characterize the importance of the target service.
[0013] Optionally, determining at least one transmission path for the target service based on the credibility of each network node may also include: obtaining the network status of each network node, and determining at least one transmission path for the target service based on the credibility of each network node and the network status of each network node.
[0014] Optionally, the above method may further include: for each network node, acquiring the accuracy of the node information of the network node, and determining the credibility of the network node based on the accuracy of the node information of the network node.
[0015] In a second aspect, the present application provides a path determination method, which can be executed by a server, and the method includes:
[0016] Get the node information of each network node.
[0017] For each network node, the node information of the network node is verified to obtain the accuracy of the node information of the network node.
[0018] Send the accuracy of each network node.
[0019] Based on the above technical solution, for each network node, the server can verify the node information of each network node to obtain the accuracy of the node information of each network node. In this way, it can effectively verify whether each network node is in a safe and reliable state, so that the controller can include safe and reliable network nodes in the transmission path.
[0020] Optionally, the node information of each network node includes a node identifier of the network node and configuration information of the network node. On this basis, verifying the node information of the network node to obtain the accuracy of the node information of the network node may include:
[0021] When the node identification of the network node is verified, the configuration information of the network node is verified to obtain the accuracy of the node information of the network node.
[0022] Optionally, the above method may further include: when the node identification verification of the network node fails, setting the accuracy of the node information of the network node to a preset value, and sending a response message to the network node.
[0023] The response message is used to indicate that the node identification verification of the network node fails.
[0024] Optionally, the above method may also include: receiving an identification acquisition request sent by a network node, then calling a distributed identity identification (decentralized identifier, DID) interface to assign a node identification to the network node, and finally correspondingly storing the node identification and the network node, and sending the node identification to the network node.
[0025] In a third aspect, the present application provides a path determination device, which is located in a controller and includes:
[0026] The processing unit is used to obtain the credibility of each network node. The credibility of each network node is used to characterize the accuracy of the node information of the network node.
[0027] The determination unit is used to determine at least one transmission path for the target service based on the credibility of each network node. Each transmission path is used to transmit the target service.
[0028] The sending unit is used to send at least one transmission path to each network node.
[0029] Optionally, the determination unit is further configured to determine a security level of the target service, and determine at least one transmission path for the target service based on the credibility of each network node and the security level of the target service. The security level of the target service is used to characterize the importance of the target service.
[0030] Optionally, the processing unit is further configured to obtain the network status of each network node.
[0031] Optionally, the determination unit is further configured to determine at least one transmission path for the target service based on the credibility of each network node and the network status of each network node.
[0032] Optionally, the determination unit is further configured to, for each network node, obtain the accuracy of the node information of the network node, and determine the credibility of the network node based on the accuracy of the node information of the network node.
[0033] In a fourth aspect, the present application provides a path determination device, which is located on a server and includes:
[0034] The processing unit is used to obtain node information of each network node.
[0035] The verification unit is used to verify the node information of each network node to obtain the accuracy of the node information of the network node.
[0036] The sending unit is used to send the accuracy of each network node.
[0037] Optionally, the verification unit is further configured to verify the configuration information of the network node when the node identification of the network node is verified to obtain the accuracy of the node information of the network node.
[0038] Optionally, the processing unit is further configured to, when the node identification verification of the network node fails, set the accuracy of the node information of the network node to a preset value.
[0039] Optionally, the sending unit is further configured to send a response message to the network node when the node identification verification of the network node fails.
[0040] Optionally, the processing unit is further used to call the DID interface to assign node identifiers to network nodes, and to store node representations and network nodes accordingly.
[0041] Optionally, the sending unit is further configured to send a node identifier to the network node.
[0042] In a fifth aspect, the present application provides a path determination device, the device comprising: a processor and a communication interface. The communication interface is coupled to the processor, and the processor is used to run a computer program or instruction to implement the path determination method described in any one of the first aspect and any possible implementation of the first aspect, or the path determination method described in any one of the second aspect and any possible implementation of the second aspect.
[0043] In a sixth aspect, the present application provides a computer-readable storage medium, which stores instructions. When the instructions are executed on a terminal, the terminal executes a path determination method as described in the first aspect and any possible implementation of the first aspect, or a path determination method as described in the second aspect and any possible implementation of the second aspect.
[0044] In the seventh aspect, the present application provides a computer program product, which includes computer instructions. When the computer instructions are run on a computer, the computer executes the path determination method as described in the first aspect and any possible implementation of the first aspect, or the path determination method as described in the second aspect and any possible implementation of the second aspect.
[0045] It can be understood that the beneficial effects that can be achieved by the third to seventh aspects provided above can refer to the beneficial effects of any possible design method of the path determination method described in the first aspect and any possible implementation method of the first aspect, or the beneficial effects of any possible design method of the path determination method described in the second aspect and any possible implementation method of the second aspect, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] Figure 1 An architecture diagram of a path determination system provided in an embodiment of the present application;
[0047] Figure 2 A schematic diagram of a flow chart of a path determination method provided in an embodiment of the present application;
[0048] Figure 3 An interactive flow chart of a path determination method provided in an embodiment of the present application;
[0049] Figure 4 An interactive flow chart of another path determination method provided in an embodiment of the present application;
[0050] Figure 5 A schematic diagram of the structure of a path determination device provided in an embodiment of the present application;
[0051] Figure 6 A schematic diagram of the structure of another path determination device provided in an embodiment of the present application;
[0052] Figure 7 A schematic diagram of the structure of another path determination device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0053] A path determination method and device provided in an embodiment of the present application are described in detail below with reference to the accompanying drawings.
[0054] The term "and / or" in this article is merely a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone.
[0055] The terms "first" and "second" and the like in the specification and drawings of this application are used to distinguish different objects, or to distinguish different processing of the same object, rather than to describe a specific order of objects.
[0056] In addition, the terms "including" and "having" and any variations thereof mentioned in the description of the present application are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but may optionally include other steps or units that are not listed, or may optionally include other steps or units that are inherent to these processes, methods, products or devices.
[0057] It should be noted that, in the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.
[0058] With the rapid development of information technology, services are gradually moving towards cloud, Internet of Things, and wireless. This trend not only promotes the extension of network boundaries, but also gives rise to diversified application scenarios such as smart cities, telemedicine, and autonomous driving, bringing about diversified user access methods, device types, service types, and connection methods, while also placing higher requirements on network security and reliability. In this context, the security and reliability of network devices have become key factors in ensuring the transmission of business requests.
[0059] At present, traditional network security protection mainly relies on the strategy of "border defense + data encryption", that is, by deploying security devices such as firewalls and intrusion detection systems at the network border and encrypting the transmitted data to resist external threats. However, in the face of complex and changing network environments, traditional network security strategies are difficult to meet the security transmission requirements of business requests for services with high security requirements. At the same time, during the transmission of business requests, if network devices (such as routers) have security risks or are maliciously attacked, the data of the business requests may be leaked, damaged or stolen, and the secure transmission of business requests cannot be guaranteed.
[0060] In order to solve the above technical problems, an embodiment of the present application provides a path determination method, and the server can verify the node information of each network node obtained to obtain the accuracy of the node information of each network node, so as to effectively verify whether the network node is in a safe and reliable state. Among them, the higher the accuracy of the node information of the network node, the higher the credibility of the network node. The controller can determine at least one transmission path that matches the business needs of the target business for the target business based on the credibility of each network node. By using the credibility of the network node as an evaluation factor for determining the transmission path, the security and credibility of the network transmission path can be guaranteed, thereby ensuring that the target business is securely transmitted along a safe and reliable transmission path.
[0061] Figure 1 An architecture diagram of a path determination system provided in an embodiment of the present application, such as Figure 1 As shown, the system architecture includes: a network node 101 , a server 102 and a controller 103 .
[0062] In the embodiment of the present application, the network node 101 may be a gateway device that connects different networks and provides network communication and data transmission services for different networks. The network node 101 may include but is not limited to: a router, a switch, and a virtual private network (VPN) device.
[0063] The embodiment of the present application does not specifically limit the number of network nodes 101 in the path determination system, and may include: Figure 1 More or fewer network nodes 101 .
[0064] The server 102 and the controller 103 may be high-performance servers that provide various services online, may be independent physical servers, may be server clusters composed of multiple physical servers, or may be at least one of cloud servers that provide basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content distribution networks, and big data or artificial intelligence platforms, etc. The embodiments of the present application do not limit this. Of course, the server can also include other functions to provide more comprehensive and diverse services.
[0065] In the embodiment of the present application, each network node 101 may send node information to the server 102. After receiving the node information sent by each network node 101, the server 102 may verify the node information of the network node 101 for each network node 101, obtain the accuracy of the node information of the network node 101, and send the accuracy of the node information of the network node 101 to the network node 101. After receiving the accuracy of its own node information, each network node 101 may send the accuracy of its own node information to the controller 103. After receiving the accuracy of the node information of each network node 101, the controller 103 may determine the credibility of each network node 101 based on the accuracy of the node information of each network node 101. Afterwards, the controller 103 may determine at least one transmission path for the target service based on the credibility of each network node 103, and send at least one transmission path to each network node 101.
[0066] Optionally, the network node 101 may also send an identification acquisition request to the server 102. After receiving the identification acquisition request of the network node, the server 102 may allocate a node identification to the network node and send the node identification to the network node 101.
[0067] A blockchain-based trusted network verification (B-TNV) client may be installed in the network node 101. A DID system and an information verification system may be deployed in the server 102. The DID system is used to assign a node identifier to the network node 101, and the information verification system is used to verify the node information of the network node 101.
[0068] Optionally, the network node 101 may send an identification acquisition request to the server 102 through the B-TNV client installed by itself. After receiving the identification acquisition request from the network node 101, the server may allocate a node identification to the network node 101 by calling the DID interface.
[0069] Optionally, the network node 101 may send node information to the server 102 through the B-TNV client installed by itself. After receiving the node information sent by the network node 101, the server 102 may call the information verification interface to verify the node information of the network node 101, obtain the accuracy of the node information of the network node 101, and send the accuracy of the node information of the network node 101 to the network node 101.
[0070] The embodiment of the present application does not specifically limit the number of servers 102 in the path determination system, and may include: Figure 1 More or fewer servers 102 .
[0071] Optionally, the server 102 may also send the accuracy of the node information of each network node 101 to the trusted device 104. After receiving the accuracy of the node information of the network node 101, the trusted device 104 may determine the credibility of each network node 101 based on the accuracy of the node information of each network node 101, and send the credibility of each network node 101 to the controller 103.
[0072] Therefore, the above path determination system may also include a trusted device 104 .
[0073] In the embodiment of the present application, the trusted device 104 may be a server of the same type as the above-mentioned server 102 and controller 103, and this is not limited.
[0074] Optionally, the path determination system may further include a service demand end 105, which is used to send the target service to the network node 101. After receiving the target service, the network node 101 may send the target service to the controller 103. Accordingly, after receiving the target service, the controller 103 may determine at least one transmission path for the target service based on the credibility of each network node 101, and send at least one transmission path to the network node 101. Afterwards, the network node 101 may determine an optimal path that satisfies the target service based on the transmission path sent by the controller 103, and transmit the target service according to the optimal path.
[0075] In the embodiment of the present application, the business demand end 105 may be a server or a terminal device.
[0076] The server may be a server of the same type as the server 102 and the controller 103 , and there is no limitation on this.
[0077] The terminal device may be an electronic device that provides voice and / or data connectivity to a user, a device with wireless connection function, or other devices connected to a wireless modem. The terminal device may be at least one of a desktop computer, a laptop, a wireless terminal, and a laptop portable computer. In one embodiment, the electronic device has a communication function and can access a wired network or a wireless network.
[0078] Figure 2 A schematic diagram of a flow chart of a path determination method provided in an embodiment of the present application, the method comprises Figure 1 The controller shown executes, such as Figure 2 As shown, the method includes:
[0079] S201, obtaining the credibility of each network node.
[0080] The credibility of each network node is used to characterize the accuracy of the node information of the network node. The credibility of the network node is positively correlated with the accuracy of the node information of the network node, that is, the higher the accuracy of the node information of the network node, the higher the credibility of the network node.
[0081] In some embodiments, the controller may obtain the credibility of each network node through a trusted device, or may also obtain the credibility of each network node through each network node.
[0082] Exemplarily, the trusted device may send the trustworthiness of each network node to the controller, and accordingly, the controller may receive the trustworthiness of each network node sent by the trusted device. Alternatively, each network node may send the accuracy of its own node information to the controller, and accordingly, the controller may receive the accuracy of the node information of each network node, and determine the trustworthiness of each network node based on the accuracy of the node information of each network node.
[0083] S202: Determine at least one transmission path for the target service based on the credibility of each network node.
[0084] Each transmission path is used to transmit a target service.
[0085] In some embodiments, the controller may determine a security level of the target service, and then determine at least one transmission path for the target service based on the trustworthiness of each network node and the security level of the target service.
[0086] In the embodiment of the present application, the representation method of the security level of the target service and the credibility of the network node is not limited. For example, the security level of the target service can be level 1, level 2, or level 3, or level A, level B, or level C, and the credibility of the network node can be represented by a value between 0 and 1.
[0087] Exemplarily, after receiving the target service, the network node sends the target service to the controller. Accordingly, after receiving the target service, the controller determines the security level of the target service. Afterwards, the controller can determine at least one transmission path that matches the security level of the target service based on the security level of the target service and the credibility of the network node, and the credibility of the network node passed in each transmission path matches the security level of the target service. For example, if the security level of the target service is level 3, the controller can select a network node whose credibility is equal to or greater than 0.3 to transmit the target service.
[0088] In other embodiments, the controller may obtain the network status of each network node, and then determine at least one transmission path for the target service based on the credibility of each network node and the network status of each network node.
[0089] Exemplarily, after receiving the target service, the network node can send the target service and its own network status to the controller. Among them, the network status of the network node can be network latency, uplink and downlink bandwidth and packet loss rate between network nodes, etc. After receiving the target service and the network status of the network node, the controller can select a network node with high network node credibility and / or good network status to transmit the target service. For example, the credibility of network node A is 0.3, the latency is 100 milliseconds, the bandwidth is 100 megabits per second (Mega), and the packet loss rate is 1%. The credibility of network node B is 0.2, the latency is 200 milliseconds, the bandwidth is 50M per second, and the packet loss rate is 5%. The controller can select network node A to transmit the target service.
[0090] On the basis of determining the security level of the target service and obtaining the network status of the network node, the controller can also determine at least one transmission path for the target service based on the credibility of the network node, the network status and the security level of the target service. For example, the security level of the target service is level 2, the credibility of network node A is 3, the delay is 100 milliseconds, the bandwidth is 100M per second, and the packet loss rate is 1%, the credibility of network node B is 2, the delay is 200 milliseconds, the bandwidth is 50M per second, and the packet loss rate is 5%, and the credibility of network node C is 1, the delay is 200 milliseconds, the bandwidth is 50M per second, and the packet loss rate is 5%. The controller can select network node A and / or network node B to transmit the target service.
[0091] S203: Send at least one transmission path to each network node.
[0092] In some embodiments, the controller may send at least one transmission path to each network node. Accordingly, each network node may select an optimal transmission path for the target service based on the received transmission path, and then transmit the target service according to the optimal transmission path.
[0093] Based on the above technical solution, the controller can obtain the credibility of each network node, the network status of each network node, and determine the security level of the target service. Then, based on the credibility of the network node, the security level of the target service and / or the network status of the network node, the network node whose credibility matches the security level of the target service and / or the network node whose credibility is high and whose network status is good can be selected to transmit the target service. In summary, the transmission path determined by the controller for the target service based on the credibility of the network node can ensure the security and credibility of the transmission path, thereby ensuring the secure transmission of the target service with high security requirements.
[0094] In an optional implementation, in the above S201, the controller may obtain the credibility of each network node through a trusted device, or may obtain the credibility of each network node through each network node. The following takes the controller obtaining the credibility of each network node through a trusted device, or the controller obtaining the credibility of each network node through each network node as an example. Figure 2 The method shown is described in detail.
[0095] Figure 3 An interactive flow chart of a path determination method provided in an embodiment of the present application, the method comprises Figure 3 The network nodes, servers, controllers and / or trusted devices shown perform, as Figure 3 As shown, the method includes:
[0096] S301, each network node sends node information to a server.
[0097] The node information of the network node includes the node identification of the network node and the configuration information of the network node. The configuration information of the network node may include software configuration information such as the operating system, network protocol, security software, and hardware configuration information such as the processor, memory, interface, and cable of the network node.
[0098] Exemplarily, each network node may send node information to the server via a B-TNV client installed on itself.
[0099] S302, the server verifies the node information of each network node to obtain the accuracy of the node information of each network node.
[0100] In some embodiments, after receiving the node information of each network node, the server may first call the information verification interface for each network node to verify the node identification of the network node. If the node identification of the network node is verified, the server continues to call the information verification interface to verify the configuration information of the network node, obtain the accuracy of the node information of the network node, and store the node information of the network node and the accuracy of the node information of the network node in the server database.
[0101] When the node identification verification of the network node fails, the server sets the accuracy of the node information of the network node to a preset value, stores the network node and the node identification of the network node in a database, and then sends a response message to the network node indicating that the node identification verification of the network node fails.
[0102] The embodiment of the present application does not limit the preset value. For example, the preset value may be 0, -1, or -2.
[0103] Exemplarily, when the node identification verification of the network node fails, the server may set the accuracy of the node information of the network node to 0, to indicate that the network node has low credibility and is not suitable for transmitting the target service.
[0104] S303, the server sends the accuracy of node information of each network node to the trusted device.
[0105] Optionally, the server may also send node information of each network node to the trusted device.
[0106] In some embodiments, the above S302 may be implemented as follows: the server sends the accuracy of the node information of the network node to each network node respectively.
[0107] S304: The trusted device determines the credibility of each network node based on the accuracy of the node information of each network node.
[0108] The higher the accuracy of the node information of the network node, the higher the trustworthiness of the network node can be determined by the trusted device.
[0109] S305: The trusted device sends the trustworthiness of each network node to the controller.
[0110] In some embodiments, the above S304-S305 can be implemented as follows: each network node sends the accuracy of its own node information to the controller. Accordingly, after receiving the accuracy of the node information sent by each network node, the controller can determine the credibility of each network node based on the accuracy of the node information of each network node.
[0111] S306: The controller determines at least one transmission path for the target service based on the credibility of each network node.
[0112] S307: The controller sends at least one transmission path to each network node.
[0113] In an optional implementation, before executing the above S301, the network node may send an identification acquisition request to the server. Correspondingly, after the server receives the identification acquisition request sent by the network node, it may call the DID interface to assign a node identification to the network node, and store the network node and the node identification in the server's database, and then send the assigned node identification to the network node.
[0114] Based on the above technical solution, the server can assign node identifiers to network nodes, and can verify the node identifiers and configuration information of network nodes to obtain the accuracy of node information of network nodes. Therefore, by verifying the legitimacy of the identity (i.e., node identifiers) and security (i.e., configuration information) of network nodes through the server, the controller can select a legitimate and secure network node to transmit the target service, thereby ensuring the secure transmission of services with high security requirements.
[0115] The following will combine the above-mentioned various implementation methods to introduce the path determination method provided by the present application in detail. Figure 4 An interactive flow chart of another path determination method provided in an embodiment of the present application, such as Figure 4 As shown, the method includes:
[0116] S401, a network node sends an identification acquisition request to a server through an installed B-TNV client.
[0117] S402: The server calls the DID interface to allocate a node identifier for the network node, and stores the network node and the node identifier of the network node.
[0118] S403: The server sends a node identifier to the network node.
[0119] S404, the network node sends node information to the server through the installed B-TNV client.
[0120] S405, the server calls the information verification interface to verify whether the node identifier of the network node is valid.
[0121] If the verification passes, execute S406-S407; if the verification fails, execute S408-S418.
[0122] S406, the server sets the accuracy of the node information of the network node to a preset value.
[0123] S407, the server sends a response message to the network node.
[0124] S408, the server calls the information verification interface to verify the configuration information of the network node, and obtains the accuracy of the node information of the network node.
[0125] S409, the server sends the accuracy of the node information to the network node.
[0126] S410, the server sends node information of the network node and the accuracy of the node information of the network node to the trusted device.
[0127] S411, the trusted device determines the credibility of the network node based on the accuracy of the received node information of the network node.
[0128] S412, the trusted device sends the trustworthiness of the network node and the node information of the network node to the controller.
[0129] S413, the service demand end sends the target service to the network node.
[0130] S414, the network node sends the target service to the controller.
[0131] S415, the controller determines the security level of the target service and the network status of the network node.
[0132] S416: The controller determines at least one transmission path for the target service based on the credibility of the network node, the security level of the target service, and the network status of the network node.
[0133] S417: The controller sends at least one transmission path to the network node.
[0134] S418, the network node selects an optimal transmission path for the target service based on the security level of the target service.
[0135] Figure 5 A schematic diagram of the structure of a path determination device provided in an embodiment of the present application, the device is located in a controller, such as Figure 5 As shown, the device comprises:
[0136] The processing unit 501 is used to obtain the credibility of each network node. The credibility of each network node is used to characterize the accuracy of the node information of the network node.
[0137] The determining unit 502 is configured to determine at least one transmission path for the target service based on the credibility of each network node. Each transmission path is used to transmit the target service.
[0138] The sending unit 503 is configured to send at least one transmission path to each network node.
[0139] Optionally, the determination unit 502 is further configured to determine a security level of the target service, and determine at least one transmission path for the target service based on the credibility of each network node and the security level of the target service. The security level of the target service is used to characterize the importance of the target service.
[0140] Optionally, the processing unit 501 is further configured to obtain a network status of each network node.
[0141] Optionally, the determining unit 502 is further configured to determine at least one transmission path for the target service based on the credibility of each network node and the network status of each network node.
[0142] Optionally, the determining unit 502 is further configured to, for each network node, obtain the accuracy of the node information of the network node, and determine the credibility of the network node based on the accuracy of the node information of the network node.
[0143] Figure 6 A schematic diagram of a path determination device provided in an embodiment of the present application, the device is located on a server, such as Figure 6 As shown, the device comprises:
[0144] The processing unit 601 is used to obtain node information of each network node.
[0145] The verification unit 602 is used to verify the node information of each network node to obtain the accuracy of the node information of the network node.
[0146] The sending unit 603 is used to send the accuracy of each network node.
[0147] Optionally, the verification unit 602 is further configured to verify the configuration information of the network node when the node identification of the network node is verified to obtain the accuracy of the node information of the network node.
[0148] Optionally, the processing unit 601 is further configured to, when the node identification verification of the network node fails, set the accuracy of the node information of the network node to a preset value.
[0149] Optionally, the sending unit 603 is further configured to send a response message to the network node when the node identification verification of the network node fails.
[0150] Optionally, the processing unit 601 is further configured to call a DID interface to allocate a node identifier to a network node, and to store the node representation and the network node accordingly.
[0151] Optionally, the sending unit 603 is further configured to send a node identifier to a network node.
[0152] Figure 7 Another possible structural diagram of the path determination device involved in the above embodiment is shown. The path determination device includes: a processor 701 and a communication interface 702. The processor 701 is used to control and manage the actions of the path determination device, and the communication interface 702 is used to support the communication between the path determination device and other network entities. The path determination device may also include a memory 703 and a bus 704, and the memory 703 is used to store program codes and data of the path determination device.
[0153] Among them, the memory 703 can be a memory in a path determination device, etc., and the memory can include a volatile memory, such as a random access memory; the memory can also include a non-volatile memory, such as a read-only memory, a flash memory, a hard disk or a solid-state drive; the memory can also include a combination of the above types of memory.
[0154] The processor 701 may be a processor that implements or executes various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of the present application. The processor may be a central processing unit, a general-purpose processor, a digital signal processor, an application-specific integrated circuit, a field programmable gate array, or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It may implement or execute various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of the present application. The processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and the like.
[0155] The bus 704 may be an Extended Industry Standard Architecture (EISA) bus, etc. The bus 704 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 7 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0156] Through the description of the above implementation methods, technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. The specific working process of the system, device and unit described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0157] An embodiment of the present application provides a computer program product including instructions. When the computer program product is run on a computer, the computer is enabled to execute the path determination method in the above method embodiment.
[0158] An embodiment of the present application also provides a computer-readable storage medium, in which instructions are stored. When the instructions are executed on a computer, the computer executes the path determination method in the method flow shown in the above method embodiment.
[0159] Among them, the computer readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer readable storage media (a non-exhaustive list) include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a register, a hard disk, an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above, or any other form of computer readable storage medium known in the art. An exemplary storage medium is coupled to a processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can be located in an application-specific integrated circuit (ASIC). In the embodiments of the present application, a computer-readable storage medium may be any tangible medium that contains or stores a program, which may be used by or in conjunction with an instruction execution system, apparatus, or device.
[0160] An embodiment of the present invention provides a computer program product including instructions, which, when executed on a computer, enables the computer to execute the path determination method described in the embodiment of the present application.
[0161] Since the path determination device, computer-readable storage medium, and computer program product in the embodiments of the present invention can be applied to the above method, the technical effects that can be obtained can also refer to the above method embodiments, and the embodiments of the present invention will not be repeated here.
[0162] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0163] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0164] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0165] The above are only specific implementations of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A path determination method, characterized in that: Applied to a controller, the method comprises: Acquiring the credibility of each network node; the credibility of each network node is used to characterize the accuracy of the node information of the network node; Based on the credibility of each network node, determine at least one transmission path for the target service; each of the transmission paths is used to transmit the target service; The at least one transmission path is sent to each of the network nodes.
2. The method according to claim 1, characterized in that: The determining at least one transmission path for the target service based on the credibility of each network node includes: Determine the security level of the target service; the security level of the target service is used to characterize the importance of the target service; At least one transmission path is determined for the target service based on the credibility of each network node and the security level of the target service.
3. The method according to claim 1, characterized in that The determining at least one transmission path for the target service based on the credibility of each network node includes: Get the network status of each network node; At least one transmission path is determined for the target service based on the credibility of each network node and the network status of each network node.
4. The method according to any one of claims 1 to 3, characterized in that The method further comprises: For each of the network nodes, the accuracy of the node information of the network node is obtained, and based on the accuracy of the node information of the network node, the credibility of the network node is determined.
5. A path determination method, characterized in that: Applied to a server, the server being connected to a network node, the method comprising: Get node information of each network node; For each of the network nodes, verify the node information of the network node to obtain the accuracy of the node information of the network node; The accuracy of each network node is transmitted.
6. The method according to claim 5, characterized in that The node information of each of the network nodes includes a node identifier of the network node and configuration information of the network node; The verifying the node information of the network node to obtain the accuracy of the node information of the network node includes: When the node identification of the network node is verified, the configuration information of the network node is verified to obtain the accuracy of the node information of the network node.
7. The method according to claim 6, characterized in that The method further comprises: In the case that the node identification verification of the network node fails, the accuracy of the node information of the network node is set to a preset value, and a response message is sent to the network node; the response message is used to indicate that the node identification verification of the network node fails.
8. The method according to any one of claims 5 to 7, characterized in that: The method further comprises: Receiving an identification acquisition request sent by the network node; Calling a distributed identity identification DID interface to assign a node identification to the network node; The node identifier and the network node are stored correspondingly, and the node identifier is sent to the network node.
9. A path determination device, characterized in that: The device is located in a controller, and the device includes: A processing unit, used to obtain the credibility of each network node; the credibility of each network node is used to characterize the accuracy of the node information of the network node; A determination unit, configured to determine at least one transmission path for a target service based on the credibility of each network node; each of the transmission paths is used to transmit the target service; A sending unit is used to send the at least one transmission path to each of the network nodes.
10. A path determination device, characterized in that: The device is located on a server and includes: A processing unit, used to obtain node information of each network node; A verification unit, configured to verify the node information of each network node to obtain the accuracy of the node information of the network node; A sending unit is used to send the accuracy of each network node.
11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores instructions. When a computer executes the instructions, the computer executes the path determination method according to any one of claims 1 to 4, or the path determination method according to any one of claims 5 to 8.
12. A computer program product, characterized in that The computer program product comprises computer instructions, and when the computer instructions are executed on a computer, the computer is caused to execute the path determination method according to any one of claims 1 to 4, or the path determination method according to any one of claims 5 to 8.
Citation Information
Patent Citations
Secure routing based on the physical locations of routers
CN105103619A
GPSR secure routing protocol implementation method based on block chain trust model
CN112911549A
Inter-domain routing information credibility verification method based on alliance chain
CN117155626A
Block chain cross-chain system and method based on distributed identity
CN117614640A
Trusted path establishment method and device and storage medium
CN118432934A
Cited By
Trusted path establishment system, method, apparatus and device, and storage medium
CN119583385A
