Data input calculation method, system and device, electronic equipment and storage medium
By dynamically allocating the entry channel in the optical transmission network through the entry anchor point, the problem of high construction cost of entry network is solved, and efficient resource utilization and cost reduction are achieved.
Patent Information
- Application Number
- CN202510342602.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-21
- Publication Date
- 2025-07-18
AI Technical Summary
In the prior art, the number of computing resource pools is small and concentrated in some developed cities, and the computing customers are widely distributed, resulting in the high cost of building a computing network for the computing business of different computing customers.
Through the channel usage planning of the optical transmission network through the entry anchor point, the entry channel is dynamically allocated, so that the entry service can use existing channels in a time period without conflict, avoiding the reconstruction of the entry network.
This reduces the construction cost of the entry computing network, increases the resource utilization rate of the optical transmission network, and allows entry computing services and dedicated line services to share channels at different time periods.
Smart Images

Figure CN120343090A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer technology, and in particular, to a data calculation method, system, device, electronic device, and storage medium. Background Art
[0002] With the gradual development of the industry, the access requirements of different customers for computing power resource pools are increasing day by day. Different from traditional services, the computing access services of customers are characterized by centralization and indirectness. At present, the number of computing power resource pools is small and concentrated in some developed cities, but the computing access customers are widely distributed. It is necessary to separately build a computing access network for the computing access services of different computing access customers to connect the computing access services of different computing access customers to the corresponding computing power resource pools. This method has a high construction cost for the computing access network. Summary of the Invention
[0003] The purpose of the embodiments of this application is to provide a data calculation method, system, device, electronic device, and storage medium for reducing the construction cost of the computing access network.
[0004] In a first aspect, the embodiments of this application provide a data calculation method, which is applied to a computing access anchor point. The computing access anchor point is used to control the opening or closing of channels in an optical transmission network based on the current channel usage plan of the optical transmission network. The method includes: Receiving the computing access requirement information of the computing access service, where the computing access requirement information includes: destination computing power resource pool information and computing access time period; Based on the computing access requirement information of the computing access service and the current channel usage plan of the optical transmission network, allocating a computing access channel for the computing access service; where the current channel usage plan of the optical transmission network includes: the planned services on each current channel in the optical transmission network, and the usage time period of each planned service. The computing access channel is a channel in the optical transmission network that meets the following conditions: the destination address is the destination computing power resource pool, and the usage time periods of the planned services on the channel do not overlap with the computing access time period; Based on the computing access channel and the computing access time period of the computing access service, updating the current channel usage plan, so that the computing access anchor point controls the computing access channel of the computing access service to be opened during the computing access time period of the computing access service.
[0005] In a second aspect, the embodiments of this application provide a data calculation system, including: a computing access service system, a computing access anchor point, an optical transmission network, and a computing power resource pool; the computing access anchor point is used to control the opening or closing of channels in the optical transmission network based on the current channel usage plan of the optical transmission network, and is used to perform the following processing: Receiving the computing access requirement information of the computing access service, where the computing access requirement information includes: destination computing power resource pool information and computing access time period; Based on the incoming calculation requirement information of the incoming calculation service and the current channel usage plan of the optical transmission network, allocate an incoming calculation channel for the incoming calculation service; wherein, the current channel usage plan of the optical transmission network includes: the planned services on each current channel in the optical transmission network, and the usage time period of each planned service, and the incoming calculation channel is a channel in the optical transmission network that meets the following conditions: the destination address is the destination computing power resource pool, and the usage time periods of the planned services on the channel do not overlap with the incoming calculation time period; Based on the incoming calculation channel and the incoming calculation time period of the incoming calculation service, update the current channel usage plan to control the incoming calculation channel of the incoming calculation service to be opened during the incoming calculation time period of the incoming calculation service.
[0006] In a third aspect, an embodiment of the present application provides a data incoming calculation device, which is applied to an incoming calculation anchor point, and the incoming calculation anchor point is used to control the opening or closing of channels in the optical transmission network based on the current channel usage plan of the optical transmission network. The device includes: A requirement receiving module, configured to receive the incoming calculation requirement information of the incoming calculation service, where the incoming calculation requirement information includes: destination computing power resource pool information and an incoming calculation time period; A channel allocation module, configured to allocate an incoming calculation channel for the incoming calculation service based on the incoming calculation requirement information of the incoming calculation service and the current channel usage plan of the optical transmission network; wherein, the current channel usage plan of the optical transmission network includes: the planned services on each current channel in the optical transmission network, and the usage time period of each planned service, and the incoming calculation channel is a channel in the optical transmission network that meets the following conditions: the destination address is the destination computing power resource pool, and the usage time periods of the planned services on the channel do not overlap with the incoming calculation time period; A plan update module, configured to update the current channel usage plan based on the incoming calculation channel and the incoming calculation time period of the incoming calculation service, so that the incoming calculation anchor point opens the incoming calculation channel of the incoming calculation service during the incoming calculation time period of the incoming calculation service.
[0007] In a fourth aspect, an embodiment of the present application provides an electronic device, which is applied to an incoming calculation anchor point, and the incoming calculation anchor point is used to control the opening or closing of channels in the optical transmission network based on the current channel usage plan of the optical transmission network. The electronic device includes: A memory, on which a computer program is stored; A processor, configured to execute the computer program to implement the above data incoming calculation method.
[0008] Fifth aspect, an embodiment of the present application provides a readable storage medium, which is applied to an incoming calculation anchor point. The incoming calculation anchor point is used to control the opening or closing of channels in an optical transmission network based on the current channel usage plan of the optical transmission network. A computer program is stored on the storage medium, and when the computer program is executed by a processor, the processor implements the above-mentioned data incoming calculation method.
[0009] In an embodiment of the present application, by enabling the incoming calculation anchor point to receive the incoming calculation requirement information of the incoming calculation service, based on the incoming calculation requirement information of the incoming calculation service and the current channel usage plan of the optical transmission network, a destination address is allocated for the incoming calculation service to the destination computing power resource pool of the incoming calculation service, and, for the incoming calculation channel where the usage time period of the planned service on the channel does not overlap with the incoming calculation time period of the incoming calculation service, based on the incoming calculation channel and the incoming calculation time period of the incoming calculation service, the current channel usage plan is updated, so that the incoming calculation anchor point controls the incoming calculation channel of the incoming calculation service to be opened for the incoming calculation service during the incoming calculation time period of the incoming calculation service, which can allow the incoming calculation service to reuse the existing channels in the optical transmission network for incoming calculation, without the need to reconstruct the incoming calculation network, and reduce the construction cost of the incoming calculation network. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only some embodiments recorded in the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0011] Figure 1 Schematic diagram of an application scenario for some embodiments of the present application; Figure 2 Schematic flow chart of the data incoming calculation method for some embodiments of the present application; Figure 3 Schematic flow chart of the channel allocation for some embodiments of the present application; Figure 4 Schematic diagram of the determination of the service to be allocated for some embodiments of the present application; Figure 5 Schematic diagram of the structure of the target Ethernet frame for some embodiments of the present application; Figure 6 Schematic diagram of an application scenario for some other embodiments of the present application; Figure 7 Schematic diagram of the structure of the data incoming calculation system for some embodiments of the present application; Figure 8 Schematic diagram of the modules of the data incoming calculation device for some embodiments of the present application; Figure 9 Schematic diagram of the structure of the electronic device for some embodiments of the present application. Specific implementation manners
[0012] An embodiment of the present application provides a data calculation method, system, device, electronic device, and storage medium.
[0013] In order to enable those skilled in the art to better understand the technical solutions in the present application, the following will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.
[0014] Figure 1 It is a schematic diagram of an application scenario of the data transmission method in some embodiments of the present application. As Figure 1 shown, in this application scenario, it includes: a calculation service system 110, a calculation anchor point 120, an optical transmission network 130, and a computing power resource pool 140.
[0015] Among them, the optical transmission network 130 is an existing network originally built for dedicated line services, and this network is connected to multiple computing power resource pools 140. For each computing power resource pool 140, the optical transmission network 130 has one or more paths leading to this computing power resource pool, and each path has one or more wavelength channels.
[0016] The calculation service system 110 is the business system of calculation customers, and there can be one or more calculation services in a calculation service system.
[0017] The calculation anchor point 120 is connected downward to each calculation service system 110 and upward to the optical transmission network 130. The calculation anchor point 120 is used to open or close the wavelength channels in the optical transmission network 130 for the calculation services of each calculation service system 110 based on the current wavelength channel usage plan of the optical transmission network 130.
[0018] Among them, the current wavelength channel usage plan of the optical transmission network 130 includes: the planned services on each current wavelength channel in the optical transmission network 130, and the usage time periods of each planned service. The planned service can be a calculation service or the original dedicated line service of the optical transmission network. The usage time period of the calculation service is the calculation time period of the calculation service. The usage time period of the dedicated line service is the time period when the dedicated line service needs to use this wavelength channel.
[0019] By setting a calculation anchor point 120 between the calculation service system 110 and the optical transmission network 130, the calculation anchor point 120 opens or closes the channel in the optical transmission network 130 for the calculation service of the calculation service system 110 based on the current channel usage plan of the optical transmission network 130, so that the calculation service system 110 can access the computing resource pool by using the existing optical transmission network 130. This method allows the calculation service and the existing dedicated line service to use the same optical transmission network, without the need to build a separate network for the calculation service, thereby improving the resource utilization rate of the existing optical transmission network and reducing the construction cost of the calculation network.
[0020] Figure 2 It is a flowchart of the data input method of some embodiments of the present application. Figure 2 The method shown can be applied to Figure 1 The calculated anchor point 120 is as shown in FIG. Figure 1 The calculation of anchor point 120 is performed as shown. Figure 2 As shown, in some embodiments of the present application, the data transmission method includes the following processing: S202, receiving settlement demand information of settlement services.
[0021] Among them, the computing business refers to the business that needs to access the computing power resource pool and use the computing power resources of the computing power resource pool to process its business data.
[0022] The calculation demand information includes: target computing resource pool information and calculation time period information. The calculation demand information of a calculation service carries the target computing resource pool information and calculation time period information of the calculation service.
[0023] For example, the calculation demand information of calculation service 1 may include the following information: target computing resource pool: computing resource pool 1, calculation time period: 14:00-18:00 of the next day.
[0024] The calculation demand information of the calculation business can be sent by the calculation business system 110.
[0025] S204: Determine a calculation channel for the service to be calculated based on the calculation demand information of the service to be calculated and the current channel usage plan of the optical transmission network.
[0026] Among them, the current channel usage plan of the optical transmission network is the channel usage plan of the optical transmission network at the current time, which can be dynamically updated. The current channel usage plan of the optical transmission network includes: the usage plan of each current channel in the optical transmission network, and the usage plan of each channel includes: the planned services on the channel, and the usage time period of each planned service. The planned service can be a calculated service or an original dedicated line service. The usage time period of the calculated service is the calculated time period of the calculated service. The usage time period of the dedicated line service is the time period when the dedicated line service needs to use the channel.
[0027] The incoming channel for the incoming service is the channel in the optical transmission network that meets the following conditions: The destination address is the destination computing power resource pool of the incoming service, and the usage time periods of the planned services on the channel do not overlap with the incoming time period of the incoming service.
[0028] Continuing with the above example, assume that in the optical transmission network 130, the channels with the destination address of computing power resource pool 1 are: Channel 1 and Channel 2. The current channel usage plan of the optical transmission network is the current second-day channel usage plan of the optical transmission network, which includes the current second-day usage plan of each channel. The planned service on Channel 1 is Service 2, and the usage time period of Service 2 is: 5:00 - 12:00 on the second day. The planned services on Channel 2 are Service 3 and Service 4. The usage time period of Service 3 is: 0:00 - 6:00 on the second day, and the usage time period of Service 4 is: 12:00 - 20:00 on the second day. The usage time periods of the planned services on Channel 1 do not overlap with the incoming time period of incoming service 1, and Channel 1 can be determined as the incoming channel of incoming service 1.
[0029] S206. Based on the incoming channel and incoming time period of the incoming service, update the current channel usage plan so that the incoming anchor controls the incoming channel of the incoming service to be opened during the incoming time period of the incoming service.
[0030] Among them, the information of the incoming service and the information of the usage time period of the incoming service can be added to the usage plan of the incoming channel of the incoming service to update the current channel usage plan of the optical transmission network.
[0031] The incoming anchor 120 is used to open or close the channels in the optical transmission network 130 for the incoming services of each incoming service system 110 based on the current channel usage plan of the optical transmission network 130. After updating the current channel usage plan based on the incoming channel and incoming time period of the incoming service, the usage plan of the incoming service is added to the current channel usage plan. According to the usage plan of the incoming service, the incoming anchor 120 can open the incoming channel of the incoming service during the usage time period of the incoming service, allowing the service data of the incoming service to be transmitted through the incoming channel of the incoming service to the destination computing resource pool of each incoming service during the incoming time period of the incoming service. The incoming channel of the incoming service is opened for the incoming service during the incoming time period of the incoming service and closed in other time periods. The incoming service can use the incoming channel of the incoming service during the incoming time period of the incoming service and cannot use the incoming channel of the incoming service in other time periods. The incoming service using the incoming channel of the incoming service can transmit the data of the incoming service through the incoming channel of the incoming service to the destination computing power resource pool of the incoming service.
[0032] Continuing with the above example, the incoming calculation anchor 120 can open the incoming calculation channel 1 for the incoming calculation service 1 during the incoming calculation time period of the incoming calculation service 1, that is, from 14:00 to 18:00 on the second day, to allow the incoming calculation service 1 to use the incoming calculation channel 1 from 14:00 to 18:00 on the second day to transmit service data to the destination computing power resource pool 1.
[0033] By enabling the incoming calculation anchor to receive the incoming calculation requirement information of the incoming calculation service, and based on the incoming calculation requirement information of the incoming calculation service and the current channel usage plan of the optical transmission network, allocate an incoming calculation channel with the destination address being the destination computing power resource pool of the incoming calculation service, and moreover, the usage time periods of the planned services on the channel do not overlap with the incoming calculation time period of the incoming calculation service. Then, based on the incoming calculation channel and the incoming calculation time period of the incoming calculation service, update the current channel usage plan so that the incoming calculation anchor controls the incoming calculation channel of the incoming calculation service to be opened for the incoming calculation service during the incoming calculation time period of the incoming calculation service. This can enable the incoming calculation service to reuse the existing channels in the optical transmission network for incoming calculation, without the need to reconstruct the incoming calculation network, reducing the construction cost of the incoming calculation network. This method allows the incoming calculation service and the original dedicated line service in the optical transmission network to use the same channel at different time periods, and can also improve the channel utilization rate of the optical transmission network.
[0034] Figure 3 It is a schematic diagram of the determination process of the incoming calculation channel in some embodiments of the present application. As Figure 3 shown, in some embodiments of the present application, based on the incoming calculation requirement information of the incoming calculation service and the current channel usage plan of the optical transmission network, allocating an incoming calculation channel for the incoming calculation service includes the following processes: S302, based on the destination computing power resource pool of the incoming calculation service, determine the target channel of the incoming calculation service from the channels in the optical transmission network with the destination address being this destination computing power resource pool.
[0035] Continuing with the above example, assume that on the optical transmission network, the channels with the destination address being the computing power resource pool 1 are: channel 1, channel 2, and channel 3. Channel 1, channel 2, and channel 3 can be determined as the target channels of the incoming calculation service 1.
[0036] S304, based on the current channel usage plan, determine the alternative channels of the incoming calculation service from the channels in the target channels of the incoming calculation service where the usage time periods of the planned services on the channel do not overlap with the incoming calculation time period of the incoming calculation service.
[0037] Continuing with the above example, assume that the planned service on target channel 1 is Service 2, and the usage time period of Service 2 is from 5:00 to 12:00 on the next day. The planned services on target channel 2 are Service 3 and Service 4. The usage time period of Service 3 is from 0:00 to 6:00 on the next day, and the usage time period of Service 4 is from 12:00 to 20:00 on the next day. The planned service on target channel 3 is Service 5, and the usage time period of Service 5 is from 20:00 to 24:00.
[0038] Among the above target channels, the usage time period of the planned service on target channel 2 overlaps with the calculation time period of incoming service 1, and the usage time periods of the planned services on target channel 1 and target channel 3 do not overlap with the calculation time period of incoming service 1. Target channel 1 and target channel 3 can be determined as the alternative channels for incoming service 1.
[0039] S306. Select the calculation channel for this incoming service from the alternative channels of this incoming service.
[0040] Among them, there can be N calculation channels for this incoming service, and N is greater than or equal to 1.
[0041] Optionally, N alternative channels can be arbitrarily selected from the alternative channels of the incoming service as the calculation channels for this incoming service.
[0042] Optionally, N alternative channels with the shortest paths can be selected from the alternative channels of the incoming service as the calculation channels for this incoming service.
[0043] Continuing with the above example, assume that there is 1 calculation channel for incoming service 1. If alternative channel 1 of incoming service 1 belongs to path 1 and alternative channel 3 belongs to path 3, and path 1 is shorter than path 3, then alternative channel 1 can be determined as the calculation channel for incoming service 1.
[0044] By selecting N alternative channels with the shortest paths as the calculation channels for the incoming service, the calculation channels for the incoming service can be further optimized.
[0045] In some embodiments, the calculation requirement information of this incoming service further includes: the required bandwidth information of the incoming service; Optionally, N alternative channels with a total bandwidth greater than or equal to the required bandwidth of this incoming service can be selected from the alternative channels of the incoming service as the calculation channels for this incoming service.
[0046] Optionally, sort the alternative channels of this incoming service in ascending order of path length; select the first N alternative channels with a total bandwidth greater than or equal to the required bandwidth of this incoming service from the alternative channels of this incoming service as the calculation channels for this incoming service.
[0047] By sorting the alternative channels of the incoming service in ascending order of path length and selecting the top N alternative channels whose total bandwidth is greater than or equal to the required bandwidth of the incoming service as the incoming channels of the incoming service, the bandwidth requirements of the incoming service can be fully considered, and the incoming channels of the incoming service can be further optimized.
[0048] In the above embodiments, S202 - S206 can be executed in real time when the incoming demand information of each incoming service is received. Thus, incoming channels can be dynamically allocated to each incoming service in sequence according to the reception time of the incoming demand information of each incoming service. In this case, the incoming service that receives the incoming demand information first is allocated an incoming channel first, and the incoming service that receives the incoming demand information later is allocated an incoming channel later.
[0049] In some embodiments, in S102, the incoming demand information of multiple incoming services can be received simultaneously. In S104, incoming channels can be allocated to each incoming service based on the incoming demand information of each incoming service among the multiple incoming services and the current channel usage plan of the optical transmission network; in S106, the current channel usage plan can be updated based on the incoming channel and incoming time period of each incoming service, so that the incoming anchor controls the incoming channel of each incoming service to be opened for each incoming service during the incoming time period of each incoming service, thereby allowing each incoming service to transmit the service data of each incoming service to the destination computing power resource pool of each incoming service through the incoming channel of each incoming service during the incoming time period of each incoming service.
[0050] Among them, in S204, it can be based on Figure 3 the method shown to allocate incoming channels to each incoming service. In S302, based on the destination computing power resource pool of each incoming service, the channels in the optical transmission network whose destination address is the destination computing power resource pool of each incoming service can be determined as the target channels of each incoming service. In S304, the channels whose planned service usage time periods do not overlap with the incoming time periods of each incoming service among the target channels of each incoming service can be determined as the alternative channels of each incoming service. In S306, the incoming channels of each incoming service can be selected from the alternative channels of each incoming service.
[0051] Among them, in S204, when the incoming demand information of multiple incoming services is received and the incoming channels of M incoming services among the multiple incoming services are the same channel, the services to be reallocated can be determined based on the number of overlaps between the incoming time periods of each of the M incoming services and other services, and then, incoming channels can be reallocated for the services to be reallocated.
[0052] Among them, the service to be reallocated may be the service with the most overlapping times with the calculation time periods of other services among the M services to be calculated.
[0053] In one implementation, in S306, if the calculation channels of M services to be calculated are the same channel, based on the calculation time period of each of these M services to be calculated, the service to be calculated with the most overlapping times with the calculation time periods of other services among these M services to be calculated can be determined as the service to be reallocated, and the other services can be determined as non-reallocated services. Execute S206 for the non-reallocated services, and re-execute S302 to S306 for the service to be reallocated to reallocate the calculation channel for the service to be reallocated. Among them, M is greater than or equal to 2.
[0054] For example, as Figure 4 shown, if the calculation requirements of multiple services to be calculated are received simultaneously, among the multiple services to be calculated, the calculation channels of service to be calculated 1, service to be calculated 2, service to be calculated 3, and service to be calculated 4 are the same channel. The calculation time period of service to be calculated 3 overlaps with the calculation time periods of service to be calculated 2 and service to be calculated 4, and the number of overlapping times with the calculation time periods of other services is 2. The calculation time period of service to be calculated 2 overlaps with the calculation time period of service to be calculated 3, and the number of overlapping times with the calculation time periods of other services is 1. The calculation time period of service to be calculated 4 overlaps with the calculation time period of service to be calculated 3, and the number of overlapping times with the calculation time periods of other services is 1. The number of overlapping times of service to be calculated 3 with the calculation time periods of other services is the most. Service to be calculated 2 and service to be calculated 4 can be determined as non-reallocated services, and service to be calculated 3 can be determined as the service to be reallocated. The current channel usage plan can be updated based on the calculation channel and calculation time period of service to be calculated 2 and the calculation channel and calculation time period of service to be calculated 4. Then, based on the updated current channel usage plan, reallocate the calculation channel for service to be calculated 3.
[0055] By determining the service to be calculated with the most overlapping times with the calculation time periods of other services as the service to be reallocated and reallocating the channel for this service when the calculation channels of M services to be calculated are the same channel, the processing volume during reallocation can be reduced, and the calculation channel allocation can be further optimized.
[0056] In the above embodiments, after the incoming calculation anchor point 120 opens the incoming calculation channel for the incoming calculation service during the incoming calculation time period of the incoming calculation service based on the current channel usage plan of the optical transmission network 130, the service system 110 can send the service data of the incoming calculation service to the incoming calculation anchor point 120 during the incoming calculation time period of the incoming calculation service. The incoming calculation anchor point 120 can encapsulate the service data of the incoming calculation service into a target Ethernet frame based on the incoming calculation channel and the incoming calculation time period information of the incoming calculation service, and then forward the target Ethernet frame to the incoming calculation channel of the incoming calculation service, so as to transmit the encapsulated data to the destination computing resource pool of the incoming calculation service through the incoming calculation channel during the incoming calculation time period of the incoming calculation service.
[0057] Among them, the target Ethernet frame carries: incoming calculation channel information and incoming calculation time period information, which are used to control the service data of the incoming calculation service to be transmitted to the destination computing resource pool of the incoming calculation service through the incoming calculation channel of the incoming calculation service during the incoming calculation time period of the incoming calculation service.
[0058] Figure 5 Shows a schematic structural diagram of a target Ethernet frame. As Figure 5 shown, the target Ethernet frame may include: preamble, start frame delimiter, length, incoming calculation service identifier, optical direction control, version number, source address, destination address, time slot ID, channel ID, dynamic wavelength adjustment, path ID, frame check sequence, data payload, and other information.
[0059] Among them, the preamble is used to synchronize the clock frequency. The start frame delimiter is used to determine the start flag of the frame. The length is used to represent the frame length. The service type is the incoming calculation service identifier, which is used to identify the incoming calculation service. The optical direction control is used to represent the transmission direction of the optical signal. The version number is used to represent the version of the Ethernet frame. The source address is the source address of the incoming calculation service, such as the incoming calculation service system address. The destination address is the destination address of the incoming calculation service, such as the destination computing resource pool address of the incoming calculation service. The time slot ID is used to represent the incoming calculation time period of the incoming calculation service. The channel ID is used to represent the incoming calculation channel of the incoming calculation service. The dynamic wavelength adjustment is used to represent the dynamic adjustment of the wavelength with the change of the network. The path ID is used to represent the physical transmission path to which the incoming calculation channel of the incoming calculation service belongs. The frame check sequence is used to check whether the frame is in error. The data payload is used to carry the service data of the incoming calculation service.
[0060] In the above embodiments, the incoming calculation anchor point 120 can specifically control the optical cross-connector to open or close the incoming calculation channel in the optical transmission network. Among them, the optical cross-connector is an access device of the optical transmission network 130, and the incoming calculation anchor point 130 can control the opening or closing of the incoming calculation channel by controlling the optical direction of the optical cross-connector. For example, when the incoming calculation channel is channel 1, the incoming calculation anchor point 120 can control the optical direction of the optical cross-connector to turn to the direction of channel 1, so as to open channel 1.
[0061] In the above embodiments, as Figure 1 shown, a unified calculation access point 120 can be set for multiple service systems. The unified calculation access point 120 is respectively connected downward to multiple service systems 110 and upward to an optical transmission network 130. The calculation access point 120 is a unified calculation access point for multiple service systems 110. It can serve as a unified access point for multiple service systems 110, dynamically allocate calculation channels uniformly for the calculation services of multiple service systems 110, and open or close the corresponding calculation channels for each calculation service based on the calculation time period of each calculation service of each service system 110, so that the service data of each calculation service is transmitted to the destination calculation resource pool of each calculation service through the calculation channel of each calculation service during the calculation time period of each calculation service.
[0062] In other embodiments, as Figure 6 shown, a calculation access point 120 can also be set respectively for each of the multiple service systems 110. The calculation access point 120 of each service system 110 can be connected downward to each service system 110 and upward to the optical transmission network 130. The calculation access points 120 of each service system 110 can share a current channel usage plan of the optical transmission network. The calculation access points 120 of each service system 110 can respectively dynamically allocate calculation channels for the calculation services of the corresponding service systems 110 based on the shared current channel usage plan of the optical transmission network, and open or close the corresponding calculation channels for the calculation services of the corresponding service systems 110 based on the calculation time period of the calculation services of the corresponding service systems 110.
[0063] In the above embodiments, each calculation access point 120 can be deployed in a primary and standby mode. Each calculation access point can include a pair of devices, namely a primary device and a standby device. Thus, each calculation access point can perform primary and standby switching to achieve service protection.
[0064] In the above embodiments, taking the channel usage plan as the channel usage plan for the next day as an example, the data calculation method of the embodiments of the present application is described. The next day is the day after the current time, such as tomorrow. In other embodiments, the channel usage plan can also be the usage plan for other time periods, such as the channel usage plan for two days, the next day and the third day. In implementation, the time period to be planned can be determined according to application requirements.
[0065] The above is the data calculation method provided by the embodiments of the present application. Based on the same idea, the embodiments of the present application also provide a data calculation system. As Figure 7 shown, the data calculation system 100 includes: An incoming computing service system 110, an incoming computing anchor point 120, an optical transmission network 130, and a computing power resource pool 140; the incoming computing anchor point 130 is used to control the opening or closing of channels in the optical transmission network based on the current channel usage plan of the optical transmission network, and is used to perform the following processing: Receive the incoming computing demand information of the incoming computing service, where the incoming computing demand information includes: destination computing power resource pool information and incoming computing time period; Based on the incoming computing demand information of the incoming computing service and the current channel usage plan of the optical transmission network, allocate an incoming computing channel for the incoming computing service; wherein, the current channel usage plan of the optical transmission network includes: the planned services on each current channel in the optical transmission network, and the usage time period of each planned service, and the incoming computing channel is a channel in the optical transmission network that meets the following conditions: the destination address is the destination computing power resource pool, and the usage time periods of the planned services on the channel do not overlap with the incoming computing time period; Based on the incoming computing channel and the incoming computing time period of the incoming computing service, update the current channel usage plan to control the incoming computing channel of the incoming computing service to be opened during the incoming computing time period of the incoming computing service.
[0066] The specific structure of the data incoming computing system 100 is, for example, as Figure 1 or Figure 6 shown. The incoming computing anchor point 120 in the data incoming computing system 100 can perform the processing in the above data incoming computing method. For specific processing, please refer to the foregoing embodiments and will not be elaborated here.
[0067] The above is the data incoming computing method provided by the embodiments of the present application. Based on the same idea, the embodiments of the present application also provide a data incoming computing device. Figure 8 is a module schematic diagram of a data incoming computing device 200 according to some embodiments of the present application. As Figure 8 shown, in some embodiments of the present application, the data incoming computing device 200 includes: A demand receiving module 201, configured to receive the incoming computing demand information of the incoming computing service, where the incoming computing demand information includes: destination computing power resource pool information and incoming computing time period; A channel allocation channel 202, configured to allocate an incoming computing channel for the incoming computing service based on the incoming computing demand information of the incoming computing service and the current channel usage plan of the optical transmission network; wherein, the current channel usage plan of the optical transmission network includes: the planned services on each current channel in the optical transmission network, and the usage time period of each planned service, and the incoming computing channel is a channel in the optical transmission network that meets the following conditions: the destination address is the destination computing power resource pool, and the usage time periods of the planned services on the channel do not overlap with the incoming computing time period; A planning update module 203, configured to update the current channel usage plan based on the incoming channels and incoming time periods of the incoming services, so as to enable the incoming anchor points to open the incoming channels of the incoming services for the incoming services during the incoming time periods of the incoming services.
[0068] In some embodiments of the present application, allocating an incoming channel for the incoming service based on the incoming demand information of the incoming service and the current channel usage plan of the optical transmission network includes: Based on the destination computing power resource pool of the incoming service, determining the channels in the optical transmission network whose destination addresses are the destination computing power resource pool as the target channels of the incoming service; Based on the current channel usage plan, determining the channels in the target channels of the incoming service whose usage time periods of the planned services on the channels do not overlap with the incoming time periods of the incoming service as the alternative channels of the incoming service; Selecting the incoming channel of the incoming service from the alternative channels of the incoming service.
[0069] In some embodiments of the present application, selecting the incoming channel of the incoming service from the alternative channels of the incoming service includes: Selecting the N alternative channels with the shortest paths from the alternative channels of the incoming service as the incoming channels of the incoming service, where N >= 1.
[0070] In some embodiments of the present application, the incoming demand information further includes: demand bandwidth information; selecting the incoming channel of the incoming service from the alternative channels of the incoming service includes: Sorting the alternative channels of the incoming service in ascending order of path length; Selecting the first N alternative channels from the alternative channels of the incoming service whose total bandwidth is greater than or equal to the bandwidth demand of the incoming service as the incoming channels of the incoming service, where N >= 1.
[0071] In some embodiments of the present application, when receiving the incoming demand information of multiple incoming services and the incoming channels of M incoming services among the multiple incoming services are the same channel, the method further includes: Determining the services to be reallocated based on the number of overlaps between each incoming service among the M incoming services and the incoming time periods of other services; Reallocating incoming channels for the services to be reallocated, where M >= 2.
[0072] In some embodiments of the present application, the planned service is an incoming calculation service or a dedicated line service; updating the current channel usage plan based on the incoming calculation channel and the incoming calculation time period of the incoming calculation service includes: Adding the information of the incoming calculation service and the information of the usage time period of the incoming calculation service to the usage plan of the incoming calculation channel of the incoming calculation service to update the current channel usage plan.
[0073] In some embodiments of the present application, the device further includes: A data encapsulation module, configured to, when receiving the service data of the incoming calculation service, based on the incoming calculation channel and the incoming calculation time period of the incoming calculation service, encapsulate the service data into a target Ethernet frame, and forward the target Ethernet frame to the incoming calculation channel of the incoming calculation service; wherein, the target Ethernet frame carries the incoming calculation channel information and the incoming calculation time period information of the incoming calculation service.
[0074] Based on the same idea, an embodiment of the present application further provides an electronic device, which is applied to an incoming calculation anchor point, and the incoming calculation anchor point is used to control the opening or closing of channels in an optical transmission network based on the current channel usage plan of the optical transmission network, as Figure 9 shown.
[0075] This electronic device can be an incoming calculation anchor point device, which may vary greatly due to configuration or performance, and may include one or more processors 301 and a memory 302. One or more computer programs may be stored in the memory 302, and the computer programs can be processed by the processor 301 to implement the following processes: Receiving the incoming calculation requirement information of the incoming calculation service, where the incoming calculation requirement information includes: destination computing power resource pool information and the incoming calculation time period; Based on the incoming calculation requirement information of the incoming calculation service and the current channel usage plan of the optical transmission network, allocating an incoming calculation channel for the incoming calculation service; wherein, the current channel usage plan of the optical transmission network includes: the planned services on each current channel in the optical transmission network, and the usage time periods of each planned service, and the incoming calculation channel is a channel in the optical transmission network that meets the following conditions: the destination address is the destination computing power resource pool, and the usage time periods of the planned services on the channel do not overlap with the incoming calculation time period; Based on the incoming calculation channel and the incoming calculation time period of the incoming calculation service, updating the current channel usage plan so that the incoming calculation anchor point controls the incoming calculation channel of the incoming calculation service to be opened during the incoming calculation time period of the incoming calculation service.
[0076] In some embodiments of the present application, the allocating an incoming calculation channel for the incoming calculation service based on the incoming calculation requirement information of the incoming calculation service and the current channel usage plan of the optical transmission network includes: Based on the purpose computing power resource pool of the incoming calculation service, determine the wavelength channel in the optical transmission network whose destination address is the purpose computing power resource pool as the target wavelength channel of the incoming calculation service; Based on the current wavelength channel usage plan, determine the wavelength channels in the target wavelength channel of the incoming calculation service where the usage time periods of the planned services on the wavelength channels do not overlap with the incoming calculation time period of the incoming calculation service as the alternative wavelength channels of the incoming calculation service; Select the incoming calculation wavelength channel of the incoming calculation service from the alternative wavelength channels of the incoming calculation service.
[0077] In some embodiments of the present application, the step of selecting the incoming calculation wavelength channel of the incoming calculation service from the alternative wavelength channels of the incoming calculation service includes: Select the N alternative wavelength channels with the shortest paths from the alternative wavelength channels of the incoming calculation service as the incoming calculation wavelength channels of the incoming calculation service, where N >= 1.
[0078] In some embodiments of the present application, the incoming calculation requirement information further includes: required bandwidth information; the step of selecting the incoming calculation wavelength channel of the incoming calculation service from the alternative wavelength channels of the incoming calculation service includes: Sort the alternative wavelength channels of the incoming calculation service in ascending order of path length; Select the first N alternative wavelength channels from the alternative wavelength channels of the incoming calculation service whose total bandwidth is greater than or equal to the bandwidth requirement of the incoming calculation service as the incoming calculation wavelength channels of the incoming calculation service, where N >= 1.
[0079] In some embodiments of the present application, when receiving the incoming calculation requirement information of multiple incoming calculation services and the incoming calculation wavelength channels of M incoming calculation services among the multiple incoming calculation services are the same wavelength channel, the method further includes: Based on the number of overlaps between the incoming calculation time periods of each incoming calculation service in the M incoming calculation services and other services, determine the services to be reallocated; Reallocate the incoming calculation wavelength channels for the services to be reallocated, where M >= 2.
[0080] In some embodiments of the present application, the planned service is an incoming calculation service or a dedicated line service; the step of updating the current wavelength channel usage plan based on the incoming calculation wavelength channel and the incoming calculation time period of the incoming calculation service includes: Add the incoming calculation service and the usage time period information of the incoming calculation service to the usage plan of the incoming calculation wavelength channel of the incoming calculation service to update the current wavelength channel usage plan.
[0081] In some embodiments of the present application, the process further includes: In the case of receiving the service data of the incoming calculation service, based on the incoming channel and incoming time period of the incoming calculation service, encapsulate the service data into a target Ethernet frame, and forward the target Ethernet frame to the incoming channel of the incoming calculation service; wherein, the target Ethernet frame carries the incoming channel information and incoming time period information of the incoming calculation service.
[0082] In addition, based on the same inventive concept, one or more embodiments of the present application also provide a storage medium for storing a computer program. In a specific embodiment, the storage medium may be a USB flash drive, an optical disc, a hard disk, etc. When the computer-executable instruction information stored in the storage medium is executed by a processor, the following processes can be implemented: Receive the incoming requirement information of the incoming calculation service, where the incoming requirement information includes: destination computing power resource pool information and incoming time period; Based on the incoming requirement information of the incoming calculation service and the current channel usage plan of the optical transmission network, allocate an incoming channel for the incoming calculation service; wherein, the current channel usage plan of the optical transmission network includes: the planned services on each current channel in the optical transmission network, and the usage time periods of each planned service. The incoming channel is a channel in the optical transmission network that satisfies the following conditions: the destination address is the destination computing power resource pool, and the usage time periods of the planned services on the channel do not overlap with the incoming time period; Based on the incoming channel and incoming time period of the incoming calculation service, update the current channel usage plan so that the incoming anchor controls the incoming channel of the incoming calculation service to be opened during the incoming time period of the incoming calculation service.
[0083] In some embodiments of the present application, the step of allocating an incoming channel for the incoming calculation service based on the incoming requirement information of the incoming calculation service and the current channel usage plan of the optical transmission network includes: Based on the destination computing power resource pool of the incoming calculation service, determine the channels in the optical transmission network with the destination address being the destination computing power resource pool as the target channels of the incoming calculation service; Based on the current channel usage plan, determine the channels among the target channels of the incoming calculation service where the usage time periods of the planned services on the channels do not overlap with the incoming time period of the incoming calculation service as the alternative channels of the incoming calculation service; Select the incoming channel of the incoming calculation service from the alternative channels of the incoming calculation service.
[0084] In some embodiments of the present application, the step of selecting the incoming channel of the incoming calculation service from the alternative channels of the incoming calculation service includes: Select the N alternative channels with the shortest paths from the alternative channels of the incoming calculation service as the incoming channels of the incoming calculation service, where N >= 1.
[0085] In some embodiments of the present application, the incoming calculation requirement information further includes: required bandwidth information; selecting the incoming calculation channel of the incoming calculation service from the alternative channels of the incoming calculation service includes: Sorting the alternative channels of the incoming calculation service in ascending order of path length; Selecting the first N alternative channels whose total bandwidth is greater than or equal to the bandwidth requirement of the incoming calculation service from the alternative channels of the incoming calculation service as the incoming calculation channels of the incoming calculation service, where N >= 1.
[0086] In some embodiments of the present application, when receiving the incoming calculation requirement information of multiple incoming calculation services and the incoming calculation channels of M incoming calculation services among the multiple incoming calculation services are the same channel, the method further includes: Determining the services to be reallocated based on the number of overlaps between the incoming calculation time periods of each incoming calculation service among the M incoming calculation services and other services; Reallocating incoming calculation channels for the services to be reallocated, where M >= 2.
[0087] In some embodiments of the present application, the planned service is an incoming calculation service or a dedicated line service; updating the current channel usage plan based on the incoming calculation channel and incoming calculation time period of the incoming calculation service includes: Adding the information of the incoming calculation service and the information of the usage time period of the incoming calculation service to the usage plan of the incoming calculation channel of the incoming calculation service to update the current channel usage plan.
[0088] In some embodiments of the present application, the process further includes: When receiving the service data of the incoming calculation service, encapsulating the service data into a target Ethernet frame based on the incoming calculation channel and incoming calculation time period of the incoming calculation service, and forwarding the target Ethernet frame to the incoming calculation channel of the incoming calculation service; wherein, the target Ethernet frame carries the incoming calculation channel information and incoming calculation time period information of the incoming calculation service.
[0089] The above describes specific embodiments of the present application. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims can be performed in a different order than in the embodiments and still achieve the desired result. Additionally, the processes depicted in the figures do not necessarily require the specific order or sequential order shown to achieve the desired result. In certain embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0090] In the 1990s, it was clearly distinguishable whether an improvement to a technology was an improvement in hardware (e.g., an improvement in the circuit structure of diodes, transistors, switches, etc.) or an improvement in software (an improvement in the method flow). However, with the development of technology, many improvements in method flows today can be regarded as direct improvements to the hardware circuit structure. Almost all designers obtain the corresponding hardware circuit structure by programming the improved method flow into the hardware circuit. Therefore, it cannot be said that an improvement in a method flow cannot be implemented with a hardware entity module. For example, a programmable logic device (PLD) (such as a field programmable gate array (FPGA)) is such an integrated circuit whose logic function is determined by the user programming the device. The designer can program by himself to "integrate" a digital system on a piece of PLD, without having to ask the chip manufacturer to design and fabricate a dedicated integrated circuit chip. Moreover, nowadays, instead of manually fabricating integrated circuit chips, this programming is mostly implemented using "logic compiler" software, which is similar to the software compiler used in program development and writing. The original code before compilation also has to be written in a specific programming language, which is called a hardware description language (HDL), and there is not only one kind of HDL, but many kinds, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, RHDL (Ruby Hardware Description Language), etc. The most commonly used ones currently are VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art should also be aware that as long as the method flow is slightly logically programmed with the above-mentioned several hardware description languages and programmed into the integrated circuit, it is easy to obtain the hardware circuit that implements the logical method flow.
[0091] The controller can be implemented in any suitable manner. For example, the controller can take the form of, for example, a microprocessor or a processor and a computer-readable medium storing computer-readable program code (such as software or firmware) executable by the (micro)processor, logic gates, switches, an application specific integrated circuit (ASIC), a programmable logic controller, and an embedded microcontroller. Examples of the controller include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320. The memory controller can also be implemented as part of the control logic of the memory. Those skilled in the art also know that in addition to implementing the controller in the form of pure computer-readable program code, it is entirely possible to logically program the method steps to enable the controller to be implemented in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers, etc. to achieve the same functions. Therefore, such a controller can be considered a hardware component, and the devices included therein for implementing various functions can also be regarded as the structures within the hardware component. Or even, the devices for implementing various functions can be regarded as either software modules for implementing the method or structures within the hardware component.
[0092] The systems, devices, modules, or units illustrated in the above embodiments can be specifically implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer can be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or any combination of these devices.
[0093] For the convenience of description, the above devices are described by dividing them into various units according to their functions. Of course, when implementing one or more embodiments of the present application, the functions of each unit can be implemented in the same or multiple software and / or hardware.
[0094] Those skilled in the art should understand that the embodiments of the present application can be provided as a method, a system, or a computer program product. Therefore, one or more embodiments of the present application can take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, one or more embodiments of the present application can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk memories, CD-ROMs, optical memories, etc.) containing computer-usable program code.
[0095] Embodiments of the present application are described with reference to the flowcharts and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the present application. It should be understood that each flow and / or block in the flowchart and / or block diagram, and combinations of flows and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to the processors of general-purpose computers, special-purpose computers, embedded processors, or other programmable serial-parallel devices for fraud cases to generate a machine, such that the instructions executed by the processors of the computer or other programmable serial-parallel devices for fraud cases generate means for implementing the functions specified in one flow Figure 1 one flow or multiple flows and / or blocks Figure 1 or means for implementing the functions specified in multiple blocks.
[0096] These computer program instructions can also be stored in a computer-readable memory capable of guiding a computer or other programmable serial-parallel devices for fraud cases to work in a specific manner, such that the instructions stored in the computer-readable memory generate a manufactured article including instruction means, and the instruction means implement the functions specified in one flow Figure 1 one flow or multiple flows and / or blocks Figure 1 or means for implementing the functions specified in multiple blocks.
[0097] These computer program instructions can also be loaded onto a computer or other programmable serial-parallel devices for fraud cases, such that a series of operation steps are executed on the computer or other programmable devices to generate a computer-implemented process, and thus the instructions executed on the computer or other programmable devices provide steps for implementing the functions specified in one flow Figure 1 one flow or multiple flows and / or blocks Figure 1 or means for implementing the functions specified in multiple blocks.
[0098] In a typical configuration, a computing device includes one or more processors (CPUs), an input / output interface, a network interface, and a memory.
[0099] The memory may include non-permanent memory in a computer-readable medium, in the form of random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash memory (flash RAM). The memory is an example of a computer-readable medium.
[0100] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined in this article, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0101] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity 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, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0102] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, one or more embodiments of the present application may take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, one or more embodiments of the present application may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
[0103] One or more embodiments of the present application may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. One or more embodiments of the present application may also be practiced in distributed computing environments, in which tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.
[0104] Each embodiment in this application is described in a progressive manner. For the identical or similar parts among the embodiments, reference can be made to each other. Each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple. For the relevant parts, reference can be made to the partial description of the method embodiment.
[0105] The above description is only for the embodiments of this application and is not intended to limit this application. For those skilled in the art, various modifications and changes can be made to this application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of this application shall be included within the scope of the claims of this application.
Claims
1. A data calculation method, characterized in that, Applied to the incoming calculation anchor point, which is used to control the opening or closing of channels in the optical transmission network based on the current channel usage plan of the optical transmission network. The method includes: Receiving the incoming calculation requirement information of the incoming calculation service, where the incoming calculation requirement information includes: destination computing power resource pool information and incoming calculation time period; Based on the incoming calculation requirement information of the incoming calculation service and the current channel usage plan of the optical transmission network, allocate an incoming calculation channel for the incoming calculation service; where the current channel usage plan of the optical transmission network includes: the planned services on each current channel in the optical transmission network, and the usage time periods of each planned service. The incoming calculation channel is a channel in the optical transmission network that meets the following conditions: the destination address is the destination computing power resource pool, and the usage time periods of the planned services on the channel do not overlap with the incoming calculation time period; Based on the incoming calculation channel and incoming calculation time period of the incoming calculation service, update the current channel usage plan so that the incoming calculation anchor point controls the incoming calculation channel of the incoming calculation service to be opened during the incoming calculation time period of the incoming calculation service.
2. The method according to claim 1, wherein The step of allocating an incoming calculation channel for the incoming calculation service based on the incoming calculation requirement information of the incoming calculation service and the current channel usage plan of the optical transmission network includes: Based on the destination computing power resource pool of the incoming calculation service, determine the target channels in the optical transmission network whose destination addresses are the destination computing power resource pool as the target channels of the incoming calculation service; Based on the current channel usage plan, determine the channels in the target channels of the incoming calculation service whose usage time periods of the planned services on the channels do not overlap with the incoming calculation time period of the incoming calculation service as the alternative channels of the incoming calculation service; Select the incoming calculation channel of the incoming calculation service from the alternative channels of the incoming calculation service.
3. The method according to claim 2, wherein The step of selecting the incoming calculation channel of the incoming calculation service from the alternative channels of the incoming calculation service includes: Select the N alternative channels with the shortest paths from the alternative channels of the incoming calculation service as the incoming calculation channels of the incoming calculation service, where N >= 1.
4. The method according to claim 2, wherein The incoming calculation requirement information further includes: required bandwidth information; the step of selecting the incoming calculation channel of the incoming calculation service from the alternative channels of the incoming calculation service includes: Sort the alternative channels of the incoming calculation service in ascending order of path length; Select the first N alternative channels from the alternative channels of the incoming calculation service whose total bandwidth is greater than or equal to the required bandwidth of the incoming calculation service as the incoming calculation channels of the incoming calculation service, where N >= 1.
5. The method according to claim 1, characterized in that, When receiving the incoming calculation requirement information of multiple incoming calculation services, and in the case that the incoming calculation channels of M incoming calculation services among the multiple incoming calculation services are the same channel, the method further includes: Based on the number of overlaps between the incoming calculation time periods of each incoming calculation service among the M incoming calculation services and other services, determine the services to be reallocated; Reallocate incoming calculation channels for the services to be reallocated, where M >= 2.
6. The method according to claim 1, wherein The method further includes: In the case of receiving the service data of the incoming calculation service, based on the incoming channel and the incoming time period of the incoming calculation service, encapsulate the service data into a target Ethernet frame, and forward the target Ethernet frame to the incoming channel of the incoming calculation service; wherein, the target Ethernet frame carries the incoming channel information and the incoming time period information of the incoming calculation service.
7. A data calculation system, characterized in that, Including: An incoming calculation service system, an incoming calculation anchor point, an optical transmission network, and a computing power resource pool; the incoming calculation anchor point is used to control the opening or closing of channels in the optical transmission network based on the current channel usage plan of the optical transmission network, and is used to perform the following processing: Receive the incoming calculation requirement information of the incoming calculation service, where the incoming calculation requirement information includes: destination computing power resource pool information and incoming time period; Based on the incoming calculation requirement information of the incoming calculation service and the current channel usage plan of the optical transmission network, allocate an incoming channel for the incoming calculation service; wherein, the current channel usage plan of the optical transmission network includes: the planned services on each current channel in the optical transmission network, and the usage time periods of each planned service, and the incoming channel is a channel in the optical transmission network that meets the following conditions: the destination address is the destination computing power resource pool, and the usage time periods of the planned services on the channel do not overlap with the incoming time period; Based on the incoming channel and the incoming time period of the incoming calculation service, update the current channel usage plan to control the incoming channel of the incoming calculation service to be opened during the incoming time period of the incoming calculation service.
8. A data calculation device, characterized in that, Applied to the incoming calculation anchor point, the incoming calculation anchor point is used to control the opening or closing of channels in the optical transmission network based on the current channel usage plan of the optical transmission network, and the device includes: A requirement receiving module, configured to receive the incoming calculation requirement information of the incoming calculation service, where the incoming calculation requirement information includes: destination computing power resource pool information and incoming time period; A channel allocation module, configured to allocate an incoming channel for the incoming calculation service based on the incoming calculation requirement information of the incoming calculation service and the current channel usage plan of the optical transmission network; wherein, the current channel usage plan of the optical transmission network includes: the planned services on each current channel in the optical transmission network, and the usage time periods of each planned service, and the incoming channel is a channel in the optical transmission network that meets the following conditions: the destination address is the destination computing power resource pool, and the usage time periods of the planned services on the channel do not overlap with the incoming time period; A plan update module, configured to update the current channel usage plan based on the incoming channel and the incoming time period of the incoming calculation service, so that the incoming calculation anchor point opens the incoming channel of the incoming calculation service during the incoming time period of the incoming calculation service.
9. An electronic device, characterized in that, Applied to the incoming calculation anchor point, the incoming calculation anchor point is used to control the opening or closing of channels in the optical transmission network based on the current channel usage plan of the optical transmission network, and the electronic device includes: A memory, on which a computer program is stored; A processor, configured to execute the computer program to implement the method according to any one of claims 1-6.
10. A readable storage medium, characterized in that, Applied to the incoming calculation anchor point, which is used to control the opening or closing of channels in the optical transmission network based on the current channel usage plan of the optical transmission network. A computer program is stored on the storage medium, and when the computer program is executed by a processor, the processor implements the method described in any one of claims 1-6.