Computational offloading method, satellite server and computer readable storage medium

By calculating the remaining service time of the terminal device in the satellite server of mobile edge computing, and offloading the computing tasks when it is sufficient, the problem of low reliability of computing offloading in the existing technology is solved, and the continuity and efficiency of computing tasks are improved. .

CN114047965BActive Publication Date: 2024-09-17华润数字科技有限公司 +1
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202111185698.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-12
Publication Date
2024-09-17
Estimated Expiration
2041-10-12

AI Technical Summary

Technical Problem

Existing computing offloading methods cannot effectively respond to abnormal server service interruptions, which increases the probability of terminal device computing task interruption and reduces the reliability of computing offloading.

Method used

By calculating the remaining service time of the terminal device in the satellite server of mobile edge computing, and offloading the computing tasks to the satellite server when the remaining service time is sufficient, the service time of the satellite server is taken into account to avoid task interruption during the calculation offloading process and improve Calculation of offloading reliability.

Benefits of technology

It effectively avoids the interruption of computing tasks, greatly improves the reliability of computing offloading, and ensures the continuity and efficiency of computing tasks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114047965B
    Figure CN114047965B
Patent Text Reader

Abstract

The present application is applicable to the field of communication technology, and provides a computing offloading method, a satellite server, and a computer-readable storage medium, which are applied to a satellite server of mobile edge computing, and the method includes: when receiving a computing request sent by a terminal device of mobile edge computing, obtaining the task duration carried in the computing request, and the task duration is used to represent the computing time required for the computing task corresponding to the computing request sent by the terminal device; calculating the remaining service duration of the satellite server to the terminal device; if the remaining service duration is greater than the task duration, sending feedback information to the terminal device, wherein the feedback information is used to instruct the first terminal to offload the computing task corresponding to the computing request to the satellite server. Through the above method, the interruption of computing tasks can be effectively avoided, and the reliability of computing offloading can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of communication technology, and in particular, relates to a computing offloading method, a satellite server, and a computer-readable storage medium. Background Art

[0002] Mobile Edge Computing (MEC) can use wireless access networks to provide telecom users with the Internet services and cloud computing functions they need nearby. Computation offloading is a key technology in mobile edge computing. Specifically, it refers to the process in which the terminal device reasonably allocates tasks with large computational load to servers with sufficient computing resources for processing, and then retrieves the completed calculation results from the server. Computation offloading can provide computing resources for resource-constrained devices to run computationally intensive applications, speed up computing, and save energy. However, the existing computation offloading methods have low reliability and cannot effectively deal with abnormal interruptions in server services, which increases the probability of interruptions in computing tasks of terminal devices. Summary of the invention

[0003] The embodiments of the present application provide a computing offloading method, a satellite server, and a computer-readable storage medium, which can improve the reliability of computing offloading and effectively avoid the interruption of computing tasks.

[0004] In a first aspect, an embodiment of the present application provides a computing offloading method, which is applied to a satellite server of mobile edge computing, and the method includes:

[0005] When receiving a computing request sent by a mobile edge computing terminal device, obtaining a task duration carried in the computing request, where the task duration is used to indicate the computing time required for the computing task corresponding to the computing request sent by the terminal device;

[0006] Calculating the remaining service time of the satellite server for the terminal device;

[0007] If the remaining service duration is greater than the task duration, feedback information is sent to the terminal device, wherein the feedback information is used to instruct the first terminal to offload the computing task corresponding to the computing request to the satellite server.

[0008] In the embodiment of the present application, before the terminal device of the mobile edge computing performs calculation unloading, the satellite server of the mobile edge computing calculates the remaining service time of the satellite server to the terminal device, and when the remaining service time is sufficient, the terminal device unloads the calculation task to the satellite server. Through the above method, it is equivalent to taking into account the service time of the satellite server in the process of calculation unloading, effectively avoiding the situation of task interruption in the process of calculation unloading, and greatly improving the reliability of calculation unloading.

[0009] In a possible implementation manner of the first aspect, the calculating the remaining service duration of the satellite server for the terminal device includes:

[0010] Calculating the coverage of the communication signal of the satellite server on the earth's spherical surface;

