Communication path determination method and device, equipment and storage medium
By determining the transmission priority and the number of path conflicts for each service request in the communication network, the target communication path is planned and pre-empted, which solves the problems of path congestion and low bandwidth utilization in the existing technology, and improves communication path planning. accuracy and network performance.
Patent Information
- Application Number
- CN202410850974.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-27
- Publication Date
- 2024-09-27
AI Technical Summary
Existing communication path planning methods can easily cause path congestion when accessing high-traffic services, and cannot effectively schedule network traffic, resulting in high latency and low bandwidth utilization.
By acquiring multiple service requests to be scheduled in the communication network, determining the transmission priority and number of path conflicts for each service request according to the preset path planning requirements, scheduling and planning are carried out in sequence, the target communication path is determined, and transmission resources are pre-occupied. , reduce path conflicts.
It improves the accuracy of communication path planning, reduces path conflicts, and improves network delay and bandwidth utilization.
Smart Images

Figure CN118714067A
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication path planning, and in particular to a communication path determination method, device, equipment and storage medium. Background Art
[0002] With the continuous development of technologies such as cloud computing, edge computing and computing power networks, new businesses such as the Internet of Things, Internet of Vehicles, image rendering and AI training have emerged in large numbers. These new businesses will generate massive amounts of data, and the transmission of this data has put forward more stringent requirements on the network. If the traffic scheduling in the network is unreasonable, it will cause problems such as high latency, poor user experience, and low network bandwidth utilization.
[0003] Therefore, in order to solve the above technical problems, the existing technology usually plans a set of multiple shortest paths from the source node to the destination node, and then selects the optimal planned path from the set to reasonably plan the unreasonable traffic scheduling problem in the network. However, in actual applications, traffic services are often not static. The traffic service access volume in different areas is very different. The traffic service access volume in the same area will also change over time. Different traffic services also have different requirements for latency and bandwidth.
[0004] Since the existing path planning is selected from the shortest path set, when a large number of traffic services are accessed, there may be multiple planned paths for traffic services at the same time, with all or part of the same links. As a result, path congestion may still occur during the execution of traffic services. Summary of the invention
[0005] The embodiments of the present application provide a communication path determination method, apparatus, device and storage medium, which improve the accuracy of communication path planning.
[0006] According to a first aspect of the present application, an embodiment of the present application provides a communication path determination method, the method comprising:
[0007] Acquire multiple service requests to be scheduled in the communication network;
[0008] According to the preset path planning requirements, path planning is performed for each service request to be scheduled, and the transmission priority of each service request to be scheduled is obtained;
[0009] Perform scheduling planning on each service request to be scheduled in turn according to the transmission priority of each service request to be scheduled, and obtain a scheduling path for each service request to be scheduled;
[0010] The following operations are performed on each service request to be scheduled in turn according to the transmission priority order: according to the scheduling path of the service request to be scheduled, a target communication path corresponding to the scheduling path in the communication network is determined.
[0011] Optionally, according to preset path planning requirements, path planning is performed for each service request to be scheduled, and a transmission priority of each service request to be scheduled is obtained, including:
[0012] According to the preset path planning requirements, path planning is performed for each service request to be scheduled, and the number of path conflicts of each service request to be scheduled is obtained;
[0013] Determining the descending order of the number of path conflicts of each service request to be scheduled is positively correlated with the descending order of the transmission priority of each service request to be scheduled.
[0014] Optionally, according to preset path planning requirements, path planning is performed for each service request to be scheduled, and the number of path conflicts of each service request to be scheduled is obtained, including:
[0015] According to the preset path planning requirements, path planning is performed for each service request to be scheduled, and a preset planned path in the communication network is determined for each service request to be scheduled;
[0016] Determining, according to a preset planned path of each service request to be scheduled, a request transmission quantity for transmitting the service request to be scheduled on each link in the communication network, wherein the preset planned path includes at least one link;
[0017] The following operations are performed for each service request to be scheduled: determining that the sum of the requested transmission quantity of each link in the preset planned path of the service request to be scheduled is the path conflict quantity of the service request to be scheduled.
[0018] Optionally, after determining that the descending order of the number of path conflicts of each service request to be scheduled is positively correlated with the descending order of the transmission priority of each service request to be scheduled, the method further includes:
[0019] Respectively obtaining the service data volume of each service request to be scheduled and the link transmission bandwidth in the preset planned path of the service request to be scheduled;
[0020] The following operations are performed for each service request to be scheduled: determining a transmission time of the service request to be scheduled according to the service data volume of the service request to be scheduled and the link transmission bandwidth;
[0021] For the to-be-scheduled service requests with the same number of path conflicts, the to-be-scheduled service requests with the same number of path conflicts are sorted in order of their transmission time from short to long to obtain a service request sequence.
[0022] Optionally, after determining a target communication path corresponding to the scheduling path in the communication network according to the scheduling path of the service request to be scheduled, the method further includes:
[0023] Acquire a first service request to be scheduled for which a target communication path fails to be determined among multiple service requests to be scheduled;
[0024] A target communication path of a second service request to be scheduled in the communication network is cancelled, and a transmission priority of the second service request to be scheduled is higher than a transmission priority of the first service request to be scheduled.
[0025] Performing scheduling planning on the first service request to be scheduled and the second service request to be scheduled in sequence, and determining a first scheduling path for the first service request to be scheduled and a second scheduling path for the second service request to be scheduled respectively;
[0026] A first target communication path and a second target communication path in the communication network are determined according to the first scheduling path and the second scheduling path, respectively.
[0027] Optionally, after determining the first target communication path and the second target communication path in the communication network according to the first scheduling path and the second scheduling path respectively, the method further includes:
[0028] In the case where the first service request to be scheduled or the second service request to be scheduled fails to determine the target communication path, determining the estimated remaining transmission time for pre-transmitting the first service request to be scheduled according to the current time and the deadline for completion of the first service request to be scheduled;
[0029] Determining a transmission required bandwidth of the first service request to be scheduled according to an actual service volume and an estimated remaining transmission time of the first service request to be scheduled;
[0030] According to the relationship between the actual bandwidth requirement and the transmission requirement bandwidth of the first service request to be scheduled, a new target communication path is determined from the target links of the communication network, where the target link is a link that has not transmitted the service request to be scheduled.
[0031] Optionally, determining a new target communication path from a target link of the communication network according to a relationship between an actual required bandwidth of the first service request to be scheduled and a transmission required bandwidth includes:
[0032] When the actual required bandwidth is less than the transmission required bandwidth, scheduling planning is performed on the first service request to be scheduled, and a new first target communication path is determined from a target link of the communication network, wherein the bandwidth of the new first target communication path is greater than the actual required bandwidth;
[0033] When the actual required bandwidth is greater than the transmission required bandwidth, scheduling planning is performed on the first service request to be scheduled, and a new second target communication path is determined from the target link of the communication network, and the bandwidth of the new second target communication path is less than the actual required bandwidth.
[0034] Optionally, after scheduling and planning each service request to be scheduled in turn according to the transmission priority of each service request to be scheduled to obtain a scheduling path for each service request to be scheduled, the method further includes:
[0035] Perform scheduling planning for each service request to be scheduled in turn according to the transmission priority of each service request to be scheduled, and determine the scheduling time period for each service request to be scheduled;
[0036] The following operations are performed on each service request to be scheduled in order of transmission priority: according to the scheduling path of the service request to be scheduled, determining a target communication path corresponding to the scheduling path in the communication network includes:
[0037] The following operations are performed on each service request to be scheduled in order of transmission priority: according to the scheduling path and scheduling time period of the service request to be scheduled, a target communication path corresponding to the scheduling path in the communication network during the scheduling time period is determined.
[0038] According to a second aspect of the present application, an embodiment of the present application provides a communication path determination device, the communication path determination device comprising:
[0039] A first acquisition module, used to acquire a plurality of service requests to be scheduled in a communication network;
[0040] The first planning module is used to perform path planning for each service request to be scheduled according to the preset path planning requirements, and obtain the transmission priority of each service request to be scheduled;
[0041] The second planning module is used to perform scheduling planning on each service request to be scheduled in turn according to the transmission priority of each service request to be scheduled, so as to obtain a scheduling path for each service request to be scheduled;
[0042] The first determination module is used to perform the following operations on each service request to be scheduled in order of transmission priority: determining a target communication path corresponding to the scheduling path in the communication network according to the scheduling path of the service request to be scheduled.
[0043] According to a third aspect of the present application, a communication path determination device is provided, the device comprising: a processor and a memory storing computer program instructions;
[0044] When the processor executes the computer program instructions, the communication path determination method according to any one of the first aspects is implemented.
[0045] According to the fourth aspect of the present application, an embodiment of the present application provides a computer storage medium, on which computer program instructions are stored. When the computer program instructions are executed by a processor, the communication path determination method of any one of the first aspects is implemented.
[0046] According to the fifth aspect of the present application, an embodiment of the present application provides a computer program product. When the instructions in the computer program product are executed by a processor of an electronic device, the electronic device executes the communication path determination method of any one of the first aspects.
[0047] The communication path determination method, device, equipment and storage medium of the embodiments of the present application obtain multiple service requests to be scheduled in the communication network, and plan the path for each service request to be scheduled according to the preset path planning requirements, so that the transmission priority of each service to be scheduled can be determined according to the planned path, and then each service to be scheduled is scheduled in turn according to the transmission priority to determine the scheduling path of each service to be scheduled. The target communication path in the communication network can be determined according to the high and low data of the transmission priority to achieve a pre-occupancy of the transmission resources in the communication network. Based on this, by utilizing the transmission priority of each service request to be scheduled, and planning the path for each service request to be scheduled and determining the target communication path in the communication network according to the transmission priority, and determining the target communication path of each service request to be scheduled in the communication network in turn, thereby reducing the possibility of path conflicts between the service requests to be scheduled and improving the accuracy of the communication path planning of the service requests to be scheduled. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] In order to more clearly illustrate the technical solution of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0049] Figure 1 is a flow chart of a method for determining a communication path according to an exemplary embodiment;
[0050] Figure 2 is a structural block diagram of a communication path determination device according to an exemplary embodiment;
[0051] Figure 3 The figure is a structural block diagram of a communication path determination device according to an exemplary embodiment. DETAILED DESCRIPTION
[0052] The features and exemplary embodiments of various aspects of the present application will be described in detail below. In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain the present application, rather than to limit the present application. For those skilled in the art, the present application can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present application by illustrating the examples of the present application.
[0053] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-otherwise inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "include..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0054] As described in the background technology section, since the existing path planning is selected from the shortest path set, when a large number of traffic services are accessed, there may be multiple planned paths for traffic services at the same time, with all or part of the same links. As a result, path congestion may still occur during the execution of traffic services.
[0055] In order to solve the problems of the prior art, the present application determines the transmission priority of each service request to be scheduled, and plans the path for each service request to be scheduled according to the transmission priority, and determines the target communication path in the communication network, and determines the target communication path of each service request to be scheduled in the communication network in turn, thereby reducing the possibility of path conflicts between each service request to be scheduled and improving the accuracy of communication path planning for the service requests to be scheduled.
[0056] Based on this, the present application provides a communication path determination method, apparatus, device and storage medium. The following first introduces the communication path determination method provided in the embodiment of the present application.
[0057] Figure 1 A flow chart of a communication path determination method provided by an embodiment of the present application is shown. Figure 1 As shown, it may include the following steps:
[0058] S101, obtaining a plurality of service requests to be scheduled in a communication network;
[0059] S102, performing path planning for each service request to be scheduled according to a preset path planning requirement, and obtaining a transmission priority of each service request to be scheduled;
[0060] S103, performing scheduling planning for each service request to be scheduled in turn according to the transmission priority of each service request to be scheduled, and obtaining a scheduling path for each service request to be scheduled;
[0061] S104, performing the following operations on each service request to be scheduled in order of transmission priority: determining a target communication path corresponding to the scheduling path in the communication network according to the scheduling path of the service request to be scheduled.
[0062] Based on the above embodiments, the present application obtains multiple service requests to be scheduled in the communication network, and performs path planning for each service request to be scheduled according to the preset path planning requirements, so that the transmission priority of each service to be scheduled can be determined according to the planned path, and then each service to be scheduled is scheduled in turn according to the transmission priority to determine the scheduling path of each service to be scheduled. The target communication path in the communication network can be determined according to the high and low data of the transmission priority to achieve a pre-occupancy of the transmission resources in the communication network. Based on this, by utilizing the transmission priority of each service request to be scheduled, and performing path planning for each service request to be scheduled and determining the target communication path in the communication network according to the transmission priority, and determining the target communication path of each service request to be scheduled in the communication network in turn, thereby reducing the possibility of path conflicts between the service requests to be scheduled and improving the accuracy of the communication path planning of the service requests to be scheduled.
[0063] In the above S101, the service request to be scheduled may be transmitted through various links in the communication network.
[0064] A plurality of to-be-scheduled service requests that need to be transmitted through a communication network are obtained.
[0065] In the above S102, path planning is performed for each service request to be scheduled according to the preset path planning requirement, so as to determine the transmission priority of each service to be scheduled according to the planned planning result.
[0066] As an example, the preset path planning requirements may include: a minimum path hop planning requirement, a maximum path hop planning requirement, a shortest path time planning requirement, etc.
[0067] The minimum number of hops in a path refers to the minimum number of edges (or "hops") that need to be passed from one node (or vertex) to another. In a communication network, this usually means the minimum number of intermediate devices that a data packet or signal needs to pass through from the source to the destination.
[0068] As an example, according to the length of the planned path obtained after path planning, the transmission priority of each service to be scheduled is determined in descending order of the planned paths.
[0069] In order to accurately determine the transmission priority of each service to be scheduled, in one embodiment, S102 may include:
[0070] S1021, performing path planning for each service request to be scheduled according to a preset path planning requirement, and obtaining the number of path conflicts for each service request to be scheduled;
[0071] S1022, determining that the order of the number of path conflicts of each service request to be scheduled from large to small is positively correlated with the order of the transmission priority of each service request to be scheduled from high to low.
[0072] Based on the above embodiment, path planning is performed for each service request to be scheduled according to the preset path planning requirements to obtain the planned path for each service request to be scheduled, thereby determining the transmission priority of each service request to be scheduled according to the order of the number of path conflicts on the preset planned path. Based on this, since the number of path conflicts indicates the degree of congestion of the planned path, the transmission priority of the service request to be scheduled is determined by utilizing the number of path conflicts, thereby improving the accuracy of the transmission priority of each service to be scheduled.
[0073] In the above S1021, in order to save resources of the communication network, after path planning is performed for each service request to be scheduled according to the minimum hop count requirement of the path to obtain a preset planned path, the number of path conflicts that may exist when each service request to be scheduled is transmitted on the preset planned path is counted.
[0074] Specifically, in order to more accurately determine the number of path conflicts, in one embodiment, S1021 may further include:
[0075] S10211, performing path planning for each service request to be scheduled according to preset path planning requirements, and determining a preset planned path in the communication network for each service request to be scheduled;
[0076] S10212, determining the number of request transmissions for transmitting the service request to be scheduled on each link in the communication network according to a preset planned path of each service request to be scheduled, the preset planned path including at least one link;
[0077] S10213, performing the following operations for each service request to be scheduled: determining that the sum of the requested transmission quantity of each link in the preset planned path of the service request to be scheduled is the path conflict quantity of the service request to be scheduled.
[0078] Based on the above embodiment, by performing path planning for each service request to be scheduled, a preset planned path in the communication network is determined, thereby the number of request transmissions required to transmit the service request to be scheduled on each link in the communication network can be determined according to the preset planned path, thereby counting the number of request transmissions on each link that the preset planned path needs to pass through, and the congestion level of the preset planned path can be reflected according to the number of request transmissions, and the sum of the number of request transmissions can be determined as the number of path conflicts for the service request to be scheduled.
[0079] In the above S10211, path planning is performed for each service request to be scheduled according to the minimum hop count requirement of the path, and a preset planned path is obtained in the communication network for each service request to be scheduled that can meet the minimum hop count requirement.
[0080] In the above S10212, since the preset planning path refers to a path that can be transmitted in the communication network, and the connection between nodes in the communication network is carried out through links, the preset planning path is actually composed of at least one link in the communication network. For each preset planning path, there are links contained in it, and the link may not be planned into only one preset planning path, so the link may need to pass through multiple service requests to be scheduled, so each link may pass through multiple service requests to be scheduled, and the number of them is the number of request transmissions of the link transmission service request to be scheduled.
[0081] In the above S10213, each preset planned path includes at least one link, so in fact the number of path conflicts of the preset planned path is the sum of the number of transmission requests of each link.
[0082] In the above S1022, the number of path conflicts is the sum of the business requests to be scheduled that will have path conflicts between the preset planned path of one business request to be scheduled and the preset planned paths of other business requests to be scheduled, which reflects the degree of congestion of the preset planned path. The more serious the congestion, the higher the priority of planning the business request to be scheduled. Therefore, the order of the number of path conflicts of each business request to be scheduled from large to small is positively correlated with the order of the transmission priority of each business request to be scheduled from high to low.
[0083] In order to obtain a more accurate transmission priority, the present application also provides another implementation of the communication path determination method.
[0084] Specifically, after the above S1022, the method may further include the following steps:
[0085] S1023, respectively obtaining the service data volume of each service request to be scheduled and the link transmission bandwidth in the preset planned path of the service request to be scheduled;
[0086] S1024, performing the following operations for each service request to be scheduled: determining a transmission time of the service request to be scheduled according to a service data volume and a link transmission bandwidth of the service request to be scheduled;
[0087] S1025 , for the service requests to be scheduled with the same number of path conflicts, sort the service requests to be scheduled with the same number of path conflicts in descending order of their transmission time to obtain a service request sequence.
[0088] Based on the above embodiment, by obtaining the service data volume of each service request to be scheduled and the link transmission bandwidth in the preset planned path of the service request to be scheduled, the transmission time of each service request to be scheduled is calculated. Thus, the service requests to be scheduled with the same number of conflicts on the same path can be further sorted according to the order of transmission time from small to large, so that the service requests to be scheduled with the same number of conflicts on the middle of the path can also be sorted, and an accurate service request sequence can be obtained.
[0089] In the above S1023, the service data volume of each service request to be scheduled and the link transmission bandwidth that can actually be transmitted by the preset planned path of each service request to be scheduled in the communication network are obtained.
[0090] In the above S1024, the transmission time of each service request to be scheduled is calculated respectively. Specifically, the transmission time is the quotient of the service data volume and the link transmission bandwidth.
[0091] It should be noted that when planning and scheduling paths for services, the service quality requirements of the services must be met. Assuming that the path planned for service Ui is Li, any link Ej,k on the path must satisfy the requirement that the remaining bandwidth Rj,k of the link is greater than the bandwidth requirement Bi of the service, that is:
[0092]
[0093] The data transmission completion time Endi of the scheduled service request is equal to the actual start time Starti plus the sum of the service transmission time Sendi and the link propagation delay on the path Li. The data transmission completion time must not exceed the service deadline completion time Fi, that is:
[0094]
[0095] In the above S1025, for the service requests to be scheduled with the same number of conflicting paths, the service requests to be scheduled with the same number of conflicting paths are further sorted in order of transmission time from short to long, so as to obtain a final service request sequence. Furthermore, the order of each service request to be scheduled in the service request sequence is positively correlated with the order of transmission priority of each service request to be scheduled from high to low.
[0096] In the above S103, according to the transmission priority of each service request to be scheduled, each service request to be scheduled is scheduled in descending order of transmission priority, so as to obtain a scheduling path for each service request to be scheduled. The scheduling paths of the service requests to be scheduled will not conflict with each other.
[0097] As an example, the scheduling path of the scheduled service request from the starting node to the destination node can be planned by Dijkstra algorithm. Specifically, Dijkstra algorithm (also called Dijkstra's algorithm or Dijkstra shortest path algorithm) is a greedy algorithm for solving the single-source shortest path problem in a weighted graph.
[0098] In the above S104, after determining the scheduling path planned for each service request to be scheduled in the communication network, the scheduling path of each service request to be scheduled and the corresponding link in the communication network are determined as the target communication path in order of transmission priority, and a resource pre-occupancy is performed on the target communication path so that the target communication path can only pass the corresponding service request to be scheduled.
[0099] It is important to note that the scheduling path is a planned path, while the target communication path is a path that turns the plan into reality.
[0100] In one embodiment, in order to improve the success rate of scheduling path planning for each service request to be scheduled, the present application also provides another implementation of the communication path determination method.
[0101] Specifically, after the above S104, the method may further include the following steps:
[0102] S201, obtaining a first service request to be scheduled for which a target communication path fails to be determined among multiple service requests to be scheduled;
[0103] S202, canceling a target communication path of a second service request to be scheduled in the communication network, wherein a transmission priority of the second service request to be scheduled is higher than a transmission priority of the first service request to be scheduled.
[0104] S203, performing scheduling planning on the first service request to be scheduled and the second service request to be scheduled in sequence, and determining a first scheduling path for the first service request to be scheduled and a second scheduling path for the second service request to be scheduled respectively;
[0105] S204: Determine a first target communication path and a second target communication path in the communication network according to the first scheduling path and the second scheduling path respectively.
[0106] Based on the above embodiment, after obtaining the first service request to be scheduled whose target communication path fails among multiple service requests to be scheduled, the target communication path of the second service request to be scheduled with a higher transmission priority is revoked, the link in the communication network is freed up, and the first service request to be scheduled and the second service request to be scheduled are re-path-planned in turn, so that new first target communication paths and second target communication paths are found in the communication network for the first service request to be scheduled and the second service request to be scheduled respectively, so that the first service request to be scheduled whose path planning originally failed can also be planned to obtain the first target communication path, thereby improving the path planning success rate of the service requests to be scheduled.
[0107] In the above S201, a first service request to be scheduled that fails to determine a target communication path in the communication network is obtained.
[0108] The failure to determine the target communication path may include: the target communication path is blocked, the link connection of the target communication path is abnormal, the destination node of the first service request to be scheduled refuses to receive, the first service request to be scheduled cannot be transmitted within the specified time, and other factors.
[0109] In the above S202, the target communication path of the second service request to be scheduled with a higher transmission priority than the first service request to be scheduled is canceled, and the link (transmission resource) of the target communication path of the second service request to be scheduled is vacated from the communication network, so that it becomes idle.
[0110] It should be noted that the second service request to be scheduled can still be transmitted within the specified time through other target communication paths.
[0111] In the above S203, path planning is first performed on the first service request to be scheduled in the communication network to obtain a first scheduling path; then path planning is performed on the second service request to be scheduled in the communication network to obtain a second scheduling path, that is, the transmission resources of the first service request to be scheduled that originally failed to be scheduled are preferentially satisfied, and then transmission resources are planned for the second service request to be scheduled.
[0112] In the above S204, a transmission resource is pre-occupied in the communication network for the first target communication path corresponding to the first scheduling path and the second target communication path corresponding to the second scheduling path.
[0113] In the above embodiment, service exchange is implemented between the first service request to be scheduled and the second service request to be scheduled. The service exchange refers to an attempt to cancel a service request to be scheduled with a higher transmission priority and a scheduled path that has been planned, and release the pre-occupied transmission resources of the service request to be scheduled with a higher transmission priority. Then, an attempt is made to first plan a scheduling path and pre-occupy bandwidth resources for the service request to be scheduled with a lower transmission priority that failed to be scheduled, and then re-plan a scheduling path for the service request to be scheduled with a higher transmission priority. The exchange is successful only when both are planned successfully.
[0114] In one embodiment, in order to improve the success rate of scheduling path planning for each service request to be scheduled, the present application also provides another implementation of the communication path determination method.
[0115] Specifically, after the above S204, the method may further include the following steps:
[0116] S301, when the first service request to be scheduled or the second service request to be scheduled fails to determine the target communication path, determine the estimated remaining transmission time for pre-transmitting the first service request to be scheduled according to the current time and the deadline completion time of the first service request to be scheduled;
[0117] S302, determining a transmission required bandwidth of the first service request to be scheduled according to an actual service volume and an estimated remaining transmission time of the first service request to be scheduled;
[0118] S303, determining a new target communication path from the target links of the communication network according to the relationship between the actual required bandwidth of the first service request to be scheduled and the transmission required bandwidth, where the target link is a link that has not transmitted the service request to be scheduled.
[0119] Based on the above embodiment, when there is still a failure to determine the target communication path after the service exchange of the first service request to be scheduled and the second service request to be scheduled, the estimated remaining transmission time remaining if the first service request to be scheduled is transmitted normally is recalculated, and based on the estimated remaining transmission time and the actual service volume, it is determined that the required transmission demand bandwidth if it is transmitted within the estimated remaining transmission time as required, thereby determining a new target communication path suitable for the current first service request to be scheduled from the target link of the communication network based on the relationship between the actual demand bandwidth and the transmission demand bandwidth of the first service request to be scheduled. Based on this, the target link resources in the communication network are fully utilized to plan the path of the first service request to be scheduled, and a target communication path is found that enables the first service request to be scheduled to complete the transmission task within the specified deadline, and the unused transmission resources in the communication network are fully utilized for path planning, thereby improving the success rate of scheduling path planning for the service request to be scheduled.
[0120] In the above S301, when the first service request to be scheduled or the second service request to be scheduled fails to determine the target communication path, it means that the service exchange between the first service request to be scheduled and the second service request to be scheduled is unsuccessful. Therefore, in order to complete the transmission of the first service request to be scheduled within the specified deadline, the difference between the deadline and the current time of the first service request to be scheduled can be determined as the estimated remaining transmission time.
[0121] In the above S302, the quotient of the actual service volume and the estimated remaining time is determined as the transmission required bandwidth of the first service request to be scheduled.
[0122] In the above S303, the actual required bandwidth of the first service request to be scheduled is the rated value of the bandwidth requirement for normal transmission of the first service request to be scheduled, thereby comparing the size relationship between the actual required bandwidth and the transmission required bandwidth, and planning a link from the target link that can complete the first service request to be scheduled within the deadline.
[0123] Since all transmission resources except the target link in the communication network have been pre-occupied by other service requests to be scheduled, in order to avoid conflicts between the first service request to be scheduled and other service requests to be scheduled, a new target communication path can only be re-determined from the target link.
[0124] Specifically, in one embodiment, S303 may include:
[0125] S3031, when the actual required bandwidth is less than the transmission required bandwidth, scheduling planning is performed on the first service request to be scheduled, and a new first target communication path is determined from the target link of the communication network, and the bandwidth of the new first target communication path is greater than the actual required bandwidth.
[0126] S3032, when the actual required bandwidth is greater than the transmission required bandwidth, scheduling planning is performed on the first service request to be scheduled, and a new second target communication path is determined from the target link of the communication network, and the bandwidth of the new second target communication path is less than the actual required bandwidth.
[0127] In the above S3031, when the actual required bandwidth is less than the transmission required bandwidth, it means that if the first scheduling path originally planned for the first request to be scheduled continues to be used for transmission, the first service request to be scheduled cannot be transmitted before the deadline, so the first scheduling path cannot be used, and it is necessary to re-select a new scheduling path with a bandwidth greater than the first scheduling path in the target link so that the first request to be scheduled can be transmitted within the expected remaining time.
[0128] In the above S3032, when the actual required bandwidth is greater than the transmission required bandwidth, it means that if the first scheduling path originally planned for the first request to be scheduled continues to be used for transmission, there will be a waste of transmission resources. Therefore, the first scheduling path cannot be used, and it is necessary to re-select a new scheduling path with a bandwidth smaller than the first scheduling path in the target link, so that the first request to be scheduled can be transmitted within the estimated remaining time while fully utilizing the transmission resources in the communication network.
[0129] It should be noted that the first scheduling path is obtained by performing path planning according to the first service request to be scheduled and the transmission required bandwidth.
[0130] In one embodiment, in order to reasonably plan the scheduling paths of a large number of service requests to be scheduled, the present application also provides another implementation of the communication path determination method.
[0131] Specifically, after the above S103, the method may further include the following steps:
[0132] S401, performing scheduling planning for each service request to be scheduled in turn according to the transmission priority of each service request to be scheduled, and determining a scheduling time period for each service request to be scheduled;
[0133] S104 may also include:
[0134] S402, performing the following operations on each service request to be scheduled in order of transmission priority: determining a target communication path in the communication network corresponding to the scheduling path during the scheduling time period according to the scheduling path and scheduling time period of the service request to be scheduled.
[0135] Based on the above embodiment, by scheduling and planning each service request to be scheduled, the scheduling time period of each service request to be scheduled is further determined, and further in the communication network, according to the scheduling path and scheduling time period of each service request to be scheduled, the target communication path corresponding to the scheduling path within the scheduling time period is pre-occupied, thereby performing reasonable path planning for multiple service requests to be scheduled in terms of time and resources.
[0136] In the above S401, according to the transmission priority of each service request to be scheduled, each service request to be scheduled is scheduled in order from high to low transmission priority, and the scheduling time period of each service request to be scheduled can be planned while obtaining the scheduling path of each service request to be scheduled. There will be no conflict between the scheduling paths and scheduling time periods of each service request to be scheduled. In other words, there will be no conflict in the scheduling paths of each service request to be scheduled within the same scheduling time period.
[0137] In the above S402, based on the scheduling time period and the scheduling path, the links in the communication network are pre-occupied in time and space accordingly, and it is determined that the target communication path of each service request to be scheduled in the communication network is the link corresponding to the scheduling path within the scheduling time period; and the link that does not correspond to the scheduling path within the scheduling time period is not the target communication path of the service request to be scheduled.
[0138] It should be noted that the application scenarios described in the above-mentioned embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided by the embodiments of the present application. Ordinary technicians in this field can know that with the emergence of new application scenarios, the technical solutions provided by the embodiments of the present application are also applicable to similar technical problems; and new embodiments of the present application can be combined with each other, and new solutions formed by the combination of various embodiments are all within the protection scope of the present application.
[0139] Based on the same inventive concept, the present application also provides a communication path determination device 200. Figure 2 Provide detailed explanation.
[0140] A first acquisition module 210, configured to acquire a plurality of service requests to be scheduled in a communication network;
[0141] The first planning module 220 is used to perform path planning for each service request to be scheduled according to the preset path planning requirements, and obtain the transmission priority of each service request to be scheduled;
[0142] The second planning module 230 is used to perform scheduling planning on each service request to be scheduled in turn according to the transmission priority of each service request to be scheduled, so as to obtain a scheduling path for each service request to be scheduled;
[0143] The first determination module 240 is used to perform the following operations on each service request to be scheduled in order of transmission priority: determining a target communication path corresponding to the scheduling path in the communication network according to the scheduling path of the service request to be scheduled.
[0144] In the communication path determination device 200 provided in this embodiment, a plurality of to-be-scheduled service requests in the communication network are acquired through the first acquisition module 210, and the first planning module 220 performs path planning for each to-be-scheduled service request according to the preset path planning requirements, so that the transmission priority of each to-be-scheduled service request can be determined according to the planned path, and the second planning module 230 then performs scheduling planning for each to-be-scheduled service in turn according to the transmission priority, and the first determination module 240 determines the scheduling path of each to-be-scheduled service, thereby determining the target communication path of the scheduling path of each to-be-scheduled service in the communication network according to the high and low data of the transmission priority, so as to realize a pre-occupancy of the transmission resources in the communication network, based on this, by utilizing the transmission priority of each to-be-scheduled service request, and performing path planning for each to-be-scheduled service request according to the transmission priority and determining the target communication path in the communication network, and determining the target communication path of each to-be-scheduled service request in the communication network in turn, thereby reducing the possibility of path conflict between each to-be-scheduled service request and improving the accuracy of the communication path planning of the to-be-scheduled service request.
[0145] Optionally, the first planning module 220 may include:
[0146] A first planning unit is used to perform path planning for each service request to be scheduled according to a preset path planning requirement, and obtain the number of path conflicts for each service request to be scheduled;
[0147] The first determining unit is used to determine that the descending order of the number of path conflicts of each service request to be scheduled is positively correlated with the descending order of the transmission priority of each service request to be scheduled.
[0148] Optionally, the first planning unit may include:
[0149] A first planning subunit is used to perform path planning for each service request to be scheduled according to a preset path planning requirement, and determine a preset planned path in the communication network for each service request to be scheduled;
[0150] A first determining subunit, configured to determine, according to a preset planned path of each service request to be scheduled, a request transmission quantity for transmitting the service request to be scheduled on each link in the communication network, wherein the preset planned path includes at least one link;
[0151] The second determining subunit is used to perform the following operations for each service request to be scheduled: determine that the sum of the requested transmission quantity of each link in the preset planned path of the service request to be scheduled is the path conflict quantity of the service request to be scheduled.
[0152] Optionally, the communication path determination device 200 may further include:
[0153] A second acquisition module is used to respectively acquire the service data volume of each service request to be scheduled and the link transmission bandwidth in the preset planned path of the service request to be scheduled;
[0154] The second determining unit is configured to perform the following operations for each service request to be scheduled: determining a transmission time of the service request to be scheduled according to a service data volume and a link transmission bandwidth of the service request to be scheduled;
[0155] The sorting unit is used to sort the to-be-scheduled service requests with the same number of path conflicts according to the transmission time of the to-be-scheduled service requests from short to long to obtain a service request sequence.
[0156] Optionally, the communication path determination device 200 may further include:
[0157] A third acquisition module is used to acquire a first service request to be scheduled for which a target communication path fails to be determined among multiple service requests to be scheduled;
[0158] The revocation module is used to revoke the target communication path of the second service request to be scheduled in the communication network, and the transmission priority of the second service request to be scheduled is higher than the transmission priority of the first service request to be scheduled.
[0159] A third planning module is used to perform scheduling planning on the first service request to be scheduled and the second service request to be scheduled in sequence, and respectively determine a first scheduling path for the first service request to be scheduled and a second scheduling path for the second service request to be scheduled;
[0160] The third determining module is used to determine a first target communication path and a second target communication path in the communication network according to the first scheduling path and the second scheduling path respectively.
[0161] Optionally, the communication path determination device 200 may further include:
[0162] A fourth determination module is used to determine the estimated remaining transmission time for pre-transmitting the first service request to be scheduled according to the current time and the deadline completion time of the first service request to be scheduled, when the first service request to be scheduled or the second service request to be scheduled fails to determine the target communication path;
[0163] A fifth determination module, configured to determine a transmission required bandwidth of the first service request to be scheduled according to an actual service volume and an estimated remaining transmission time of the first service request to be scheduled;
[0164] The sixth determination module determines a new target communication path from the target links of the communication network according to the relationship between the actual required bandwidth of the first service request to be scheduled and the transmission required bandwidth, where the target link is a link that has not transmitted the service request to be scheduled.
[0165] Optionally, the sixth determining module may include:
[0166] The second planning subunit is used to perform scheduling planning on the first service request to be scheduled when the actual required bandwidth is less than the transmission required bandwidth, and determine a new first target communication path from a target link of the communication network, wherein the bandwidth of the new first target communication path is greater than the actual required bandwidth;
[0167] The third planning subunit is used to perform scheduling planning on the first service request to be scheduled when the actual required bandwidth is greater than the transmission required bandwidth, and determine a new second target communication path from the target link of the communication network, wherein the bandwidth of the new second target communication path is less than the actual required bandwidth.
[0168] Optionally, the communication path determination device 200 may further include:
[0169] The fourth planning module is used to perform scheduling planning for each service request to be scheduled in turn according to the transmission priority of each service request to be scheduled, and determine the scheduling time period of each service request to be scheduled;
[0170] The first determination module 240 may include:
[0171] The third determination unit is used to perform the following operations on each service request to be scheduled in order of transmission priority: according to the scheduling path and scheduling time period of the service request to be scheduled, determine the target communication path in the communication network corresponding to the scheduling path during the scheduling time period.
[0172] The communication path determination device provided in the embodiment of the present application can achieve Figure 1 The various processes implemented by the method embodiment can achieve the same technical effect, and to avoid repetition, they will not be described here.
[0173] Figure 3 A schematic diagram of the hardware structure of a communication path determination device provided by an embodiment of the present invention is shown.
[0174] The communication path determination device may include a processor 301 and a memory 302 storing computer program instructions.
[0175] Specifically, the processor 301 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiment of the present invention.
[0176] The memory 302 may include a large capacity memory for data or instructions. By way of example and not limitation, the memory 302 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. In appropriate cases, the memory 302 may include a removable or non-removable (or fixed) medium. In appropriate cases, the memory 302 may be inside or outside the integrated gateway disaster recovery device. In a specific embodiment, the memory 302 is a non-volatile solid-state memory.
[0177] In certain embodiments, the memory 302 may include a read-only memory (ROM), a random access memory (RAM), a magnetic disk storage media device, an optical storage media device, a flash memory device, an electrical, optical or other physical / tangible memory storage device. Thus, typically, the memory 302 includes one or more tangible (non-transitory) computer-readable storage media (e.g., a memory device) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors 301), it is operable to perform the operations described with reference to the method according to an aspect of the present application.
[0178] The processor 301 implements any one of the communication path determination methods in the above embodiments by reading and executing computer program instructions stored in the memory 302 .
[0179] In one example, the communication path determination device may further include a communication interface 303 and a bus 304. As shown in the figure, the processor 301, the memory 302, and the communication interface 303 are connected via the bus 304 and communicate with each other.
[0180] The communication interface 303 is mainly used to implement the communication between the modules, devices, units and / or equipment in the embodiment of the present invention.
[0181] Bus 304 includes hardware, software or both, and the components of the device are coupled to each other in the communication path determination device. For example, but not limitation, bus 304 may include accelerated graphics port (AGP) or other graphics bus, enhanced industrial standard architecture (EISA) bus, front-side bus (FSB), hypertransport (HT) interconnection, industrial standard architecture (ISA) bus, wireless bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral control interconnect (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations. Where appropriate, bus 304 may include one or more buses 304. Although the present application embodiment describes and shows a specific bus 304, the present application considers any suitable bus 304 or interconnection.
[0182] The communication path determination device can execute the communication path determination method in the embodiment of the present application based on the communication path determination system 100, thereby realizing the combination Figure 2 A communication path determination method is described.
[0183] In addition, in combination with the communication path determination method in the above embodiment, the present application embodiment can provide a computer storage medium for implementation. The computer storage medium stores computer program instructions; when the computer program instructions are executed by a processor, any one of the communication path determination methods in the above embodiment is implemented.
[0184] An embodiment of the present application also provides a computer program product, including a computer program, which implements any one of the communication path determination methods in the above embodiments when the computer program is processed and executed.
[0185] It should be clear that the present application is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present application is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present application.
[0186] The functional blocks shown in the above-described block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present application are programs or code segments that are used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.
[0187] It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, this application is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiment, or in a different order from the embodiment, or several steps can be performed simultaneously.
[0188] Aspects of the present disclosure are described above with reference to the flowcharts and / or block diagrams of the methods, devices (systems) and computer program products according to the embodiments of the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable communication path determination device to produce a machine so that these instructions executed by the processor of the computer or other programmable communication path determination device enable the implementation of the function / action specified in one or more boxes of the flowchart and / or block diagram. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor, or a field programmable logic circuit. It can also be understood that each box in the block diagram and / or flowchart and the combination of boxes in the block diagram and / or flowchart can also be implemented by dedicated hardware that performs a specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions.
[0189] The above is only a specific implementation of the present application. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the protection scope of the present application is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in this application, and these modifications or replacements should be included in the protection scope of this application.
Claims
1. A method for determining a communication path, characterized in that: The method comprises: Acquire multiple service requests to be scheduled in the communication network; According to the preset path planning requirements, path planning is performed for each of the service requests to be scheduled, and a transmission priority of each of the service requests to be scheduled is obtained; Performing scheduling planning on each of the service requests to be scheduled in turn according to the transmission priority of each of the service requests to be scheduled, so as to obtain a scheduling path for each of the service requests to be scheduled; The following operations are performed on each of the service requests to be scheduled in order of the transmission priority: according to the scheduling path of the service request to be scheduled, a target communication path corresponding to the scheduling path in the communication network is determined.
2. The method according to claim 1, characterized in that The performing path planning for each of the service requests to be scheduled according to the preset path planning requirements to obtain the transmission priority of each of the service requests to be scheduled includes: According to the preset path planning requirements, path planning is performed for each of the service requests to be scheduled, and the number of path conflicts of each of the service requests to be scheduled is obtained; Determining the descending order of the number of path conflicts of each of the to-be-scheduled service requests is positively correlated with the descending order of the transmission priority of each of the to-be-scheduled service requests.
3. The method according to claim 2, characterized in that The performing path planning for each of the service requests to be scheduled according to the preset path planning requirements to obtain the number of path conflicts of each of the service requests to be scheduled includes: According to the preset path planning requirements, path planning is performed for each of the service requests to be scheduled, and a preset planned path in the communication network is determined for each of the service requests to be scheduled; Determining, according to the preset planned path of each of the service requests to be scheduled, the number of requests for transmission for each link in the communication network to transmit the service requests to be scheduled, wherein the preset planned path includes at least one link; The following operations are performed for each of the service requests to be scheduled: determining that the sum of the requested transmission quantities of each link in the preset planned path of the service request to be scheduled is the path conflict quantity of the service request to be scheduled.
4. The method according to claim 2, characterized in that After determining that the order of the number of path conflicts of each of the service requests to be scheduled from large to small is positively correlated with the order of the transmission priority of each of the service requests to be scheduled from high to low, the method further includes: Respectively obtaining the service data volume of each of the service requests to be scheduled and the link transmission bandwidth in the preset planned path of the service requests to be scheduled; For each of the service requests to be scheduled, the following operations are performed: determining a transmission time of the service request to be scheduled according to the service data volume of the service request to be scheduled and the link transmission bandwidth; For the service requests to be scheduled with the same number of path conflicts, the service requests to be scheduled with the same number of path conflicts are sorted in order from short to long according to their transmission time to obtain a service request sequence.
5. The method according to claim 1, characterized in that After determining the target communication path corresponding to the scheduling path in the communication network according to the scheduling path of the service request to be scheduled, the method further includes: Acquire a first service request to be scheduled that fails to determine the target communication path among the plurality of service requests to be scheduled; A target communication path of a second service request to be scheduled in the communication network is cancelled, wherein the transmission priority of the second service request to be scheduled is higher than the transmission priority of the first service request to be scheduled. Performing scheduling planning on the first service request to be scheduled and the second service request to be scheduled in sequence, and determining a first scheduling path for the first service request to be scheduled and a second scheduling path for the second service request to be scheduled respectively; A first target communication path and a second target communication path in the communication network are determined according to the first scheduling path and the second scheduling path, respectively.
6. The method according to claim 5, characterized in that After determining a first target communication path and a second target communication path in the communication network according to the first scheduling path and the second scheduling path respectively, the method further includes: In the case where the first service request to be scheduled or the second service request to be scheduled fails to determine the target communication path, determining an estimated remaining transmission time for pre-transmitting the first service request to be scheduled according to the current time and the deadline for completion of the first service request to be scheduled; Determining a transmission required bandwidth of the first service request to be scheduled according to an actual service volume of the first service request to be scheduled and the estimated remaining transmission time; According to the relationship between the actual bandwidth requirement of the first service request to be scheduled and the transmission requirement bandwidth, a new target communication path is determined from the target links of the communication network, where the target link is a link that does not transmit the service request to be scheduled.
7. The method according to claim 6, characterized in that The determining a new target communication path from a target link of the communication network according to the relationship between the actual required bandwidth of the first service request to be scheduled and the required transmission bandwidth includes: In a case where the actual required bandwidth is less than the transmission required bandwidth, scheduling planning is performed on the first service request to be scheduled, and a new first target communication path is determined from a target link of the communication network, wherein the bandwidth of the new first target communication path is greater than the actual required bandwidth; When the actual required bandwidth is greater than the transmission required bandwidth, scheduling planning is performed on the first service request to be scheduled, and a new second target communication path is determined from the target link of the communication network, and the bandwidth of the new second target communication path is less than the actual required bandwidth.
8. The method according to any one of claims 1 to 7, characterized in that After scheduling and planning each of the service requests to be scheduled in sequence according to the transmission priority of each of the service requests to be scheduled to obtain a scheduling path for each of the service requests to be scheduled, the method further includes: Perform scheduling planning on each of the service requests to be scheduled in turn according to the transmission priority of each of the service requests to be scheduled, and determine the scheduling time period of each of the service requests to be scheduled; The step of performing the following operations on each of the service requests to be scheduled in order of the transmission priority: determining a target communication path corresponding to the scheduling path in the communication network according to the scheduling path of the service request to be scheduled, including: According to the order of the transmission priority, the following operations are performed on each of the service requests to be scheduled: according to the scheduling path and the scheduling time period of the service request to be scheduled, the target communication path corresponding to the scheduling path in the communication network during the scheduling time period is determined.
9. A communication path determination device, characterized in that: The device comprises: A first acquisition module, used to acquire a plurality of service requests to be scheduled in a communication network; A first planning module, configured to perform path planning for each of the service requests to be scheduled according to preset path planning requirements, and obtain a transmission priority for each of the service requests to be scheduled; A second planning module is used to perform scheduling planning on each of the service requests to be scheduled in turn according to the transmission priority of each of the service requests to be scheduled, so as to obtain a scheduling path for each of the service requests to be scheduled; The first determination module is used to perform the following operations on each of the service requests to be scheduled in order of the transmission priority: determining a target communication path corresponding to the scheduling path in the communication network according to the scheduling path of the service request to be scheduled.
10. A communication path determination device, characterized in that: The device comprises: a processor and a memory storing computer program instructions; When the processor executes the computer program instructions, the method according to any one of claims 1 to 8 is implemented.
11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer program instructions, and when the computer program instructions are executed by a processor, the method according to any one of claims 1 to 8 is implemented.
12. A computer program product, characterized in that When the instructions in the computer program product are executed by a processor of an electronic device, the electronic device executes the method according to any one of claims 1 to 8.
