Disclosure of Invention
Embodiments of the present invention provide a method and an apparatus for processing a service request based on a user type, so as to meet service requirements of users of different types, improve a utilization rate of network resources, and ensure reliability and efficiency of transmission. The specific technical scheme is as follows:
in a first aspect, an embodiment of the present invention provides a service request processing method based on a user type, which is applied to a ground gateway station, and the method includes:
receiving a service request sent by a requesting user, and determining a first user type of the requesting user, a second user type of a target user of the service request and a time delay requirement of the service request;
if the first user type is a fixed type, selecting a target network fragment from the pre-divided network fragments based on the time delay requirement, the bit rate and the wavelength number of the pre-divided network fragments, wherein a laser link is arranged between an alternative access satellite in the target network fragment and the requesting user;
if the first user type is a mobile type, selecting a target network fragment from pre-divided network fragments based on the time delay requirement and the frequency of the pre-divided network fragments, wherein a microwave link is arranged between an alternative access satellite in the target network fragment and the requesting user;
determining an alternative destination satellite in the target network fragment based on a first corresponding relation between a preset user type and a link type and the second user type;
selecting an alternative path from paths formed by the alternative access satellite and the alternative destination satellite based on a second corresponding relation between a preset user type and a link type and the first user type;
and selecting a target path from the alternative paths according to the time delay requirement, and sending the service request to an access satellite in the target path so that the access satellite processes the service request according to the target path.
Optionally, the step of selecting a target network segment from the pre-partitioned network segments based on the delay requirement, the bit rate of the pre-partitioned network segments, and the number of wavelengths includes:
if the time delay requirement meets a preset low time delay condition, selecting a first target network fragment from preset divided network fragments, wherein the bit rate of the first target network fragment is higher than preset efficiency, and the number of wavelengths is larger than a preset number;
and if the time delay requirement does not meet the preset low time delay condition, selecting a second target network fragment from preset divided network fragments, wherein the bit rate of the second target network fragment is not higher than the preset efficiency, and the number of wavelengths is larger than the preset number.
Optionally, the step of determining an alternative destination satellite in the target network segment based on the first corresponding relationship between the preset user type and the link type and the second user type includes:
if the second user type is a mobile type, determining that a target satellite, of which a link with the target user is a microwave link, in the target network segment is a standby target satellite;
and if the second user type is a fixed type, determining that the target satellite in the target network segment, of which the link with the target user is a laser link, is an alternative target satellite.
Optionally, the step of selecting an alternative path from paths formed by the alternative access satellite and the alternative destination satellite based on a second corresponding relationship between a preset user type and a link type and the first user type includes:
if the first user type is a fixed type, determining a path with the type of a laser link as an alternative path from a path formed by the alternative access satellite and the alternative destination satellite;
and if the first user type is a mobile type, determining a path with the type of the microwave link as an alternative path from the path formed by the alternative access satellite and the alternative destination satellite.
Optionally, the step of selecting a target path from the alternative paths according to the delay requirement includes:
if the time delay requirement meets a preset low time delay condition, selecting a path with the least hop number from the alternative paths as a target path;
and if the time delay requirement does not meet the preset low time delay condition, randomly selecting one path from the alternative paths as a target path.
Optionally, if the first user type is a mobile type, before the step of selecting the target path from the alternative paths according to the delay requirement, the method further includes:
and selecting a path comprising a target satellite from the alternative paths as an updated alternative path, wherein the target satellite is a target satellite with the coverage time of the target user being longer than a preset time.
Optionally, before the step of determining the first user type of the requesting user, the second user type of the destination user of the service request, and the delay requirement of the service request, the method further includes:
determining whether a high-priority service request sent by a user with a higher priority than the requesting user is currently received;
if not, executing the step of determining the first user type of the requesting user, the second user type of the target user of the service request and the time delay requirement of the service request;
and if so, processing the high-priority service request.
In a second aspect, an embodiment of the present invention provides a service request processing apparatus based on a user type, which is applied to a ground gateway station, and the apparatus includes:
a service request receiving module, configured to receive a service request sent by a requesting user, and determine a first user type of the requesting user, a second user type of a destination user of the service request, and a delay requirement of the service request;
a first network segment determining module, configured to select a target network segment from pre-partitioned network segments based on the delay requirement, and bit rates and wavelength numbers of the pre-partitioned network segments if the first user type is a fixed type, where a laser link is located between an alternative access satellite in the target network segment and the requesting user;
a second network segment determining module, configured to select a target network segment from pre-partitioned network segments based on the time delay requirement and pre-partitioned network segment frequencies if the first user type is a mobile type, where a microwave link is located between an alternative access satellite in the target network segment and the requesting user;
the alternative destination satellite determining module is used for determining an alternative destination satellite in the target network fragment based on a first corresponding relation between a preset user type and a link type and the second user type;
a candidate path determining module, configured to select a candidate path from paths formed by the candidate access satellite and the candidate destination satellite based on a second correspondence between a preset user type and a link type and the first user type;
and the target path determining module is used for selecting a target path from the alternative paths according to the time delay requirement and sending the service request to an access satellite in the target path so that the access satellite processes the service request according to the target path.
Optionally, the first network segment determining module includes:
a first network segment determining unit, configured to select a first target network segment from preset partitioned network segments if the delay requirement meets a preset low delay condition, where a bit rate of the first target network segment is higher than a preset efficiency, and a number of wavelengths is greater than a preset number;
and the second network fragment determining unit is used for selecting a second target network fragment from preset divided network fragments if the time delay requirement does not meet a preset low time delay condition, wherein the bit rate of the second target network fragment is not higher than the preset efficiency, and the number of wavelengths is greater than the preset number.
In a third aspect, an embodiment of the present invention provides a ground gateway station, including a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete mutual communication through the communication bus;
a memory for storing a computer program;
a processor adapted to perform the method steps of any of the above first aspects when executing a program stored in the memory.
In the solution provided in the embodiment of the present invention, a ground gateway station may receive a service request sent by a requesting user, and determine a first user type of the requesting user, a second user type of a target user of the service request, and a delay requirement of the service request, and if the first user type is a fixed type, select a target network segment from pre-divided network segments based on the delay requirement, a bit rate and a wavelength number of the pre-divided network segments, where a laser link is between an alternative access satellite in the target network segment and the requesting user, and if the first user type is a mobile type, select the target network segment from the pre-divided network segments based on the delay requirement and a frequency of the pre-divided network segments, where an alternative access satellite in the target network segment is a microwave link with the requesting user, and based on a first correspondence relationship between a preset user type and a link type and the second user type, determining an alternative target satellite in the target network fragment, selecting an alternative path from paths consisting of the alternative access satellite and the alternative target satellite based on a second corresponding relation between a preset user type and a link type and the first user type, selecting a target path from the alternative paths according to a time delay requirement, and sending a service request to the access satellite in the target path so that the access satellite processes the service request according to the target path. Therefore, the ground gateway station can determine a proper target path to transmit the service request based on the user type of the user, the time delay requirement of the service request and the like, can ensure that the service requirements of different types of users are met, improves the utilization rate of network resources, and ensures the reliability and the high efficiency of transmission.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In order to meet the service requirements of different types of users, improve the utilization rate of network resources, and ensure the reliability and high efficiency of transmission, embodiments of the present invention provide a service request processing method and apparatus based on user types, an electronic device, and a computer-readable storage medium.
The following describes a service request processing method based on user types provided by the embodiments of the present invention. The service request processing method based on the user type provided by the embodiment of the invention can be applied to a ground gateway station in a space-ground integrated network transmission system.
For convenience of understanding the service request processing method based on the user type provided by the embodiment of the present invention, an SDN-based framework of a heaven-earth integrated network is introduced first. As shown in fig. 2, the control layer of the integrated network based on SDN mainly includes a controller located in a ground gateway station, which can perform network sensing and service sensing through a virtual resource scheduler, that is, an application layer of the ground gateway station is mainly used for uniformly configuring network resources, switching data transmission modes, and managing a static routing table of a satellite network according to the type and service requirements of a user sending a service request, so as to achieve routing policy management and access transmission control.
The ground gateway station can also establish flexible dynamic network slices based on the characteristic of high-speed movement of the satellite and the uncertainty of the service request of the ground user, different network slices can provide different network functions and characteristics, and the diversified requirements of different users are met, namely, the ground gateway station can also be used for network slice management. The network slice is an end-to-end logical network and is composed of a group of network functions, resources and connection relations. For a satellite network composed of inter-satellite laser links and satellite nodes, network slices are divided based on the size and the number of link wavelengths required by different service requirements, and for network slices composed of inter-satellite microwave links and satellite nodes, the network slices are divided by link frequency resources required by different service requirements. The laser link or the microwave link can be preset according to actual requirements, and some nodes and links with important functions can simultaneously have two transmission modes of laser and microwave.
For an SDN-based space-ground integrated network, the data layer includes an access network and a backbone network, wherein the access network can communicate with ground users through a geostationary orbit satellite (GEO), a medium orbit satellite (MEO) and a low orbit satellite (LEO), wherein the ground users include fixed users and mobile users. The backbone network is a data transmission layer including a space base and a foundation base and is used for transmitting data in the network.
As shown in fig. 3, a service request processing method based on user type is applied to a ground gateway station, and the method includes:
s301, receiving a service request sent by a requesting user, and determining a first user type of the requesting user, a second user type of a target user of the service request and a time delay requirement of the service request;
s302, if the first user type is a fixed type, selecting a target network fragment from the pre-divided network fragments based on the time delay requirement, the bit rate and the wavelength number of the pre-divided network fragments;
and the alternative access satellite in the target network segment and the request user are in a laser link.
S303, if the first user type is a mobile type, selecting a target network fragment from the pre-divided network fragments based on the time delay requirement and the frequency of the pre-divided network fragments;
and a microwave link is arranged between the alternative access satellite in the target network fragment and the request user.
S304, determining an alternative destination satellite in the target network segment based on a first corresponding relation between a preset user type and a link type and the second user type;
s305, selecting an alternative path from paths formed by the alternative access satellite and the alternative destination satellite based on a second corresponding relation between a preset user type and a link type and the first user type;
s306, according to the time delay requirement, selecting a target path from the alternative paths, and sending the service request to an access satellite in the target path, so that the access satellite processes the service request according to the target path.
It can be seen that, in the scheme provided in the embodiment of the present invention, a ground gateway station may receive a service request sent by a requesting user, and determine a first user type of the requesting user, a second user type of a target user of the service request, and a delay requirement of the service request, and if the first user type is a fixed type, select a target network segment from pre-divided network segments based on the delay requirement, a bit rate of the pre-divided network segment, and a wavelength number, where a laser link is used between an alternative access satellite in the target network segment and the requesting user, and if the first user type is a mobile type, select the target network segment from the pre-divided network segments based on the delay requirement and a frequency of the pre-divided network segment, where an alternative access satellite in the target network segment is a microwave link with the requesting user, and based on a first correspondence relationship between a preset user type and a link type and the second user type, determining an alternative target satellite in the target network fragment, selecting an alternative path from paths consisting of the alternative access satellite and the alternative target satellite based on a second corresponding relation between a preset user type and a link type and the first user type, selecting a target path from the alternative paths according to a time delay requirement, and sending a service request to the access satellite in the target path so that the access satellite processes the service request according to the target path. Therefore, the ground gateway station can determine a proper target path to transmit the service request based on the user type of the user, the time delay requirement of the service request and the like, can ensure that the service requirements of different types of users are met, improves the utilization rate of network resources, and ensures the reliability and the high efficiency of transmission.
When the ground user needs to perform a certain service, the ground gateway station may send a service request to the ground gateway station, and then in step S301, the ground gateway station may receive the service request sent by the requesting user, where the requesting user is the ground user who sends the service request.
In order to select a suitable transmission path for transmitting the service request, the ground gateway station may determine a first user type of the requesting user, a second user type of a destination user of the service request, and a delay requirement of the service request. The service request may carry information that can determine a delay requirement, such as related information of a requesting user, related information of a target user, a service type, and the like, so that the ground gateway station may determine the first user type, the second user type, and the delay requirement of the service request based on the information.
The user types generally comprise fixed users and mobile users, wherein the mobile users are users who use the mobile communication equipment to communicate in the moving process or in the short stop; a fixed user is a user communicating at a fixed location.
After determining the first user type of the requesting user, if the first user type is a fixed type, the ground gateway station may perform step S302; if the first user type is a mobile type, the ground gateway station may perform step S303.
In the step S302, since the requesting user is a fixed-type user, the bandwidth requirement of the service request sent by the requesting user is often larger, so the ground gateway station may select the network segment that is the laser link between the alternative access satellite and the requesting user as the target network segment, so that the bandwidth requirement of the service request may be satisfied.
Specifically, the ground gateway station may select the target network segment from the pre-partitioned network segments based on the delay requirement, the bit rate and the number of wavelengths of the pre-partitioned network segments. If the time delay requirement is higher, network fragments with higher bit rate and larger wavelength number can be selected to quickly transmit the service request to meet the time delay requirement; if the delay requirement is low, the network fragment with low bit rate and large number of wavelengths can be selected to meet the requirement of large bandwidth requirement of the service request, and simultaneously, the waste of network resources is avoided.
In the step S303, since the requesting user is a mobile user, the bandwidth requirement of the service request sent by the requesting user is often smaller, but since it is difficult to track the mobile user through the laser link, in order to ensure smooth transmission of the service request, the ground gateway station may select the network segment which is a microwave link between the alternative access satellite and the requesting user, as the target network segment.
Specifically, the ground gateway station may select an appropriate target network segment from the pre-divided network segments based on the aforementioned latency requirement and the frequency of the pre-divided network segments. If the delay requirement is higher, network fragments with more frequencies can be selected to quickly transmit service requests to meet the delay requirement; if the latency requirement is low, then network slices that include less frequency may be selected to avoid wasting network resources while meeting the latency requirement.
After the target network segment is determined, the target network segment comprises a plurality of target satellites, wherein the target satellites are satellites having links with target users of service requests. In order to select a suitable destination satellite for transmitting the service request, the ground gateway station may determine an alternative destination satellite in the target network segment based on a first corresponding relationship between a preset user type and a link type and the second user type.
For users of different user types, the links of different link types can achieve better transmission effect, so the first corresponding relation between the user type and the link type can be preset. In this way, the ground gateway station may determine an alternative destination satellite corresponding to the second user type in the target network segment.
After the alternative destination satellites are determined, a plurality of paths can be obtained, and if m alternative access satellites and n alternative destination satellites are provided, the ground gateway station can determine at least m × n paths through the recorded static routing table at each time.
Further, the ground gateway station may continue to perform step S305, namely, select an alternative path from paths consisting of the alternative access satellite and the alternative destination satellite based on the preset second corresponding relationship between the user type and the link type and the first user type.
For users of different user types, better transmission effect can be achieved by adopting the inter-satellite links of different link types, so that the second corresponding relation between the user type and the link type can be preset. In this way, the ground gateway station can select an alternative path from the paths formed by the alternative access satellite and the alternative destination satellite.
For example, in the second correspondence, if the link type corresponding to the fixed type is a, the ground gateway station may select a path with the link type a from paths formed by the alternative access satellite and the alternative destination satellite, and use the path as the alternative path.
Next, in order to ensure the delay requirement of the service request, the ground gateway station may select a target path from the alternative paths according to the delay requirement, and further send the service request to the access satellite in the target path, and after receiving the service request, the access satellite may further transmit the service request according to the target path, and finally the service request may reach the target user.
As an implementation manner of the embodiment of the present invention, the step of selecting a target network segment from the pre-partitioned network segments based on the time delay requirement, the bit rate of the pre-partitioned network segments, and the number of wavelengths may include:
if the time delay requirement meets a preset low time delay condition, selecting a first target network fragment from preset divided network fragments; and if the time delay requirement does not meet the preset low time delay condition, selecting a second target network fragment from preset divided network fragments.
The bit rate of the first target network fragments is higher than the preset efficiency, the number of the wavelengths is larger than the preset number, the bit rate of the second target network fragments is not higher than the preset efficiency, and the number of the wavelengths is larger than the preset number.
When the time delay requirement meets a preset low time delay condition, the service request has higher requirement on time delay, namely lower time delay is needed in the transmission process, and as the higher the special effect rate is, the faster the network fragments transmit data, the larger the wavelength quantity is, the larger the data quantity transmitted by the network fragments is, and the faster the speed is, the ground gateway station can select the first target network fragments of which the bit rate is higher than the preset efficiency and the wavelength quantity is larger than the preset quantity from the pre-divided network fragments so as to meet the time delay requirement.
When the time delay requirement does not meet the preset low time delay condition, it is indicated that the requirement of the service request on the time delay is low, that is, no very low time delay is needed in the transmission process, so in order to meet the time delay requirement and avoid the waste of network resources, the ground gateway station may select the second target network fragments from the pre-divided network fragments, the bit rate of which is not higher than the preset efficiency, and the number of wavelengths of which is greater than the preset number.
Selecting the second target network fragments with the bit rate not higher than the preset efficiency can avoid resource waste, and meanwhile, as the service request of the fixed user generally needs a larger bandwidth, in order to ensure smooth transmission of the service request, the second target network fragments with the wavelength number larger than the preset number need to be selected.
The preset low delay condition, the preset efficiency and the preset number may be set according to factors such as an actual network environment and a type of the service request, and are not specifically limited herein.
As can be seen, in this embodiment, if the time delay requirement meets the preset low time delay condition, the ground gateway station may select the first target network segment from the preset divided network segments; and if the time delay requirement does not meet the preset low time delay condition, selecting a second target network fragment from preset divided network fragments. Therefore, when the time delay requirements are different, more appropriate network fragments can be selected, the service requirements of different types of users are met, and the utilization rate of network resources is improved.
As an implementation manner of the embodiment of the present invention, the step of determining the alternative destination satellite in the target network segment based on the first corresponding relationship between the preset user type and the link type and the second user type may include:
if the second user type is a mobile type, determining that a target satellite, of which a link with the target user is a microwave link, in the target network segment is a standby target satellite; and if the second user type is a fixed type, determining that the target satellite in the target network segment, of which the link with the target user is a laser link, is an alternative target satellite.
If the second user type is a mobile type, that is, the destination user receiving the service request is a mobile user, since it is difficult to track the mobile user by the laser link, the ground gateway station may determine, from the destination satellites included in the target network segment, the destination satellite whose link with the destination user is a microwave link as the alternative destination satellite.
If the second user type is a fixed type, that is, the destination user receiving the service request is a fixed user, since the laser link has a large transmission amount and a high transmission speed for data, the ground gateway station may determine, from the destination satellites included in the target network segment, the destination satellite having the link with the destination user as the laser link as the alternative destination satellite.
As can be seen, in this embodiment, if the second user type is a mobile type, the ground gateway station may determine that a destination satellite in the target network segment, in which a link with the destination user is a microwave link, is an alternative destination satellite; if the second user type is a fixed type, the target satellite, in the target network segment, of which the link with the target user is a laser link can be determined as the alternative target satellite, so that a proper alternative target satellite can be determined according to the second user type, the service requirements of different types of users can be further met, and the utilization rate of network resources can be improved.
As an implementation manner of the embodiment of the present invention, the step of selecting an alternative path from paths formed by the alternative access satellite and the alternative destination satellite based on a preset second corresponding relationship between a user type and a link type and the first user type may include:
if the first user type is a fixed type, determining a path with the type of a laser link as an alternative path from a path formed by the alternative access satellite and the alternative destination satellite; and if the first user type is a mobile type, determining a path with the type of the microwave link as an alternative path from the path formed by the alternative access satellite and the alternative destination satellite.
If the first user type is a fixed type, that is, the requesting user sending the service request is a fixed user, then the bandwidth required by the service request sent by a general fixed user is large, and meanwhile, the laser link has a large transmission amount and high speed for data, so the ground gateway station can determine the path with the type of the laser link as an alternative path from the path formed by the alternative access satellite and the alternative destination satellite, that is, determine the path with the inter-satellite link as the laser link as the alternative path.
If the first user type is a mobile type, that is, the requesting user sending the service request is a mobile user, since the laser link is difficult to track the mobile user, the ground gateway station may determine a path with the type of the microwave link as an alternative path from a path composed of an alternative access satellite and an alternative destination satellite, that is, determine a path with an inter-satellite link as a microwave link as an alternative path.
For example, a path formed by the alternative access satellite and the alternative destination satellite includes a path a, a path B, a path C, a path D, and a path E, where inter-satellite links in the path a, the path B, and the path E are laser links, and inter-satellite links in the path C and the path D are microwave links, so that when the first user type is a fixed type, the ground gateway station may determine that the path a, the path B, and the path E are alternative paths.
As can be seen, in this embodiment, if the first user type is a fixed type, the ground gateway station may determine, from a path formed by the alternative access satellite and the alternative destination satellite, a path of which the type is the laser link as the alternative path; if the first user type is a mobile type, a path with the type of a microwave link can be determined as an alternative path from paths formed by alternative access satellites and alternative destination satellites. Therefore, the ground gateway station can select a proper alternative path from the perspective of the inter-satellite link according to the type of the first user, thereby further ensuring that the service requirements of different types of users are met, improving the utilization rate of network resources and ensuring the reliability and high efficiency of transmission.
As an implementation manner of the embodiment of the present invention, the step of selecting the target path from the candidate paths according to the delay requirement may include:
if the time delay requirement meets a preset low time delay condition, selecting a path with the least hop number from the alternative paths as a target path; and if the time delay requirement does not meet the preset low time delay condition, randomly selecting one path from the alternative paths as a target path.
When the time delay requirement of the service request meets the preset low time delay condition, it is indicated that the time delay requirement of the service request is higher, that is, a lower time delay is required in the transmission process, so in order to shorten the transmission time, the ground gateway station may select a path with the least hop count from the alternative paths as a target path, and since the path with the least hop count is shortest, the transmission time is shortest.
When the time delay requirement of the service request does not meet the preset low time delay condition, the requirement of the service request on the time delay is low, namely the time delay does not need to be very low in the transmission process, and then the ground gateway station randomly selects one path from the alternative paths as a target path.
As can be seen, in this embodiment, if the time delay requirement meets the preset low time delay condition, the ground gateway station may select a path with the least hop count from the alternative paths as the target path; and if the time delay requirement does not meet the preset low time delay condition, randomly selecting one path from the alternative paths as a target path. Therefore, according to different time delay requirements, different modes can be adopted to select a proper path as a target path so as to meet the time delay requirements of service requirements of different types of users.
As an implementation manner of the embodiment of the present invention, if the first user type is a mobile type, before the step of selecting the target path from the candidate paths according to the delay requirement, the method may further include:
and selecting a path comprising the target satellite from the alternative paths as an updated alternative path.
The target satellite is a target satellite with the coverage time of a target user being longer than a preset time. If the first user type is a mobile type, in order to ensure stability of service request transmission, a destination satellite whose coverage duration for the destination user is greater than a preset duration may be determined from destination satellites included in the alternative path, where a specific value of the preset duration may be set according to factors such as the type of the destination user and the type of the service request, and is not specifically limited herein.
The stability of data transmission from the target satellite with the coverage time of the target user longer than the preset time to the target user is higher, so that the path of the target satellite can be used as an updated alternative path, and further, the target path is selected from the updated alternative paths according to the time delay requirement of the service request.
As can be seen, in this embodiment, if the first user type is a mobile type, before the step of selecting the target path from the alternative paths according to the time delay requirement, the ground gateway station may select a path including the target satellite from the alternative paths as an updated alternative path. Therefore, the stability of service request transmission can be ensured, and the reliability and the efficiency of transmission are further ensured.
As an implementation manner of the embodiment of the present invention, as shown in fig. 4, before the step of determining the first user type of the requesting user, the second user type of the destination user of the service request, and the delay requirement of the service request, the method may further include:
s401, determining whether a high-priority service request sent by a user with a priority higher than that of the requesting user is received currently, if not, executing the step S402; if yes, go to step S403;
since the ground gateway station may receive a plurality of service requests at the same time, and users sending the service requests may have different priorities, in order to preferentially process the service requests sent by users with high priorities, the ground gateway station may determine whether a high-priority service request sent by a user with higher priority than the requesting user is currently received before determining a first user type of the requesting user, a second user type of a destination user of the service request, and a delay requirement of the service request.
In an implementation manner, the service request may carry a user identifier of a user who sends the service request, the ground gateway station may record a priority of each user identifier in advance, and further, after receiving the service request, may determine the priority according to the user identifier carried by the service request. In another embodiment, the service request may carry a priority identifier, and it is reasonable that the ground gateway station determines the priority of the service request according to the priority identifier carried by the ground gateway station after receiving the service request.
S402, determining a first user type of the request user, a second user type of a target user of the service request and a time delay requirement of the service request;
if the ground gateway station does not currently receive a high-priority service request with a priority higher than that of the user requesting the service request, the ground gateway station may process the service request, that is, may perform the steps of determining the first user type of the requesting user, the second user type of the destination user of the service request, and the delay requirement of the service request, and further perform the above steps S302 to S306.
And S403, processing the high-priority service request.
If the ground gateway station receives a high-priority service request sent by a user with a priority higher than that of a requesting user, the ground gateway station processes the service request sent by the user with the high priority in a priority mode, and the ground gateway station processes the high-priority service request firstly.
The specific method for processing the high-priority service request may be the method described in the above embodiment of the service request processing method based on the user type, and details are not described here.
As can be seen, in this embodiment, before the step of determining the first user type of the requesting user, the second user type of the destination user of the service request, and the delay requirement of the service request, the ground gateway station may determine whether a high-priority service request with a higher priority than that sent by the user of the requesting user is currently received; if not, executing the step of determining the first user type of the requesting user, the second user type of the target user of the service request and the time delay requirement of the service request; and if so, processing the high-priority service request. The method can ensure that the service request sent by the user with high priority is processed preferentially, and meet the user requirement.
Corresponding to the service request processing method based on the user type, the embodiment of the invention also provides a service request processing device based on the user type. The following describes a service request processing apparatus based on user type according to an embodiment of the present invention.
As shown in fig. 5, a service request processing apparatus based on user type is applied to a ground gateway station, and the apparatus includes:
a service request receiving module 510, configured to receive a service request sent by a requesting user, and determine a first user type of the requesting user, a second user type of a destination user of the service request, and a delay requirement of the service request;
a first network segment determining module 520, configured to select a target network segment from the pre-partitioned network segments based on the delay requirement, and the bit rate and the number of wavelengths of the pre-partitioned network segments if the first user type is a fixed type;
and the alternative access satellite in the target network segment and the request user are in a laser link.
A second network slice determining module 530, configured to select a target network slice from pre-partitioned network slices based on the time delay requirement and pre-partitioned network slice frequencies if the first user type is a mobile type;
and a microwave link is arranged between the alternative access satellite in the target network fragment and the request user.
An alternative destination satellite determining module 540, configured to determine an alternative destination satellite in the target network segment based on a first corresponding relationship between a preset user type and a link type and the second user type;
a candidate path determining module 550, configured to select a candidate path from paths formed by the candidate access satellite and the candidate destination satellite based on a second correspondence between a preset user type and a link type and the first user type;
and a target path determining module 560, configured to select a target path from the alternative paths according to the delay requirement, and send the service request to an access satellite in the target path, so that the access satellite processes the service request according to the target path.
It can be seen that, in the scheme provided in the embodiment of the present invention, a ground gateway station may receive a service request sent by a requesting user, and determine a first user type of the requesting user, a second user type of a target user of the service request, and a delay requirement of the service request, and if the first user type is a fixed type, select a target network segment from pre-divided network segments based on the delay requirement, a bit rate of the pre-divided network segment, and a wavelength number, where a laser link is used between an alternative access satellite in the target network segment and the requesting user, and if the first user type is a mobile type, select the target network segment from the pre-divided network segments based on the delay requirement and a frequency of the pre-divided network segment, where an alternative access satellite in the target network segment is a microwave link with the requesting user, and based on a first correspondence relationship between a preset user type and a link type and the second user type, determining an alternative target satellite in the target network fragment, selecting an alternative path from paths consisting of the alternative access satellite and the alternative target satellite based on a second corresponding relation between a preset user type and a link type and the first user type, selecting a target path from the alternative paths according to a time delay requirement, and sending a service request to the access satellite in the target path so that the access satellite processes the service request according to the target path. Therefore, the ground gateway station can determine a proper target path to transmit the service request based on the user type of the user, the time delay requirement of the service request and the like, can ensure that the service requirements of different types of users are met, improves the utilization rate of network resources, and ensures the reliability and the high efficiency of transmission.
As an implementation manner of the embodiment of the present invention, the first network segment determining module 520 may include:
a first network segment determining unit (not shown in fig. 5) configured to select a first target network segment from preset partitioned network segments if the delay requirement meets a preset low delay condition;
the bit rate of the first target network fragments is higher than a preset efficiency, and the number of wavelengths is larger than a preset number.
A second network segment determining unit (not shown in fig. 5), configured to select a second target network segment from preset partitioned network segments if the delay requirement does not meet a preset low delay condition;
and the bit rate of the second target network fragments is not higher than the preset efficiency, and the number of the wavelengths is larger than the preset number.
As an implementation manner of the embodiment of the present invention, the alternative destination satellite determining module 540 may include:
a first alternative destination satellite determining unit (not shown in fig. 5), configured to determine, if the second user type is a mobile type, that a destination satellite in the target network segment, for which a link with the destination user is a microwave link, is an alternative destination satellite;
a second alternative destination satellite determining unit (not shown in fig. 5), configured to determine, if the second user type is a fixed type, that a destination satellite in the target network segment, for which a link with the destination user is a laser link, is an alternative destination satellite.
As an implementation manner of the embodiment of the present invention, the alternative path determining module 550 may include:
a first alternative path determining unit (not shown in fig. 5), configured to determine, if the first user type is a fixed type, a path with a type of a laser link from among paths formed by the alternative access satellite and the alternative destination satellite as an alternative path;
a second alternative path determining unit (not shown in fig. 5), configured to determine, if the first user type is a mobile type, a path with a type of microwave link as an alternative path from paths formed by the alternative access satellite and the alternative destination satellite.
As an implementation manner of the embodiment of the present invention, the target path determining module 560 may include:
a first target path determining unit (not shown in fig. 5), configured to select, if the delay requirement meets a preset low-delay condition, one path with the fewest hops from the alternative paths as a target path;
a second target path determining unit (not shown in fig. 5), configured to randomly select one path from the alternative paths as a target path if the delay requirement does not meet a preset low delay condition.
As an implementation manner of the embodiment of the present invention, the apparatus may further include:
a candidate path updating module (not shown in fig. 5) configured to, if the first user type is a mobile type, select a path including a target satellite from the candidate paths as an updated candidate path before selecting a target path from the candidate paths according to the delay requirement.
The target satellite is a target satellite with the coverage time of the target user being longer than a preset time.
As an implementation manner of the embodiment of the present invention, the apparatus may further include:
a priority determining module (not shown in fig. 5) configured to determine whether a high-priority service request sent by a user with a higher priority than the requesting user is currently received before the determining of the first user type of the requesting user, the second user type of the destination user of the service request, and the latency requirement of the service request;
a triggering module (not shown in fig. 5) configured to trigger the service request receiving module 510 if a high-priority service request sent by a user with a priority higher than that of the requesting user is not currently received;
a priority processing module (not shown in fig. 5) configured to process the high-priority service request if a high-priority service request sent by a user with a priority higher than that of the requesting user is currently received.
An embodiment of the present invention further provides a ground gateway station, as shown in fig. 6, the ground gateway station may include a processor 601, a communication interface 602, a memory 603, and a communication bus 604, where the processor 601, the communication interface 602, and the memory 603 complete mutual communication through the communication bus 604,
a memory 603 for storing a computer program;
the processor 601 is configured to implement the steps of the service request processing method based on the user type according to any of the embodiments described above when executing the program stored in the memory 603.
It can be seen that, in the scheme provided in the embodiment of the present invention, a ground gateway station may receive a service request sent by a requesting user, and determine a first user type of the requesting user, a second user type of a target user of the service request, and a delay requirement of the service request, and if the first user type is a fixed type, select a target network segment from pre-divided network segments based on the delay requirement, a bit rate of the pre-divided network segment, and a wavelength number, where a laser link is used between an alternative access satellite in the target network segment and the requesting user, and if the first user type is a mobile type, select the target network segment from the pre-divided network segments based on the delay requirement and a frequency of the pre-divided network segment, where an alternative access satellite in the target network segment is a microwave link with the requesting user, and based on a first correspondence relationship between a preset user type and a link type and the second user type, determining an alternative target satellite in the target network fragment, selecting an alternative path from paths consisting of the alternative access satellite and the alternative target satellite based on a second corresponding relation between a preset user type and a link type and the first user type, selecting a target path from the alternative paths according to a time delay requirement, and sending a service request to the access satellite in the target path so that the access satellite processes the service request according to the target path. Therefore, the ground gateway station can determine a proper target path to transmit the service request based on the user type of the user, the time delay requirement of the service request and the like, can ensure that the service requirements of different types of users are met, improves the utilization rate of network resources, and ensures the reliability and the high efficiency of transmission.
The communication bus mentioned in the above ground gateway station may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the ground gateway station and other equipment.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the service request processing method based on the user type according to any of the embodiments above are implemented.
It can be seen that in the solution provided in the embodiment of the present invention, when being executed by a processor, a computer program may receive a service request sent by a requesting user, and determine a first user type of the requesting user, a second user type of a target user of the service request, and a delay requirement of the service request, and if the first user type is a fixed type, select a target network segment from pre-partitioned network segments based on the delay requirement, a bit rate and a wavelength number of the pre-partitioned network segments, where a laser link is between an alternative access satellite in the target network segment and the requesting user, and if the first user type is a mobile type, select the target network segment from the pre-partitioned network segments based on the delay requirement and a frequency of the pre-partitioned network segments, where a microwave link is between the alternative access satellite in the target network segment and the requesting user, determining an alternative destination satellite in a target network fragment based on a first corresponding relation and a second user type of a preset user type and a link type, selecting an alternative path from paths consisting of an alternative access satellite and the alternative destination satellite based on the second corresponding relation and the first user type of the preset user type and the link type, selecting a target path from the alternative paths according to a time delay requirement, and sending a service request to the access satellite in the target path so that the access satellite processes the service request according to the target path. Therefore, the ground gateway station can determine a proper target path to transmit the service request based on the user type of the user, the time delay requirement of the service request and the like, can ensure that the service requirements of different types of users are met, improves the utilization rate of network resources, and ensures the reliability and the high efficiency of transmission.
It should be noted that, for the above-mentioned apparatus, ground gateway station and computer-readable storage medium embodiments, since they are substantially similar to the corresponding method embodiments, the description is relatively simple, and the relevant points can be referred to the partial description of the method embodiments.
It is further noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.