[0011] Calculate the operation time required for the satellite server to reach a target position according to the first spherical position, the coverage range, the direction of movement of the satellite server relative to the earth, and the operation period of the satellite server relative to the earth, wherein the target position is the position of the satellite server when the boundary of the coverage range passes through the first spherical position, and the first spherical position is the position corresponding to the current geographical location of the terminal device on the spherical surface of the earth;

[0012] The operating time is determined as the remaining service time of the satellite server to the terminal device.

[0013] In a possible implementation manner of the first aspect, calculating the coverage of the communication signal of the satellite server on the earth's spherical surface includes:

[0014] Calculating a second spherical position, where the second spherical position is a position corresponding to the current position of the satellite server on the spherical surface of the earth;

[0015] A first target circle on the earth's spherical surface is calculated, wherein the center of the first target circle is the second spherical surface position, the radius of the first target circle is the coverage radius of the communication signal of the satellite server, and the coverage range is the range represented by the first target circle.

[0016] In a possible implementation manner of the first aspect, calculating the operating time required for the satellite server to reach the target position according to the first spherical position, the coverage range, the movement direction of the satellite server relative to the earth, and the operating period of the satellite server relative to the earth includes:

[0017] Calculating a second target circle on the earth's spherical surface, wherein the second target circle represents a motion trajectory of the terminal device relative to the satellite server when the satellite server orbits the earth with the satellite server as a reference object;

[0018] Determine the target position according to the direction of movement of the satellite server relative to the earth, the first target circle and the second target circle;

[0019] Calculating the arc length between the first spherical position and the target position on the second target circle;

[0020] The operating time required for the satellite server to reach the target location is calculated based on the operating period of the satellite server relative to the earth and the arc length.

[0021] In a possible implementation manner of the first aspect, if the remaining service duration is greater than the task duration, sending feedback information to the terminal device includes:

[0022] Obtaining the task processing amount carried in the computing request, wherein the task processing amount is used to represent the size of computing resources required for the computing task corresponding to the computing request;

[0023] Calculating the remaining computing resources of the satellite server;

[0024] If the task processing amount is less than the remaining computing resource amount, the feedback information is sent to the terminal device.

[0025] In a possible implementation manner of the first aspect, if the task processing amount is less than the remaining computing resource amount, after sending the feedback information to the terminal device, the method further includes:

[0026] If a computing task sent by the terminal device is received within a preset time after sending the feedback information to the terminal device, executing the computing task;

[0027] If the computing task sent by the terminal device is not received within a preset time after the feedback information is sent to the terminal device, the receiving of the computing task sent by the terminal device is stopped.

[0028] In a possible implementation manner of the first aspect, the preset time is determined according to a maximum communication delay of the terminal device within a coverage range of the communication signal of the satellite server on the surface of the earth.

[0029] In a second aspect, an embodiment of the present application provides a satellite server, including:

[0030] An acquisition unit, configured to, when receiving a computing request sent by a terminal device of mobile edge computing, acquire a task duration carried in the computing request, wherein the task duration is used to indicate the computing time required for the computing task corresponding to the computing request sent by the terminal device;

[0031] A calculation unit, used for calculating the remaining service time of the satellite server for the terminal device;

[0032] A feedback unit is used to send feedback information to the terminal device if the remaining service duration is greater than the task duration, wherein the feedback information is used to instruct the first terminal to offload the computing task corresponding to the computing request to the satellite server.

[0033] In a third aspect, an embodiment of the present application provides a satellite server, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements a computational offloading method as described in any one of the first aspects above when executing the computer program.

[0034] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium. An embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and wherein the computer program, when executed by a processor, implements a computational offloading method as described in any one of the above-mentioned first aspects.

[0035] In a fifth aspect, an embodiment of the present application provides a computer program product, which, when executed on a terminal device, enables the terminal device to execute the computation offloading method described in any one of the above-mentioned first aspects.

[0036] It can be understood that the beneficial effects of the second to fifth aspects mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0038] Figure 1 It is a schematic diagram of an application scenario of computing offloading provided by an embodiment of the present application;

[0039] Figure 2 It is a module schematic diagram of a satellite server provided in an embodiment of the present application;

[0040] Figure 3 It is a flowchart of a calculation offloading method provided in an embodiment of the present application;

[0041] Figure 4 is a decision flow chart of a satellite server provided in an embodiment of the present application;

[0042] Figure 5 It is a schematic diagram of a maximum one-way communication delay derivation model between a satellite server and a terminal device provided in an embodiment of the present application;

[0043] Figure 6 It is a schematic diagram of a derivation model of the remaining service time provided in an embodiment of the present application;

[0044] Figure 7 is a structural block diagram of a satellite server provided in an embodiment of the present application;

[0045] Figure 8 It is a schematic diagram of the structure of the satellite server provided in the embodiment of the present application. DETAILED DESCRIPTION

[0046] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.

[0047] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.

[0048] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0049] As used in this specification and the appended claims, the term "if" may be interpreted as "when" or "upon" or "in response to determining" or "in response to detecting" depending on the context.

[0050] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.

[0051] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the phrases "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. appearing in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways.

[0052] See also Figure 1 , is a schematic diagram of an application scenario of computing offloading provided by an embodiment of the present application. Figure 1As shown, ① is a white arrow pointing from the terminal device to the satellite server, indicating that the terminal device initiates a computing request to all satellite servers within its visible range; ② is a gray arrow pointing from the satellite server to the terminal device, indicating that the satellite server receives a computing request from a certain terminal device; ③ is an arrow with a square pointing from the terminal device to the satellite server, indicating that the terminal device offloads the computing task to a certain satellite server.

[0053] In an application scenario, the terminal device first initiates a request, the satellite server feeds back the decision, and the terminal device finally selects the satellite server to perform the task. From the perspective of the terminal device, the terminal device is in the coverage of multiple satellite servers at all times, so it can initiate computing requests to multiple satellite servers at the same time. After the candidate multiple satellite servers make decisions on the computing tasks, they feed back to the terminal device. The terminal device selects the satellite server that finally determines to perform the computing task from all satellite servers that can accept the computing tasks based on its own factors that are not related to the computing tasks (satellite servers do not need to participate in the decision-making) (such as the current channel quality of each satellite server, etc.), which can further improve the service quality from the perspective of the terminal device. From the perspective of the satellite server, there will be multiple terminal devices within the coverage of each satellite server, that is, multiple computing task requests will be received. The satellite server makes decisions in sequence according to the order in which the requests arrive, and virtualizes its own resources for segmentation, so that it can provide services to multiple terminal devices at the same time.

[0054] For example, see Figure 2 , is a schematic diagram of a module of a satellite server provided in an embodiment of the present application. Figure 2 As shown, the satellite server may include a request decision module, a positioning module, a resource management module and a virtualized resource pool.

[0055] The positioning module exchanges data with the globally distributed measurement and control network sites on the ground through the satellite server through the control channel, and accurately calculates its own latitude, longitude and altitude information based on the point information provided by the measurement and control sites and its own correction algorithm.

[0056] Resource pool, using the virtualization technology of data centers in current cloud computing services to virtualize the computing, storage and network resources of satellite servers to form a resource pool for upper-level resource scheduling. Among them, computing resource virtualization mainly includes CPU and memory virtualization (providing different levels of processing power for tasks), storage resource virtualization (mainly used to divide storage space on demand) and network virtualization. Since the terminal equipment is directly connected to the satellite server, and currently the satellite server and the ground terminal mainly use Ku / Ka band for microwave communication, network virtualization is mainly used to manage the time division multiplexing and multi-beam of spectrum resources.

[0057] Resource management module, which is responsible for monitoring and managing the resource pool, obtains the remaining available resources in the current resource pool through monitoring, and schedules resources on demand through management operations, including reserving resources and releasing resources. It should be noted that the reserved resources are not counted in the remaining available resources.

[0058] Request decision module: The request decision module makes decisions on the requests of terminal devices by integrating various information, including the terminal device location information contained in the request, resource demand information, the current location information of the satellite server obtained by querying the positioning module, and the available resource information in the current resource pool obtained by querying the resource management module. The request decision module makes a decision on whether to accept or reject the service for the request of the terminal device according to the decision process; if the service is accepted, a resource reservation instruction is sent to the resource management module, including the size and time of the resources to be reserved.

