CN110311979A - A kind of the task immigration method and relevant apparatus of MEC server - Google Patents

A kind of the task immigration method and relevant apparatus of MEC server Download PDF

Info

Publication number
CN110311979A
CN110311979A CN201910595116.7A CN201910595116A CN110311979A CN 110311979 A CN110311979 A CN 110311979A CN 201910595116 A CN201910595116 A CN 201910595116A CN 110311979 A CN110311979 A CN 110311979A
Authority
CN
China
Prior art keywords
subtask
mec
container
mec server
user terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910595116.7A
Other languages
Chinese (zh)
Other versions
CN110311979B (en
Inventor
潘锦丰
余荣
张浩川
缪志鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong University of Technology
Original Assignee
Guangdong University of Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong University of Technology filed Critical Guangdong University of Technology
Priority to CN201910595116.7A priority Critical patent/CN110311979B/en
Publication of CN110311979A publication Critical patent/CN110311979A/en
Application granted granted Critical
Publication of CN110311979B publication Critical patent/CN110311979B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/30Monitoring; Testing of propagation channels
    • H04B17/309Measuring or estimating channel quality parameters
    • H04B17/318Received signal strength
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/563Data redirection of data network streams
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application provides a kind of task immigration method of MEC server, comprising: obtains signal strength information of the user terminal under current MEC server;Judge whether user terminal is subjected to displacement according to the change rate of signal strength information;If user terminal is not subjected to displacement, subtask migration is carried out according to the operating status of MEC server;If user terminal is subjected to displacement, judge whether user terminal carries out trans-regional displacement;If user terminal carries out trans-regional displacement, trans-regional subtask migration is executed;If user terminal does not carry out trans-regional displacement, subtasking is migrated in the service centre of Distributed Area.Task execution failure situation caused by being avoided that in the implementation procedure of entire task because of reasons such as multiple data transmission or equipment delay machines, support mission completes property to the maximum extent.The application also provides a kind of MEC server and a kind of computer readable storage medium, has above-mentioned beneficial effect.

Description

A kind of the task immigration method and relevant apparatus of MEC server
Technical field
This application involves server field, in particular to the task immigration method and relevant apparatus of a kind of MEC server.
Background technique
In recent years, in order to which the high time delay of the fast-developing bring for effectively solving mobile Internet and Internet of Things, high network are negative Lotus, inefficient problem, mobile edge calculations (Mobile Edge Computing) technology, hereafter together simply referred to as MEC, obtains Extensive concern research is arrived.The thought of mobile edge calculations is cloud computing platform to be moved to Mobile Access Network edge, it is intended to Conventional telecommunications cellular network and Internet service are subjected to depth integration, reduce the end-to-end time delay that mobile service is delivered, is excavated The ability of wireless network promotes user experience.Specifically, mobile edge calculations are by network, calculating, storage capacity from Yun Yanshen To network edge, various services are disposed in network edge and cache contents, mobile core network further mitigate congestion, and Local demand can effectively be serviced.
With the development of code decomposition technique, the task partitioning model in MEC is got the attention.In general, a shifting What dynamic terminal applies task was made of multiple subtasks, wherein mobile terminal application task is the substantially single of MEC processing task Member.Assuming that subtask 1,2,3,4,5 constitutes a task, the input data source of 5 work song tasks is from 3 work song tasks and No. 4 It subtask, just can be with after 5 work song tasks receive the data from both sides only when 3 work song tasks and 4 work song tasks are completed Start to execute.
Firstly, since task divides the appearance that a part of subtask that decision is divided into is migrated to MEC server by task Device end executes, then the container end of MEC server and user terminal will certainly continually carry out data interaction, therefore the probability of packet loss It can increase.Secondly, task will be declared when delay machine occurs for the container of MEC server or entire MEC itself in implementation procedure It fails.Finally, if subtask occurs executing chaotic suddenly so that returned data cannot appoint as a result, so will also result in time Business failure.
Secondly, in the prior art containers store all data, when user occurs mobile, MEC server needs will be whole A container is migrated.And the migration of whole container certainly will will cause a large amount of data transmission.It is assumed that when multiple users generation is more When secondary migration, network delay and network load will necessarily be greatly aggravated, communication system is caused to impact, is unable to support mission The property completed, while multiple big data quantity transmission will increase the execution time of task, eventually reduce the Quality of experience of user.
Therefore the reliability for the task immigration for how improving MEC server is asking for those skilled in the art's urgent need to resolve Topic.
Summary of the invention
The purpose of the application is to provide task immigration method, a kind of MEC server and a kind of calculating of a kind of MEC server Machine readable storage medium storing program for executing effectively increases reliability when MEC server carries out task immigration.
In order to solve the above technical problems, the application provides a kind of task immigration method of MEC server, specific technical solution It is as follows:
Obtain signal strength information of the user terminal under current MEC server;
Judge whether the user terminal is subjected to displacement according to the change rate of the signal strength information;
If the user terminal is not subjected to displacement, subtask migration is carried out according to the operating status of the MEC server;
If the user terminal is subjected to displacement, judge whether the user terminal carries out trans-regional displacement;
If user terminal carries out trans-regional displacement, trans-regional subtask migration is executed;
If user terminal does not carry out trans-regional displacement, subtasking is migrated in the service centre of Distributed Area;
Wherein, the Distributed Area service centre by all MEC servers in preset geographical position range resource Data field is constituted.
Wherein, comprising:
The online information of the MEC server is updated every the first preset time;
It often increases newly clear in user terminal update user subtask when one subtask in a subtask or every completion It is single, and in MEC server update container subtask inventory;
The signal strength information is updated every the second preset time.
Wherein, comprising:
The user registers the first registration information to Distributed Area service centre, and first registration information includes user The signal strength information and user subtask inventory of online information, the user under the MEC server;
MEC container registers the second registration information to Distributed Area service centre, and second registration information includes container Online information and container subtask inventory;
Wherein, the MEC server includes MEC container, the resource data area and data storage area.
Wherein, user's online information, the signal strength information, user subtask inventory, the container exist Line information and container subtask inventory are all made of node data format.
Wherein, the node data format includes service the ranking serial number, the information of registration of MEC server series, user The information state of type and registration.
Wherein, further includes:
First registration information and second registration information are stored to the region of data storage.
Wherein, carrying out subtask migration according to the operating status of the MEC server includes:
If the MEC server, there are the part MEC container delay machine, the Distributed Area service centre is according to having delayed The container subtask inventory that the MEC container of machine updates for the last time before delay machine determines task pointer;According to the task The subtask being not carried out is migrated from the data storage area into normal MEC container and is executed by pointer, at the same update it is described just The container subtask inventory of normal MEC container;
If the complete delay machine of MEC server, the Distributed Area service centre are true according to the signal strength information The nearest MEC server of user terminal described in set a distance transfers all of the MEC server of delay machine from the data storage area Container subtask inventory, and subtask is synchronized to by normal MEC server according to all container subtasks inventory.
The application also provides a kind of MEC server, comprising:
Resource data area, the resource data area for presetting all MEC servers in geographic range constitute distributed area Domain service centre;
Data storage area, user stores subtask data, subtask executes data, implementing result data and the distribution The instruction message at region server center;
MEC container, for executing user subtask.
The application also provides a kind of computer readable storage medium, is stored thereon with computer program, the computer journey The step of task immigration method as described above is realized when sequence is executed by processor.
The application provides a kind of task immigration method of MEC server, comprising: obtains user terminal in current MEC server Under signal strength information;Judge whether user terminal is subjected to displacement according to the change rate of the signal strength information;If user terminal It is not subjected to displacement, subtask migration is carried out according to the operating status of MEC server;If user terminal is subjected to displacement, user terminal is judged Whether trans-regional displacement is carried out;If user terminal carries out trans-regional displacement, trans-regional subtask migration is executed;If user terminal does not carry out Trans-regional displacement, subtasking migrates in the service centre of Distributed Area;Wherein, Distributed Area service centre is by presetting The resource data area of all MEC servers in geographical position range is constituted.
The application is avoided that because of reasons such as multiple data transmission or equipment delay machines in the implementation procedure of entire task Caused by task execution fail situation, to the maximum extent support mission complete property.It, can be faster meanwhile when user occurs mobile Ground carries out recovery execution to task data, reduces the transmission of data volume, reduces total execution time of task, mitigate network delay and Network load improves the Quality of experience of user to meet user's real-time requirement.The application also provides a kind of MEC server and one Kind computer readable storage medium, has above-mentioned beneficial effect, details are not described herein again.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The embodiment of application for those of ordinary skill in the art without creative efforts, can also basis The attached drawing of offer obtains other attached drawings.
Fig. 1 is a kind of flow chart of the task immigration method of MEC server provided by the embodiment of the present application;
Fig. 2 is node data form schematic diagram provided by the present application;
Fig. 3 is inventory form schematic diagram in subtask provided by the present application;
Fig. 4 is a kind of node data example schematic diagram provided by the embodiments of the present application;
Fig. 5 is the first transition process schematic diagram provided by the present application;
Fig. 6 is that the corresponding node data of the first transition process provided by the present application updates schematic diagram;
Fig. 7 is second of transition process schematic diagram provided by the present application;
Fig. 8 is the third transition process schematic diagram provided by the present application;
Fig. 9 is that the corresponding node data of the third transition process provided by the present application updates schematic diagram;
Figure 10 is the 4th kind of transition process schematic diagram provided by the present application;
Figure 11 is that the corresponding node data of the 4th kind of transition process provided by the present application updates schematic diagram.
Specific embodiment
To keep the purposes, technical schemes and advantages of the embodiment of the present application clearer, below in conjunction with the embodiment of the present application In attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is Some embodiments of the present application, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art Every other embodiment obtained without making creative work, shall fall in the protection scope of this application.
Referring to FIG. 1, Fig. 1 is a kind of process of the task immigration method of MEC server provided by the embodiment of the present application Figure, the task immigration method include:
S101: signal strength information of the user terminal under current MEC server is obtained;
This step is intended to obtain signal strength information of the user terminal under MEC server.
Task immigration strategy is the important step during task immigration, it refers to using certain index as optimization aim, is led to Relevant scientific method is crossed, migration consumption is measured, makes and migrate which subtask to the process of remote server container.
This step can be executed by Distributed Area service centre.Distributed Area service centre to user terminal register/more New signal strength is analyzed.
It is easily understood that needing to establish the connection between user terminal and MEC server, Yi Jixiang before executing this step The registration process answered.Specific registration process can be such that
User registers the first registration information to Distributed Area service centre, and the first registration information includes that user believes online Breath, signal strength information and user subtask inventory of the user under MEC server;
MEC container registers the second registration information to Distributed Area service centre, and the second registration information includes that container is online Information and container subtask inventory;
It is noted that user's online information, signal strength information, user subtask inventory, container online information and Container subtask inventory is all made of node data format.Node data format includes the service ranking of MEC server series, user The information state of serial number, the information type of registration and registration.
Subtask has been migrated, before user terminal and MEC container end start subtasking, has been required to Distributed Area Service centre's registration information.The information of user terminal registration has: the signal of user's online information, user under current MEC server Strength information and subtask inventory (including user subtask inventory and container subtask inventory).The information of MEC container end registration Have: container online information and subtask inventory.Subtask inventory has recorded the subtask that container end/user terminal needs to be implemented.
The online information and signal strength that user terminal and MEC container end are registered to Distributed Area service centre in the present invention Information is using node data format, and referring to figs. 2 and 3, Fig. 2 is node data form schematic diagram provided by the present application, Fig. 3 For inventory form schematic diagram in subtask provided by the present application;
Wherein, the executive condition of the position description subtask of task pointer.
In order to facilitate management, the present invention is used uniformly number of nodes to online information, signal strength information and subtask inventory According to format, node data format is referring to fig. 2.
During the node/MEC_number and node/serial_number data information of addition are serviced by Distributed Area The heart provides.
In Fig. 2, node/MEC_number provides the MEC server serial number of service for active user;/serial_number Serial number is ranked for the service at family;Type is the information type of volume;/ status is the information state of volume.
For example, by some user in the region of MEC server A offer service (assuming that the service of the user ranks serial number 10, the signal strength under current MEC server is -50 decibel milliwatts (decibel relative to one Milliwatt, abbreviation dBm)) being made of 5 subtasks for a task, such as Fig. 4 are needed to be implemented, if subtask 2,3 and 5 needs It moves in MEC server, and is executed by free container 2, then user terminal and container end need to infuse before subtasking The nodal information of volume is as shown in Figure 4.
Certainly, so it is easy to understand that after having registered, the first registration information and the second registration information can also be stored to number According to storage area.
S102: judge whether the user terminal is subjected to displacement according to the change rate of the signal strength information;;
Specifically, this step usually may determine that whether the change rate of signal strength information is greater than preset threshold, with determination Whether user terminal is subjected to displacement.
User terminal is connected to a MEC server, then the MEC server provides service for user.With the movement of user, User terminal is gradually increased at a distance from MEC server, and propagation delay time increases, and in order to guarantee the service experience quality of user, is passed through Migration strategy (strategy comprehensively considers the factors such as energy consumption, transmission cost) between MEC, by the entire appearance of MEC server Device moves in new MEC server and restores to calculate again, continues as user service.
The size of preset threshold is not especially limited herein.For example, when the signal strength of user terminal is in t seconds When change rate is less than setting value, it is believed that user terminal is not moved, i.e., executes and appoint under the current MEC server for providing service Business.Otherwise it is assumed that user moves.
S103: if user terminal is not subjected to displacement, subtask migration is carried out according to the operating status of MEC server;
S104: if user terminal is subjected to displacement, judge whether user terminal carries out trans-regional displacement;
S105: if user terminal carries out trans-regional displacement, trans-regional subtask migration is executed;
S106: if user terminal does not carry out trans-regional displacement, subtasking is migrated in the service centre of Distributed Area;
When user is displaced, it is first determined whether to be mobile with the user under Distributed Area service centre.It needs It should be noted that resource data area of the Distributed Area service centre by all MEC servers in preset geographical position range It constitutes.
Because each MEC server all has certain calculating and storage capacity, the present invention picks out geographical position The N platform MEC server being closer to is set, the Distributed Area service of fritter resource composition is then contributed in every MEC server Center.Distributed Area service centre not only manages this N block resource, and it have caching of data with it is synchronous, to MEC clothes Business device and user such as are managed at the functions.
User and MEC server are connected under the same network by base station.In general, the user in a region can be by geography The closer MEC server providing services in position, user are divided and are migrated decision by task, the subtask that need to migrate calculating is moved It moves on in the MEC server.Meanwhile user also needs the implementing result for sending subtask in time and receives from MEC container end Subtask implementing result.
Preferably, which includes MEC container, resource data area and data storage area.
MEC server marks off a part of resource as region of data storage, can store and come from user terminal migration Subtask and its execute data, the subtask implementing result that sends over from user terminal and from Distributed Area service centre Information.In addition, a MEC server is made of multiple containers, container is only responsible for executing the subtask of migration, without storing number According to.In general, a container only provides service for a user until the subtask of migration is finished.It is identical with user terminal, MEC Server container end also needs the implementing result for sending subtask in time and receives the subtask implementing result from user terminal.
It is mobile for the user under same a Distributed Area service centre:
When the change in signal strength rate for analyzing user terminal is greater than the set value, it is believed that user moves.Firstly, distribution Formula Regional service center can broadcast all MEC servers under same a Distributed Area service centre management, and MEC is allowed to take Business device monitors the mobile subscriber.Then, when other MEC servers listen to user and the change in signal strength under it When rate is less than setting value, then the MEC server is responded to Distributed Area service centre.Finally, Distributed Area services Center moves to the relevant subtask result data executed in the MEC server data storage area of response, while basis The subtask being not carried out is restored in free container by the subtask inventory synchronized to be executed, and updates nodal information.
User under MEC server A needs to be implemented being made of 5 subtasks for a task, and subtask 2,3 and 5 needs It moves in MEC server A and is executed by container 1.As shown in figure 5,
1.: when container 1 executes subtask 5, user is moved.User is mobile from the service range of MEC server A To under MEC server B.Management event is triggered at this time;
2. -- 4.: the MEC server under Distributed Area service centre manages it is broadcasted, at this time MEC server B Listen to user and change in signal strength rate meet the requirements after respond;
5.: Distributed Area service centre by the input data of subtask 5 (if region of data storage has received user terminal The implementing result of subtask 4, then input data is the implementing result of subtask 3 and 4;Otherwise, input data is holding for subtask 3 Row result) it is transferred in the region of data storage of MEC server B;
6.: the subtask 5 being not carried out is restored to by free container 10 according to the container subtask inventory synchronized and continues to hold Row, while updating nodal information.Updated nodal information is referring to Fig. 6.
For the movement under different distributions formula Regional service center:
After when Distributed Area, service centre is broadcasted, serverless backup is responded, it is considered that user moves out original The service range of Distributed Area service centre.Firstly, former Distributed Area service centre is into the service of other Distributed Area The heart is broadcasted, then is managed it lower MEC server by other Distributed Area service centres and carried out broadcast control.Then, it rings The MEC server answered is responded to former Distributed Area service centre again from its Distributed Area service centre.Finally, former distributed Regional service center is according to subtask inventory, by the subtask data being not carried out and the execution knot of the relevant subtask executed Fruit Data Migration restores to execute into the MEC server data storage area of response and in free container, while user terminal and appearance Device end re-registers nodal information.
Likewise, the user under MEC server A needs to be implemented being made of 5 subtasks for a task along example is drawn, Subtask 2,3 and 5 needs to move in MEC server A and is executed by container 1.As shown in fig. 7,
1.: when container 1 goes to subtask 5, the shifting across Distributed Area service centre occurs for user;
5. 2.: at this point, after by broadcast, MEC server A management under Distributed Area service centre B to the user, Then the MEC server is responded to Distributed Area service centre B, then is taken from Distributed Area service centre B to Distributed Area Business center A response;
7. 6.: finally, Distributed Area service centre A is according to subtask inventory, by the data for the subtask 5 being not carried out And subtask 5 input data (if region of data storage has received the implementing result of user terminal subtask 4, then input data For the implementing result of subtask 3 and 4;Otherwise, input data is the implementing result of subtask 3) it is transferred to the MEC server of response In and be restored to free container 10 and continue to execute, while user terminal and container end re-register nodal information, at this time MEC container end Registration subtask inventory only has 5 information of subtask.
The core of the application is the building of Distributed Area service centre.Each MEC server contributes a part of resource The Distributed Area service centre of composition has the function of caching and synchrodata, management MEC server and user.In addition, number According to the foundation of memory block then instead of the mode of original containers store data, it is ensured that can be reduced the data volume of migration.
Secondly, being managed by the signal strength information to user terminal registration/updating, distinguish whether user moves It moves.In the case where not migrating, by management line node information and subtask inventory, equipment delay machine or subtask are avoided Execute error the case where causing mission failure, it is ensured that subtask can smoothly be executed in container end and user terminal, and ultimate guarantee is appointed The completion of business.In the case where user moves, Distributed Area service centre by its management under MEC server Or the broadcast of other Distributed Area service centres, the location information of user is obtained, and related data is moved into corresponding MEC and is taken In business device region of data storage and restore to execute, while updating relevant nodal information.Mitigate net in a manner of volume of transmitted data to reduce Network delay and network load, improve the Quality of experience of user.
Based on the above embodiment, as preferential embodiment, comprising:
The online information of MEC server is updated every the first preset time;
In user terminal update user subtask inventory when often increasing one subtask in a subtask or every completion newly, and MEC server update container subtask inventory;
Signal strength information is updated every the second preset time.
During MEC container and user terminal subtasking, the first preset time and second sets time, MEC respectively Container and user terminal require to Distributed Area service centre to be updated online information and subtask inventory (i.e. more new task The position of pointer), in addition, user terminal also needs to update the signal strength information of user.Meanwhile when user terminal/MEC container end is often held Gone a subtask when, also need in time to the corresponding subtask inventory of Distributed Area service centre update.Herein for One preset time and second sets the time and is not especially limited.Particularly, the first preset time and second set the time can be equal.It needs It should be noted that when user terminal executes in MEC container there are subtask, the renewal frequency of the signal strength information of user terminal It should be at higher level, it might even be possible to real-time update.
Based on the above embodiment, as preferred embodiment, subtask migration is carried out according to the operating status of MEC server Include:
If MEC server, there are part MEC container delay machine, Distributed Area service centre is according to the MEC container of delay machine The container subtask inventory updated for the last time before delay machine determines task pointer;The subtask that will be not carried out according to task pointer It migrates from data storage area into normal MEC container and executes, while updating the container subtask inventory of normal MEC container;
If the complete delay machine of MEC server, Distributed Area service centre is determined according to signal strength information apart from user terminal Nearest MEC server transfers all container subtasks inventory of the MEC server of delay machine, and root from data storage area Subtask is synchronized to normal MEC server according to all container subtasks inventory.
1. during MEC container end subtasking, when delay machine occurs for some or certain containers registered in MEC When, because container cannot update online information in time in t seconds, to trigger management event.At this point, in the service of Distributed Area The heart can be according to the position for the subtask checklist task pointer that last time normally updates before container delay machine, the subtask that will be not carried out Restore into new free container to continue to execute from region of data storage, while more new node/type information of container.It is false such as Fig. 8 As the container 1 under MEC server A execute migration subtask 2,3,5, at this time:
2. 1.: if when executing subtask 5 delay machine occurs for container 1, then container 1 cannot update in time in t seconds Online information, Distributed Area service center triggers management event;
3.: the subtask 5 being not carried out is restored to the free time according to the subtask inventory of container by Distributed Area service centre Container 10 executes, while the nodal information updated is as shown in Figure 9.
When entire MEC server delay machine, the corresponding resource for constituting Distributed Area service centre will disappear, data storage The data in area will also disappear, meanwhile, MEC server will cannot provide service again for the user under its region.At this point, due to distribution Formula Regional service center manages the resource that each MEC server shares out, so it will trigger management event, it will select another Outer provides service apart from the closer MEC server in user geographical location for user, due to infusing before user and MEC container end The nodal information of volume/update has been synchronized, so Distributed Area service centre can incite somebody to action according to the subtask inventory of container end The subtask of migration is restored again in new MEC free container, while updating nodal information.Significantly, since this In order to reduce network burden, not synchronous subtask really executes data for invention, thus needed in updating nodal information by State (re-executing the subtask of migration) when task pointer in the inventory of container end subtask is restored to registration.
Such as Figure 10, the container 1 under MEC server A executes the subtask 2 of migration, and 3,5, if container 1 goes to son and appoints Business 5, at this time
2. 1.: delay machine, Distributed Area service center triggers management event occur for entire MEC server;
3.: Distributed Area service centre will select to provide apart from the closer MEC server B in user geographical location for user Service;
4.: Distributed Area service centre is complete by the subtask 2,3,5 of migration according to the container subtask inventory synchronized Portion is restored to free container 10 and re-executes, at the same update nodal information as shown in figure 11 (if user is in MEC server The service of A ranks serial number 10, ranks serial number 11 in the service of MEC server B).
When container end/user terminal is more than not carry out to Distributed Area service centre also for t seconds (may be due to executing error) When updating subtask inventory, it will triggering management event, so that Distributed Area service centre is by container end/user terminal subtask Inventory is restored to a normal more new state, and corresponding user terminal/container end is allowed to continue to execute from normal subtask state, To guarantee the completion of task.
When user terminal generation delay machine, then cancel task execution.
Present invention also provides a kind of computer readable storage mediums, have computer program thereon, the computer program It is performed and step provided by above-described embodiment may be implemented.The storage medium may include: USB flash disk, mobile hard disk, read-only deposit Reservoir (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or The various media that can store program code such as CD.
Each embodiment is described in a progressive manner in specification, the highlights of each of the examples are with other realities The difference of example is applied, the same or similar parts in each embodiment may refer to each other.For embodiment provide system and Speech, since it is corresponding with the method that embodiment provides, so being described relatively simple, related place is referring to method part illustration ?.
Specific examples are used herein to illustrate the principle and implementation manner of the present application, and above embodiments are said It is bright to be merely used to help understand the present processes and its core concept.It should be pointed out that for the ordinary skill of the art For personnel, under the premise of not departing from the application principle, can also to the application, some improvement and modification can also be carried out, these improvement It is also fallen into the protection scope of the claim of this application with modification.
It should also be noted that, in the present specification, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning Covering non-exclusive inclusion, so that the process, method, article or equipment for including a series of elements not only includes that A little elements, but also including other elements that are not explicitly listed, or further include for this process, method, article or The intrinsic element of equipment.In the absence of more restrictions, the element limited by sentence "including a ...", is not arranged Except there is also other identical elements in the process, method, article or apparatus that includes the element.

Claims (9)

1. a kind of task immigration method of MEC server characterized by comprising
Obtain signal strength information of the user terminal under current MEC server;
Judge whether the user terminal is subjected to displacement according to the change rate of the signal strength information;
If the user terminal is not subjected to displacement, subtask migration is carried out according to the operating status of the MEC server;
If the user terminal is subjected to displacement, judge whether the user terminal carries out trans-regional displacement;
If the user terminal carries out trans-regional displacement, trans-regional subtask migration is executed;
If the user terminal does not carry out trans-regional displacement, subtasking is migrated in the service centre of Distributed Area;
Wherein, the Distributed Area service centre by all MEC servers in preset geographical position range resource data Area is constituted.
2. task immigration method according to claim 1 characterized by comprising
The online information of the MEC server is updated every the first preset time;
User subtask inventory is updated in user terminal when often increasing one subtask in a subtask or every completion newly, and In MEC server update container subtask inventory;
The signal strength information is updated every the second preset time.
3. task immigration method according to claim 1 characterized by comprising
The user registers the first registration information to Distributed Area service centre, and first registration information includes that user is online The signal strength information and user subtask inventory of information, the user under the MEC server;
MEC container registers the second registration information to Distributed Area service centre, and second registration information includes that container is online Information and container subtask inventory;
Wherein, the MEC server includes MEC container, the resource data area and data storage area.
4. task immigration method according to claim 3, which is characterized in that user's online information, the signal are strong Degree information, user subtask inventory, the container online information and container subtask inventory are all made of node data Format.
5. task immigration method according to claim 4, which is characterized in that the node data format includes MEC service The information state of device sequence, the service ranking serial number of user, the information type of registration and registration.
6. task immigration method according to claim 3, which is characterized in that further include:
First registration information and second registration information are stored to the region of data storage.
7. task immigration method according to claim 1, which is characterized in that according to the operating status of the MEC server Carrying out subtask migration includes:
If the MEC server is there are the part MEC container delay machine, the Distributed Area service centre is according to delay machine The container subtask inventory that MEC container updates for the last time before delay machine determines task pointer;According to the task pointer The subtask being not carried out is migrated from the data storage area into normal MEC container and is executed, while updating the normal MEC The container subtask inventory of container;
If the complete delay machine of MEC server, the Distributed Area service centre according to the signal strength information determine away from The MEC server nearest from the user terminal, transfers all containers of the MEC server of delay machine from the data storage area Subtask inventory, and subtask is synchronized to by normal MEC server according to all container subtasks inventory.
8. a kind of MEC server characterized by comprising
Resource data area, the resource data area for presetting all MEC servers in geographic range constitute Distributed Area clothes Business center;
Data storage area, user stores subtask data, subtask executes data, implementing result data and the Distributed Area The instruction message of server-centric;
MEC container, for executing user subtask.
9. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program quilt The step of task immigration methods as described in any item such as claim 1-7 are realized when processor executes.
CN201910595116.7A 2019-07-03 2019-07-03 Task migration method of MEC server and related device Active CN110311979B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910595116.7A CN110311979B (en) 2019-07-03 2019-07-03 Task migration method of MEC server and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910595116.7A CN110311979B (en) 2019-07-03 2019-07-03 Task migration method of MEC server and related device

Publications (2)

Publication Number Publication Date
CN110311979A true CN110311979A (en) 2019-10-08
CN110311979B CN110311979B (en) 2022-05-17

Family

ID=68078096

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910595116.7A Active CN110311979B (en) 2019-07-03 2019-07-03 Task migration method of MEC server and related device

Country Status (1)

Country Link
CN (1) CN110311979B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111600648A (en) * 2020-05-25 2020-08-28 中国矿业大学 Mobile relay position control method of mobile edge computing system
CN113556727A (en) * 2021-07-19 2021-10-26 中国联合网络通信集团有限公司 Data transmission method and system of cloud equipment based on mobile container
CN114946164A (en) * 2020-01-15 2022-08-26 三星电子株式会社 Improvements in and relating to microservices for MEC networks
CN115051931A (en) * 2022-06-08 2022-09-13 广东工业大学 Virtual avatar migration method based on reinforcement learning and control system thereof

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150046575A1 (en) * 2013-08-08 2015-02-12 Level 3 Communications, Llc Content delivery methods and systems
CN106125038A (en) * 2016-06-15 2016-11-16 北京工业大学 Based on edge calculations and the indoor wireless positioning method of Bayes posterior probability model
CN106933508A (en) * 2017-02-14 2017-07-07 深信服科技股份有限公司 The moving method and device of application container
CN107391239A (en) * 2016-03-11 2017-11-24 阿里巴巴集团控股有限公司 A kind of dispatching method and equipment based on container service
CN108076488A (en) * 2016-11-14 2018-05-25 华为技术有限公司 For the methods, devices and systems of cell switching
CN108494612A (en) * 2018-01-19 2018-09-04 西安电子科技大学 A kind of network system and its method of servicing that mobile edge calculations service is provided
CN108762882A (en) * 2018-04-02 2018-11-06 杭州朗和科技有限公司 A kind of moving method, moving apparatus, medium and the computing device of Docker containers
US20190042302A1 (en) * 2017-08-01 2019-02-07 Cable Television Laboratories, Inc Systems and methods for establishing scalable credential creation and access
CN109413676A (en) * 2018-12-11 2019-03-01 西北大学 Combine the edge calculations moving method of lower uplink in a kind of ultra dense heterogeneous network
CN109644199A (en) * 2016-10-18 2019-04-16 华为技术有限公司 Virtual network condition managing in mobile edge calculations
CN109889599A (en) * 2019-03-07 2019-06-14 北京邮电大学 Data processing method and system

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150046575A1 (en) * 2013-08-08 2015-02-12 Level 3 Communications, Llc Content delivery methods and systems
CN107391239A (en) * 2016-03-11 2017-11-24 阿里巴巴集团控股有限公司 A kind of dispatching method and equipment based on container service
CN106125038A (en) * 2016-06-15 2016-11-16 北京工业大学 Based on edge calculations and the indoor wireless positioning method of Bayes posterior probability model
CN109644199A (en) * 2016-10-18 2019-04-16 华为技术有限公司 Virtual network condition managing in mobile edge calculations
CN108076488A (en) * 2016-11-14 2018-05-25 华为技术有限公司 For the methods, devices and systems of cell switching
CN106933508A (en) * 2017-02-14 2017-07-07 深信服科技股份有限公司 The moving method and device of application container
US20190042302A1 (en) * 2017-08-01 2019-02-07 Cable Television Laboratories, Inc Systems and methods for establishing scalable credential creation and access
CN108494612A (en) * 2018-01-19 2018-09-04 西安电子科技大学 A kind of network system and its method of servicing that mobile edge calculations service is provided
CN108762882A (en) * 2018-04-02 2018-11-06 杭州朗和科技有限公司 A kind of moving method, moving apparatus, medium and the computing device of Docker containers
CN109413676A (en) * 2018-12-11 2019-03-01 西北大学 Combine the edge calculations moving method of lower uplink in a kind of ultra dense heterogeneous network
CN109889599A (en) * 2019-03-07 2019-06-14 北京邮电大学 Data processing method and system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
3RD GENERATION PARTNERSHIP PROJECT: "5G enhanced mobile broadband;Media distribution (Release 16)", 《3GPP TR 26.891(2018-12)》 *
陈常梅: "基于C-RAN的移动城域网5G承载方案探讨", 《电信工程技术与标准化,工程与设计》 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114946164A (en) * 2020-01-15 2022-08-26 三星电子株式会社 Improvements in and relating to microservices for MEC networks
CN111600648A (en) * 2020-05-25 2020-08-28 中国矿业大学 Mobile relay position control method of mobile edge computing system
CN111600648B (en) * 2020-05-25 2022-02-22 中国矿业大学 Mobile relay position control method of mobile edge computing system
CN113556727A (en) * 2021-07-19 2021-10-26 中国联合网络通信集团有限公司 Data transmission method and system of cloud equipment based on mobile container
CN113556727B (en) * 2021-07-19 2022-08-23 中国联合网络通信集团有限公司 Data transmission method and system of cloud equipment based on mobile container
CN115051931A (en) * 2022-06-08 2022-09-13 广东工业大学 Virtual avatar migration method based on reinforcement learning and control system thereof
CN115051931B (en) * 2022-06-08 2024-03-08 广东工业大学 Virtual avatar migration method based on reinforcement learning and control system thereof

Also Published As

Publication number Publication date
CN110311979B (en) 2022-05-17

Similar Documents

Publication Publication Date Title
CN110311979A (en) A kind of the task immigration method and relevant apparatus of MEC server
CN108683516B (en) Application instance upgrading method, device and system
CN100556038C (en) A kind of content distribution method based on outer condition trigger node action
CN111314479B (en) Data processing method and equipment
CN109493076A (en) A kind of unique consuming method of Kafka message, system, server and storage medium
CN105207947B (en) A kind of gradual traffic scheduling method and system of filtering shake
CN102622303A (en) Memory overload control method and device
CN110308983A (en) Method for balancing resource load and system, service node and client
CN106936623A (en) The management method of distributed cache system and cache cluster
CN105069152B (en) data processing method and device
CN110727738B (en) Global routing system based on data fragmentation, electronic equipment and storage medium
CN105191438A (en) High power channel state notification for mobile applications
CN112367182B (en) Configuration method and device of disaster recovery main and standby equipment
US10802896B2 (en) Rest gateway for messaging
CN107948318A (en) Cache synchronization method and system between multinode
CN103166980A (en) Internet data pulling method and system
CN103369660A (en) Network-element data synchronization method and network-element device
CN107454171A (en) Message service system and its implementation
CN102739703A (en) Method and system for data migration in peer-to-peer network
CN103841562A (en) Time slot resource occupation processing method and time slot resource occupation processing device
CN103164262B (en) A kind of task management method and device
CN102480502A (en) I/O load equilibrium method and I/O server
CN106850724A (en) Data push method and device
CN1330124C (en) Method and apparatus for virtualizing network resources
CN104410511A (en) Server management method and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant