CN112839360A - Resource allocation method and communication equipment - Google Patents

Resource allocation method and communication equipment Download PDF

Info

Publication number
CN112839360A
CN112839360A CN201911166347.2A CN201911166347A CN112839360A CN 112839360 A CN112839360 A CN 112839360A CN 201911166347 A CN201911166347 A CN 201911166347A CN 112839360 A CN112839360 A CN 112839360A
Authority
CN
China
Prior art keywords
terminal
task
processed
resources
communication
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
CN201911166347.2A
Other languages
Chinese (zh)
Other versions
CN112839360B (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201911166347.2A priority Critical patent/CN112839360B/en
Priority to PCT/CN2020/127419 priority patent/WO2021103991A1/en
Publication of CN112839360A publication Critical patent/CN112839360A/en
Application granted granted Critical
Publication of CN112839360B publication Critical patent/CN112839360B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/50Allocation or scheduling criteria for wireless resources
    • H04W72/53Allocation or scheduling criteria for wireless resources based on regulatory allocation policies
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/16Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/04Wireless resource allocation

Abstract

The application provides a resource allocation method and communication equipment, and relates to the technical field of resource allocation. The resource allocation method comprises the following steps: the method comprises the steps that a first terminal determines a task allocation scheme of a task to be processed, wherein the task allocation scheme comprises that at least one first device processes part or all of the task to be processed; and the first terminal determines a resource allocation strategy meeting the requirement of the task allocation scheme according to the requirement of the task allocation scheme on resources. According to the resource allocation method provided by the embodiment of the application, the terminal device determines the resource allocation strategy according to the task allocation scheme so as to achieve the purpose of unloading part of the tasks to be processed to different places or cloud processing, so that the tasks to be processed are efficiently completed, and the service experience of a user is ensured.

Description

Resource allocation method and communication equipment
Technical Field
The present application relates to the technical field of resource allocation, and in particular, to a method for resource allocation and a communication device.
Background
With the rapid development of mobile broadband and intelligent terminals, the terminal capability is stronger and more types of executable services are available. When facing service requirements, all current mobile terminals request required wireless resources from a transmission resource perspective to a network according to quality of service (QoS) of a service, and when the wireless resources cannot meet the service requirements, user experience can only be reduced, for example: game or video kation, lower game frame rate, longer latency, etc.
In fact, the resources of the terminal include not only wireless resources but also computing resources, storage resources and the like, and the resources can change dynamically when the terminal works in different states. When the wireless resources are insufficient, other resources such as computing resources can be utilized, and the requirement on the wireless resources is reduced, so that the user experience is ensured.
The radio resources of the terminal include radio resources of an Access Link (AL) and a Side Link (SL), and due to the limitation of the network side, the terminal can only control part of the radio resources, such as the terminal-autonomous side link radio resource, for example, the resource of an unlicensed (unlicensed) spectrum. Therefore, when the radio resource of the access link is insufficient, the radio resource of the side link can also be used. In addition, different services have different requirements for different types of resources, and the resource allocation strategies also have different requirements, for example, image rendering requires larger computing and storage resources.
Therefore, how to effectively integrate the communication, calculation and storage capabilities of the terminal is one of the key technologies for future communication, and how to realize effective allocation of terminal resources is a key issue.
Disclosure of Invention
The embodiment of the application provides a resource allocation method and communication equipment, and the problems that a terminal cannot meet the resource requirement of a task to be processed, the task cannot be processed normally, and user experience is poor can be solved.
In a first aspect, a method for resource allocation is provided, including: the method comprises the steps that a first terminal determines a task allocation scheme of a task to be processed, wherein the task allocation scheme comprises that at least one first device completes a first task to be processed, and the first task to be processed is part or all of the task to be processed; the first terminal determines a resource allocation strategy meeting the requirement of the task allocation scheme according to the requirement of the task allocation scheme on resources, wherein when the first task to be processed is part of the task to be processed, the resource allocation strategy comprises that the at least one first device allocates the resources meeting the requirement of the first task to be processed, and the first terminal allocates the resources meeting the requirement of a second task to be processed, wherein the second task to be processed is a task except the first task to be processed; when the first to-be-processed task is all the to-be-processed tasks, the resource allocation strategy comprises that the at least one first device allocates resources required by meeting the first to-be-processed task.
It should be understood that, when the first task to be processed is part of the task to be processed, at this time, the first terminal and at least one first device together complete the task to be processed, where the first device completes the first task to be processed, the first terminal completes a second task to be processed, and the second task to be processed is a task of the task to be processed except the first task to be processed.
It should also be understood that the resource allocation policy is determined for the number of pending tasks completed by the first device and the type of resources required for the pending tasks. In addition, the first terminal and the first device may negotiate allocation of communication resources required for transmission of the first pending task.
According to the resource allocation method provided by the embodiment of the application, the first terminal determines a task allocation scheme according to the resources required by the self resources and the tasks to be processed, the tasks to be processed are completed by other devices by unloading the tasks to be processed to other devices, or the tasks to be processed are completed by other devices and the first terminal together, and the self resource allocation is determined or the network device (such as a base station) is requested to allocate the resources required by the task allocation scheme according to the task allocation scheme, so that when the resources of the terminal do not meet the resources required by the tasks to be processed, the current tasks are guaranteed to be completed efficiently, and a user obtains higher service experience.
With reference to the first aspect, in certain implementations of the first aspect, the resource includes at least one of: access communication resources, sidestream communication resources, computing resources, storage resources.
Alternatively, the access communication resource may be a resource for communication between the terminal and the base station; the sidelink communication resources may be resources required for communication between terminals. The access communication resource can be configured by the base station, and the sidelink communication resource can be determined by negotiation between the terminals.
With reference to the first aspect, in certain implementations of the first aspect, the first device includes at least one of: the mobile terminal comprises a second terminal adjacent to the first terminal, a first base station accessed by the first terminal, a second base station adjacent to the first terminal or a cloud server.
It should be understood that the first device may be any device having computing resources, storage resources, and communication resources, and the application is not limited thereto.
With reference to the first aspect, in certain implementations of the first aspect, the method further includes: the first terminal requests a base station to configure access communication resources meeting the requirement of the task allocation scheme according to the resource allocation strategy, wherein the access communication resources are used for communication between the first terminal and the first base station and/or a second base station; or, the first terminal requests the at least one second terminal to configure a sidelink communication resource meeting the requirement of the task allocation scheme according to the resource allocation policy, where the sidelink communication resource is used for communication between the first terminal and the at least one second terminal; or, the first terminal requests the at least one second terminal to configure the computing resources meeting the requirements of the task allocation scheme according to the resource allocation strategy; or the first terminal requests a cloud server to configure the computing resources meeting the task allocation scheme requirement according to the resource allocation strategy.
With reference to the first aspect, in certain implementations of the first aspect, the method further includes: and the first terminal allocates the resources of the first terminal according to the requirements of the task allocation scheme on the resources.
With reference to the first aspect, in certain implementations of the first aspect, the task allocation scheme includes that processing, by at least one first device, part or all of the to-be-processed task includes: the first terminal and the at least one first device negotiate to jointly process the task to be processed; or, the first terminal and the at least one first device negotiate to process the task to be processed by the first device.
With reference to the first aspect, in certain implementations of the first aspect, the method further includes: the first terminal requests the first base station to send part or all of the tasks to be processed to the at least one first device.
With reference to the first aspect, in certain implementations of the first aspect, the method further includes: the first terminal forwards part or all of the tasks to be processed to the at least one first device; or, the first terminal requests the at least one first device to process part or all of the tasks to be processed.
With reference to the first aspect, in certain implementations of the first aspect, the method further includes: and the first terminal receives a result of the at least one first device after processing part or all of the tasks to be processed.
Optionally, after receiving the processing result of the to-be-processed task by the first device, the first terminal may further perform joint processing on the result. For example, the first terminal may communicate with the base station and the adjacent second terminal respectively according to the resource of the access link and the resource of the sidelink, obtain the required data, and perform joint processing; alternatively, the first terminal may receive a joint signal from the first base station and the second terminal and decode data from the joint signal.
With reference to the first aspect, in certain implementations of the first aspect, the access communication resource or the sidestream communication resource includes any one or more of: time domain resources, frequency domain resources, power resources, code resources.
In a second aspect, a terminal device is provided, which includes: the task demand decomposition module is used for determining a task allocation scheme of a task to be processed, wherein the task allocation scheme comprises that at least one first device completes a first task to be processed, and the first task to be processed is part or all of the task to be processed; a resource allocation policy module, configured to determine, according to a requirement for a resource of the task allocation scheme, a resource allocation policy that meets the requirement of the task allocation scheme, where, when the first task to be processed is part of the tasks to be processed, the resource allocation policy includes that the at least one first device allocates a resource that meets the requirement of the first task to be processed, and the first terminal allocates a resource that meets the requirement of a second task to be processed, where the second task to be processed is a task other than the first task to be processed; when the first to-be-processed task is all the to-be-processed tasks, the resource allocation strategy comprises that the at least one first device allocates resources required by meeting the first to-be-processed task.
With reference to the second aspect, in certain implementations of the second aspect, the resources include at least one of: access communication resources, sidestream communication resources, computing resources, storage resources.
With reference to the second aspect, in certain implementations of the second aspect, the first device includes at least one of: the mobile terminal comprises a second terminal adjacent to the first terminal, a first base station accessed by the first terminal, a second base station adjacent to the first terminal or a cloud server.
With reference to the second aspect, in some implementations of the second aspect, the resource allocation policy module is further configured to: requesting a base station to configure an access communication resource meeting the requirement of the task allocation scheme according to the resource allocation strategy, wherein the access communication resource is used for communication between the first terminal and the first base station and/or a second base station; or, according to the resource allocation policy, requesting the at least one second terminal to configure a sidelink communication resource meeting the requirement of the task allocation scheme, where the sidelink communication resource is used for communication between the first terminal and the at least one second terminal; or requesting the at least one second terminal to configure the computing resources meeting the requirements of the task allocation scheme according to the resource allocation strategy; or requesting the cloud server to configure the computing resources meeting the task allocation scheme requirement according to the resource allocation strategy.
With reference to the second aspect, in some implementations of the second aspect, the resource allocation policy module is further configured to: and allocating the resources of the first terminal according to the requirements of the task allocation scheme on the resources.
With reference to the second aspect, in some implementations of the second aspect, the task requirement decomposition module is further configured to: negotiating with the at least one first device to jointly process the task to be processed; or, negotiating with the at least one first device to process the task to be processed by the first device.
With reference to the second aspect, in some implementations of the second aspect, the task requirement decomposition module is further configured to: requesting the first base station to send part or all of the tasks to be processed to the at least one first device.
With reference to the second aspect, in some implementations of the second aspect, the task requirement decomposition module is specifically configured to: forwarding part or all of the to-be-processed task to the at least one first device; or requesting the at least one first device to process part or all of the tasks to be processed.
With reference to the second aspect, in some implementations of the second aspect, the terminal device further includes: and the communication module is used for receiving the result of the at least one second terminal after part or all of the tasks to be processed are processed.
With reference to the second aspect, in certain implementations of the second aspect, the access communication resource or the sidestream communication resource includes any one or more of: time domain resources, frequency domain resources, power resources, code resources.
In a third aspect, a communication device is provided, the communication device comprising: at least one processor and a communication interface, the communication interface is used for the communication device to perform information interaction with other communication devices, and when program instructions are executed in the at least one processor, the communication device is enabled to implement the functions of the method according to any implementation manner of the first aspect on the first terminal.
In a fourth aspect, a communication system is provided, the communication system comprising a first terminal and at least one first device, wherein the first terminal is configured to perform the method according to any one of the implementation manners of the first aspect.
In a fifth aspect, a computer program storage medium is provided, having program instructions which, when executed directly or indirectly, cause the functionality of the method according to any of the implementations of the first aspect on the first terminal to be implemented.
According to the resource allocation method provided by the embodiment of the application, the terminal device determines the resource allocation strategy according to the task allocation scheme so as to achieve the purpose of unloading part of the tasks to be processed to different places or cloud processing, so that the tasks to be processed are efficiently completed, and the service experience of a user is ensured.
Drawings
Fig. 1 shows a schematic flowchart of a resource allocation method provided in an embodiment of the present application.
Fig. 2 shows a schematic diagram of a resource allocation method provided in an embodiment of the present application.
Fig. 3 shows a schematic flowchart of a resource allocation method for offloading communication to a neighboring base station according to an embodiment of the present application.
Fig. 4 shows a schematic flowchart of a resource allocation method in the remote computing offloading scenario provided in the present application.
Fig. 5 shows a schematic flowchart of a resource allocation method in the communication offloading and computing offloading scenario provided in the present application.
Fig. 6 shows a schematic structural diagram of a terminal device according to an embodiment of the present application.
Fig. 7 shows a schematic structural diagram of another terminal device provided in the embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The technical scheme of the embodiment of the application can be applied to various communication systems, for example: a global system for mobile communication (GSM) system, a Code Division Multiple Access (CDMA) system, a Wideband Code Division Multiple Access (WCDMA) system, a General Packet Radio Service (GPRS), a long term evolution (long term evolution, LTE) system, a LTE Frequency Division Duplex (FDD) system, a LTE Time Division Duplex (TDD) system, a universal mobile telecommunications system (universal mobile telecommunications system, UMTS), a Worldwide Interoperability for Microwave Access (WiMAX) communication system, a future fifth generation (5G) system, or a new radio NR (UMTS) system, etc.
A terminal in the embodiments of the present application may refer to a user equipment, an access terminal, a subscriber unit, a subscriber station, a mobile station, a remote terminal, a mobile device, a user terminal, a wireless communication device, a user agent, or a user equipment. The terminal device may also be a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, a Personal Digital Assistant (PDA), a handheld device with wireless communication function, a computing device or other processing device connected to a wireless modem, a vehicle-mounted device, a wearable device, a terminal device in a future 5G network or a terminal device in a future evolved Public Land Mobile Network (PLMN), and the like, which are not limited in this embodiment.
The base station in this embodiment may be a device for communicating with a terminal device, and the base station may be a Base Transceiver Station (BTS) in a global system for mobile communications (GSM) system or a Code Division Multiple Access (CDMA) system, may also be a base station (NodeB, NB) in a Wideband Code Division Multiple Access (WCDMA) system, may also be an evolved node b (evolved node b, eNB, or eNodeB) in an LTE system, may also be a 5G base station gNB or a fourth generation mobile communication technology (4 rd generation communication protection, 4G) base station, and may also be an evolved node b (eNB, eNodeB) in a cloud radio access network (cra), or a wireless controller in a cra, a relay network (crn), or a network controller in a future network, a relay network (PLMN) network, a network device in a future network, or a future network device in a wearable network, a network controller in a future network, or a network device in a future network The examples of the present application are not limited.
With the development of mobile internet, mobile cloud has attracted a lot of attention from researchers as an emerging technology. The mobile devices in the access network can be regarded as resource units, so that a huge mobile cloud computing network can be constructed. Each mobile device in the mobile cloud computing network can use the "wireless" resources in the cloud by uploading computing and storage tasks to the cloud. Resources in a mobile cloud computing network are divided into three types: communication resources, computing resources, and storage resources. Communication resources, namely frequency resources, time domain resources, space domain resources and the like required by communication between terminals and a base station, wherein in the embodiment of the application, the communication resources for communication between the terminals and the base station are recorded as access communication resources, and the communication resources between the terminals are recorded as sidelink communication resources; computing resources are processor resources required for performing complex operations; the storage resource is the space for storing data. By establishing a huge mobile cloud computing network, the huge advantages of the cloud computing technology can be further exerted, and high-quality cloud service is provided for the mobile equipment.
As the service demand increases, the communication resources, computing resources or storage resources of the terminal may not be sufficient to process the service. At this time, an effective communication, computation and storage capability of the converged terminal is required. At present, a 5G wireless network virtualization architecture based on computing and communication fusion is proposed, which can divide and store resources provided by infrastructure equipment in a heterogeneous network according to wireless resources, computing resources and storage resources, place the resources into corresponding resource pools, and uniformly manage and plan by a physical network controller (such as a software-defined network (SDN)).
The method is a network side architectural scheme, the utilization rate of resources is improved by virtualizing the resources, however, the process cannot flexibly determine the resource allocation scheme according to the resource condition of the terminal, and thus the user experience of the terminal cannot be guaranteed.
In order to solve the above problems, the method for flexibly allocating different types of resources according to the requirements of the service to be processed is realized, the efficient completion of the service processing is ensured, and the service physical examination of the user is improved. By the resource allocation method, the terminal can unload part or all of the services to other terminals, base stations or cloud servers and other devices, the other devices assist in processing the services, and the terminal determines a corresponding resource allocation strategy according to the conditions assisted by the other devices to flexibly allocate required communication, calculation and storage resources.
The resource allocation method provided by the embodiment of the application can be applied to a wireless communication system and a subsequent system, in particular to a mobile communication scene.
For ease of understanding, the following description is made of a business scenario (i.e., a processing scenario for a task to be processed) that may occur based on the communication capability, the computing capability, and the storage capability of the terminal.
Firstly, a terminal divides a service scene of the terminal into: local communication and allopatric communication. The local communication can mean that the access communication resource of the terminal can meet the communication requirement of the service; the allopatric communication may refer to the access communication resources of the terminal failing to meet the communication requirements of the service.
Further, the above-described scene of the allopatric communication may be further divided into the following plural scenes more specifically based on the computing resources, the sidestream communication resources, and the storage resources of the terminal.
(1) Communication offloading scenario: the access communication resources of the first terminal do not meet the communication requirements of the service, but the computing resources of the terminal are able to meet the computing resources required to process the service.
For example, if the computing resources of the first terminal are sufficient to provide the computing resources required for processing the first service, the first terminal does not need to offload the computing tasks of the first service to other devices. However, since the first terminal has limited access communication resources, which do not satisfy the communication resources required for supporting the communication between the first terminal and the base station directly related to the pending task, the first terminal may offload some or all of the communication task to another device, such as to at least one second terminal adjacent to the first terminal or another base station adjacent to the first terminal.
In one implementation, when the sidestream communication resource between the first terminal and the second terminal can meet the communication requirement required by the first service, the first terminal may negotiate with the second terminal, the second terminal receives the data sent to the first terminal by the base station, and then the sidestream communication resource is utilized to send the data to the first terminal; or the second terminal receives the data sent by the first terminal through the sidestream communication resource and then sends the data to the base station. In other words, the first terminal assists in receiving or transmitting data required by the first terminal through the second terminal.
Illustratively, the second terminal may be any one of a plurality of terminals adjacent to the first terminal.
In one implementation, the first terminal may negotiate with a base station adjacent to the first terminal, so that the data sent by the first base station to the first terminal is sent to the adjacent base station first, and then the adjacent base station is sent to the first terminal.
It should be understood that in a communication offloading scenario, the first terminal may negotiate with a plurality of second terminals or neighboring base stations to offload communication tasks to the plurality of second terminals or neighboring base stations, and the first terminal allocates access communication resources or sidestream communication resources according to a scenario of cooperatively processing the to-be-processed tasks.
(2) Calculating an unloading scene: the access communication resources of the first terminal do not meet the communication requirements of the service, and the computing resources of the terminal do not meet the computing resources required for processing the service.
In a computation offload scenario, the first terminal may negotiate with at least one second terminal and/or a cloud server, and the at least one second terminal and/or the cloud server provides computation resources to process the service. Wherein, a scenario in which computing resources are provided by at least one second terminal may be referred to as displaced computing offloading; a scenario in which a cloud server provides computing resources may be referred to as cloud computing offloading; the scenario of the provision of computing resources by the first terminal may be referred to as local computing offload.
In one implementation, when the sidestream communication resource between the first terminal and the at least one second terminal meets the sidestream communication resource required by the task to be processed, the first terminal may negotiate with the at least one second terminal, and the first terminal may offload part or all of the computation task to the second terminal for processing.
In one implementation, the first terminal may further perform negotiation with a cloud server, and the cloud server provides computing resources to process part or all of the tasks to be processed.
For example, in a computation offloading scenario, if the sidestream communication resource between the first terminal and the second terminal does not meet the sidestream communication resource required by the service, at this time, the first terminal may only negotiate with the cloud server to jointly complete the task to be processed, or negotiate to separately complete the task to be processed by the cloud server. In other words, when the second terminal cannot provide the computing resource for the service of the first terminal due to the limitation of the sidestream communication resource between the first terminal and the second terminal, the first terminal may negotiate with the cloud server, and the cloud server provides the computing resource to process part or all of the computing task.
In one implementation manner, the first terminal may further perform negotiation with both the at least one second terminal and the cloud server, and the first terminal offloads part or all of the computation task to the at least one second terminal and the cloud server, and at this time, the at least one second terminal and the cloud server provide computation resources together to process the computation task; or the first terminal, the at least one second terminal and the cloud server provide computing resources together to process the computing task.
It should be appreciated that one or more of off-site computing offload, cloud computing offload, and local computing offload may be performed simultaneously. In other words, the task to be processed of the first terminal may be completed by the second terminal and the cloud server together, or may be completed by the second terminal or the cloud server completely.
In one implementation manner, when the access communication resources, the computing resources and the storage resources of the first terminal cannot meet the resources required by the service, but the sideline communication resources of the terminal can meet the communication requirement, the first terminal can completely offload the computing tasks to be processed to the cloud server and/or at least one second terminal for processing, and the scene is a cloud and allopatric partial computing offloading scene.
Aiming at different unloading scenes, the first terminal can flexibly allocate access communication resources, sideline communication resources, computing resources or storage resources so as to meet the requirements of the current task processing scheme on different resources after the task to be processed is unloaded.
In one implementation, for a service scenario of local communication (a scenario in which a first terminal handles a task to be processed), the first terminal may allocate computing resources and storage resources; the first terminal may also request the first base station to allocate access link resources.
In one implementation, for a communication offloading scenario, a first terminal may cooperatively allocate sidelink resources with a neighboring terminal; or, the multi-access resource is allocated in cooperation with the second base station.
In one implementation, for a scenario of computing offload of the cloud and the remote portion, the first terminal may request the first base station to allocate access link resources; allocating sidelink resources in cooperation with neighboring terminals; and the cloud server and the second terminal cooperate to jointly allocate computing resources and storage resources of the cloud and different places.
In one implementation, for a scenario of cloud and local partial computation offload, a first terminal may request a first base station to allocate access link resources; and the cloud server and the second terminal cooperate to jointly allocate computing resources and storage resources of the cloud and different places.
In one implementation, for a scenario of cloud, remote, and local part computation offload, the first terminal may request the first base station to allocate access link resources; allocating sidelink resources in cooperation with neighboring terminals; and the cloud server and the second terminal cooperate to jointly allocate computing resources and storage resources of the cloud and different places.
The following describes a resource allocation method according to an embodiment of the present application in detail with reference to the accompanying drawings.
Fig. 1 shows a schematic flowchart of a resource allocation method provided in an embodiment of the present application. The method may be performed by the first terminal. The method includes the following.
S101, the first terminal determines a task allocation scheme of the tasks to be processed, wherein the task allocation scheme comprises that at least one first device processes a first task to be processed, and the first task to be processed is part or all of the tasks to be processed.
The task to be processed may be a task that should be processed by the first terminal, such as a data transmission task, a calculation task, a storage task, and the like. For example, the task to be processed may be, for example, data to be received that is sent by the first base station to the first terminal; or, the first terminal may be required to perform a calculation task, such as a calculation task in an image rendering process; alternatively, the task may be a task that requires the first terminal to perform storage. The first base station may be a base station to which the first terminal accesses. It should be understood that, if the resources of the first terminal cannot meet the resources required by the pending task, the first terminal may negotiate with at least one first device for processing the pending task by the first device; alternatively, the first terminal may negotiate with the at least one first device to process the pending task in common. That is to say, the first terminal may complete the processing operation of the to-be-processed task in a manner of offloading the to-be-processed task to other devices and performing cooperative processing by the other devices.
In one implementation manner, when the first terminal and at least one first device complete the to-be-processed task together, a first to-be-processed task is a part of the to-be-processed task, and the first to-be-processed task is a task that is unloaded to the first device and completed by the first device from the to-be-processed tasks. In other words, in this case, the first device completes the first task to be processed, and the first terminal completes the second task to be processed, which is a task other than the first task to be processed, among the tasks to be processed.
In one implementation, when at least one first device completes the to-be-processed task independently, the first to-be-processed task is all of the to-be-processed tasks. This may be the case, for example, when the first terminal offloads all of the tasks to be processed to the at least one first device for processing, and at this time, the first terminal does not have a second task to be processed.
In one implementation, a first terminal determines a task allocation plan for a pending task, where the task allocation plan includes some or all of the pending tasks performed by at least one first device.
The first device may be, for example, a second terminal, and the second terminal is a terminal that can establish a sidelink communication with the first terminal; or, a second base station, which may be, for example, one of a plurality of base stations adjacent to the first terminal, with which the first terminal may establish a connection; or a cloud server, an application server, etc.
As an example, when the to-be-processed task is a data transmission task between a first terminal and a first base station, and the first terminal determines that an access communication resource of the first terminal cannot meet an access communication resource required by the to-be-processed task, the first terminal may determine a task allocation scheme according to a current scenario, for example, to offload part or all of the to-be-processed task to at least one second terminal for processing. For example, a first terminal may negotiate with at least one second terminal, request the at least one second terminal to allocate a communication resource, request the first base station to send part or all of data to be transmitted to the second terminal, and send the part of data to be transmitted to the first terminal by the second terminal through a sidelink communication resource; or, the first terminal transmits the data to be transmitted to the first base station to the second terminal through the sidelink communication resource, and then the data is transmitted to the first base station by the second terminal.
As another example, when the to-be-processed task is a data transmission task between the first terminal and the first base station, and the first terminal determines that the access communication resource of the first terminal cannot meet the access communication resource required by the to-be-processed task, the first terminal may determine a task allocation scheme according to a current scenario, for example, to offload part or all of the to-be-processed task to at least one second base station for processing. For example, the first terminal may negotiate with at least one second base station, and request the second base station to receive part or all of the data to be transmitted sent by the first base station, and then the second base station sends the data to be transmitted to the first terminal; or, the first terminal transmits the data to be transmitted to the first base station to the second terminal, and then the data is sent to the first base station by the second terminal.
The first base station may be a base station to which the first terminal accesses; the second terminal may be one of a plurality of terminals adjacent or proximal to the first terminal; the second base station may be one of a plurality of base stations adjacent to or near the first terminal, and the first terminal may establish a connection with the second base station, and the access resource between the first terminal and the second base station may satisfy a communication resource requirement of the task to be transmitted.
It should be understood that the access communication resources referred to in this application may be communication resources required for the terminal to communicate with the first base station; the sidestream communication resource according to the embodiment of the present application may be a communication resource required for communication between the first terminal and another terminal (e.g., the second terminal). The communication resource may include one or more of a time domain resource, a frequency domain resource, a power resource, a code resource, and the like.
As another example, when the to-be-processed task is a task that the first terminal needs to perform computation, and the first terminal determines that the computing resources of the first terminal cannot meet the computing resources needed by the to-be-processed task, if the sidestream communication resources between the first terminal and the second terminal meet the communication requirements of the to-be-processed task, the first terminal may negotiate with the at least one second terminal, request the at least one second terminal to allocate the computing resources, and compute part or all of the to-be-processed task; or, the first terminal may negotiate with the cloud server, and the cloud server provides computing resources to compute part or all of the tasks to be processed. In other words, when the computing resources of the first terminal cannot meet the computing resources required by the task to be processed, the first terminal may perform cloud computing offloading and/or off-site computing offloading.
Specifically, when the first terminal and the at least one second terminal cooperatively process the to-be-processed task, the first terminal may forward part or all of the to-be-processed task to the at least one second terminal; or, when the first terminal and the cloud application server process the to-be-processed task together or the cloud server processes the to-be-processed task, the first terminal may send a request to the cloud server to request the cloud server to provide the computing resource so as to process part or all of the to-be-processed task.
In one implementation, when the first terminal offloads part of the to-be-processed task to the first device for processing, the part of the to-be-processed task which is not offloaded is processed by the first terminal. After the first device finishes processing the unloaded to-be-processed task, the processed result can be sent to the first terminal, and the first terminal can perform combined processing on the received result and the result processed by the first terminal.
S102, a first terminal determines a resource allocation strategy according to the requirement of a task allocation scheme on resources, wherein when a first task to be processed is part of the tasks to be processed, the resource allocation strategy comprises that at least one first device allocates resources required by meeting the first task to be processed, the first terminal allocates resources required by meeting a second task to be processed, and the second task to be processed is a task except the first task to be processed; when the first task to be processed is all tasks to be processed, the resource allocation strategy comprises that at least one first device allocates resources required by meeting the first task to be processed.
In an implementation manner, after determining the task allocation scheme of the task to be processed according to step S101, the first terminal determines a resource allocation policy according to the task allocation scheme (or a service scenario of the first terminal), and may request the relevant device to configure the resource meeting the requirement of the task allocation scheme according to the resource allocation policy. In other words, the first terminal requests a corresponding resource allocation according to the service scenario.
In one implementation manner, in a communication offloading scenario, for a task allocation scheme in which a first terminal offloads a to-be-processed task to at least one second terminal for processing, the first terminal may determine a resource allocation policy for a different-place communication offloading scenario (that is, the second terminal cooperatively processes the to-be-processed task). Specifically, the first terminal requests the base station to allocate access resources required by the first terminal to process the tasks which are not unloaded according to the request; in addition, the first terminal may request the at least one second terminal to allocate sidelink communication resources for transmitting the pending task.
In an implementation manner, in a communication offloading scenario, for a task allocation scheme in which a first terminal offloads a to-be-processed task to at least one second base station for processing, the first terminal may determine a resource allocation policy for a different-location communication offloading scenario (that is, the second base station cooperatively processes the to-be-processed task). Specifically, the first terminal may request the first base station to allocate an access resource required for the first terminal to process an un-offloaded task; in addition, the first terminal may request the at least one second base station to configure communication resources for transmitting the pending task.
In an implementation manner, in a computation offloading scenario, for a task allocation scheme in which a first terminal offloads a task to be processed to at least one second terminal for processing, the first terminal may determine a resource allocation policy for a different-place computation offloading scenario (that is, a second base station provides computation resources to cooperatively process the task to be processed). Specifically, the first terminal may allocate corresponding computing resources according to a part of tasks to be processed that the first terminal needs to process; in addition, the first terminal may also request the at least one second terminal to allocate respective computing and storage resources for processing the pending task.
In one implementation manner, in a computation offloading scenario, for a task allocation scheme in which a first terminal offloads a to-be-processed task to a cloud server for processing, the first terminal may determine a resource allocation policy for the cloud computation offloading scenario (that is, a cloud server provides computation resources to cooperatively process the to-be-processed task). Specifically, the first terminal may request the cloud server to allocate corresponding computing resources and storage resources for processing the task to be processed; in addition, the first terminal can also allocate corresponding computing resources according to a part of tasks to be processed which need to be processed by the first terminal.
In one implementation, when the first terminal offloads all the to-be-processed tasks to the first device for processing, the first terminal still needs to allocate communication resources, such as access communication resources, sidelink communication resources, and the like, for transmitting data related to the to-be-processed tasks, where a specific type of the communication resources may be determined according to requirements of a specific task allocation scheme.
It should be understood that, in the embodiment of the present application, an order in which the first terminal requests the first base station, the second terminal, and the cloud server to allocate the resource is not limited.
The following describes a process of implementing the resource allocation method according to the embodiment of the present application in detail with reference to the accompanying drawings.
Fig. 2 shows a schematic diagram of a resource allocation method provided in an embodiment of the present application.
The resource allocation method shown in fig. 2 may be applied to a remote communication offloading scenario, that is, an access communication resource of the first terminal does not satisfy an access communication resource required by the to-be-processed task, and the first terminal offloads part or all of the to-be-processed task to the second terminal for processing. In this scenario, the method for resource allocation provided in this embodiment of the present application may specifically include the following contents.
S201, the first terminal determines that the communication capacity of the first terminal is insufficient.
In one implementation, a first terminal may determine that an access communication resource that the first terminal has cannot meet a communication resource required by a pending task. For example, the time-frequency resource, the power resource, or the code resource of the first terminal does not support the requirement of the task to be processed.
S202, the first terminal and the second terminal carry out communication unloading negotiation.
In one implementation manner, a first terminal determines that a current service scenario is a communication offloading scenario according to an access communication resource required by a current task to be processed and an access communication resource possessed by the first terminal, and the first terminal determines that part or all of the task to be processed is offloaded to a second terminal for processing. In this case, the pending task may be a data transmission task requiring a high access to the communication resource.
Specifically, when the first terminal performs the communication offloading negotiation with the second terminal, or after the first terminal performs the communication offloading negotiation with the second terminal, the first terminal and the second terminal may cooperatively allocate sidelink resources, and the second terminal and the first base station perform data transmission of part of the tasks to be processed.
In one implementation, a first terminal negotiates communication resources for a sidelink with a second terminal proximate to the first terminal. In particular, the first terminal may request allocation of a corresponding sidelink communication resource to the second terminal for transmission of part or all of the pending task.
For example, assuming that 100 data packets need to be transmitted between the first base station and the first terminal, in a scenario where the second terminal assists in processing the task to be processed, the first base station may send only 30 data packets to the first terminal, and send another 70 data packets to the second terminal, and then the second terminal sends the data packets to the first terminal through the sidelink. Before data transmission, the first terminal may negotiate with the second terminal to cooperatively configure sidelink communication resources for transmitting the 70 data packets.
S203, the first terminal and the first base station negotiate to access the communication resource.
In one implementation, the first terminal re-requests the base station for access link resources corresponding to a new access link communication requirement according to a communication resource result of negotiating the sidelink with the neighboring terminal.
For example, if the data packets transmitted between the first terminal and the first base station are changed from the initial 100 data packets to 30 data packets, the first terminal may request the first base station to configure the access communication resources for transmitting the 30 data packets.
In one implementation, the first base station may configure access communication resources of the first terminal according to a request sent by the first terminal, and send a service response message to the first terminal.
S204, the first terminal performs combined processing on the received data.
The first terminal respectively communicates with the base station and the adjacent second terminal according to the resources of the access link and the resources of the sidelink to obtain the required data and perform joint processing.
In one implementation, a first terminal may receive a joint signal from a first base station and a second terminal and decode data from the joint signal.
According to the resource allocation method of the embodiment of the application, the terminal can obtain part of data from the base station and obtain the other part of data from the adjacent terminal, so that when the access communication capacity of the first terminal is insufficient, the service can be processed efficiently by unloading the communication to the adjacent terminal, and the service experience of a user is ensured.
In addition, the first terminal may also offload communication to a neighboring base station, and ensure service experience based on a coordinated multiple-point transmission (CoMP) manner, for example. Wherein, a schematic flow of resource allocation in the scenario of offloading communication to a neighboring base station is shown in fig. 3.
S301, the first terminal sends a service request message to the first base station.
The first base station is a base station to which the first terminal is currently accessed.
S302, the first base station judges that the communication capacity is insufficient.
Specifically, if the first base station determines that the access communication capability required by the first terminal for the task to be processed is insufficient, the first base station may negotiate a communication resource of an access link with a neighboring base station (second base station).
And S303, the first base station and the second base station carry out communication unloading negotiation.
In one implementation, a first base station may send a request message to a second base station requesting the second base station to allocate communication resources to receive transmission data sent to a first terminal. If the second terminal determines to receive the transmission data, a response message may be sent to the first base station indicating that the first base station may send the transmission data.
In one implementation, the first base station may further carry, in the request message, the type of the communication resource that needs to be configured by the second base station, and the like.
S304, the first base station sends a service response message to the first terminal.
In one implementation, the service response message may be used to instruct the first terminal to communicate with the second base station, e.g., to receive a portion of the data transmitted by the second base station.
In one implementation, the service response message may include communication resources required for the first terminal to communicate with the second base station.
S305, the first terminal performs a joint process on the received data.
The first terminal may receive data from the first base station and the second base station, and perform joint processing on the received data.
In one implementation, a first terminal may receive a joint signal from a first base station and a second base station and decode data from the joint signal.
By the resource allocation method provided by the embodiment of the application, the terminal unloads communication to the adjacent base station, so that the problem of service experience reduction caused by insufficient communication resources is avoided.
Fig. 4 shows a schematic flowchart of a resource allocation method in the remote computing offloading scenario provided in the present application.
S401, the first terminal determines that the computing resources are insufficient.
In one implementation manner, the first terminal determines that the computing resource of the first terminal does not meet the requirement of the task to be processed according to the computing resource required by the task to be processed. The task to be processed may be, for example, a task with a high demand on computing resources, such as image rendering.
S402, the first terminal and the second terminal conduct calculation unloading negotiation.
In one implementation, after determining that the computational power required by the service to be processed is insufficient, the first terminal may negotiate computation offloading with at least one second terminal in the vicinity, and offload part of the computation requirements to the second terminal.
In one implementation, when the first terminal offloads the computation to the second terminal, it needs to communicate with the second terminal through the sidelink resource, and therefore, the first terminal and the second terminal need to negotiate the sidelink resource.
For example, a first terminal may negotiate sidelink resources while negotiating computational offload with a second terminal; alternatively, the sidelink resources may be negotiated after negotiating computational offload.
And S403, the first terminal sends a calculation unloading request to the cloud server.
In one implementation manner, the first terminal may initiate a computation offload request to the cloud server to request the cloud server to share part of the computation task, in addition to negotiating the computation offload with the second terminal.
In an implementation manner, if the cloud server can undertake the task of computation and offloading, a response message may be sent to the first terminal to indicate a new communication requirement of the first terminal.
S404, the first terminal sends a service request message to the first base station.
In one implementation, the first terminal sends a service request message to the first base station according to a received new communication requirement sent by the cloud server, where the service request message is used to request the first base station for a required access communication resource.
S405, the first terminal receives a service response message sent by the first base station.
In one implementation, the first terminal receives a service response message from the first base station, where the service response message may include access communication resources required for the first terminal to process a current service; or, the data that the first terminal needs to process may be included.
In one implementation, the first terminal may forward part of the data to be processed to the second terminal and/or the cloud server. And after the second terminal and/or the cloud server processes the data, sending a processed result to the first terminal.
S406, the first terminal performs joint processing on the received data.
In one implementation, the first terminal performs joint processing on the processed data from the second terminal and/or the cloud server.
It should be understood that, in the embodiment of the present application, the first terminal may only offload the computing task to the cloud server, and configure the corresponding resource, and the cloud server partially or completely undertakes the computing task.
By the resource allocation method provided by the embodiment of the application, the terminal can unload the calculation to the adjacent terminal or the cloud, and poor user service experience caused by insufficient calculation resources of the terminal is avoided.
Fig. 5 shows a schematic flowchart of a resource allocation method in the communication offloading and computing offloading scenario provided in the present application.
The scenario shown in fig. 5 is that neither the computing resource nor the communication resource of the first terminal meets the requirement of the task to be processed, and needs to negotiate with at least one of the neighboring second terminal and the cloud server for computing offloading and communication offloading, and request resource allocation according to a specific offloading scheme. The method includes the following.
S501, the first terminal determines that both the computing resource and the access communication resource are insufficient.
In one implementation manner, the first terminal determines that the computing resource and the access communication resource of the first terminal do not meet the requirement of the to-be-processed task according to the computing resource and the access communication resource required by the to-be-processed task. The task to be processed may be, for example, a task with a high demand on computing resources, such as image rendering; alternatively, the pending task may be a data transmission task with a high demand for accessing communication resources.
And S502, the first terminal and the second terminal perform calculation and communication unloading negotiation.
In one implementation manner, a first terminal determines that a current service scenario is a communication offloading scenario according to an access communication resource required by a current task to be processed and an access communication resource possessed by the first terminal, and the first terminal determines that part or all of the task to be processed is offloaded to a second terminal for processing. In this case, the pending task may be a data transmission task requiring a high access to the communication resource.
Specifically, when the first terminal performs the communication offloading negotiation with the second terminal, or after the first terminal performs the communication offloading negotiation with the second terminal, the first terminal and the second terminal may cooperatively allocate sidelink resources, and the second terminal and the first base station perform data transmission of part of the tasks to be processed.
In one implementation, a first terminal negotiates communication resources for a sidelink with a second terminal proximate to the first terminal. In particular, the first terminal may request allocation of a corresponding sidelink communication resource to the second terminal for transmission of part or all of the pending task.
For example, assuming that 100 data packets need to be transmitted between the first base station and the first terminal, in a scenario where the second terminal assists in processing the task to be processed, the first base station may send only 30 data packets to the first terminal, and send another 70 data packets to the second terminal, and then the second terminal sends the data packets to the first terminal through the sidelink. Before data transmission, the first terminal may negotiate with the second terminal to cooperatively configure sidelink communication resources for transmitting the 70 data packets.
In one implementation, after determining that the computational power required by the service to be processed is insufficient, the first terminal may negotiate computation offloading with at least one second terminal in the vicinity, and offload part of the computation requirements to the second terminal.
In one implementation, when the first terminal offloads the computation to the second terminal, it needs to communicate with the second terminal through the sidelink resource, and therefore, the first terminal and the second terminal need to negotiate the sidelink resource.
For example, a first terminal may negotiate sidelink resources while negotiating computational offload with a second terminal; alternatively, the sidelink resources may be negotiated after negotiating computational offload.
In one implementation, the first terminal may forward the to-be-processed task that needs to be subjected to computation offload to the second terminal through the sideline communication resource; and after the second terminal finishes processing the to-be-processed task of the computation unloading part, sending a processed result to the first terminal.
S503, the first terminal sends a calculation unloading request message to the cloud server.
In one implementation manner, the first terminal may initiate a computation offload request to the cloud server in addition to negotiating computation offload with the second terminal, and request the cloud server to share part or all of the computation tasks of the to-be-processed task. The task to be processed may be a task with a high demand on computing resources, such as an image rendering task.
For example, the first terminal may request the cloud server to provide the computing resources to process the part or all of the pending tasks.
S504, the cloud server sends a calculation unloading response message to the first terminal.
In one implementation, if the cloud server can undertake the task of computation offload, a response message may be sent to the first terminal, and the computation offload response message may be used to indicate a new communication requirement of the first terminal. The new communication requirement may be, for example, a communication resource required by the cloud server to receive or send data related to the task to be processed.
In one implementation, the cloud server provides computing resources to compute the pending tasks of the off-load portion of the computation.
S505, the first terminal sends a service request message to the first base station.
In one implementation, a first terminal sends a service request message to a first base station according to a calculation offloading or communication offloading scheme negotiated with a second terminal, where the service request message is used to request the first base station for a communication resource required by the first terminal after calculation offloading or communication offloading; or the first terminal sends a service request message to the first base station according to the received new communication requirement sent by the cloud server, wherein the service request message is used for requesting the first base station for accessing the communication resource.
S506, the first terminal receives the service response message sent by the first base station.
In one implementation, the first terminal receives a service response message from the first base station, where the service response message may include access communication resources required for the first terminal to process a current service; alternatively, data related to the task to be processed may also be included.
In one implementation, the first terminal may forward part of data related to the to-be-processed task to the second terminal and/or the cloud server. And after the second terminal and/or the cloud server processes the data, sending a processed result to the first terminal.
And S507, the first terminal performs combined processing on the received data.
In one implementation, the first terminal performs joint processing on the processed data from the second terminal and/or the cloud server.
It should be understood that, in the embodiment of the present application, the first terminal offloads the computation and communication to the neighboring terminal or the cloud, so as to avoid the problems of low business processing efficiency and reduced user experience caused by insufficient computation and communication resources.
Fig. 6 shows a schematic structural diagram of a terminal provided in an embodiment of the present application. The terminal 600 includes a task requirement decomposition module 610 and a resource allocation policy module 620.
In one implementation, the task requirement decomposition module 610 is configured to determine a task allocation scheme for the to-be-processed task, where the task allocation scheme includes processing part or all of the to-be-processed task by the at least one first device.
In one implementation, the resource allocation policy module 620 is configured to determine, according to the requirement for the resource of the task allocation scheme, a resource allocation policy that meets the requirement of the task allocation scheme.
It should be understood that the resources referred to in the embodiments of the present application may include at least one of the following: access communication resources, sidestream communication resources, computing resources, storage resources.
It should also be understood that the first device described in the embodiments of the present application may include at least one of: the mobile terminal comprises a second terminal adjacent to the first terminal, a first base station accessed by the first terminal, a second base station adjacent to the first terminal or a cloud server.
In one implementation, the resource allocation policy module 620 is further configured to: requesting a base station to configure access communication resources meeting the requirements of a task allocation scheme according to a resource allocation strategy; or requesting at least one second terminal to configure a sideline communication resource meeting the requirement of the task allocation scheme according to the resource allocation strategy; or requesting at least one second terminal to configure the computing resources meeting the requirements of the task allocation scheme according to the resource allocation strategy; or requesting the cloud server to configure the computing resources meeting the task allocation scheme requirements according to the resource allocation strategy.
In one implementation, the resource allocation policy module 620 is further configured to: and allocating the resources of the first terminal according to the requirements of the task allocation scheme on the resources.
In one implementation, the task requirement decomposition module 610 is further configured to: negotiating with at least one first device to jointly process a task to be processed; or, negotiating with the at least one first device for processing the pending task by the first device.
In one implementation, the task requirement decomposition module 610 is further configured to: requesting the first base station to send part or all of the tasks to be processed to the at least one first device; or requesting the first base station to send part or all of the tasks to be processed to the second base station.
In one implementation, the task requirement decomposition module 610 is further configured to: forwarding part or all of the tasks to be processed to at least one first device; or requesting at least one first device to process part or all of the tasks to be processed.
In one implementation, the terminal device 600 further includes: and the communication module is used for receiving the result of the at least one second terminal after processing part or all of the tasks to be processed.
It should be understood that the access communication resource or the sidestream communication resource referred to in the embodiments of the present application includes any one or more of the following: time domain resources, frequency domain resources, power resources, code resources.
It should be understood that the resource allocation method provided by the embodiments of the present application may be executed by the terminal as a main body. Fig. 7 shows a schematic structural diagram for communication, calculation, and storage resource allocation in a terminal device according to an embodiment of the present application.
Fig. 7 shows a more specific structure diagram of a terminal device according to an embodiment of the present application.
The terminal can comprise a task demand decomposition module, a service scene determination module, a resource state acquisition module and a resource allocation strategy module. The resource state acquisition module may further include a sideline communication module and an access communication module. The resource allocation policy module may further specifically include a storage module, a calculation module, a sidelink communication module, an access communication module, and the like.
In an implementation manner, the task requirement decomposition module may be configured to decompose requirements of the to-be-processed task of the terminal on different types of resources, obtain a communication requirement (e.g., a communication rate requirement and a delay requirement), a calculation requirement (e.g., an operation requirement), and a storage requirement (e.g., a storage size) required by the to-be-processed task.
In an implementation manner, the service scenario determination module may be configured to determine the service scenario of the terminal according to the communication requirement, the calculation requirement, and the storage requirement input by the service requirement decomposition module, and by combining the communication resource state of the access link, the communication resource state of the sidelink, the calculation resource state, and the storage resource state.
In one implementation, the resource status acquiring module may be configured to acquire a communication resource status of an access link, a communication resource status of a sidelink, a computing resource status, and a storage resource status.
In an implementation manner, the resource allocation policy module may be configured to determine a corresponding resource allocation policy according to a specific service scenario input by the service scenario determination module.
In one implementation, the sideline communication module may be a transceiver module that communicates with a neighboring terminal. The sidestream communication module may be, for example, a wireless local area network (WiFi) module or a device-to-device (D2D) module, etc.
In one implementation, the access communication module is a transceiver module that can communicate with a base station. The access communication module may be used for communication between a terminal and a base station in a long term evolution system (LTE) or 5G, for example.
In one implementation, the calculation module may be a module that performs an operation on a service. The computing module may be, for example, a Graphics Processing Unit (GPU), a neural-Network Processing Unit (NPU), a Control Processing Unit (CPU), or the like.
In one implementation, the storage module may be a memory or a storage device for storing data.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (23)

1. A method of resource allocation, comprising:
the method comprises the steps that a first terminal determines a task allocation scheme of a task to be processed, wherein the task allocation scheme comprises that at least one first device completes a first task to be processed, and the first task to be processed is part or all of the task to be processed;
the first terminal determines a resource allocation policy according to the demand for resources of the task allocation scheme, wherein,
when the first task to be processed is part of the task to be processed, the resource allocation strategy comprises that the at least one first device allocates resources required by meeting the first task to be processed, and the first terminal allocates resources required by meeting a second task to be processed, wherein the second task to be processed is a task except the first task to be processed;
when the first to-be-processed task is all the to-be-processed tasks, the resource allocation strategy comprises that the at least one first device allocates resources required by meeting the first to-be-processed task.
2. The method of claim 1, wherein the resource comprises at least one of:
communication resources, computing resources, storage resources.
3. The method of claim 1 or 2, wherein the first device comprises at least one of:
the mobile terminal comprises a second terminal adjacent to the first terminal, a first base station accessed by the first terminal, a second base station adjacent to the first terminal or a cloud server.
4. The method of claim 3, further comprising:
the first terminal requests the first base station and/or the second base station to configure an access communication resource meeting the requirement of the task allocation scheme according to the resource allocation strategy, wherein the access communication resource is used for communication between the first terminal and the first base station and/or the second base station; alternatively, the first and second electrodes may be,
the first terminal requests the at least one second terminal to configure a sidelink communication resource meeting the requirement of the task allocation scheme according to the resource allocation strategy, wherein the sidelink communication resource is used for communication between the first terminal and the at least one second terminal; alternatively, the first and second electrodes may be,
the first terminal requests the at least one second terminal to configure the computing resources meeting the requirements of the task allocation scheme according to the resource allocation strategy; alternatively, the first and second electrodes may be,
and the first terminal requests a cloud server to configure the computing resources meeting the requirements of the task allocation scheme according to the resource allocation strategy.
5. The method according to any one of claims 1-4, further comprising:
and the first terminal allocates the resources of the first terminal according to the requirements of the task allocation scheme on the resources.
6. The method according to any of claims 1-5, wherein the task allocation scheme comprises completion of a first task to be processed by at least one first device, further comprising:
and the first terminal requests the at least one first device to complete the first task to be processed.
7. The method according to any one of claims 2-6, further comprising:
the first terminal requests the first base station to send the first task to be processed to the at least one first device.
8. The method according to any one of claims 1-7, further comprising:
and the first terminal forwards the first task to be processed to the at least one first device.
9. The method according to any one of claims 1-8, further comprising:
and the first terminal receives a result of the at least one first device after processing the first task to be processed.
10. The method according to any of claims 2-9, wherein the communication resources comprise any one or more of:
time domain resources, frequency domain resources, power resources, code resources.
11. A terminal device, comprising:
the task demand decomposition module is used for determining a task allocation scheme of a task to be processed, wherein the task allocation scheme comprises that at least one first device completes a first task to be processed, and the first task to be processed is part or all of the task to be processed;
a resource allocation policy module for determining a resource allocation policy based on the demand for resources of the task allocation scheme, wherein,
when the first task to be processed is part of the task to be processed, the resource allocation strategy comprises that the at least one first device allocates resources required by meeting the first task to be processed, and the first terminal allocates resources required by meeting a second task to be processed, wherein the second task to be processed is a task except the first task to be processed;
when the first to-be-processed task is all the to-be-processed tasks, the resource allocation strategy comprises that the at least one first device allocates resources required by meeting the first to-be-processed task.
12. The terminal device of claim 11, wherein the resource comprises at least one of:
communication resources, computing resources, storage resources.
13. The terminal device according to claim 11 or 12, wherein the first device comprises at least one of:
the mobile terminal comprises a second terminal adjacent to the first terminal, a first base station accessed by the first terminal, a second base station adjacent to the first terminal or a cloud server.
14. The terminal device of claim 13, wherein the resource allocation policy module is further configured to:
requesting the first base station and/or the second base station to configure an access communication resource meeting the requirement of the task allocation scheme according to the resource allocation strategy, wherein the access communication resource is used for communication between the first terminal and the first base station and/or the second base station; alternatively, the first and second electrodes may be,
requesting the at least one second terminal to configure a sidelink communication resource meeting the requirement of the task allocation scheme according to the resource allocation strategy, wherein the sidelink communication resource is used for communication between the first terminal and the at least one second terminal; alternatively, the first and second electrodes may be,
requesting the at least one second terminal to configure computing resources meeting the requirements of the task allocation scheme according to the resource allocation strategy; alternatively, the first and second electrodes may be,
and requesting a cloud server to configure the computing resources meeting the task allocation scheme requirements according to the resource allocation strategy.
15. The terminal device of any one of claims 11-14, wherein the resource allocation policy module is further configured to:
and allocating the resources of the first terminal according to the requirements of the task allocation scheme on the resources.
16. The terminal device of any one of claims 13-15, wherein the task requirement decomposition module is further configured to:
requesting the at least one first device to complete the first task to be processed.
17. The terminal device of any one of claims 12-16, wherein the task requirement decomposition module is further configured to:
requesting the first base station to send the first task to be processed to the at least one first device.
18. The terminal device according to any of claims 11-17, wherein the terminal device further comprises:
a communication module, configured to forward the first task to be processed to the at least one first device.
19. The terminal device according to any of claims 11-18, wherein the terminal device further comprises:
and the communication module is used for receiving a result of the at least one second terminal after processing the first task to be processed.
20. A terminal device according to any of claims 12 to 19, wherein the communications resources include any one or more of:
time domain resources, frequency domain resources, power resources, code resources.
21. A communication device, characterized in that the communication device comprises: at least one processor and a communication interface for the communication device to interact with other communication devices, the program instructions, when executed in the at least one processor, causing the communication device to implement the functionality of the method according to any one of claims 1 to 10 on a first terminal.
22. A communication system, characterized in that the communication system comprises a first terminal and at least one first device, wherein the first terminal is configured to perform the method according to any of claims 1 to 10.
23. A computer program storage medium having program instructions which, when executed directly or indirectly, cause the functionality of the method of any of claims 1 to 10 on the first terminal to be carried out.
CN201911166347.2A 2019-11-25 2019-11-25 Resource allocation method and communication equipment Active CN112839360B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201911166347.2A CN112839360B (en) 2019-11-25 2019-11-25 Resource allocation method and communication equipment
PCT/CN2020/127419 WO2021103991A1 (en) 2019-11-25 2020-11-09 Resource allocation method and communication device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911166347.2A CN112839360B (en) 2019-11-25 2019-11-25 Resource allocation method and communication equipment

Publications (2)

Publication Number Publication Date
CN112839360A true CN112839360A (en) 2021-05-25
CN112839360B CN112839360B (en) 2023-04-18

Family

ID=75922223

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911166347.2A Active CN112839360B (en) 2019-11-25 2019-11-25 Resource allocation method and communication equipment

Country Status (2)

Country Link
CN (1) CN112839360B (en)
WO (1) WO2021103991A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113726858B (en) * 2021-08-12 2022-08-16 西安交通大学 Self-adaptive AR task unloading and resource allocation method based on reinforcement learning

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016082079A1 (en) * 2014-11-24 2016-06-02 华为技术有限公司 Communication system, base station and communication method
US20160338094A1 (en) * 2015-05-14 2016-11-17 Blackberry Limited Allocating resources for a device-to-device transmission
CN108924796A (en) * 2018-08-15 2018-11-30 电子科技大学 A kind of resource allocation and the method for unloading ratio joint decision
CN109144730A (en) * 2018-08-28 2019-01-04 北京邮电大学 Task discharging method and device under a kind of cell
CN109392028A (en) * 2017-08-09 2019-02-26 华为技术有限公司 The method and equipment of data transmission

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101920295B1 (en) * 2014-08-21 2018-11-20 후아웨이 테크놀러지 컴퍼니 리미티드 Resource allocation and service transmission method and apparatus
CN104869151A (en) * 2015-04-07 2015-08-26 北京邮电大学 Business unloading method and system
CN109343904B (en) * 2018-09-28 2021-12-10 燕山大学 Lyapunov optimization-based fog calculation dynamic unloading method
CN109857546B (en) * 2019-01-03 2021-02-02 武汉理工大学 Multi-server mobile edge computing unloading method and device based on Lyapunov optimization
CN110262845B (en) * 2019-04-30 2021-05-07 北京邮电大学 Block chain enabled distributed computing task unloading method and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016082079A1 (en) * 2014-11-24 2016-06-02 华为技术有限公司 Communication system, base station and communication method
US20160338094A1 (en) * 2015-05-14 2016-11-17 Blackberry Limited Allocating resources for a device-to-device transmission
CN109392028A (en) * 2017-08-09 2019-02-26 华为技术有限公司 The method and equipment of data transmission
CN108924796A (en) * 2018-08-15 2018-11-30 电子科技大学 A kind of resource allocation and the method for unloading ratio joint decision
CN109144730A (en) * 2018-08-28 2019-01-04 北京邮电大学 Task discharging method and device under a kind of cell

Also Published As

Publication number Publication date
WO2021103991A1 (en) 2021-06-03
CN112839360B (en) 2023-04-18

Similar Documents

Publication Publication Date Title
KR102401775B1 (en) Roaming support for next generation slice architecture
US20210258822A1 (en) Apparatus and methods for user device buffer management in wireless networks
JP2020535750A (en) Information transmission methods, terminal equipment, and network equipment
EP3254516A1 (en) Systems and methods for dynamic band switching
EP3537819B1 (en) Resource scheduling method and base station
CN111698755B (en) URSP rule-based application data routing method and user equipment
CN108282819B (en) Method and device for reducing interrupt time delay and user equipment
CN112584545B (en) Data transmission method and device
CN109429217B (en) Information interaction method, first base station, second base station and mobile communication terminal
CN114731723A (en) Communication method and device
EP3499922B1 (en) Method, device and computer-readable storage medium for applying qos based on user plane data mapping
CN112839360B (en) Resource allocation method and communication equipment
US20230247418A1 (en) Network edge computing method and communication apparatus
CN111757347B (en) Method for determining bearer type and communication device
US20220217549A1 (en) Communication Method, Apparatus, and System
CN108370567B (en) Apparatus and method for controlling transmission and reception in wireless communication system
EP3448085A1 (en) Method and device for adjusting coding rate
CN115297058A (en) Method, device, terminal and storage medium for processing network congestion
CN112087816A (en) Method for determining safety activation state and related product
EP4082173B1 (en) Device and method for allocating delay for media processing and transmission in mobile communication network
CN114500511B (en) Data transmission method and device and electronic equipment
WO2024037423A1 (en) Bandwidth control method and apparatus
CN111586757B (en) PDU session establishment method and device
CN114762366B (en) Downlink transmission method and communication device
CN115333686A (en) Method for realizing time-limited service and related product

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