[0059] The computing offloading method provided in the embodiment of the present application can be executed by the request decision module. Figure 3 , is a flow chart of a method for offloading calculations provided in an embodiment of the present application. As an example but not a limitation, the method may include the following steps:

[0060] S301, when receiving a computing request sent by a mobile edge computing terminal device, obtain the task duration carried in the computing request.

[0061] The task duration is used to indicate the computing time required for the computing task corresponding to the computing request sent by the terminal device.

[0062] Typically, the task duration is generated by the terminal device and included in the calculation request. The terminal device tells the satellite server how long to serve it according to its own needs. If a long service time is required, the terminal device can split the total duration of the task into multiple segments for request. The task duration in the embodiment of the present application refers to the task duration carried in a calculation request sent by the terminal device to the satellite server.

[0063] S302, calculating the remaining service time of the satellite server to the terminal device.

[0064] The remaining service time is used to indicate the limit of the satellite server's service time for the terminal device. For the specific calculation method of the remaining service time, please refer to Figure 6 The description in the embodiments will not be repeated here.

[0065] S303: If the remaining service duration is greater than the task duration, feedback information is sent to the terminal device.

[0066] The feedback information is used to instruct the first terminal to offload the computing task corresponding to the computing request to the satellite server.

[0067] If the remaining service time is less than the task time, the first preset information indicating service rejection is sent to the terminal device. If the remaining server time is equal to the task time, the satellite server can accept or reject the computing task, which can be set according to the actual situation.

[0068] Optionally, if the remaining server duration is less than the task duration, the satellite server may also send a second preset message carrying the remaining service duration to the terminal device. After receiving the second preset message, the terminal device may adjust the task duration of the computing task according to the remaining service duration carried in the second preset message (such as splitting the computing task into subtasks), and then send the adjusted task duration of the computing task to the satellite server to request the calculation again.

[0069] In one embodiment, an implementation of S303 may be:

[0070] Obtain the task processing amount carried in the computing request; calculate the remaining computing resources of the satellite server; if the task processing amount is less than or equal to the remaining computing resources, send feedback information to the terminal device; if the task processing amount is greater than the remaining computing surplus, send a third preset information indicating refusal of service to the terminal device.

[0071] The task processing capacity is used to indicate the size of the computing resources required for the computing task corresponding to the computing request. For example, computing resources may include computing resources (such as CPU occupancy), network resources, and storage resources (such as hard disk size, memory size, etc.).

[0072] For example, Figure 2 As shown, after receiving the request information, the request decision module sends an instruction to query resource information to the resource management module. The resource management module obtains the remaining computing resources from the resource pool and returns the remaining computing resources to the request decision module. If the task processing amount is less than or equal to the remaining computing resources, the request decision module sends a reservation command to the resource management module. The resource management module reserves the amount of resources in the resource pool corresponding to the task processing amount according to the reservation command.

[0073] In an embodiment of the present application, the satellite server takes into account the remaining computing resources of the satellite server when making decisions. Through the above method, the situation of insufficient computing resources during computing offloading or during the process of the satellite server executing computing tasks is effectively avoided, thereby effectively improving the efficiency and success rate of computing offloading.

[0074] In one embodiment, after sending feedback information to the terminal device at S303, the method may further include:

[0075] If a computing task sent by a terminal device is received within a preset time after feedback information is sent to the terminal device, the computing task is executed; if the computing task sent by the terminal device is not received within a preset time after feedback information is sent to the terminal device, receiving the computing task sent by the terminal device is stopped.

[0076] For example, see Figure 4 , is a decision flow chart of the satellite server provided in an embodiment of the present application.

[0077] like Figure 4 As shown, the decision-making process can include the following steps:

[0078] S41, judging whether the service duration meets the requirement. The request decision module obtains the remaining service duration of the terminal device initiating the calculation request through the service duration calculation algorithm, and jumps to S42 if the remaining service duration is greater than the duration requested by the terminal device, otherwise jumps to S46.

[0079] S42, judging whether the available resources meet the requirements. The request decision module queries the resource management module to obtain the remaining available resource information, and if the requested resource constraints are met, jump to S43, otherwise jump to S46.

[0080] S43, receiving the service. Feedback the receiving request information to the request initiating terminal, and jump to S44.

[0081] S44, reserve resources. According to the resource constraints of the service request, the resource management module reserves corresponding computing resources, storage resources and network resources, and then jumps to S45.

[0082] S45, execute the task. Start the resource reservation timer. If the task is received within the timer, the task is executed and the decision is completed. If the task is not received at the end of the timer, the task is abandoned and the resources are released, and the decision is completed.

[0083] S46, reject the service. Feedback the reception rejection information to the request initiating terminal. The decision is completed.

[0084] Optionally, the preset time is determined based on the maximum communication delay of a terminal device within the coverage range of the communication signal of the satellite server on the earth's surface.

[0085] For example, see Figure 5 , is a schematic diagram of a maximum one-way communication delay derivation model between a satellite server and a terminal device provided in an embodiment of the present application. Figure 5 As shown, the method for determining the preset time specifically includes:

[0086] The satellite orbit height is h, the coverage radius is r, the maximum elevation angle of the terminal is α, and the packet propagation rate is v. According to the sine theorem

[0087]

[0088] Obtain the satellite server coverage depression angle β. According to the formula

[0089]

[0090] Obtain the maximum communication delay l between the satellite server and the terminal device within the coverage range. The value of the preset time is 2l. That is, after the resource reservation exceeds 2l time, if the satellite server has not received the corresponding computing task, it means that the task no longer needs to be executed or is executed by other satellite servers, and this satellite server can release the resources.

[0091] In the embodiments of the present application, the satellite server reserves resources and starts a timer release strategy. When the terminal device does not offload the computing task to the satellite server within the preset time, the satellite server releases the reserved resources in a timely manner. Through the above method, the resource occupancy rate can be effectively reduced, and the waste of computing resources can be avoided.

[0092] In one embodiment, refer to Figure 6 , which is a schematic diagram of the derivation model of the remaining service duration provided by the embodiments of the present application. First, explain Figure 6 The symbols in : The radius of the earth is R, and the center of the earth is O. The earth coordinate system is a coordinate system with the center of the earth as the origin. Among them, the XOY plane coincides with the latitude plane, and the Z axis is perpendicular to the XOY plane. The orbital height of the satellite server S is H, its coverage range is circle C, the coverage radius is r, and its current position (i.e., the position of the satellite server in the earth coordinate system) is S(S x , S y , S z ), and the movement direction vector is The current position of the terminal device (i.e., the mapping point on the earth's surface of the position of the terminal device in the earth coordinate system) is U(U x , U y , U z ).

[0093] If the satellite is used as a reference object, after it orbits the earth once, the trajectory of the terminal device relative to the satellite server can be regarded as a circle C' on the earth's surface, and its radius is r' < R. V is one of the intersection points of circle C and circle C'. In the direction of the vector of U, after the satellite moves in the opposite direction of , U will finally reach the V position. At this time, the terminal device will leave the coverage range of the satellite server. Therefore, its remaining service duration is the time for the satellite to move through the arc .

[0094] Specifically, the method for calculating the remaining service duration of the satellite server for the terminal device in S302 includes:

[0095] I. Calculate the coverage of the satellite server's communication signal on the earth's surface.

[0096] like Figure 6 The range represented by the circle C is the coverage of the satellite server's communication signal on the earth's surface.

[0097] Optionally, coverage is calculated by:

[0098] Calculate the second spherical position S′(S′ x ,S′ y ,S′ z ), the second spherical position is the position corresponding to the current position of the satellite server on the earth's spherical surface; the circle C on the earth's spherical surface is calculated, and the coverage range is the range represented by the circle C.

[0099] The second spherical position S′(S′ x ,S′ y ,S′ z ) can be solved by the following system of equations:

[0100]

[0101] Among them, the first equation represents S′ on the surface of the earth, and the second equation represents S′ on the line connecting the center of the earth and the satellite.

[0102] The center of circle C is the second spherical position S′ (S′ x ,S′ y ,S′ z ), the radius of circle C is the coverage radius r of the satellite server's communication signal, and the satellite is considered to be moving in a circle around the center of the earth, then is the normal vector of circle C. Therefore, circle C can be calculated by the following formula:

[0103]

[0104] II. Calculate the operating time required for the satellite server to reach the target location based on the first spherical position, coverage, the direction of movement of the satellite server relative to the earth, and the operating period of the satellite server relative to the earth.

[0105] The target position V is the boundary of the coverage area passing through the first spherical position U (U x ,U y ,U z ) is the location of the satellite server at the time of the first spherical position, and the first spherical position is the location corresponding to the current geographical location of the terminal device on the spherical surface of the earth.

[0106] Optionally, the running time calculation method may include:

[0107] 1. Calculate the second target circle (circle C′) on the earth's spherical surface.

[0108] The second target circle represents the motion trajectory of the terminal device relative to the satellite server when the satellite server orbits the earth with the satellite server as a reference.

[0109] Specifically, one implementation of calculating the second target circle (circle C′) includes:

[0110] 1)U along The direction intersects the earth's spherical surface at U′(U′ x ,U′ y ,U′ z ), which can be calculated by solving the following equations:

[0111]

[0112] The first equation represents that U' is located on the surface of the Earth, and the second system of equations represents and Same direction.

[0113] 2) Find the equation of circle C'. For any point P(x,y,z) on circle C', it must satisfy the following conditions: P is on the surface of the Earth, and and The three vectors are coplanar, so the equation of circle C' can be calculated by the following formula:

[0114]

[0115] 2. According to the direction of movement of the satellite server relative to the earth ( in the opposite direction), the first target circle (circle C) and the second target circle determine the target position V.

[0116] Combining the equations of circle C' and circle C, we can get two intersection points V1 and V2. The angle between U and V1, and The angle between U and V2, the intersection point corresponding to the acute angle is determined as the target position V.

[0117] 3. Calculate the arc length (arc length).

[0118] Calculate the radius r' of circle C' based on the equation of circle C'. Calculate the chord length |UV| based on the coordinates of U and V. Calculate the arc on circle C' based on the chord length and radius Length.

[0119] 4. Calculate the operating time required for the satellite server to reach the target location based on the satellite server's operating period and arc length relative to the earth.

[0120] The complete cycle of the satellite server around circle C' is T, and its operation passes through the arc The time is

[0121] III. Determine the running time t as the remaining service time of the satellite server to the terminal device.

[0122] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0123] Corresponding to the calculation offloading method described in the above embodiment, Figure 7 This is a structural block diagram of a satellite server provided in an embodiment of the present application. For ease of explanation, only the parts related to the embodiment of the present application are shown.

[0124] Reference Figure 7 , the satellite server comprises:

[0125] The acquisition unit 71 is used to obtain the task duration carried in the computing request sent by the terminal device of mobile edge computing when receiving the computing request sent by the terminal device, and the task duration is used to represent the computing time required for the computing task corresponding to the computing request sent by the terminal device.

[0126] The calculation unit 72 is used to calculate the remaining service time of the satellite server for the terminal device.

[0127] The feedback unit 73 is used to send feedback information to the terminal device if the remaining service duration is greater than the task duration, wherein the feedback information is used to instruct the first terminal to offload the computing task corresponding to the computing request to the satellite server.

[0128] Optionally, the calculation unit 72 is further configured to:

[0129] Calculating the coverage of the communication signal of the satellite server on the earth's spherical surface;

[0130] Calculate the operation time required for the satellite server to reach a target position according to the first spherical position, the coverage range, the direction of movement of the satellite server relative to the earth, and the operation period of the satellite server relative to the earth, wherein the target position is the position of the satellite server when the boundary of the coverage range passes through the first spherical position, and the first spherical position is the position corresponding to the current geographical location of the terminal device on the spherical surface of the earth;

[0131] The operating time is determined as the remaining service time of the satellite server to the terminal device.

[0132] Optionally, the calculation unit 72 is further configured to:

[0133] Calculating a second spherical position, where the second spherical position is a position corresponding to the current position of the satellite server on the spherical surface of the earth;

[0134] A first target circle on the earth's spherical surface is calculated, wherein the center of the first target circle is the second spherical surface position, the radius of the first target circle is the coverage radius of the communication signal of the satellite server, and the coverage range is the range represented by the first target circle.

[0135] Optionally, the calculation unit 72 is further configured to:

[0136] Calculating a second target circle on the earth's spherical surface, wherein the second target circle represents a motion trajectory of the terminal device relative to the satellite server when the satellite server orbits the earth with the satellite server as a reference object;

[0137] Determine the target position according to the direction of movement of the satellite server relative to the earth, the first target circle and the second target circle;

[0138] Calculating the arc length between the first spherical position and the target position on the second target circle;

[0139] The operating time required for the satellite server to reach the target location is calculated based on the operating period of the satellite server relative to the earth and the arc length.

[0140] Optionally, the feedback unit 73 is further used for:

[0141] Obtaining the task processing amount carried in the computing request, wherein the task processing amount is used to represent the size of computing resources required for the computing task corresponding to the computing request;

[0142] Calculating the remaining computing resources of the satellite server;

[0143] If the task processing amount is less than the remaining computing resource amount, the feedback information is sent to the terminal device.

[0144] Optionally, the satellite server 7 further includes:

[0145] The execution unit 74 is used to execute the computing task sent by the terminal device if the computing task is received within the preset time after the feedback information is sent to the terminal device; and stop receiving the computing task sent by the terminal device if the computing task is not received within the preset time after the feedback information is sent to the terminal device.

[0146] Optionally, the preset time is determined based on the maximum communication delay of the terminal device within the coverage range of the communication signal of the satellite server on the surface of the earth.

[0147] It should be noted that the information interaction, execution process, etc. between the above-mentioned devices / units are based on the same concept as the method embodiment of the present application. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.

[0148] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.

[0149] Figure 8 Schematic diagram of the structure of the satellite server provided in the embodiment of the present application. Figure 8 As shown, the satellite server 8 of this embodiment includes: at least one processor 80 ( Figure 8 Only one is shown in the figure) a processor, a memory 81, and a computer program 82 stored in the memory 81 and executable on the at least one processor 80, and when the processor 80 executes the computer program 82, the steps in any of the above-mentioned embodiments of the computing offloading method are implemented.

[0150] The satellite server may include, but is not limited to, a processor and a memory. Those skilled in the art will appreciate that Figure 8It is only an example of the satellite server 8 and does not constitute a limitation on the satellite server 8. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components, for example, it may also include input and output devices, network access devices, etc.

[0151] The processor 80 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.

[0152] In some embodiments, the memory 81 may be an internal storage unit of the satellite server 8, such as a hard disk or memory of the satellite server 8. In other embodiments, the memory 81 may also be an external storage device of the satellite server 8, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the satellite server 8. Further, the memory 81 may also include both an internal storage unit and an external storage device of the satellite server 8. The memory 81 is used to store an operating system, an application program, a boot loader, data, and other programs, such as the program code of the computer program. The memory 81 may also be used to temporarily store data that has been output or is to be output.

[0153] An embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in the above-mentioned method embodiments can be implemented.

[0154] An embodiment of the present application provides a computer program product. When the computer program product runs on a terminal device, the terminal device can implement the steps in the above-mentioned method embodiments when executing the computer program product.

[0155] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may at least include: any entity or device that can carry the computer program code to the device / terminal device, a recording medium, a computer memory, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), an electric carrier signal, a telecommunication signal, and a software distribution medium. For example, a USB flash drive, a mobile hard disk, a magnetic disk or an optical disk. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electric carrier signals and telecommunication signals.

[0156] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0157] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0158] In the embodiments provided in the present application, it should be understood that the disclosed devices / terminal equipment and methods can be implemented in other ways. For example, the device / terminal equipment embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0159] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0160] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. A method for offloading calculation, characterized in that: A satellite server applied to mobile edge computing, the method comprising: When receiving a computing request sent by a mobile edge computing terminal device, obtaining a task duration carried in the computing request, where the task duration is used to indicate the computing time required for the computing task corresponding to the computing request sent by the terminal device; Calculating the remaining service time of the satellite server for the terminal device; If the remaining service duration is greater than the task duration, feedback information is sent to the terminal device, wherein the feedback information is used to instruct the terminal device to offload the computing task corresponding to the computing request to the satellite server; The calculating of the remaining service duration of the satellite server for the terminal device includes: Calculating a second spherical position, where the second spherical position is a position corresponding to the current position of the satellite server on the spherical surface of the earth; Calculating a first target circle on the earth's spherical surface, and determining the coverage range of the communication signal of the satellite server on the earth's spherical surface according to the range represented by the first target circle, wherein the center of the first target circle is the second spherical surface position, and the radius of the first target circle is the coverage radius of the communication signal of the satellite server; Calculating a second target circle on the earth's spherical surface, wherein the second target circle represents a motion trajectory of the terminal device relative to the satellite server when the satellite server orbits the earth with the satellite server as a reference object; Determine a target position according to the direction of movement of the satellite server relative to the earth, the first target circle and the second target circle, the target position being the position of the satellite server when the boundary of the coverage area passes through a first spherical position, the first spherical position being the position corresponding to the current geographical location of the terminal device on the spherical surface of the earth; Calculating the arc length between the first spherical position and the target position on the second target circle; Calculating the operating time required for the satellite server to reach the target location based on the operating period of the satellite server relative to the earth and the arc length; The operating time is determined as the remaining service time of the satellite server to the terminal device.

2. The calculation offloading method according to claim 1, characterized in that: If the remaining service duration is greater than the task duration, sending feedback information to the terminal device includes: Obtaining the task processing amount carried in the computing request, wherein the task processing amount is used to represent the size of computing resources required for the computing task corresponding to the computing request; Calculating the remaining computing resources of the satellite server; If the task processing amount is less than the remaining computing resource amount, the feedback information is sent to the terminal device.

3. The calculation offloading method according to claim 2, characterized in that: If the task processing amount is less than the remaining computing resource amount, after sending the feedback information to the terminal device, the method further includes: If a computing task sent by the terminal device is received within a preset time after sending the feedback information to the terminal device, executing the computing task; If the computing task sent by the terminal device is not received within a preset time after the feedback information is sent to the terminal device, the receiving of the computing task sent by the terminal device is stopped.

4. The calculation offloading method according to claim 3, characterized in that: The preset time is determined according to the maximum communication delay of the terminal device within the coverage area of ​​the communication signal of the satellite server on the earth's spherical surface.

5. A satellite server, characterized in that: include: An acquisition unit, configured to, when receiving a computing request sent by a terminal device of mobile edge computing, acquire a task duration carried in the computing request, wherein the task duration is used to indicate the computing time required for the computing task corresponding to the computing request sent by the terminal device; A calculation unit, used for calculating the remaining service time of the satellite server for the terminal device; a feedback unit, configured to send feedback information to the terminal device if the remaining service duration is greater than the task duration, wherein the feedback information is used to instruct the terminal device to offload the computing task corresponding to the computing request to the satellite server; Wherein, the computing unit is specifically used for: Calculating a second spherical position, where the second spherical position is a position corresponding to the current position of the satellite server on the spherical surface of the earth; Calculating a first target circle on the earth's spherical surface, and determining the coverage range of the communication signal of the satellite server on the earth's spherical surface according to the range represented by the first target circle, wherein the center of the first target circle is the second spherical surface position, and the radius of the first target circle is the coverage radius of the communication signal of the satellite server; Calculating a second target circle on the earth's spherical surface, wherein the second target circle represents a motion trajectory of the terminal device relative to the satellite server when the satellite server orbits the earth with the satellite server as a reference object; Determine a target position according to the direction of movement of the satellite server relative to the earth, the first target circle and the second target circle, the target position being the position of the satellite server when the boundary of the coverage area passes through a first spherical position, the first spherical position being the position corresponding to the current geographical location of the terminal device on the spherical surface of the earth; Calculating the arc length between the first spherical position and the target position on the second target circle; Calculating the operating time required for the satellite server to reach the target location based on the operating period of the satellite server relative to the earth and the arc length; The operating time is determined as the remaining service time of the satellite server to the terminal device.

6. A satellite server, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 4 is implemented.

7. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 4 is implemented.

Citation Information

Patent Citations

  • Self-adaption switching method for fast terminal in satellite network

    CN106792946A

  • A method and a device for determining a real-time satellite ground coverage time window

    CN109697325A

  • Task unloading method and device based on vehicle-mounted edge computing

    CN112714178A

  • Mobile edge network service unloading method and device

    CN113407251A

  • Method for searching edge computing server and related device

    WO2021023042A1