WO2021103991A1 - Resource allocation method and communication device - Google Patents

Resource allocation method and communication device Download PDF

Info

Publication number
WO2021103991A1
WO2021103991A1 PCT/CN2020/127419 CN2020127419W WO2021103991A1 WO 2021103991 A1 WO2021103991 A1 WO 2021103991A1 CN 2020127419 W CN2020127419 W CN 2020127419W WO 2021103991 A1 WO2021103991 A1 WO 2021103991A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
task
processed
resources
communication
Prior art date
Application number
PCT/CN2020/127419
Other languages
French (fr)
Chinese (zh)
Inventor
庄宏成
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2021103991A1 publication Critical patent/WO2021103991A1/en

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

Definitions

  • This application relates to the technical field of resource allocation, and in particular, to a method of resource allocation and a communication device.
  • the resources of the terminal are not only wireless resources, but also computing resources and storage resources. These resources will dynamically change when the terminal works in different states. When wireless resources are insufficient, other resources such as computing resources can be used to reduce the demand for wireless resources, thereby ensuring user experience.
  • the wireless resources of the terminal include the wireless resources of the access link (AL) and the side link (SL).
  • the terminal can only control part of the wireless resources, such as the autonomous terminal Side link radio resources, such as unlicensed spectrum resources. Therefore, when the wireless resources of the access link are insufficient, the wireless resources of the side link can also be used.
  • different services have different requirements for different types of resources, and resource allocation strategies also need to be different. For example, image rendering requires larger computing and storage resources.
  • the embodiments of the present application provide a resource allocation method and a communication device, which can solve the problem that the terminal cannot meet the resource requirements of the task to be processed and the task cannot be processed normally and the user experience is poor.
  • a method for resource allocation including: a first terminal determines a task allocation plan for a task to be processed, the task allocation plan includes that at least one first device completes the first task to be processed, and the first The tasks to be processed are part or all of the tasks to be processed; the first terminal determines a resource allocation strategy that meets the needs of the task allocation plan according to the resource requirements of the task allocation plan, wherein, when the first terminal When the to-be-processed tasks are part of the to-be-processed tasks, the resource allocation strategy includes that the at least one first device allocates resources required to meet the first to-be-processed task, and the first terminal allocates resources that meet the first task. 2.
  • the resource allocation strategy includes that the at least one first device allocates resources required by the first task to be processed.
  • the first terminal and at least one first device jointly complete the to-be-processed task, where the first device completes the first to-be-processed task, and the first device completes the first to-be-processed task.
  • a terminal completes a second to-be-processed task, and the second to-be-processed task is a task excluding the first to-be-processed task among the to-be-processed tasks.
  • the resource allocation strategy is determined for the number of tasks to be processed by the first device and the type of resources required by the tasks to be processed.
  • the first terminal and the first device may also negotiate to allocate communication resources required for transmitting the first task to be processed.
  • the first terminal determines the task allocation plan according to its own resources and the resources required by the task to be processed, and by offloading the task to be processed to other devices, the other devices can complete the task to be processed. Or another device and the first terminal jointly complete the task to be processed, and determine its own resource allocation according to the task allocation plan or request a network device (such as a base station) to allocate resources required to meet the task allocation plan, so that when the terminal resources are not satisfied When processing the resources required by the task, it ensures that the current task is completed efficiently, so that the user can obtain a higher business experience.
  • a network device such as a base station
  • the resources include at least one of the following: access communication resources, side-line communication resources, computing resources, and storage resources.
  • the access communication resource may be the resource for communication between the terminal and the base station; the sideline communication resource may be the resource required for communication between the terminals.
  • the access communication resources can be configured by the base station, and the side-line communication resources can be determined by negotiation between the terminals.
  • the first device includes at least one of the following: a second terminal adjacent to the first terminal, and a first base station accessed by the first terminal , A second base station or cloud server adjacent to the first terminal.
  • the first device may be any device having computing resources, storage resources, and communication resources, and the application embodiment is not limited thereto.
  • the method further includes: the first terminal requests the base station to configure access communication resources that meet the requirements of the task allocation plan according to the resource allocation strategy,
  • the access communication resource is used for communication between the first terminal and the first base station and/or the second base station; or, the first terminal requests the at least one first terminal according to the resource allocation strategy.
  • the second terminal is configured with side-line communication resources that meet the requirements of the task allocation plan, and the side-line communication resources are used for communication between the first terminal and the at least one second terminal; or, the first terminal is based on
  • the resource allocation strategy requests the at least one second terminal to configure computing resources that meet the requirements of the task allocation plan; or, according to the resource allocation strategy, the first terminal requests the cloud server configuration to meet the task allocation plan Required computing resources.
  • the method further includes: the first terminal allocates resources of the first terminal according to resource requirements of the task allocation plan.
  • the task allocation solution includes processing part or all of the to-be-processed tasks by at least one first device, including: the first terminal and the at least One first device negotiates to jointly process the to-be-processed task; or, the first terminal negotiates with the at least one first device to allow the first device to process the to-be-processed task.
  • the method further includes: the first terminal requests the first base station to send part or all of the to-be-processed tasks to the at least one first terminal One device.
  • the method further includes: the first terminal forwards part or all of the task to be processed to the at least one first device; or, the The first terminal requests the at least one first device to process part or all of the to-be-processed tasks.
  • the method further includes: the first terminal receiving a result of processing part or all of the task to be processed by the at least one first device.
  • the first terminal may further perform joint processing on the result.
  • the first terminal may respectively communicate with the base station and the neighboring second terminal according to the resources of the access link and the resources of the side link to obtain the required data and perform joint processing; or, the first terminal may receive data from The joint signal of the first base station and the second terminal, and the data is decoded according to the joint signal.
  • the access communication resource or the sideline communication resource includes any one or more of the following: time domain resources, frequency domain resources, power resources, and code resources.
  • a terminal device including: a task requirement decomposition module, configured to determine a task allocation plan of a task to be processed, the task allocation plan including the completion of a first task to be processed by at least one first device, the The first to-be-processed task is part or all of the to-be-processed tasks; the resource allocation strategy module is used to determine a resource allocation strategy that meets the needs of the task allocation plan according to the resource requirements of the task allocation plan, where, when When the first to-be-processed task is part of the to-be-processed task, the resource allocation strategy includes that the at least one first device allocates resources required by the first to-be-processed task, and the first to-be-processed task is allocated by the first device.
  • the terminal allocates resources required to meet the second to-be-processed task, and the second to-be-processed task is a task other than the first to-be-processed task among the to-be-processed tasks; when the first to-be-processed task is all
  • the resource allocation strategy includes that the at least one first device allocates resources required by the first to-be-processed task.
  • the resources include at least one of the following: access communication resources, side-line communication resources, computing resources, and storage resources.
  • the first device includes at least one of the following: a second terminal adjacent to the first terminal, and a first base station accessed by the first terminal , A second base station or cloud server adjacent to the first terminal.
  • the resource allocation strategy module is further configured to: according to the resource allocation strategy, request the base station to configure access communication resources that meet the requirements of the task allocation plan,
  • the access communication resource is used for communication between the first terminal and the first base station and/or the second base station; or, according to the resource allocation strategy, the at least one second terminal configuration is requested to meet all requirements.
  • the side-line communication resources required by the task allocation plan are used for the communication between the first terminal and the at least one second terminal; or, according to the resource allocation strategy, the at least one A second terminal configures computing resources that meet the requirements of the task allocation plan; or, according to the resource allocation strategy, requests the cloud server to configure computing resources that meet the requirements of the task allocation plan.
  • the resource allocation strategy module is further configured to: allocate resources of the first terminal according to resource requirements of the task allocation plan.
  • the task requirement decomposition module is further configured to: negotiate with the at least one first device to jointly process the to-be-processed task; or, with the at least one A first device negotiates that the first device handles the task to be processed.
  • the task requirement decomposition module is further configured to: request the first base station to send part or all of the to-be-processed tasks to the at least one first base station.
  • the task requirement decomposition module is specifically configured to: forward part or all of the to-be-processed tasks to the at least one first device; or, request all the tasks to be processed.
  • the at least one first device processes part or all of the tasks to be processed.
  • the terminal device further includes: a communication module configured to receive a result of processing part or all of the task to be processed by the at least one second terminal pair.
  • the access communication resource or the sideline communication resource includes any one or more of the following: time domain resources, frequency domain resources, power resources, and code resources.
  • a communication device in a third aspect, includes: at least one processor and a communication interface.
  • the communication interface is used for information interaction between the communication device and other communication devices.
  • the communication device When executed in a processor, the communication device is enabled to implement the function of the method on the first terminal as described in any implementation manner of the first aspect.
  • a communication system in a fourth aspect, includes a first terminal and at least one first device, wherein the first terminal is configured to execute the method according to any implementation manner in the first aspect.
  • a computing storage medium has program instructions.
  • the program instructions are directly or indirectly executed, the method according to any one of the implementations of the first aspect is The functions on the first terminal are realized.
  • the terminal device determines the resource allocation strategy according to the task allocation plan, so as to realize the offloading of some pending tasks to remote or cloud processing, so that the pending tasks can be completed efficiently and ensure the user's Business experience.
  • Fig. 1 shows a schematic flowchart of a resource allocation method provided by an embodiment of the present application.
  • Fig. 2 shows a schematic diagram of a resource allocation method provided by an embodiment of the present application.
  • FIG. 3 shows a schematic flowchart of a resource allocation method in a scenario where communication is offloaded to a neighboring base station provided by an embodiment of the present application.
  • Fig. 4 shows a schematic flowchart of a resource allocation method in a remote computing offloading scenario provided by the present application.
  • Fig. 5 shows a schematic flowchart of a resource allocation method in a communication offloading and computing offloading scenario provided by the present application.
  • FIG. 6 shows a schematic structural diagram of a terminal device provided by an embodiment of the present application.
  • FIG. 7 shows a schematic structural diagram of another terminal device provided by an embodiment of the present application.
  • GSM global system of mobile communication
  • CDMA code division multiple access
  • WCDMA broadband code division multiple access
  • GPRS general packet radio service
  • LTE long term evolution
  • LTE frequency division duplex FDD
  • TDD LTE Time division duplex
  • UMTS universal mobile telecommunication system
  • WiMAX worldwide interoperability for microwave access
  • the terminal in the embodiments of the present application may refer to user equipment, access terminal, user unit, user station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, wireless communication device, user agent, or user device.
  • the terminal device can 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), and a wireless communication function Handheld devices, computing devices or other processing devices connected to wireless modems, in-vehicle devices, wearable devices, terminal devices in the future 5G network or terminals in the public land mobile network (PLMN) that will evolve in the future Devices, etc., are not limited in the embodiment of the present application.
  • SIP session initiation protocol
  • WLL wireless local loop
  • PDA personal digital assistant
  • PLMN public land mobile network
  • the base station in the embodiment of the present application may be a device used to communicate with terminal equipment.
  • the base station may be in the global system of mobile communication (GSM) system or code division multiple access (CDMA).
  • a base station (transceiver station, BTS) can also be a base station (NodeB, NB) in a wideband code division multiple access (wideband code division multiple access, WCDMA) system, or an evolved base station (evolutional NodeB) in an LTE system, eNB or eNodeB), it can also be a 5G base station gNB or the 4th generation mobile communication technology (4G) base station, the next generation base station such as ng-eNB and other evolved base stations, and it can also be a cloud wireless access network
  • the wireless controller in the (cloud radio access network, CRAN) scenario, or the network device can be a relay station, an access point, an in-vehicle device, a wearable device, and a network device in the future 5G network or a network in the future
  • Communication resources refer to the frequency resources, time domain resources, space resources, etc. required for communication between the terminal and the base station and the terminal.
  • the communication resources for the communication between the terminal and the base station are recorded as the access communication resources.
  • the communication resource between the terminals is recorded as the side link communication resource; the computing resource is the processor resource required to perform complex calculations; the storage resource is the space for data storage.
  • a 5G wireless network virtualization architecture based on the integration of computing and communication is proposed, which can divide and store the resources provided by basic equipment in heterogeneous networks according to wireless resources, computing resources and storage resources, and put them into corresponding resources
  • a physical network controller such as a software-defined network (SDN) manages and plans uniformly.
  • the above method is a network-side architectural solution, which improves resource utilization by virtualizing resources.
  • this process cannot flexibly determine a resource allocation plan according to the resource situation of the terminal, so that the user experience of the terminal cannot be guaranteed.
  • the embodiment of the present application provides a resource allocation method.
  • the terminal can offload part or all of the services to other terminals, base stations or cloud servers and other devices, assisted in processing by other devices, and the terminal determines the corresponding resource allocation strategy based on the processing assisted by other devices, which is flexible Allocate the required communication, computing and storage resources.
  • the resource allocation method provided in the embodiments of the present application can be applied to wireless communication systems and subsequent systems, especially in mobile communication scenarios.
  • the terminal divides the service scenario of the terminal into: local communication and remote communication.
  • local communication may mean that the terminal's access communication resources can meet the communication requirements of the service
  • remote communication may mean that the terminal's access communication resources cannot meet the communication requirements of the service.
  • the foregoing remote communication scenarios can also be more specifically divided into the following multiple scenarios.
  • the first terminal does not need to offload the computing tasks of the first service to other devices.
  • the first terminal may share some or all of the communication resources
  • the communication task is offloaded to other devices, for example, offloaded to at least one second terminal adjacent to the first terminal or other base stations adjacent to the first terminal.
  • the first terminal can negotiate with the second terminal, and the second terminal Receive the data sent by the base station to the first terminal, and then use the side-line communication resource to send the data to the first terminal; or, the second terminal receives the data sent by the first terminal through the side-line communication resource, and then sends the data to the base station .
  • the first terminal assists in receiving or sending data required by the first terminal through the second terminal.
  • the second terminal may be any one of multiple terminals adjacent to the first terminal.
  • 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 first sent to the adjacent base station, and then the adjacent base station is sent to the first terminal .
  • the first terminal may negotiate with multiple second terminals or neighboring base stations to offload the communication task to multiple second terminals or neighboring base stations, and the first terminal may coordinate to process tasks to be processed according to the scenario , Allocate access communication resources or side-line communication resources.
  • the first terminal may negotiate with at least one second terminal and/or cloud server, and the at least one second terminal and/or cloud server may provide computing resources to process services.
  • the scenario where computing resources are provided by at least one second terminal can be called off-site computing offloading; the scenario where computing resources are provided by a cloud server can be called cloud computing offloading; the scenario where computing resources are provided by the first terminal can be called Local computing is offloaded.
  • the first terminal may negotiate with the at least one second terminal, The first terminal may offload part or all of the computing tasks to the second terminal for processing.
  • the first terminal may also negotiate with a cloud server, and the cloud server provides computing resources to process part or all of the tasks to be processed.
  • the first terminal can only negotiate with the cloud server to complete the process.
  • the first terminal can negotiate with the cloud server, and the The cloud server provides computing resources and handles some or all of the computing tasks.
  • the first terminal may also negotiate with at least one second terminal and the cloud server.
  • the first terminal offloads part or all of the computing tasks to the at least one second terminal and the cloud server.
  • at least A second terminal and the cloud server jointly provide computing resources to process the computing task; or, the first terminal, at least one second terminal, and the cloud server jointly provide computing resources to process the computing task.
  • remote computing offloading may be performed at the same time.
  • the tasks to be processed by the first terminal can be completed jointly by the second terminal and the cloud server, or can also be completed entirely by the second terminal or entirely by the cloud server.
  • the first terminal when the access communication resources, computing resources, and storage resources of the first terminal cannot meet the resources required by the service, but the side-line communication resources of the terminal can meet the communication requirements, the first terminal can add The processed computing tasks are all offloaded to the cloud server and/or at least one second terminal for processing.
  • This scenario is a cloud and remote partial computing offload scenario.
  • the first terminal can flexibly allocate access communication resources, side-line communication resources, computing resources, or storage resources to meet different resource requirements of the current task processing solution after the task to be processed is uninstalled.
  • the first terminal can allocate computing resources and storage resources; in addition, the first terminal can also request the first base station to allocate Access link resources.
  • the first terminal may coordinately allocate side link resources with neighboring terminals; or, coordinately allocate multiple access resources with the second base station.
  • the first terminal may request the first base station to allocate access link resources; coordinate with neighboring terminals to allocate side link resources; and the cloud server and the second terminal Collaborate and jointly allocate computing resources and storage resources in the cloud and remote locations.
  • the first terminal may request the first base station to allocate access link resources; and, in cooperation with the cloud server and the second terminal, to jointly allocate cloud and remote computing resources And storage resources.
  • the first terminal may request the first base station to allocate access link resources; coordinate with neighboring terminals to allocate side link resources; and, with the cloud server Cooperate with the second terminal to jointly allocate computing resources and storage resources in the cloud and remote locations.
  • Fig. 1 shows a schematic flowchart of a resource allocation method provided by an embodiment of the present application.
  • the method may be executed by the first terminal.
  • the method includes the following.
  • the first terminal determines a task allocation plan of a task to be processed, where the task allocation plan includes processing a first task to be processed by at least one first device, and the first task to be processed is part or all of the task 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 so on.
  • the task to be processed may be, for example, the data to be received sent by the first base station to the first terminal; or, it may also be a calculation task that requires the first terminal to perform a calculation task, such as a calculation task in the image rendering process; or, it may also be It is a task that requires the first terminal to perform storage, etc.
  • the first base station may be a base station accessed by the first terminal.
  • the first terminal may negotiate with at least one first device to let the first device process the task to be processed; or, the first terminal may communicate with at least one first device.
  • the equipment negotiates to jointly handle the pending task. That is to say, the first terminal can complete the processing operation of the task to be processed by offloading the task to be processed to other devices and processing by the other devices in cooperation.
  • the first to-be-processed task is part of the to-be-processed task, and the first to-be-processed task is among the to-be-processed tasks.
  • the first device completes the first to-be-processed task
  • the first terminal completes the second to-be-processed task
  • the second to-be-processed task is the to-be-processed task excluding the first to-be-processed task. task.
  • the first to-be-processed tasks are all of the to-be-processed tasks.
  • This situation may be, for example, that the first terminal offloads all the tasks to be processed to the at least one first device for processing. At this time, the first terminal does not have a second task to be processed that needs to be processed.
  • the first terminal determines a task allocation plan of the task to be processed, and the task allocation plan includes that at least one first device completes part or all of the task to be processed.
  • the first device may be, for example, a second terminal, which is a terminal that can establish sidelink communication with the first terminal; or, a second base station, which may be, for example, a terminal adjacent to the first terminal.
  • a second terminal which is a terminal that can establish sidelink communication with the first terminal
  • a second base station which may be, for example, a terminal adjacent to the first terminal.
  • One of the base stations, the first terminal can establish a connection with the second base station; or, a cloud server, an application server, etc.
  • a terminal may determine a task allocation plan according to the current scenario, for example, offload some or all of the tasks to be processed to at least one second terminal for processing.
  • the first terminal may negotiate with at least one second terminal, request at least one second terminal to allocate communication resources, and request the first base station to send part or all of the data to be transmitted to the second terminal, and then the second terminal Send this part of the data to be transmitted to the first terminal through the side-line communication resource; or, the first terminal transmits the data that needs to be transmitted to the first base station first through the side-line communication resource to the second terminal, and then the second terminal sends it To the first base station.
  • the first terminal may determine the task allocation scheme according to the current scenario, for example, offload part or all of the tasks to be processed to at least one second base station for processing.
  • the first terminal may negotiate with at least one second base station, requesting the second base station to first 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 will first transmit the data that needs to be transmitted to the first base station to the second terminal, and then the second terminal transmits to the first base station.
  • the first base station may be a base station accessed by the first terminal; the second terminal may be one of a plurality of terminals adjacent to or adjacent to the first terminal; the second base station may be adjacent to or adjacent to the first terminal One of multiple base stations, and the first terminal can establish a connection with the second base station, and the access resources between the first terminal and the second base station can meet the communication resource requirements of the task to be transmitted.
  • the access communication resource mentioned in this application may be the communication resource required when the terminal communicates with the first base station; the lateral communication resource mentioned in the embodiment of this application may be the first terminal and other terminals (such as the first terminal).
  • the communication resources may include one or more of time domain resources, frequency domain resources, power resources, code resources, and the like.
  • the task to be processed is a task that the first terminal needs to perform calculations
  • the first terminal determines that its own computing resources cannot meet the computing resources required by the task to be processed
  • the first terminal and the second terminal are different
  • the inter-side communication resources meet the communication requirements of the task to be processed
  • the first terminal may negotiate with at least one second terminal to request the at least one second terminal to allocate computing resources and calculate some or all of the tasks to be processed; or
  • the terminal can negotiate with the cloud server, and the cloud server provides computing resources to perform calculations on part or all of the tasks to be processed.
  • the first terminal may perform cloud computing offloading and/or offsite computing offloading.
  • the first terminal may forward part or all of the tasks to be processed to the at least one second terminal; or, when the first terminal and the cloud application server When the task to be processed is jointly processed or the task to be processed is processed by the cloud server, the first terminal may send a request to the cloud server to request the cloud server to provide computing resources to process some or all of the tasks to be processed.
  • the first terminal when the first terminal offloads part of the to-be-processed tasks to the first device for processing, the part of the to-be-processed tasks that are not uninstalled is processed by the first terminal.
  • the first device After the first device finishes processing the unloaded task to be processed, it may send the processed result to the first terminal, and the first terminal may perform joint processing on the received result and the result processed by itself.
  • the first terminal determines a resource allocation strategy according to the resource requirements of the task allocation plan, where, when the first to-be-processed tasks are part of the to-be-processed tasks, the resource allocation strategy includes that at least one first device allocates and satisfies The resources required by the first to-be-processed task are allocated by the first terminal to meet the resources required by the second to-be-processed task.
  • the second to-be-processed task is a task other than the first to-be-processed task among the to-be-processed tasks;
  • the resource allocation strategy includes that at least one first device allocates resources required to satisfy the first task to be processed.
  • the first terminal determines the task allocation plan of the task to be processed according to step S101, it determines the resource allocation strategy according to the task allocation plan (or the business scenario of the first terminal), and can request according to the resource allocation strategy
  • the relevant equipment configures resources that meet the requirements of the task allocation plan.
  • the first terminal requests corresponding resource configuration according to the service scenario.
  • the first terminal may determine the off-site communication offloading scenario (that is, by the first terminal).
  • the two terminals cooperate to process the resource allocation strategy of the task to be processed.
  • the first terminal may request the base station to allocate access resources required by the first terminal to process tasks that are not offloaded according to this; in addition, the first terminal may also request at least one second terminal to allocate a side for transmitting the task to be processed. Line communication resources.
  • the first terminal may determine the offloading scenario for the remote communication (that is, by the first terminal)
  • the two base stations cooperate to process the resource allocation strategy of the task to be processed.
  • the first terminal may request the first base station to allocate access resources required by the first terminal to process tasks that are not offloaded; in addition, the first terminal may also request at least one second base station to configure communication resources for transmitting the task to be processed.
  • the first terminal may determine for the remote computing uninstallation scenario (that is, by the first terminal).
  • the two base stations provide computing resources and co-process the task to be processed) resource allocation strategy.
  • the first terminal may allocate corresponding computing resources according to part of the to-be-processed tasks that it needs to process; in addition, the first terminal may also request at least one second terminal to allocate corresponding computing resources and resources for processing the to-be-processed tasks. Storage resources.
  • the first terminal may determine the cloud computing offloading scenario (that is, the cloud server provides computing Resource, to coordinate the resource allocation strategy of the task to be processed). Specifically, the first terminal may request the cloud server to allocate corresponding computing resources and storage resources for processing the to-be-processed task; in addition, the first terminal may also allocate corresponding computing resources according to part of the to-be-processed tasks that it needs to process.
  • the cloud computing offloading scenario that is, the cloud server provides computing Resource, to coordinate the resource allocation strategy of the task to be processed.
  • the first terminal may request the cloud server to allocate corresponding computing resources and storage resources for processing the to-be-processed task; in addition, the first terminal may also allocate corresponding computing resources according to part of the to-be-processed tasks that it needs to process.
  • the first terminal when the first terminal offloads all pending tasks to the first device for processing, the first terminal still needs to allocate communication resources for transmitting data related to the pending tasks, such as access communication Resources, side-line communication resources, etc., where the specific type of communication resources can be determined according to the requirements of the specific task allocation plan.
  • communication resources for transmitting data related to the pending tasks such as access communication Resources, side-line communication resources, etc., where the specific type of communication resources can be determined according to the requirements of the specific task allocation plan.
  • the embodiment of the present application does not limit the order in which the first terminal requests the first base station, the second base station, the second terminal, and the cloud server to allocate resources.
  • Fig. 2 shows a schematic diagram of a resource allocation method provided by an embodiment of the present application.
  • the resource allocation method shown in FIG. 2 can be applied to the scenario of remote communication offloading, that is, the access communication resources of the first terminal do not meet the access communication resources required by the task to be processed, and the first terminal will partially or completely wait for it.
  • the resource allocation method provided in the embodiment of the present application may specifically include the following content.
  • S201 The first terminal determines that its own communication capability is insufficient.
  • the first terminal may determine that the access communication resources of the first terminal cannot meet the communication resources required by the task to be processed. For example, the time-frequency resource, power resource, or code resource possessed by the first terminal does not support the needs of the task to be processed.
  • S202 The first terminal and the second terminal perform communication offloading negotiation.
  • the first terminal determines that the current service scenario is a communication offloading scenario based on the access communication resources required by the current task to be processed and the access communication resources it possesses, and the first terminal determines that some or all of the The task to be processed is unloaded to the second terminal for processing.
  • the task to be processed may be a data transmission task that requires high access to communication resources.
  • the first terminal and the second terminal may coordinately allocate side uplink resources, and the second terminal The terminal and the first base station perform data transmission of some tasks to be processed.
  • the first terminal negotiates the communication resources of the side link with a second terminal adjacent to the first terminal. Specifically, the first terminal may request the second terminal to allocate corresponding sidelink communication resources for transmitting part or all of the pending tasks.
  • the first base station may only send 30 data packets to the first terminal.
  • the other 70 data packets are sent to the second terminal, and then sent to the first terminal by the second terminal via the side link.
  • the first terminal may negotiate with the second terminal to coordinately configure the side-line communication resources used to transmit the 70 data packets.
  • S203 The first terminal negotiates with the first base station to access communication resources.
  • the first terminal re-requests the access link resource corresponding to the new access link communication requirement from the base station according to the result of negotiating the communication resource of the side link with the neighboring terminal.
  • the first terminal may request the first base station to be configured to transmit the 30 data packets Access communication resources of the package.
  • the first base station may configure the access communication resource of the first terminal according to the request sent by the first terminal, and send a service response message to the first terminal.
  • S204 The first terminal performs joint processing on the received data.
  • the first terminal communicates with the base station and the neighboring second terminal respectively according to the resource of the access link and the resource of the side link to obtain the required data and perform joint processing.
  • the first terminal may receive a joint signal from the first base station and the second terminal, and decode data according to the joint signal.
  • the terminal can obtain part of the data from the base station and the other part of the data from the neighboring terminal, so that when the first terminal has insufficient access communication capacity, the communication can be offloaded to the neighboring terminal to enable the service. It can be processed efficiently to ensure the user's business experience.
  • the first terminal can also offload communications to neighboring base stations, and ensure service experience based on methods such as coordinated multiple-point transmission (CoMP).
  • CoMP coordinated multiple-point transmission
  • S301 The first terminal sends a service request message to the first base station.
  • the first base station is the base station currently accessed by the first terminal.
  • S302 The first base station judges that the communication capability is insufficient.
  • the first base station determines that the access communication capability required by the task to be processed by the first terminal is insufficient, and may negotiate the communication resources of the access link with the neighboring base station (the second base station).
  • S303 The first base station and the second base station perform communication offloading negotiation.
  • the first base station may send a request message to the second base station, requesting the second base station to allocate communication resources to receive transmission data sent to the first terminal. If the second terminal determines to receive the transmission data, it can send a response message to the first base station, indicating that the first base station can send the transmission data.
  • the first base station may also carry the type of communication resources that need to be configured by the second base station, etc., in the request message.
  • S304 The first base station sends a service response message to the first terminal.
  • the service response message may be used to instruct the first terminal to communicate with the second base station, for example, to receive part of the data transmitted by the second base station.
  • the service response message may include communication resources required when the first terminal communicates with the second base station.
  • S305 The first terminal performs joint processing 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.
  • the first terminal may receive a joint signal from the first base station and the second base station, and decode data according to the joint signal.
  • the terminal offloads communication to the neighboring base station to avoid the problem of degraded service experience caused by insufficient communication resources.
  • Fig. 4 shows a schematic flowchart of a resource allocation method in a remote computing offloading scenario provided by the present application.
  • S401 The first terminal determines that computing resources are insufficient.
  • the first terminal determines, according to the computing resources required by the task to be processed, that the computing resources of the first terminal itself do not meet the requirements of the task to be processed.
  • the task to be processed may be, for example, a task that requires high computing resources, such as image rendering.
  • S402 The first terminal and the second terminal perform calculation and offloading negotiation.
  • the first terminal may negotiate with at least one neighboring second terminal for computing offloading, and offload part of the computing requirements to the second terminal.
  • the first terminal when the first terminal offloads calculations to the second terminal, it needs to communicate with the second terminal through sidelink resources. Therefore, the first terminal and the second terminal need to negotiate the sidelink resources. .
  • the first terminal may negotiate the side link resource while negotiating with the second terminal to calculate the offload; or, after the negotiation of the calculated offload is completed, the side link resource may be negotiated.
  • S403 The first terminal sends a computing uninstallation request to the cloud server.
  • the first terminal may also initiate a computing offloading request to the cloud server to request the cloud server to share part of the computing tasks.
  • the cloud server can undertake the task of computing offloading, it can send a response message to the first terminal to indicate the new communication requirement of the first terminal.
  • S404 The first terminal sends a service request message to the first base station.
  • the first terminal sends a service request message to the first base station according to the received new communication demand sent by the cloud server, and the service request message is used to request the first base station for required access communication resources.
  • S405 The first terminal receives the service response message sent by the first base station.
  • the first terminal receives a service response message from the first base station, and the service response message may include the access communication resources required by the first terminal to process the current service; or, it may also include the processing that the first terminal needs to process.
  • the data may include the access communication resources required by the first terminal to process the current service; or, it may also include the processing that the first terminal needs to process.
  • the first terminal may forward part of the data to be processed to the second terminal and/or the cloud server. After the second terminal and/or the cloud server process the data, the processed result is sent to the first terminal.
  • S406 The first terminal performs joint processing on the received data.
  • the first terminal performs joint processing on the processed data from the second terminal and/or the cloud server.
  • the first terminal may only offload the computing task to the cloud server, and configure corresponding resources, and the cloud server will partially or completely assume the computing task.
  • the resource allocation method provided in the embodiments of the present application enables the terminal to offload calculations to adjacent terminals or the cloud, avoiding poor user service experience caused by insufficient computing resources of the terminal.
  • Fig. 5 shows a schematic flowchart of a resource allocation method in a communication offloading and computing offloading scenario provided by the present application.
  • the scenario shown in FIG. 5 is that the computing resources and communication resources of the first terminal do not meet the needs of the task to be processed, and it is necessary to negotiate with at least one of the neighboring second terminal and the cloud server for computing offloading and communication offloading, and Request resource configuration according to the specific uninstall plan.
  • the method includes the following.
  • S501 The first terminal determines that both computing resources and access communication resources are insufficient.
  • the first terminal determines, according to the computing resources and access communication resources required by the task to be processed, that the computing resources and access communication resources of the first terminal itself do not meet the requirements of the task to be processed.
  • the task to be processed may be, for example, a task that requires high computing resources, such as image rendering, etc.; or, the task to be processed may also be a data transmission task that requires high access to communication resources.
  • S502 The first terminal and the second terminal perform calculation and communication offloading negotiation.
  • the first terminal determines that the current service scenario is a communication offloading scenario based on the access communication resources required by the current task to be processed and the access communication resources it possesses, and the first terminal determines that some or all of the The task to be processed is unloaded to the second terminal for processing.
  • the task to be processed may be a data transmission task that requires high access to communication resources.
  • the first terminal and the second terminal may coordinately allocate side uplink resources, and the second terminal The terminal and the first base station perform data transmission of some tasks to be processed.
  • the first terminal negotiates communication resources of the side link with a second terminal adjacent to the first terminal. Specifically, the first terminal may request the second terminal to allocate corresponding sidelink communication resources for transmitting part or all of the pending tasks.
  • the first base station may only send 30 data packets to the first terminal.
  • the other 70 data packets are sent to the second terminal, and then sent to the first terminal by the second terminal via the side link.
  • the first terminal may negotiate with the second terminal to coordinately configure the side-line communication resources used to transmit the 70 data packets.
  • the first terminal may negotiate with at least one neighboring second terminal for computing offloading, and offload part of the computing requirements to the second terminal.
  • the first terminal when the first terminal offloads calculations to the second terminal, it needs to communicate with the second terminal through sidelink resources. Therefore, the first terminal and the second terminal need to negotiate the sidelink resources. .
  • the first terminal may negotiate the side link resource while negotiating with the second terminal to calculate the offload; or, after the negotiation of the calculated offload is completed, the side link resource may be negotiated.
  • the first terminal may forward the task to be processed that needs to be calculated offloaded to the second terminal through the side-line communication resource; after the second terminal has processed the task to be processed in the offloading portion of the calculation, it will be processed. The result is sent to the first terminal.
  • S503 The first terminal sends a computing uninstall request message to the cloud server.
  • the first terminal may also initiate a calculation offloading request to the cloud server, requesting the cloud server to share some or all of the calculation tasks of the task to be processed.
  • the task to be processed may be a task that requires a high computing resource, such as an image rendering task.
  • the first terminal may request the cloud server to provide computing resources to process some or all of the tasks to be processed.
  • S504 The cloud server sends a computing uninstall response message to the first terminal.
  • the cloud server may send a response message to the first terminal, and the computing offloading response message may be used to indicate the new communication requirement of the first terminal.
  • the new communication requirement may be, for example, communication resources required by the cloud server to receive or send data related to the task to be processed.
  • the cloud server provides computing resources to perform calculations on the tasks to be processed in the computing offloading part.
  • S505 The first terminal sends a service request message to the first base station.
  • the first terminal sends a service request message to the first base station according to the calculation offloading or communication offloading plan negotiated with the second terminal, and the service request message is used to request the first base station for calculation offloading or after communication offloading.
  • S506 The first terminal receives the service response message sent by the first base station.
  • the first terminal receives a service response message from the first base station, and the service response message may include the access communication resources required by the first terminal to process the current service; or, it may also include tasks related to the task to be processed.
  • the data may include the access communication resources required by the first terminal to process the current service; or, it may also include tasks related to the task to be processed.
  • the first terminal may forward part of the data related to the task to be processed to the second terminal and/or the cloud server. After the second terminal and/or the cloud server process the data, the processed result is sent to the first terminal.
  • S507 The first terminal performs joint processing on the received data.
  • the first terminal performs joint processing on the processed data from the second terminal and/or the cloud server.
  • the first terminal offloads computing and communication to a neighboring terminal or the cloud to avoid the problems of low service processing efficiency and reduced user experience caused by insufficient computing and communication resources.
  • FIG. 6 shows a schematic structural diagram of a terminal provided by an embodiment of the present application.
  • the terminal 600 includes a task requirement decomposition module 610 and a resource allocation strategy module 620.
  • the task requirement decomposition module 610 is used to determine a task allocation plan of the task to be processed, and the task allocation plan includes processing part or all of the task to be processed by at least one first device.
  • the resource allocation strategy module 620 is configured to determine a resource allocation strategy that meets the requirements of the task allocation plan according to the resource requirements of the task allocation plan.
  • resources mentioned in the embodiments of the present application may include at least one of the following: access communication resources, side-line communication resources, computing resources, and storage resources.
  • the first device mentioned in the embodiment of the present application may include at least one of the following: a second terminal adjacent to the first terminal, a first base station accessed by the first terminal, and a second terminal adjacent to the first terminal.
  • Base station or cloud server may be included in the first device mentioned in the embodiment of the present application.
  • the resource allocation strategy module 620 is further configured to: according to the resource allocation strategy, request the base station to configure access communication resources that meet the requirements of the task allocation plan; or, according to the resource allocation strategy, request at least one second terminal configuration Side-line communication resources that meet the needs of the task allocation plan; or, according to the resource allocation strategy, request at least one second terminal to configure computing resources that meet the needs of the task allocation plan; or, according to the resource allocation strategy, request the cloud server configuration to meet the needs of the task allocation plan Computing resources.
  • the resource allocation strategy module 620 is further configured to allocate resources of the first terminal according to resource requirements of the task allocation plan.
  • the task requirement decomposition module 610 is further configured to: negotiate with at least one first device to jointly process the task to be processed; or negotiate with at least one first device to let the first device process the task to be processed.
  • the task requirement decomposition module 610 is further configured to: request the first base station to send part or all of the tasks to be processed to the at least one first device; or request the first base station to send part or all of the The task to be processed is sent to the second base station.
  • the task requirement decomposition module 610 is further configured to: forward part or all of the to-be-processed tasks to at least one first device; or request at least one first device to process part or all of the to-be-processed tasks.
  • the terminal device 600 further includes: a communication module, configured to receive a result of processing part or all of the tasks to be processed by the at least one second terminal.
  • the access communication resources or side-line communication resources mentioned in the embodiments of the present application include any one or more of the following: time domain resources, frequency domain resources, power resources, and code resources.
  • FIG. 7 shows a schematic structural diagram for communication, calculation, and storage resource allocation in a terminal device provided by an embodiment of the present application.
  • FIG. 7 shows a more specific structure diagram of a terminal device provided by an embodiment of the present application.
  • the terminal may include a task requirement decomposition module, a business scenario determination module, a resource status acquisition module, and a resource allocation strategy module.
  • the resource state acquisition module may specifically include a side-line communication module and an access communication module.
  • the resource allocation strategy module may also specifically include a storage module, a calculation module, a side communication module, an access communication module, and the like.
  • the task requirement decomposition module can be used to decompose the needs of different types of resources for the tasks to be processed by the terminal, to obtain the communication requirements (such as communication rate and delay requirements) required by the tasks to be processed, and to calculate Requirements (such as computing operation requirements) and storage requirements (such as storage size).
  • the communication requirements such as communication rate and delay requirements
  • Requirements such as computing operation requirements
  • storage requirements such as storage size
  • the business scenario determination module can be used to decompose the communication requirements, calculation requirements, and storage requirements input by the module according to the business requirements, and combine the communication resource status of the access link and the communication resource status of the side link , Computing resource status and storage resource status, determine the business scenario of the terminal.
  • the resource status acquisition module can be used to acquire the communication resource status of the access link, the communication resource status of the side link, the computing resource status, and the storage resource status.
  • the resource allocation strategy module can be used to determine the corresponding resource allocation strategy according to the specific business scenario input by the business scenario determination module.
  • the side-line communication module is a transceiver module that can communicate with neighboring terminals.
  • the side-line communication module may be, for example, a wireless local area network (wireless fidelity, WiFi) module or a device-to-device connection (device to device, D2D) module, etc.
  • a transceiver module that can communicate with the base station is connected to the communication module.
  • the access communication module may be used, for example, for communication between a terminal and a base station in a long term evolution system (LTE) or 5G.
  • LTE long term evolution system
  • 5G 5th Generation
  • the computing module may be a module that performs computing operations on services.
  • the calculation module may be, for example, a graphics processing unit (GPU), a neural network processing unit (NPU), or a control processing unit (CPU).
  • the storage module may be a memory or storage device that stores data.
  • the disclosed system, device, and method can be implemented in other ways.
  • the device embodiments described above are only illustrative.
  • the division of the units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components may be combined or It can be integrated into another system, or some features can be ignored or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
  • the functional units in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium.
  • the technical solution of this application essentially or the part that contributes to the existing technology or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage media include: U disk, mobile hard disk, read-only memory (eead-only memory, ROM), random access memory (random access memory, RAM), magnetic disks or optical disks and other media that can store program codes. .

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Quality & Reliability (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present application relates to the technical field of resource configuration, and provides a resource allocation method and a communication device. The resource allocation method comprises: a first terminal determines a task allocation scheme for tasks to be processed, the task allocation scheme comprising processing some or all of the tasks to be processed by at least one first device; and the first terminal determines, according to requirements of the task allocation scheme for resources, a resource allocation strategy meeting the requirements of the task allocation scheme. According to the resource allocation method provided in embodiments of the present application, a terminal device determines a resource allocation strategy according to a task allocation scheme, so as to offload some of tasks to be processed to a remote end or the cloud for processing, so that the tasks to be processed are efficiently completed, and service experience of a user is ensured.

Description

资源分配的方法及通信设备Resource allocation method and communication equipment
本申请要求于2019年11月25日提交中国专利局、申请号为201911166347.2、申请名称为“资源分配的方法及通信设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the Chinese Patent Office, the application number is 201911166347.2, and the application name is "Resource Allocation Method and Communication Equipment" on November 25, 2019, the entire content of which is incorporated into this application by reference .
技术领域Technical field
本申请涉及资源配置技术领域,具体地,涉及一种资源分配的方法及通信设备。This application relates to the technical field of resource allocation, and in particular, to a method of resource allocation and a communication device.
背景技术Background technique
随着移动宽带和智能终端的快速发展,终端能力越来越强,可执行的业务类别越来越多。面临业务需求时,目前的移动终端都是从传输资源角度,根据业务的服务质量(quality of service,QoS),向网络请求所需的无线资源,当无线资源无法满足业务需求时,只能降低用户体验,例如:游戏或视频卡顿、更低的游戏帧率、更长等待时间等。With the rapid development of mobile broadband and smart terminals, terminal capabilities are getting stronger and stronger, and more and more types of services can be performed. When facing service requirements, current mobile terminals are from the perspective of transmission resources, according to the service quality (quality of service, QoS), request the required wireless resources from the network. When the wireless resources cannot meet the service requirements, they can only reduce User experience, such as: game or video freezes, lower game frame rate, longer waiting time, etc.
其实,终端的资源不仅仅是无线资源,还包括计算资源和存储资源等,终端工作在不同状态,这些资源会动态变化。在无线资源不足时,可以利用其它资源如计算资源,降低对无线资源的需求,从而保证用户体验。In fact, the resources of the terminal are not only wireless resources, but also computing resources and storage resources. These resources will dynamically change when the terminal works in different states. When wireless resources are insufficient, other resources such as computing resources can be used to reduce the demand for wireless resources, thereby ensuring user experience.
终端的无线资源包括接入链路(access link,AL)和侧行链路(side link,SL)的无线资源,受制于网络侧的限制,终端只能控制部分的无线资源,如终端自主的side link无线资源,例如未经许可的(unlicensed)频谱的资源。因此,在接入链路无线资源不足时,还可以使用侧行链路的无线资源。另外,不同业务对不同类型的资源需求不同,资源的分配策略也需不同,例如,图像渲染需要较大的计算和存储资源。The wireless resources of the terminal include the wireless resources of the access link (AL) and the side link (SL). Subject to the limitations of the network side, the terminal can only control part of the wireless resources, such as the autonomous terminal Side link radio resources, such as unlicensed spectrum resources. Therefore, when the wireless resources of the access link are insufficient, the wireless resources of the side link can also be used. In addition, different services have different requirements for different types of resources, and resource allocation strategies also need to be different. For example, image rendering requires larger computing and storage resources.
因此,如何有效融合终端的通信,计算和存储能力,是未来通信的关键技术之一,如何实现终端资源的有效分配是关键问题。Therefore, how to effectively integrate the communication, computing and storage capabilities of the terminal is one of the key technologies for future communications, and how to realize the effective allocation of terminal resources is a key issue.
发明内容Summary of the invention
本申请实施例提供了一种资源分配的方法及通信设备,能够解决终端无法满足待处理任务资源需求导致的任务无法正常处理,用户体验差的问题。The embodiments of the present application provide a resource allocation method and a communication device, which can solve the problem that the terminal cannot meet the resource requirements of the task to be processed and the task cannot be processed normally and the user experience is poor.
第一方面,提供了一种资源分配的方法,包括:第一终端确定待处理任务的任务分配方案,所述任务分配方案包括由至少一个第一设备完成第一待处理任务,所述第一待处理任务为部分或全部所述待处理任务;所述第一终端根据所述任务分配方案的对资源的需求,确定满足所述任务分配方案需求的资源分配策略,其中,当所述第一待处理任务为部分所述待处理任务时,所述资源分配策略包括由所述至少一个第一设备分配满足所述第一待处理任务所需的资源,并由所述第一终端分配满足第二待处理任务所需的资源,所述第二待处理任务为所述待处理任务中除所述第一待处理任务之外的任务;当所述第一待处理 任务为全部所述待处理任务时,所述资源分配策略包括由所述至少一个第一设备分配满足所述第一待处理任务所需的资源。In a first aspect, a method for resource allocation is provided, including: a first terminal determines a task allocation plan for a task to be processed, the task allocation plan includes that at least one first device completes the first task to be processed, and the first The tasks to be processed are part or all of the tasks to be processed; the first terminal determines a resource allocation strategy that meets the needs of the task allocation plan according to the resource requirements of the task allocation plan, wherein, when the first terminal When the to-be-processed tasks are part of the to-be-processed tasks, the resource allocation strategy includes that the at least one first device allocates resources required to meet the first to-be-processed task, and the first terminal allocates resources that meet the first task. 2. Resources required by pending tasks, the second pending tasks are tasks other than the first pending tasks among the pending tasks; when the first pending tasks are all the pending tasks When performing a task, the resource allocation strategy includes that the at least one first device allocates resources required by the first task to be processed.
应理解,当第一待处理任务为部分所述待处理任务时,此时,第一终端与至少一个第一设备共同完成该待处理任务,其中,第一设备完成第一待处理任务,第一终端完成第二待处理任务,该第二待处理任务为待处理任务中除去第一待处理任务之外的任务。It should be understood that when the first to-be-processed task is part of the to-be-processed task, at this time, the first terminal and at least one first device jointly complete the to-be-processed task, where the first device completes the first to-be-processed task, and the first device completes the first to-be-processed task. A terminal completes a second to-be-processed task, and the second to-be-processed task is a task excluding the first to-be-processed task among the to-be-processed tasks.
还应理解,针对第一设备完成待处理任务的数量和待处理任务所需的资源类型,确定资源分配策略。此外,第一终端和第一设备还可以协商分配用于传输第一待处理任务所需的通信资源。It should also be understood that the resource allocation strategy is determined for the number of tasks to be processed by the first device and the type of resources required by the tasks to be processed. In addition, the first terminal and the first device may also negotiate to allocate communication resources required for transmitting the first task to be processed.
根据本申请实施例提供的资源分配的方法,由第一终端根据自身资源与待处理任务需求的资源确定任务分配方案,通过将待处理任务卸载到其他设备,实现其他设备完成该待处理任务,或者由其他设备与第一终端共同完成该待处理任务,并根据任务分配方案确定自身资源分配或者请求网络设备(如基站)分配满足该任务分配方案所需的资源,使得当终端资源不满足待处理任务所需的资源时,保证当前任务高效完成,使用户获得较高的业务体验。According to the resource allocation method provided by the embodiment of the present application, the first terminal determines the task allocation plan according to its own resources and the resources required by the task to be processed, and by offloading the task to be processed to other devices, the other devices can complete the task to be processed. Or another device and the first terminal jointly complete the task to be processed, and determine its own resource allocation according to the task allocation plan or request a network device (such as a base station) to allocate resources required to meet the task allocation plan, so that when the terminal resources are not satisfied When processing the resources required by the task, it ensures that the current task is completed efficiently, so that the user can obtain a higher business experience.
结合第一方面,在第一方面的某些实现方式中,所述资源包括以下至少一种:接入通信资源、侧行通信资源、计算资源、存储资源。With reference to the first aspect, in some implementation manners of the first aspect, the resources include at least one of the following: access communication resources, side-line communication resources, computing resources, and storage resources.
可选地,接入通信资源可以是终端与基站之间进行通信的资源;侧行通信资源可以为终端之间进行通信所需的资源。其中,接入通信资源可以由基站配置,侧行通信资源可以由终端之间进行协商确定。Optionally, the access communication resource may be the resource for communication between the terminal and the base station; the sideline communication resource may be the resource required for communication between the terminals. Among them, the access communication resources can be configured by the base station, and the side-line communication resources can be determined by negotiation between the terminals.
结合第一方面,在第一方面的某些实现方式中,所述第一设备包括以下至少一个:与所述第一终端相邻的第二终端、所述第一终端接入的第一基站、与所述第一终端相邻的第二基站或者云端服务器。With reference to the first aspect, in some implementation manners of the first aspect, the first device includes at least one of the following: a second terminal adjacent to the first terminal, and a first base station accessed by the first terminal , A second base station or cloud server adjacent to the first terminal.
应理解,第一设备可以为具有计算资源、存储资源、通信资源的任意设备,并申请实施例对此并不限定。It should be understood that the first device may be any device having computing resources, storage resources, and communication resources, and the application embodiment is not limited thereto.
结合第一方面,在第一方面的某些实现方式中,所述方法还包括:所述第一终端根据所述资源分配策略,请求基站配置满足所述任务分配方案需求的接入通信资源,所述接入通信资源用于所述第一终端与所述第一基站和/或第二基站之间的通信;或者,所述第一终端根据所述资源分配策略,请求所述至少一个第二终端配置满足所述任务分配方案需求的侧行通信资源,所述侧行通信资源用于所述第一终端与所述至少一个第二终端之间的通信;或者,所述第一终端根据所述资源分配策略,请求所述至少一个第二终端配置满足所述任务分配方案需求的计算资源;或者,所述第一终端根据所述资源分配策略,请求云端服务器配置满足所述任务分配方案需求的计算资源。With reference to the first aspect, in some implementation manners of the first aspect, the method further includes: the first terminal requests the base station to configure access communication resources that meet the requirements of the task allocation plan according to the resource allocation strategy, The access communication resource is used for communication between the first terminal and the first base station and/or the second base station; or, the first terminal requests the at least one first terminal according to the resource allocation strategy. The second terminal is configured with side-line communication resources that meet the requirements of the task allocation plan, and the side-line communication resources are used for communication between the first terminal and the at least one second terminal; or, the first terminal is based on The resource allocation strategy requests the at least one second terminal to configure computing resources that meet the requirements of the task allocation plan; or, according to the resource allocation strategy, the first terminal requests the cloud server configuration to meet the task allocation plan Required computing resources.
结合第一方面,在第一方面的某些实现方式中,所述方法还包括:所述第一终端根据所述任务分配方案对资源的需求,对所述第一终端的资源进行分配。With reference to the first aspect, in some implementation manners of the first aspect, the method further includes: the first terminal allocates resources of the first terminal according to resource requirements of the task allocation plan.
结合第一方面,在第一方面的某些实现方式中,所述任务分配方案包括由至少一个第一设备处理部分或全部的所述待处理任务,包括:所述第一终端与所述至少一个第一设备协商共同处理所述待处理任务;或者,所述第一终端与所述至少一个第一设备协商由所述第一设备处理所述待处理任务。With reference to the first aspect, in some implementation manners of the first aspect, the task allocation solution includes processing part or all of the to-be-processed tasks by at least one first device, including: the first terminal and the at least One first device negotiates to jointly process the to-be-processed task; or, the first terminal negotiates with the at least one first device to allow the first device to process the to-be-processed task.
结合第一方面,在第一方面的某些实现方式中,所述方法还包括:所述第一终端请求 所述第一基站将部分或全部的所述待处理任务发送给所述至少一个第一设备。With reference to the first aspect, in some implementation manners of the first aspect, the method further includes: the first terminal requests the first base station to send part or all of the to-be-processed tasks to the at least one first terminal One device.
结合第一方面,在第一方面的某些实现方式中,所述方法还包括:所述第一终端向所述至少一个第一设备转发部分或全部的所述待处理任务;或者,所述第一终端请求所述至少一个第一设备处理部分或全部的所述待处理任务。With reference to the first aspect, in some implementation manners of the first aspect, the method further includes: the first terminal forwards part or all of the task to be processed to the at least one first device; or, the The first terminal requests the at least one first device to process part or all of the to-be-processed tasks.
结合第一方面,在第一方面的某些实现方式中,所述方法还包括:所述第一终端接收所述至少一个第一设备对部分或全部所述待处理任务处理后的结果。With reference to the first aspect, in some implementation manners of the first aspect, the method further includes: the first terminal receiving a result of processing part or all of the task to be processed by the at least one first device.
可选地,第一终端接收第一设备对待处理任务的处理结果后,可以进一步对该结果进行联合处理。例如,第一终端可以根据接入链路的资源和侧行链路的资源分别与基站和邻近的第二终端通信,获得所需要的数据,并进行联合处理;或者,第一终端可以接收来自第一基站和第二终端的联合信号,并根据该联合信号解码数据。Optionally, after receiving the processing result of the task to be processed by the first device, the first terminal may further perform joint processing on the result. For example, the first terminal may respectively communicate with the base station and the neighboring second terminal according to the resources of the access link and the resources of the side link to obtain the required data and perform joint processing; or, the first terminal may receive data from The joint signal of the first base station and the second terminal, and the data is decoded according to the joint signal.
结合第一方面,在第一方面的某些实现方式中,所述接入通信资源或侧行通信资源包括以下任意一种或多种:时域资源、频域资源、功率资源、码资源。With reference to the first aspect, in some implementations of the first aspect, the access communication resource or the sideline communication resource includes any one or more of the following: time domain resources, frequency domain resources, power resources, and code resources.
第二方面,提供了一种终端设备,包括:任务需求分解模块,用于确定待处理任务的任务分配方案,所述任务分配方案包括由至少一个第一设备完成第一待处理任务,所述第一待处理任务为部分或全部所述待处理任务;资源分配策略模块,用于根据所述任务分配方案的对资源的需求,确定满足所述任务分配方案需求的资源分配策略,其中,当所述第一待处理任务为部分所述待处理任务时,所述资源分配策略包括由所述至少一个第一设备分配满足所述第一待处理任务所需的资源,并由所述第一终端分配满足第二待处理任务所需的资源,所述第二待处理任务为所述待处理任务中除所述第一待处理任务之外的任务;当所述第一待处理任务为全部所述待处理任务时,所述资源分配策略包括由所述至少一个第一设备分配满足所述第一待处理任务所需的资源。In a second aspect, a terminal device is provided, including: a task requirement decomposition module, configured to determine a task allocation plan of a task to be processed, the task allocation plan including the completion of a first task to be processed by at least one first device, the The first to-be-processed task is part or all of the to-be-processed tasks; the resource allocation strategy module is used to determine a resource allocation strategy that meets the needs of the task allocation plan according to the resource requirements of the task allocation plan, where, when When the first to-be-processed task is part of the to-be-processed task, the resource allocation strategy includes that the at least one first device allocates resources required by the first to-be-processed task, and the first to-be-processed task is allocated by the first device. The terminal allocates resources required to meet the second to-be-processed task, and the second to-be-processed task is a task other than the first to-be-processed task among the to-be-processed tasks; when the first to-be-processed task is all In the case of the to-be-processed task, the resource allocation strategy includes that the at least one first device allocates resources required by the first to-be-processed task.
结合第二方面,在第二方面的某些实现方式中,所述资源包括以下至少一种:接入通信资源、侧行通信资源、计算资源、存储资源。With reference to the second aspect, in some implementation manners of the second aspect, the resources include at least one of the following: access communication resources, side-line communication resources, computing resources, and storage resources.
结合第二方面,在第二方面的某些实现方式中,所述第一设备包括以下至少一个:与所述第一终端相邻的第二终端、所述第一终端接入的第一基站、与所述第一终端相邻的第二基站或者云端服务器。With reference to the second aspect, in some implementation manners of the second aspect, the first device includes at least one of the following: a second terminal adjacent to the first terminal, and a first base station accessed by the first terminal , A second base station or cloud server adjacent to the first terminal.
结合第二方面,在第二方面的某些实现方式中,所述资源分配策略模块,还用于:根据所述资源分配策略,请求基站配置满足所述任务分配方案需求的接入通信资源,所述接入通信资源用于所述第一终端与所述第一基站和/或第二基站之间的通信;或者,根据所述资源分配策略,请求所述至少一个第二终端配置满足所述任务分配方案需求的侧行通信资源,所述侧行通信资源用于所述第一终端与所述至少一个第二终端之间的通信;或者,根据所述资源分配策略,请求所述至少一个第二终端配置满足所述任务分配方案需求的计算资源;或者,根据所述资源分配策略,请求云端服务器配置满足所述任务分配方案需求的计算资源。With reference to the second aspect, in some implementations of the second aspect, the resource allocation strategy module is further configured to: according to the resource allocation strategy, request the base station to configure access communication resources that meet the requirements of the task allocation plan, The access communication resource is used for communication between the first terminal and the first base station and/or the second base station; or, according to the resource allocation strategy, the at least one second terminal configuration is requested to meet all requirements. The side-line communication resources required by the task allocation plan are used for the communication between the first terminal and the at least one second terminal; or, according to the resource allocation strategy, the at least one A second terminal configures computing resources that meet the requirements of the task allocation plan; or, according to the resource allocation strategy, requests the cloud server to configure computing resources that meet the requirements of the task allocation plan.
结合第二方面,在第二方面的某些实现方式中,所述资源分配策略模块,还用于:根据所述任务分配方案对资源的需求,对所述第一终端的资源进行分配。With reference to the second aspect, in some implementation manners of the second aspect, the resource allocation strategy module is further configured to: allocate resources of the first terminal according to resource requirements of the task allocation plan.
结合第二方面,在第二方面的某些实现方式中,所述任务需求分解模块,还用于:与所述至少一个第一设备协商共同处理所述待处理任务;或者,与所述至少一个第一设备协商由所述第一设备处理所述待处理任务。With reference to the second aspect, in some implementations of the second aspect, the task requirement decomposition module is further configured to: negotiate with the at least one first device to jointly process the to-be-processed task; or, with the at least one A first device negotiates that the first device handles the task to be processed.
结合第二方面,在第二方面的某些实现方式中,所述任务需求分解模块,还用于:请求所述第一基站将部分或全部的所述待处理任务发送给所述至少一个第一设备。With reference to the second aspect, in some implementations of the second aspect, the task requirement decomposition module is further configured to: request the first base station to send part or all of the to-be-processed tasks to the at least one first base station. One device.
结合第二方面,在第二方面的某些实现方式中,所述任务需求分解模块,具体用于:向所述至少一个第一设备转发部分或全部的所述待处理任务;或者,请求所述至少一个第一设备处理部分或全部的所述待处理任务。With reference to the second aspect, in some implementations of the second aspect, the task requirement decomposition module is specifically configured to: forward part or all of the to-be-processed tasks to the at least one first device; or, request all the tasks to be processed. The at least one first device processes part or all of the tasks to be processed.
结合第二方面,在第二方面的某些实现方式中,所述终端设备还包括:通信模块,用于接收所述至少一个第二终端对部分或全部所述待处理任务处理后的结果。With reference to the second aspect, in some implementation manners of the second aspect, the terminal device further includes: a communication module configured to receive a result of processing part or all of the task to be processed by the at least one second terminal pair.
结合第二方面,在第二方面的某些实现方式中,所述接入通信资源或侧行通信资源包括以下任意一种或多种:时域资源、频域资源、功率资源、码资源。With reference to the second aspect, in some implementations of the second aspect, the access communication resource or the sideline communication resource includes any one or more of the following: time domain resources, frequency domain resources, power resources, and code resources.
第三方面,提供了一种通信设备,所述通信设备包括:至少一个处理器和通信接口,所述通信接口用于所述通信设备与其他通信设备进行信息交互,当程序指令在所述至少一个处理器中执行时,使得所述通信设备实现如第一方面中任一实现方式所述的方法在第一终端上的功能。In a third aspect, a communication device is provided. The communication device includes: at least one processor and a communication interface. The communication interface is used for information interaction between the communication device and other communication devices. When executed in a processor, the communication device is enabled to implement the function of the method on the first terminal as described in any implementation manner of the first aspect.
第四方面,提供了一种通信系统,所述通信系统包括第一终端和至少一个第一设备,其中,所述第一终端用于执行如第一方面中任一实现方式所述的方法。In a fourth aspect, a communication system is provided, the communication system includes a first terminal and at least one first device, wherein the first terminal is configured to execute the method according to any implementation manner in the first aspect.
第五方面,提供了一种计算存储介质,所述计算机程序存储介质具有程序指令,当所述程序指令被直接或间接执行时,使得如第一方面中任一实现方式所述的方法在所述第一终端上的功能得以实现。In a fifth aspect, a computing storage medium is provided. The computer program storage medium has program instructions. When the program instructions are directly or indirectly executed, the method according to any one of the implementations of the first aspect is The functions on the first terminal are realized.
根据本申请实施例提供的资源分配的方法,终端设备根据任务分配方案,确定资源分配策略,以实现将部分待处理任务卸载到异地或者云端处理,使该待处理任务被高效完成,保证用户的业务体验。According to the resource allocation method provided by the embodiments of the present application, the terminal device determines the resource allocation strategy according to the task allocation plan, so as to realize the offloading of some pending tasks to remote or cloud processing, so that the pending tasks can be completed efficiently and ensure the user's Business experience.
附图说明Description of the drawings
图1示出了本申请实施例提供的一种资源分配方法的示意性流程图。Fig. 1 shows a schematic flowchart of a resource allocation method provided by an embodiment of the present application.
图2示出了本申请实施例提供的一种资源分配方法的示意图。Fig. 2 shows a schematic diagram of a resource allocation method provided by an embodiment of the present application.
图3示出了本申请实施例提供的一种将通信卸载到邻近基站场景下的资源分配方法的示意性流程图。FIG. 3 shows a schematic flowchart of a resource allocation method in a scenario where communication is offloaded to a neighboring base station provided by an embodiment of the present application.
图4示出了本申请提供的异地计算卸载场景下的一种资源分配方法的示意性流程图。Fig. 4 shows a schematic flowchart of a resource allocation method in a remote computing offloading scenario provided by the present application.
图5示出了本申请提供的通信卸载以及计算卸载场景下的一种资源分配方法的示意性流程图。Fig. 5 shows a schematic flowchart of a resource allocation method in a communication offloading and computing offloading scenario provided by the present application.
图6示出了本申请实施例提供的一种终端设备的示意性结构图。FIG. 6 shows a schematic structural diagram of a terminal device provided by an embodiment of the present application.
图7示出了本申请实施例提供的另一种终端设备的示意性结构图。FIG. 7 shows a schematic structural diagram of another terminal device provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of this application.
本申请实施例的技术方案可以应用于各种通信系统,例如:全球移动通讯(global  system of mobile communication,GSM)系统、码分多址(code division multiple access,CDMA)系统、宽带码分多址(wideband code division multiple access,WCDMA)系统、通用分组无线业务(general packet radio service,GPRS)、长期演进(long term evolution,LTE)系统、LTE频分双工(frequency division duplex,FDD)系统、LTE时分双工(time division duplex,TDD)、通用移动通信系统(universal mobile telecommunication system,UMTS)、全球互联微波接入(worldwide interoperability for microwave access,WiMAX)通信系统、未来的第五代(5th generation,5G)系统或新无线(new radio,NR)等。The technical solutions of the embodiments of this application can be applied to various communication systems, for example: global system of mobile communication (GSM) system, code division multiple access (CDMA) system, broadband code division multiple access (wideband code division multiple access, WCDMA) system, general packet radio service (GPRS), long term evolution (LTE) system, LTE frequency division duplex (FDD) system, LTE Time division duplex (TDD), universal mobile telecommunication system (UMTS), worldwide interoperability for microwave access (WiMAX) communication system, the future fifth generation (5th generation, 5G) system or new radio (NR), etc.
本申请实施例中的终端可以指用户设备、接入终端、用户单元、用户站、移动站、移动台、远方站、远程终端、移动设备、用户终端、无线通信设备、用户代理或用户装置。终端设备还可以是蜂窝电话、无绳电话、会话启动协议(session initiation protocol,SIP)电话、无线本地环路(wirelesslocal loop,WLL)站、个人数字处理(personal digital assistant,PDA)、具有无线通信功能的手持设备、计算设备或连接到无线调制解调器的其它处理设备、车载设备、可穿戴设备,未来5G网络中的终端设备或者未来演进的公用陆地移动通信网络(public land mobile network,PLMN)中的终端设备等,本申请实施例对此并不限定。The terminal in the embodiments of the present application may refer to user equipment, access terminal, user unit, user station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, wireless communication device, user agent, or user device. The terminal device can 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), and a wireless communication function Handheld devices, computing devices or other processing devices connected to wireless modems, in-vehicle devices, wearable devices, terminal devices in the future 5G network or terminals in the public land mobile network (PLMN) that will evolve in the future Devices, etc., are not limited in the embodiment of the present application.
本申请实施例中的基站可以是用于与终端设备通信的设备,该基站可以是全球移动通讯(global system of mobile communication,GSM)系统或码分多址(code division multiple access,CDMA)中的基站(base transceiver station,BTS),也可以是宽带码分多址(wideband code division multiple access,WCDMA)系统中的基站(NodeB,NB),还可以是LTE系统中的演进型基站(evolutional NodeB,eNB或eNodeB),还可以是5G基站gNB或者第四代移动通信技术(the 4rd generation mobile communication tecnology,4G)基站的下一代基站如ng-eNB等演进型基站,还可以是云无线接入网络(cloud radio access network,CRAN)场景下的无线控制器,或者该网络设备可以为中继站、接入点、车载设备、可穿戴设备以及未来5G网络中的网络设备或者未来演进的PLMN网络中的网络设备等,本申请实施例并不限定。The base station in the embodiment of the present application may be a device used to communicate with terminal equipment. The base station may be in the global system of mobile communication (GSM) system or code division multiple access (CDMA). A base station (transceiver station, BTS), can also be a base station (NodeB, NB) in a wideband code division multiple access (wideband code division multiple access, WCDMA) system, or an evolved base station (evolutional NodeB) in an LTE system, eNB or eNodeB), it can also be a 5G base station gNB or the 4th generation mobile communication technology (4G) base station, the next generation base station such as ng-eNB and other evolved base stations, and it can also be a cloud wireless access network The wireless controller in the (cloud radio access network, CRAN) scenario, or the network device can be a relay station, an access point, an in-vehicle device, a wearable device, and a network device in the future 5G network or a network in the future evolved PLMN network Equipment, etc., are not limited in the embodiment of the present application.
随着移动互联网的发展,移动云作为新兴的技术,已经吸引了研究人员大量的关注。接入网络中的移动设备均可视为资源单元,从而可以构建巨大的移动云计算网络。移动云计算网络中的每个移动设备都可以通过将计算、存储任务上载到云端进行来使用云中的“无线”的资源。移动云计算网络中的资源分为三种:通信资源、计算资源和存储资源。通信资源即终端与基站、终端之间通信所需要的频率资源、时域资源、空域资源等,其中,在本申请实施例中将终端与基站之间进行通信的通信资源记为接入通信资源,将终端之间的通信资源记为侧行链路通信资源;计算资源即进行复杂运算所需的处理器资源;存储资源即数据存储所述的空间。通过建立巨大的移动云计算网络,可以进一步发挥云计算技术的巨大优势,为移动设备提供优质的云服务。With the development of mobile Internet, mobile cloud, as an emerging technology, has attracted a lot of attention from researchers. All 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. There are three types of resources in mobile cloud computing networks: communication resources, computing resources, and storage resources. Communication resources refer to the frequency resources, time domain resources, space resources, etc. required for communication between the terminal and the base station and the terminal. In the embodiment of the present application, the communication resources for the communication between the terminal and the base station are recorded as the access communication resources. , The communication resource between the terminals is recorded as the side link communication resource; the computing resource is the processor resource required to perform complex calculations; the storage resource is the space for data storage. By establishing a huge mobile cloud computing network, the huge advantages of cloud computing technology can be further utilized to provide high-quality cloud services for mobile devices.
随着业务需求越来越高,终端具备的通信资源、计算资源或者存储资源可能不足以对业务进行处理。此时,就需要有效的融合终端的通信、计算和存储能力。目前,提出一种基于计算和通信融合的5G无线网络虚拟化体系架构,能够将异构网络中基础设备提供的资源按无线资源、计算资源和存储资源进行划分和存储,并放入相应的资源池中,由物理网络控制器(如软件定义网络(software-defined network,SDN))统一管理规划。As business requirements become higher and higher, the communication resources, computing resources, or storage resources of the terminal may not be sufficient to process the business. At this time, it is necessary to effectively converge the communication, computing and storage capabilities of the terminal. At present, a 5G wireless network virtualization architecture based on the integration of computing and communication is proposed, which can divide and store the resources provided by basic equipment in heterogeneous networks according to wireless resources, computing resources and storage resources, and put them into corresponding resources In the pool, a physical network controller (such as a software-defined network (SDN)) manages and plans uniformly.
上述方法是网络侧架构性方案,通过将资源虚拟化提高资源的利用率,然而,该过程无法根据终端的资源情况灵活确定资源分配方案,从而无法保证终端的用户体验。The above method is a network-side architectural solution, which improves resource utilization by virtualizing resources. However, this process cannot flexibly determine a resource allocation plan according to the resource situation of the terminal, so that the user experience of the terminal cannot be guaranteed.
为了解决上述问题,实现根据待处理业务的需求,灵活地分配不同类型资源,保证业务处理高效完成,提升用户业务体检,本申请实施例提供了一种资源分配的方法。通过该资源分配的方法,终端可以将部分或者全部业务卸载至其他终端、基站或者云端服务器等设备,由其他设备协助处理,终端根据由其他设备协助处理的情况,确定相应的资源分配策略,灵活分配所需的通信、计算和存储资源。In order to solve the above problems, realize the flexible allocation of different types of resources according to the needs of the business to be processed, ensure the efficient completion of business processing, and improve the user's business physical examination, the embodiment of the present application provides a resource allocation method. Through this method of resource allocation, the terminal can offload part or all of the services to other terminals, base stations or cloud servers and other devices, assisted in processing by other devices, and the terminal determines the corresponding resource allocation strategy based on the processing assisted by other devices, which is flexible Allocate the required communication, computing and storage resources.
本申请实施例提供的资源分配的方法可以应用于无线通信系统及后续的系统中,特别是移动通信的场景。The resource allocation method provided in the embodiments of the present application can be applied to wireless communication systems and subsequent systems, especially in mobile communication scenarios.
为便于理解,以下基于终端的通信能力、计算能力和存储能力,对可能出现的业务场景(即对待处理任务的处理场景)进行介绍。For ease of understanding, the following describes possible business scenarios (that is, processing scenarios of tasks to be processed) based on the terminal's communication capabilities, computing capabilities, and storage capabilities.
首先,终端根据终端的接入通信资源能否满足业务的通信需求,将终端的业务场景划分为:本地通信和异地通信。其中,本地通信可以指终端的接入通信资源能够满足业务的通信需求;异地通信可以指终端的接入通信资源不能满足业务的通信需求。First, according to whether the terminal's access communication resources can meet the communication requirements of the service, the terminal divides the service scenario of the terminal into: local communication and remote communication. Among them, local communication may mean that the terminal's access communication resources can meet the communication requirements of the service; remote communication may mean that the terminal's access communication resources cannot meet the communication requirements of the service.
进一步地,基于终端的计算资源、侧行通信资源和存储资源,还可以将上述异地通信的场景更具体地划分出以下多个场景。Further, based on the computing resources, side-line communication resources, and storage resources of the terminal, the foregoing remote communication scenarios can also be more specifically divided into the following multiple scenarios.
(1)通信卸载场景:第一终端的接入通信资源不满足业务的通信需求,但终端的计算资源能够满足处理该业务所需的计算资源。(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 can meet the computing resources required to process the service.
示例性的,若第一终端的计算资源足以提供处理第一业务所需的计算资源,此时,第一终端无需将第一业务的计算任务卸载到其他设备。然而,由于第一终端的接入通信资源有限,其不满足支持第一终端直接与基站之间进行与待处理任务相关的通信时所需的通信资源,因此,第一终端可以将部分或者全部的通信任务卸载到其他设备,如卸载到与第一终端相邻的至少一个第二终端或者与第一终端相邻的其他基站。Exemplarily, if the computing resources of the first terminal are sufficient to provide computing resources required for processing the first service, at this time, the first terminal does not need to offload the computing tasks of the first service to other devices. However, due to the limited access communication resources of the first terminal, it does not meet the communication resources required to support the communication between the first terminal and the base station related to the task to be processed. Therefore, the first terminal may share some or all of the communication resources The communication task is offloaded to other devices, for example, offloaded to at least one second terminal adjacent to the first terminal or other base stations adjacent to the first terminal.
在一种实现方式中,当第一终端与第二终端之间的侧行通信资源能够满足第一业务所需的通信需求,此时,第一终端可以与第二终端协商,由第二终端接收基站发送给第一终端的数据,再利用侧行通信资源将该数据发送给第一终端;或者,第二终端通过侧行通信资源接收第一终端发送的数据,再将该数据发送给基站。换句话说,第一终端通过第二终端协助接收或者发送第一终端需要的数据。In an implementation manner, when the side-line communication resources between the first terminal and the second terminal can meet the communication requirements required by the first service, at this time, the first terminal can negotiate with the second terminal, and the second terminal Receive the data sent by the base station to the first terminal, and then use the side-line communication resource to send the data to the first terminal; or, the second terminal receives the data sent by the first terminal through the side-line communication resource, and then sends the data to the base station . In other words, the first terminal assists in receiving or sending data required by the first terminal through the second terminal.
示例性的,第二终端可以是与第一终端相邻的多个终端中的任意一个。Exemplarily, the second terminal may be any one of multiple terminals adjacent to the first terminal.
在一种实现方式中,第一终端可以与该第一终端邻近的基站协商,使第一基站发送给该第一终端的数据,先发送该邻近的基站,再邻近的基站发送给第一终端。In an implementation manner, 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 first sent to the adjacent base station, and then the adjacent base station is sent to the first terminal .
应理解,在通信卸载场景中,第一终端可以与多个第二终端或者邻近的基站协商,将通信任务卸载至多个第二终端或者邻近的基站,第一终端根据协同处理待处理任务的场景,分配接入通信资源或侧行通信资源。It should be understood that in the communication offloading scenario, the first terminal may negotiate with multiple second terminals or neighboring base stations to offload the communication task to multiple second terminals or neighboring base stations, and the first terminal may coordinate to process tasks to be processed according to the scenario , Allocate access communication resources or side-line communication resources.
(2)计算卸载场景:第一终端的接入通信资源不满足业务的通信需求,且终端的计算资源也不满足处理该业务所需的计算资源。(2) Computing offload scenario: 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 to process the service.
在计算卸载场景下,第一终端可以与至少一个第二终端和/或云端服务器协商,由该至少一个第二终端和/或云端服务器提供计算资源对业务进行处理。其中,由至少一个第二终端提供计算资源的场景,可以称为异地计算卸载;由云端服务器提供计算资源的场景, 可以称为云端计算卸载;由第一终端提供计算资源的场景,可以称为本地计算卸载。In a computing offloading scenario, the first terminal may negotiate with at least one second terminal and/or cloud server, and the at least one second terminal and/or cloud server may provide computing resources to process services. Among them, the scenario where computing resources are provided by at least one second terminal can be called off-site computing offloading; the scenario where computing resources are provided by a cloud server can be called cloud computing offloading; the scenario where computing resources are provided by the first terminal can be called Local computing is offloaded.
在一种实现方式中,当第一终端和至少一个第二终端之间的侧行通信资源满足待处理任务所需的侧行通信资源时,第一终端可以与至少一个第二终端进行协商,第一终端可以将部分或者全部的计算任务卸载到第二终端上进行处理。In an implementation manner, when the side-line communication resources between the first terminal and the at least one second terminal meet the side-line communication resources required by the task to be processed, the first terminal may negotiate with the at least one second terminal, The first terminal may offload part or all of the computing tasks to the second terminal for processing.
在一种实现方式中,第一终端还可以与云端服务器进行协商,由该云端服务器提供计算资源对部分或者全部的待处理任务进行处理。In an implementation manner, the first terminal may also negotiate with a cloud server, and the cloud server provides computing resources to process part or all of the tasks to be processed.
示例性的,在计算卸载场景中,若第一终端和第二终端之间的侧行通信资源不满足业务所需的侧行通信资源,此时,第一终端可以仅与云端服务器协商共同完成该待处理任务,或者,协商单独由云端服务器完成待处理任务。换句话说,当由于第一终端和第二终端之间的侧行通信资源的限制,使第二终端无法为第一终端的业务提供计算资源时,第一终端可以与云端服务器协商,由该云端服务器提供计算资源,处理部分或者全部计算任务。Exemplarily, in a computing offloading scenario, if the side-line communication resources between the first terminal and the second terminal do not meet the side-line communication resources required by the business, at this time, the first terminal can only negotiate with the cloud server to complete the process. The task to be processed, or negotiated to be completed by the cloud server alone. In other words, when the second terminal is unable to provide computing resources for the services of the first terminal due to the limitation of the side-line communication resources between the first terminal and the second terminal, the first terminal can negotiate with the cloud server, and the The cloud server provides computing resources and handles some or all of the computing tasks.
在一种实现方式中,第一终端还可以与至少一个第二终端和云端服务器均进行协商,第一终端将部分或全部计算任务卸载到至少一个第二终端和云端服务器,此时,由至少一个第二终端和云端服务器共同提供计算资源对该计算任务进行处理;或者,由第一终端、至少一个第二终端和云端服务器共同提供计算资源对该计算任务进行处理。In an implementation manner, the first terminal may also negotiate with at least one second terminal and the cloud server. The first terminal offloads part or all of the computing tasks to the at least one second terminal and the cloud server. In this case, at least A second terminal and the cloud server jointly provide computing resources to process the computing task; or, the first terminal, at least one second terminal, and the cloud server jointly provide computing resources to process the computing task.
应理解,异地计算卸载、云端计算卸载和本地计算卸载中的一个或多个可以同时进行。换句话说,第一终端的待处理任务可以由第二终端、云端服务器共同协助完成,或者,也可以完全由第二终端或完全由云端服务器完成。It should be understood that one or more of remote computing offloading, cloud computing offloading, and local computing offloading may be performed at the same time. In other words, the tasks to be processed by the first terminal can be completed jointly by the second terminal and the cloud server, or can also be completed entirely by the second terminal or entirely by the cloud server.
在一种实现方式中,当第一终端的接入通信资源、计算资源和存储资源均不能满足业务所需的资源,但终端的侧行通信资源能够满足通信需求时,第一终端可以将待处理的计算任务全部卸载到云端服务器和/或至少一个第二终端处理,该场景为云端和异地部分计算卸载场景。In an implementation manner, when the access communication resources, computing resources, and storage resources of the first terminal cannot meet the resources required by the service, but the side-line communication resources of the terminal can meet the communication requirements, the first terminal can add The processed computing tasks are all offloaded to the cloud server and/or at least one second terminal for processing. This scenario is a cloud and remote partial computing offload scenario.
针对上述不同的卸载场景,第一终端可以灵活分配接入通信资源、侧行通信资源、计算资源或者存储资源,以满足对待处理任务进行卸载后,当前任务处理方案对不同资源的需求。For the above-mentioned different offloading scenarios, the first terminal can flexibly allocate access communication resources, side-line communication resources, computing resources, or storage resources to meet different resource requirements of the current task processing solution after the task to be processed is uninstalled.
在一种实现方式中,对于本地通信的业务场景(由第一终端自身处理待处理任务的场景),第一终端可以分配计算资源、存储资源;此外,第一终端还可以请求第一基站分配接入链路资源。In an implementation manner, for a business scenario of local communication (a scenario where the first terminal itself processes tasks to be processed), the first terminal can allocate computing resources and storage resources; in addition, the first terminal can also request the first base station to allocate Access link resources.
在一种实现方式中,对于通信卸载的场景,第一终端可以与邻近终端协同分配侧行链路资源;或者,与第二基站协同分配多路接入资源。In an implementation manner, for a communication offloading scenario, the first terminal may coordinately allocate side link resources with neighboring terminals; or, coordinately allocate multiple access resources with the second base station.
在一种实现方式中,对于云端和异地部分计算卸载的场景,第一终端可以请求第一基站分配接入链路资源;与邻近终端协同分配侧行链路资源;与云端服务器和第二终端协同联合分配云端和异地的计算资源和存储资源。In one implementation, for the scenario of cloud and remote partial computing offloading, the first terminal may request the first base station to allocate access link resources; coordinate with neighboring terminals to allocate side link resources; and the cloud server and the second terminal Collaborate and jointly allocate computing resources and storage resources in the cloud and remote locations.
在一种实现方式中,对于云端和本地部分计算卸载的场景,第一终端可以请求第一基站分配接入链路资源;并且,与云端服务器和第二终端协同联合分配云端和异地的计算资源和存储资源。In one implementation, for the scenario of cloud and local partial computing offloading, the first terminal may request the first base station to allocate access link resources; and, in cooperation with the cloud server and the second terminal, to jointly allocate cloud and remote computing resources And storage resources.
在一种实现方式中,对于云端、异地和本地部分计算卸载的场景,第一终端可以请求第一基站分配接入链路资源;与邻近终端协同分配侧行链路资源;并且,与云端服务器和第二终端协同联合分配云端和异地的计算资源和存储资源。In an implementation manner, for scenarios where cloud, remote and local partial computing is offloaded, the first terminal may request the first base station to allocate access link resources; coordinate with neighboring terminals to allocate side link resources; and, with the cloud server Cooperate with the second terminal to jointly allocate computing resources and storage resources in the cloud and remote locations.
以下结合附图,对本申请实施例提供的资源分配方法进行具体的介绍。The resource allocation method provided by the embodiments of the present application will be specifically introduced below with reference to the accompanying drawings.
图1示出了本申请实施例提供的一种资源分配方法的示意性流程图。该方法可以由第一终端作为执行主体。该方法包括以下内容。Fig. 1 shows a schematic flowchart of a resource allocation method provided by an embodiment of the present application. The method may be executed by the first terminal. The method includes the following.
S101,第一终端确定待处理任务的任务分配方案,该任务分配方案包括由至少一个第一设备处理第一待处理任务,该第一待处理任务为部分或全部的待处理任务。S101: The first terminal determines a task allocation plan of a task to be processed, where the task allocation plan includes processing a first task to be processed by at least one first device, and the first task to be processed is part or all of the task to be processed.
其中,该待处理任务可以是本应由第一终端处理的任务,如数据传输任务、计算任务、存储任务等。举例来说,该待处理任务例如可以是第一基站发送给第一终端的待接收数据;或者,也可以是需要第一终端进行计算任务,如图像渲染过程中的计算任务;或者,也可以是需要第一终端进行存储的任务等。其中,第一基站可以是第一终端接入的基站。应理解,若第一终端的资源无法满足该待处理任务需要的资源,第一终端可以与至少一个第一设备协商由第一设备处理待处理任务;或者,第一终端可以与至少一个第一设备协商共同处理该待处理任务。也就是说,第一终端可以通过将该待处理任务卸载到其他设备,由其他设备协同处理的方式,完成该待处理任务的处理操作。Wherein, 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 so on. For example, the task to be processed may be, for example, the data to be received sent by the first base station to the first terminal; or, it may also be a calculation task that requires the first terminal to perform a calculation task, such as a calculation task in the image rendering process; or, it may also be It is a task that requires the first terminal to perform storage, etc. The first base station may be a base station accessed by the first terminal. It should be understood that if the resources of the first terminal cannot meet the resources required by the task to be processed, the first terminal may negotiate with at least one first device to let the first device process the task to be processed; or, the first terminal may communicate with at least one first device. The equipment negotiates to jointly handle the pending task. That is to say, the first terminal can complete the processing operation of the task to be processed by offloading the task to be processed to other devices and processing by the other devices in cooperation.
在一种实现方式中,当第一终端与至少一个第一设备共同完成该待处理任务时,第一待处理任务为部分所述待处理任务,该第一部待处理任务为待处理任务中卸载到第一设备,且由第一设备完成的任务。换句话说,在这种情况下,第一设备完成第一待处理任务,第一终端完成第二待处理任务,该第二待处理任务为待处理任务中除去第一待处理任务之外的任务。In one implementation, when the first terminal and at least one first device jointly complete the to-be-processed task, the first to-be-processed task is part of the to-be-processed task, and the first to-be-processed task is among the to-be-processed tasks. A task that is unloaded to the first device and completed by the first device. In other words, in this case, the first device completes the first to-be-processed task, and the first terminal completes the second to-be-processed task, and the second to-be-processed task is the to-be-processed task excluding the first to-be-processed task. task.
在一种实现方式中,当至少一个第一设备单独完成该待处理任务时,第一待处理任务为全部的所述待处理任务。这种情形例如可以是,第一终端将全部的待处理任务卸载到该至少一个第一设备上进行处理,此时,第一终端不存在需要处理的第二待处理任务。In an implementation manner, when at least one first device individually completes the to-be-processed task, the first to-be-processed tasks are all of the to-be-processed tasks. This situation may be, for example, that the first terminal offloads all the tasks to be processed to the at least one first device for processing. At this time, the first terminal does not have a second task to be processed that needs to be processed.
在一种实现方式中,第一终端确定待处理任务的任务分配方案,该任务分配方案包括由至少一个第一设备来完成部分或者全部的待处理任务。In an implementation manner, the first terminal determines a task allocation plan of the task to be processed, and the task allocation plan includes that at least one first device completes part or all of the task to be processed.
其中,第一设备例如可以是第二终端,该第二终端为可以与第一终端建立侧行链路通信的终端;或者,第二基站,该第二基站例如可以是第一终端邻近的多个基站中的一个,第一终端可以与第二基站建立连接;或者,云端服务器、应用服务器等。Wherein, the first device may be, for example, a second terminal, which is a terminal that can establish sidelink communication with the first terminal; or, a second base station, which may be, for example, a terminal adjacent to the first terminal. One of the base stations, the first terminal can establish a connection with the second base station; or, a cloud server, an application server, etc.
作为一个示例,当待处理任务为第一终端与第一基站之间的数据传输任务,且第一终端确定自身具有的接入通信资源无法满足待处理任务所需的接入通信资源时,第一终端可以根据当前的场景确定任务分配方案,例如,将部分或者全部的待处理任务卸载到至少一个第二终端进行处理。示例性的,第一终端可以与至少一个第二终端进行协商,请求至少一个第二终端分配通信资源,并请求第一基站将部分或者全部待传输数据发送给第二终端,再由第二终端通过侧行通信资源将该部分待传输数据发送给第一终端;或者,第一终端将需要传输给第一基站的数据,先通过侧行通信资源传输给第二终端,再由第二终端发送给第一基站。As an example, when the task to be processed is a data transmission task between the first terminal and the first base station, and the first terminal determines that its own access communication resources cannot meet the access communication resources required by the task to be processed, A terminal may determine a task allocation plan according to the current scenario, for example, offload some or all of the tasks to be processed to at least one second terminal for processing. Exemplarily, the first terminal may negotiate with at least one second terminal, request at least one second terminal to allocate communication resources, and request the first base station to send part or all of the data to be transmitted to the second terminal, and then the second terminal Send this part of the data to be transmitted to the first terminal through the side-line communication resource; or, the first terminal transmits the data that needs to be transmitted to the first base station first through the side-line communication resource to the second terminal, and then the second terminal sends it To the first base station.
作为另一个示例,当待处理任务为第一终端与第一基站之间的数据传输任务,且第一终端确定自身具有的接入通信资源无法满足待处理任务所需的接入通信资源时,第一终端可以根据当前的场景确定任务分配方案,例如,将部分或者全部的待处理任务卸载到至少一个第二基站进行处理。示例性的,第一终端可以与至少一个第二基站进行协商,请求第二基站先接收第一基站发送的部分或者全部待传输数据,再由第二基站将该待传输数据发 送给第一终端;或者,第一终端将需要传输给第一基站的数据,先传输给第二终端,再由第二终端发送给第一基站。As another example, when the task to be processed is a data transmission task between the first terminal and the first base station, and the first terminal determines that its own access communication resources cannot meet the access communication resources required by the task to be processed, The first terminal may determine the task allocation scheme according to the current scenario, for example, offload part or all of the tasks to be processed to at least one second base station for processing. Exemplarily, the first terminal may negotiate with at least one second base station, requesting the second base station to first 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 will first transmit the data that needs to be transmitted to the first base station to the second terminal, and then the second terminal transmits to the first base station.
其中,第一基站可以是第一终端接入的基站;第二终端可以是与第一终端相邻或者邻近的多个终端中的一个;第二基站可以是与第一终端相邻或者邻近的多个基站中的一个,且第一终端可以与第二基站建立连接,第一终端与第二基站之间的接入资源可以满足待传输任务的通信资源需求。Among them, the first base station may be a base station accessed by the first terminal; the second terminal may be one of a plurality of terminals adjacent to or adjacent to the first terminal; the second base station may be adjacent to or adjacent to the first terminal One of multiple base stations, and the first terminal can establish a connection with the second base station, and the access resources between the first terminal and the second base station can meet the communication resource requirements of the task to be transmitted.
应理解,本申请所说的接入通信资源可以是终端与第一基站进行通信时所需的通信资源;本申请实施例所说的侧行通信资源可以是第一终端与其他终端(如第二终端)之间进行通信时所需要的通信资源。其中,通信资源可以包括时域资源、频域资源、功率资源、码资源等中的一种或几种。It should be understood that the access communication resource mentioned in this application may be the communication resource required when the terminal communicates with the first base station; the lateral communication resource mentioned in the embodiment of this application may be the first terminal and other terminals (such as the first terminal). (2) Communication resources required for communication between terminals). Wherein, the communication resources may include one or more of time domain resources, frequency domain resources, power resources, code resources, and the like.
作为又一个示例,当待处理任务为第一终端需要进行计算的任务,且第一终端确定自身具有的计算资源无法满足待处理任务所需的计算资源时,若第一终端和第二终端之间的侧行通信资源满足待处理任务的通信需求,第一终端可以与至少一个第二终端进行协商,请求至少一个第二终端分配计算资源,计算部分或者全部的待处理任务;或者,第一终端可以与云端服务器进行协商,由该云端服务器提供计算资源,对部分或全部的待处理任务进行计算。换句话说,当第一终端计算资源无法满足待处理任务所需的计算资源时,第一终端可以进行云端计算卸载和/或异地计算卸载。As another example, when the task to be processed is a task that the first terminal needs to perform calculations, and the first terminal determines that its own computing resources cannot meet the computing resources required by the task to be processed, if the first terminal and the second terminal are different The inter-side communication resources meet the communication requirements of the task to be processed, and the first terminal may negotiate with at least one second terminal to request the at least one second terminal to allocate computing resources and calculate some or all of the tasks to be processed; or The terminal can negotiate with the cloud server, and the cloud server provides computing resources to perform calculations on 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 offsite computing offloading.
具体地,当第一终端与至少一个第二终端协同处理待处理任务时,第一终端可以将部分或全部待处理任务转发给该至少一个第二终端;或者,当第一终端与云端应用服务器共同处理待处理任务或由云端服务器处理该待处理任务时,第一终端可以向云端服务器发送请求,请求该云服务器提供计算资源,以处理部分或者全部待处理任务。Specifically, when the first terminal and at least one second terminal cooperate to process tasks to be processed, the first terminal may forward part or all of the tasks to be processed to the at least one second terminal; or, when the first terminal and the cloud application server When the task to be processed is jointly processed or the task to be processed is processed by the cloud server, the first terminal may send a request to the cloud server to request the cloud server to provide computing resources to process some or all of the tasks to be processed.
在一种实现方式中,当第一终端将部分待处理任务卸载到第一设备进行处理时,未卸载部分的待处理任务由第一终端进行处理。当第一设备对卸载的待处理任务处理完毕后,可以将处理后的结果发送给第一终端,第一终端可以对接收到的结果和通过自身处理的结果再进行联合处理。In an implementation manner, when the first terminal offloads part of the to-be-processed tasks to the first device for processing, the part of the to-be-processed tasks that are not uninstalled is processed by the first terminal. After the first device finishes processing the unloaded task to be processed, it may send the processed result to the first terminal, and the first terminal may perform joint processing on the received result and the result processed by itself.
S102,第一终端根据任务分配方案的对资源的需求,确定资源分配策略,其中,当第一待处理任务为部分所述待处理任务时,该资源分配策略包括由至少一个第一设备分配满足第一待处理任务所需的资源,并由第一终端分配满足第二待处理任务所需的资源,第二待处理任务为待处理任务中除第一待处理任务之外的任务;当第一待处理任务为全部待处理任务时,资源分配策略包括由至少一个第一设备分配满足第一待处理任务所需的资源。S102: The first terminal determines a resource allocation strategy according to the resource requirements of the task allocation plan, where, when the first to-be-processed tasks are part of the to-be-processed tasks, the resource allocation strategy includes that at least one first device allocates and satisfies The resources required by the first to-be-processed task are allocated by the first terminal to meet the resources required by the second to-be-processed task. The second to-be-processed task is a task other than the first to-be-processed task among the to-be-processed tasks; When a task to be processed is all tasks to be processed, the resource allocation strategy includes that at least one first device allocates resources required to satisfy the first task to be processed.
在一种实现方式中,第一终端根据步骤S101确定待处理任务的任务分配方案后,根据该任务分配方案(或者第一终端的业务场景)确定资源分配策略,并且可以根据该资源分配策略请求相关设备配置满足该任务分配方案需求的资源。换句话说,第一终端根据业务场景请求相应的资源配置。In an implementation manner, after the first terminal determines the task allocation plan of the task to be processed according to step S101, it determines the resource allocation strategy according to the task allocation plan (or the business scenario of the first terminal), and can request according to the resource allocation strategy The relevant equipment configures resources that meet the requirements of the task allocation plan. In other words, the first terminal requests corresponding resource configuration according to the service scenario.
在一种实现方式中,在通信卸载场景中,对于第一终端将待处理任务卸载到至少一个第二终端进行处理的任务分配方案,第一终端可以确定针对异地通信卸载场景(也即由第二终端来协同处理待处理任务)的资源分配策略。具体地,第一终端根据该可以请求基站分配第一终端处理未卸载的任务所需的接入资源;此外,第一终端还可以请求至少一个第二终端分配用于传输该待处理任务的侧行通信资源。In an implementation manner, in the communication offloading scenario, for the task allocation scheme in which the first terminal offloads the task to be processed to at least one second terminal for processing, the first terminal may determine the off-site communication offloading scenario (that is, by the first terminal). The two terminals cooperate to process the resource allocation strategy of the task to be processed. Specifically, the first terminal may request the base station to allocate access resources required by the first terminal to process tasks that are not offloaded according to this; in addition, the first terminal may also request at least one second terminal to allocate a side for transmitting the task to be processed. Line communication resources.
在一种实现方式中,在通信卸载场景中,对于第一终端将待处理任务卸载到至少一个第二基站进行处理的任务分配方案,第一终端可以确定针对异地通信卸载场景(也即由第二基站来协同处理待处理任务)的资源分配策略。具体地,第一终端可以请求第一基站分配第一终端处理未卸载的任务所需的接入资源;此外,第一终端还可以请求至少一个第二基站配置传输该待处理任务的通信资源。In an implementation manner, in the communication offloading scenario, for the task allocation scheme in which the first terminal offloads the task to be processed to at least one second base station for processing, the first terminal may determine the offloading scenario for the remote communication (that is, by the first terminal) The two base stations cooperate to process the resource allocation strategy of the task to be processed. Specifically, the first terminal may request the first base station to allocate access resources required by the first terminal to process tasks that are not offloaded; in addition, the first terminal may also request at least one second base station to configure communication resources for transmitting the task to be processed.
在一种实现方式中,在计算卸载场景中,对于第一终端将待处理任务卸载到至少一个第二终端进行处理的任务分配方案,第一终端可以确定针对异地计算卸载场景(也即由第二基站提供计算资源,协同处理待处理任务)的资源分配策略。具体地,第一终端可以根据自身需要处理的部分待处理任务,分配相应的计算资源;此外,第一终端还可以请求至少一个第二终端分配用于处理该待处理任务的相应的计算资源和存储资源。In an implementation manner, in the computing uninstallation scenario, for the task allocation scheme in which the first terminal uninstalls the task to be processed to at least one second terminal for processing, the first terminal may determine for the remote computing uninstallation scenario (that is, by the first terminal). The two base stations provide computing resources and co-process the task to be processed) resource allocation strategy. Specifically, the first terminal may allocate corresponding computing resources according to part of the to-be-processed tasks that it needs to process; in addition, the first terminal may also request at least one second terminal to allocate corresponding computing resources and resources for processing the to-be-processed tasks. Storage resources.
在一种实现方式中,在计算卸载场景中,对于第一终端将待处理任务卸载到云端服务器进行处理的任务分配方案,第一终端可以确定针对云端计算卸载场景(也即由云端服务器提供计算资源,来协同处理待处理任务)的资源分配策略。具体地,第一终端可以请求云端服务器分配用于处理该待处理任务的相应的计算资源和存储资源;此外,第一终端还可以根据自身需要处理的部分待处理任务,分配相应的计算资源。In one implementation, in the computing offloading scenario, for the task allocation scheme in which the first terminal offloads the task to be processed to the cloud server for processing, the first terminal may determine the cloud computing offloading scenario (that is, the cloud server provides computing Resource, to coordinate the resource allocation strategy of the task to be processed). Specifically, the first terminal may request the cloud server to allocate corresponding computing resources and storage resources for processing the to-be-processed task; in addition, the first terminal may also allocate corresponding computing resources according to part of the to-be-processed tasks that it needs to process.
在一种实现方式中,当第一终端将全部待处理任务卸载到第一设备上进行处理时,该第一终端仍需要分配用于传输该待处理任务相关数据的通信资源,例如接入通信资源、侧行通信资源等,其中,通信资源的具体类型可以根据具体的任务分配方案的需求确定。In an implementation manner, when the first terminal offloads all pending tasks to the first device for processing, the first terminal still needs to allocate communication resources for transmitting data related to the pending tasks, such as access communication Resources, side-line communication resources, etc., where the specific type of communication resources can be determined according to the requirements of the specific task allocation plan.
应理解,本申请实施例对第一终端请求第一基站、第二基站、第二终端和云端服务器分配资源的顺序不做限定。It should be understood that the embodiment of the present application does not limit the order in which the first terminal requests the first base station, the second base station, the second terminal, and the cloud server to allocate resources.
以下结合附图,对本申请实施例提供的资源分配方法的实现过程进行具体的介绍。The implementation process of the resource allocation method provided by the embodiment of the present application will be specifically introduced below in conjunction with the accompanying drawings.
图2示出了本申请实施例提供的一种资源分配方法的示意图。Fig. 2 shows a schematic diagram of a resource allocation method provided by an embodiment of the present application.
图2所示的资源分配的方法可以应用于异地通信卸载的场景,也即第一终端的接入通信资源不满足待处理任务所需的接入通信资源,第一终端将部分或全部的待处理任务卸载到第二终端进行处理的场景。其中,在该场景下,本申请实施例提供的资源分配的方法具体可以包括以下内容。The resource allocation method shown in FIG. 2 can be applied to the scenario of remote communication offloading, that is, the access communication resources of the first terminal do not meet the access communication resources required by the task to be processed, and the first terminal will partially or completely wait for it. A scenario where the processing task is offloaded to the second terminal for processing. Wherein, in this scenario, the resource allocation method provided in the embodiment of the present application may specifically include the following content.
S201,第一终端确定自身通信能力不足。S201: The first terminal determines that its own communication capability is insufficient.
在一种实现方式中,第一终端可以确定该第一终端具有的接入通信资源无法满足待处理任务需要的通信资源。例如,第一终端具有的时频资源、功率资源或者码资源等不支持待处理任务的需求。In an implementation manner, the first terminal may determine that the access communication resources of the first terminal cannot meet the communication resources required by the task to be processed. For example, the time-frequency resource, power resource, or code resource possessed by the first terminal does not support the needs of the task to be processed.
S202,第一终端与第二终端进行通信卸载协商。S202: The first terminal and the second terminal perform communication offloading negotiation.
在一种实现方式中,第一终端根据基于当前待处理任务所需的接入通信资源和自身具备的接入通信资源,确定当前业务场景为通信卸载场景,该第一终端确定将部分或者全部待处理任务卸载至第二终端进行处理。此时,待处理任务可以是对接入通信资源要求较高的数据传输任务。In an implementation manner, the first terminal determines that the current service scenario is a communication offloading scenario based on the access communication resources required by the current task to be processed and the access communication resources it possesses, and the first terminal determines that some or all of the The task to be processed is unloaded to the second terminal for processing. At this time, the task to be processed may be a data transmission task that requires high access to communication resources.
具体地,第一终端与第二终端进行通信卸载协商时,或者,第一终端与第二终端进行通信卸载协商之后,第一终端和第二终端可以协同分配侧行链路资源,由第二终端与第一基站进行部分待处理任务的数据传输。Specifically, when the first terminal and the second terminal perform communication offloading negotiation, or after the first terminal and the second terminal perform communication offloading negotiation, the first terminal and the second terminal may coordinately allocate side uplink resources, and the second terminal The terminal and the first base station perform data transmission of some tasks to be processed.
在一种实现方式中,第一终端与该第一终端邻近的第二终端协商侧行链路的通信资 源。具体地,第一终端可以向第二终端请求分配相应的侧行链路通信资源,以用于传输部分或者全部的待处理任务。In an implementation manner, the first terminal negotiates the communication resources of the side link with a second terminal adjacent to the first terminal. Specifically, the first terminal may request the second terminal to allocate corresponding sidelink communication resources for transmitting part or all of the pending tasks.
示例性的,假设第一基站和第一终端之间需要传输100个数据包,在第二终端协助处理待处理任务的场景下,第一基站可以仅将30个数据包发送给第一终端,另外70个数据包发送给第二终端,再由第二终端经过侧行链路发送给第一终端。其中,在数据传输之前,第一终端可以与第二终端协商,协同配置用于传输该70个数据包的侧行通信资源。Illustratively, 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 tasks to be processed, the first base station may only send 30 data packets to the first terminal. The other 70 data packets are sent to the second terminal, and then sent to the first terminal by the second terminal via the side link. Wherein, before data transmission, the first terminal may negotiate with the second terminal to coordinately configure the side-line communication resources used to transmit the 70 data packets.
S203,第一终端与第一基站协商接入通信资源。S203: The first terminal negotiates with the first base station to access communication resources.
在一种实现方式中,第一终端根据与邻近终端协商侧行链路的通信资源结果,重新向基站请求新的接入链路通信需求对应的接入链路资源。In an implementation manner, the first terminal re-requests the access link resource corresponding to the new access link communication requirement from the base station according to the result of negotiating the communication resource of the side link with the neighboring terminal.
示例性的,若第一终端与第一基站之间传输的数据包由初始的100个数据包更改为30个数据包,则第一终端可以向第一基站请求配置用于传输该30个数据包的接入通信资源。Exemplarily, 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 be configured to transmit the 30 data packets Access communication resources of the package.
在一种实现方式中,第一基站可以根据第一终端发送的请求,配置该第一终端的接入通信资源,并向第一终端发送业务响应消息。In an implementation manner, the first base station may configure the access communication resource of the first terminal according to the request sent by the first terminal, and send a service response message to the first terminal.
S204,第一终端对接收到的数据进行联合处理。S204: The first terminal performs joint processing on the received data.
其中,第一终端根据接入链路的资源和侧行链路的资源分别与基站和邻近的第二终端通信,获得所需要的数据,并进行联合处理。Wherein, the first terminal communicates with the base station and the neighboring second terminal respectively according to the resource of the access link and the resource of the side link to obtain the required data and perform joint processing.
在一种实现方式中,第一终端可以接收来自第一基站和第二终端的联合信号,并根据该联合信号解码数据。In an implementation manner, the first terminal may receive a joint signal from the first base station and the second terminal, and decode data according to the joint signal.
根据本申请实施例的资源分配方法,终端可以从基站获得部分数据,并从邻近终端获得另外一部分数据,从而在第一终端接入通信能力不足时,通过把通信卸载到邻近终端,使该业务能够被高效处理,保证用户的业务体验。According to the resource allocation method of the embodiment of the present application, the terminal can obtain part of the data from the base station and the other part of the data from the neighboring terminal, so that when the first terminal has insufficient access communication capacity, the communication can be offloaded to the neighboring terminal to enable the service. It can be processed efficiently to ensure the user's business experience.
此外,第一终端还可以将通信卸载到邻近基站,基于如多点协作传输(coordinated multiple-point transmission,CoMP)方式,保证业务体验。其中,将通信卸载到邻近基站场景下的资源分配示意性流程如图3所示。In addition, the first terminal can also offload communications to neighboring base stations, and ensure service experience based on methods such as coordinated multiple-point transmission (CoMP). The schematic flow of resource allocation in the scenario where communication is offloaded to neighboring base stations is shown in FIG. 3.
S301,第一终端向第一基站发送业务请求消息。S301: The first terminal sends a service request message to the first base station.
其中,第一基站为第一终端当前接入的基站。Wherein, the first base station is the base station currently accessed by the first terminal.
S302,第一基站判断通信能力不足。S302: The first base station judges that the communication capability is insufficient.
具体地,第一基站判断第一终端待处理任务所需的接入通信能力不足,则可以与邻近基站(第二基站)协商接入链路的通信资源。Specifically, the first base station determines that the access communication capability required by the task to be processed by the first terminal is insufficient, and may negotiate the communication resources of the access link with the neighboring base station (the second base station).
S303,第一基站与第二基站进行通信卸载协商。S303: The first base station and the second base station perform communication offloading negotiation.
在一种实现方式中,第一基站可以向第二基站发送请求消息,请求该第二基站分配通信资源,以接收发送给第一终端的传输数据。若第二终端确定接收该传输数据,则可以向第一基站发送响应消息,指示第一基站可以发送该传输数据。In an implementation manner, the first base station may send a request message to the second base station, requesting the second base station to allocate communication resources to receive transmission data sent to the first terminal. If the second terminal determines to receive the transmission data, it can send a response message to the first base station, indicating that the first base station can send the transmission data.
在一种实现方式中,第一基站还可以在请求消息中携带需要第二基站配置的通信资源的类型等。In an implementation manner, the first base station may also carry the type of communication resources that need to be configured by the second base station, etc., in the request message.
S304,第一基站向第一终端发送业务响应消息。S304: The first base station sends a service response message to the first terminal.
在一种实现方式中,该业务响应消息可以用于指示第一终端与第二基站进行通信,例如,接收该第二基站传输的部分数据。In an implementation manner, the service response message may be used to instruct the first terminal to communicate with the second base station, for example, to receive part of the data transmitted by the second base station.
在一种实现方式中,该业务响应消息可以包括第一终端与第二基站进行通信时所需的通信资源。In an implementation manner, the service response message may include communication resources required when the first terminal communicates with the second base station.
S305,第一终端对接收到的数据进行联合处理。S305: The first terminal performs joint processing on the received data.
其中,第一终端可以接收来自第一基站和第二基站的数据,并对接收到的数据进行联合处理。Wherein, 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 an implementation manner, the first terminal may receive a joint signal from the first base station and the second base station, and decode data according to the joint signal.
通过本申请实施例提供的资源分配的方法,终端通过把通信卸载到邻近基站,避免通信资源不足导致的业务体验下降的问题。Through the resource allocation method provided in the embodiments of the present application, the terminal offloads communication to the neighboring base station to avoid the problem of degraded service experience caused by insufficient communication resources.
图4示出了本申请提供的异地计算卸载场景下的一种资源分配方法的示意性流程图。Fig. 4 shows a schematic flowchart of a resource allocation method in a remote computing offloading scenario provided by the present application.
S401,第一终端确定计算资源不足。S401: The first terminal determines that computing resources are insufficient.
在一种实现方式中,第一终端根据待处理任务所需的计算资源,确定该第一终端本身具有的计算资源不满足待处理任务的需求。其中,待处理任务例如可以是对计算资源需求较高的任务,例如图像渲染等。In an implementation manner, the first terminal determines, according to the computing resources required by the task to be processed, that the computing resources of the first terminal itself do not meet the requirements of the task to be processed. Among them, the task to be processed may be, for example, a task that requires high computing resources, such as image rendering.
S402,第一终端与第二终端进行计算卸载协商。S402: The first terminal and the second terminal perform calculation and offloading negotiation.
在一种实现方式中,第一终端判断待处理业务所需的计算能力不足后,可以与邻近的至少一个第二终端协商计算卸载,把部分计算需求卸载到第二终端。In an implementation manner, after the first terminal determines that the computing power required by the service to be processed is insufficient, it may negotiate with at least one neighboring second terminal for computing offloading, and offload part of the computing requirements to the second terminal.
在一种实现方式中,第一终端把计算卸载到第二终端时,需要通过侧行链路资源与第二终端进行通信,因此,第一终端和第二终端需要协商好侧行链路资源。In one implementation, when the first terminal offloads calculations to the second terminal, it needs to communicate with the second terminal through sidelink resources. Therefore, the first terminal and the second terminal need to negotiate the sidelink resources. .
示例性的,第一终端可以在与第二终端协商计算卸载的同时协商侧行链路资源;或者,也可以在协商完计算卸载之后,协商侧行链路资源。Exemplarily, the first terminal may negotiate the side link resource while negotiating with the second terminal to calculate the offload; or, after the negotiation of the calculated offload is completed, the side link resource may be negotiated.
S403,第一终端向云端服务器发送计算卸载请求。S403: The first terminal sends a computing uninstallation request to the cloud server.
在一种实现方式中,第一终端在与第二终端协商计算卸载之外,还可以向云端服务器发起计算卸载请求,请求云端服务器分担部分的计算任务。In an implementation manner, in addition to negotiating with the second terminal for computing offloading, the first terminal may also initiate a computing offloading request to the cloud server to request the cloud server to share part of the computing tasks.
在一种实现方式中,若云端服务器能够承担计算卸载的任务,可以向第一终端发送响应消息,指示第一终端新的通信需求。In an implementation manner, if the cloud server can undertake the task of computing offloading, it can send a response message to the first terminal to indicate the new communication requirement of the first terminal.
S404,第一终端向第一基站发送业务请求消息。S404: The first terminal sends a service request message to the first base station.
在一种实现方式中,第一终端根据接收的云端服务器发送的新的通信需求,向第一基站发送业务请求消息,该业务请求消息用于向第一基站请求所需的接入通信资源。In an implementation manner, the first terminal sends a service request message to the first base station according to the received new communication demand sent by the cloud server, and the service request message is used to request the first base station for required access communication resources.
S405,第一终端接收第一基站发送的业务响应消息。S405: The first terminal receives the service response message sent by the first base station.
在一种实现方式中,第一终端接收来自第一基站的业务响应消息,该业务响应消息可以包括第一终端处理当前业务所需的接入通信资源;或者,还可以包括第一终端需要处理的数据。In an implementation manner, the first terminal receives a service response message from the first base station, and the service response message may include the access communication resources required by the first terminal to process the current service; or, it may also include the processing that the first terminal needs to process. The data.
在一种实现方式中,第一终端可以将部分待处理数据转发给第二终端和/或云端服务器。第二终端和/或云端服务器对数据进行处理后,将处理后的结果发送给第一终端。In an implementation manner, the first terminal may forward part of the data to be processed to the second terminal and/or the cloud server. After the second terminal and/or the cloud server process the data, the processed result is sent to the first terminal.
S406,第一终端对接收到的数据进行联合处理。S406: The first terminal performs joint processing on the received data.
在一种实现方式中,第一终端对来自第二终端和/或云端服务器的处理后的数据进行联合处理。In an implementation manner, 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 corresponding resources, and the cloud server will partially or completely assume the computing task.
通过本申请实施例提供的资源分配的方法,使得终端能够把计算卸载到邻近终端或者云端,避免了终端计算资源不足时导致的用户业务体验差。The resource allocation method provided in the embodiments of the present application enables the terminal to offload calculations to adjacent terminals or the cloud, avoiding poor user service experience caused by insufficient computing resources of the terminal.
图5示出了本申请提供的通信卸载以及计算卸载场景下的一种资源分配方法的示意性流程图。Fig. 5 shows a schematic flowchart of a resource allocation method in a communication offloading and computing offloading scenario provided by the present application.
其中,图5所示的场景为,第一终端的计算资源和通信资源均不满足待处理任务的需求,需要与邻近的第二终端和云端服务器中的至少一个协商计算卸载和通信卸载,并根据具体卸载方案请求资源配置。该方法包括以下内容。Among them, the scenario shown in FIG. 5 is that the computing resources and communication resources of the first terminal do not meet the needs of the task to be processed, and it is necessary to negotiate with at least one of the neighboring second terminal and the cloud server for computing offloading and communication offloading, and Request resource configuration according to the specific uninstall plan. The method includes the following.
S501,第一终端确定计算资源和接入通信资源均不足。S501: The first terminal determines that both computing resources and access communication resources are insufficient.
在一种实现方式中,第一终端根据待处理任务所需的计算资源和接入通信资源,确定该第一终端本身具有的计算资源和接入通信资源不满足待处理任务的需求。其中,待处理任务例如可以是对计算资源需求较高的任务,例如图像渲染等;或者,待处理任务也可以是对接入通信资源需求较高的数据传输任务。In an implementation manner, the first terminal determines, according to the computing resources and access communication resources required by the task to be processed, that the computing resources and access communication resources of the first terminal itself do not meet the requirements of the task to be processed. Among them, the task to be processed may be, for example, a task that requires high computing resources, such as image rendering, etc.; or, the task to be processed may also be a data transmission task that requires high access to communication resources.
S502,第一终端与第二终端进行计算和通信卸载协商。S502: The first terminal and the second terminal perform calculation and communication offloading negotiation.
在一种实现方式中,第一终端根据基于当前待处理任务所需的接入通信资源和自身具备的接入通信资源,确定当前业务场景为通信卸载场景,该第一终端确定将部分或者全部待处理任务卸载至第二终端进行处理。此时,待处理任务可以是对接入通信资源要求较高的数据传输任务。In an implementation manner, the first terminal determines that the current service scenario is a communication offloading scenario based on the access communication resources required by the current task to be processed and the access communication resources it possesses, and the first terminal determines that some or all of the The task to be processed is unloaded to the second terminal for processing. At this time, the task to be processed may be a data transmission task that requires high access to communication resources.
具体地,第一终端与第二终端进行通信卸载协商时,或者,第一终端与第二终端进行通信卸载协商之后,第一终端和第二终端可以协同分配侧行链路资源,由第二终端与第一基站进行部分待处理任务的数据传输。Specifically, when the first terminal and the second terminal perform communication offloading negotiation, or after the first terminal and the second terminal perform communication offloading negotiation, the first terminal and the second terminal may coordinately allocate side uplink resources, and the second terminal The terminal and the first base station perform data transmission of some tasks to be processed.
在一种实现方式中,第一终端向与该第一终端邻近的第二终端协商侧行链路的通信资源。具体地,第一终端可以向第二终端请求分配相应的侧行链路通信资源,以用于传输部分或者全部的待处理任务。In an implementation manner, the first terminal negotiates communication resources of the side link with a second terminal adjacent to the first terminal. Specifically, the first terminal may request the second terminal to allocate corresponding sidelink communication resources for transmitting part or all of the pending tasks.
示例性的,假设第一基站和第一终端之间需要传输100个数据包,在第二终端协助处理待处理任务的场景下,第一基站可以仅将30个数据包发送给第一终端,另外70个数据包发送给第二终端,再由第二终端经过侧行链路发送给第一终端。其中,在数据传输之前,第一终端可以与第二终端协商,协同配置用于传输该70个数据包的侧行通信资源。Illustratively, 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 tasks to be processed, the first base station may only send 30 data packets to the first terminal. The other 70 data packets are sent to the second terminal, and then sent to the first terminal by the second terminal via the side link. Wherein, before data transmission, the first terminal may negotiate with the second terminal to coordinately configure the side-line communication resources used to transmit the 70 data packets.
在一种实现方式中,第一终端判断待处理业务所需的计算能力不足后,可以与邻近的至少一个第二终端协商计算卸载,把部分计算需求卸载到第二终端。In an implementation manner, after the first terminal determines that the computing power required by the service to be processed is insufficient, it may negotiate with at least one neighboring second terminal for computing offloading, and offload part of the computing requirements to the second terminal.
在一种实现方式中,第一终端把计算卸载到第二终端时,需要通过侧行链路资源与第二终端进行通信,因此,第一终端和第二终端需要协商好侧行链路资源。In one implementation, when the first terminal offloads calculations to the second terminal, it needs to communicate with the second terminal through sidelink resources. Therefore, the first terminal and the second terminal need to negotiate the sidelink resources. .
示例性的,第一终端可以在与第二终端协商计算卸载的同时协商侧行链路资源;或者,也可以在协商完计算卸载之后,协商侧行链路资源。Exemplarily, the first terminal may negotiate the side link resource while negotiating with the second terminal to calculate the offload; or, after the negotiation of the calculated offload is completed, the side link resource may be negotiated.
在一种实现方式中,第一终端可以将需要进行计算卸载的待处理任务通过侧行通信资源转发给第二终端;当第二终端对计算卸载部分的待处理任务处理完毕后,将处理后的结果发送给第一终端。In one implementation, the first terminal may forward the task to be processed that needs to be calculated offloaded to the second terminal through the side-line communication resource; after the second terminal has processed the task to be processed in the offloading portion of the calculation, it will be processed. The result is sent to the first terminal.
S503,第一终端向云端服务器发送计算卸载请求消息。S503: The first terminal sends a computing uninstall request message to the cloud server.
在一种实现方式中,第一终端在与第二终端协商计算卸载之外,还可以向云端服务器 发起计算卸载请求,请求云端服务器分担部分或全部该待处理任务的计算任务。其中,该待处理任务可以是对计算资源需求较高的任务,例如为图像渲染任务等。In an implementation manner, in addition to negotiating calculation offloading with the second terminal, the first terminal may also initiate a calculation offloading request to the cloud server, requesting the cloud server to share some or all of the calculation tasks of the task to be processed. Among them, the task to be processed may be a task that requires a high computing resource, such as an image rendering task.
示例性的,第一终端可以请求云端服务器提供计算资源对该部分或全部的待处理任务进行处理。Exemplarily, the first terminal may request the cloud server to provide computing resources to process some or all of the tasks to be processed.
S504,云端服务器向第一终端发送计算卸载响应消息。S504: The cloud server sends a computing uninstall response message to the first terminal.
在一种实现方式中,若云端服务器能够承担计算卸载的任务,可以向第一终端发送响应消息,该计算卸载响应消息可以用于指示第一终端新的通信需求。该新的通信需求例如可以是,云端服务器接收或发送待处理任务相关数据所需的通信资源等。In an implementation manner, if the cloud server can undertake the task of computing offloading, it may send a response message to the first terminal, and the computing offloading response message may be used to indicate the new communication requirement of the first terminal. The new communication requirement may be, for example, communication resources required by the cloud server to receive or send data related to the task to be processed.
在一种实现方式中,云端服务器提供计算资源对计算卸载部分的待处理任务进行计算。In an implementation manner, the cloud server provides computing resources to perform calculations on the tasks to be processed in the computing offloading part.
S505,第一终端向第一基站发送业务请求消息。S505: The first terminal sends a service request message to the first base station.
在一种实现方式中,第一终端根据与第二终端协商的计算卸载或者通信卸载方案,向第一基站发送业务请求消息,该业务请求消息用于向第一基站请求计算卸载或者通信卸载后该第一终端所需的接入通信资源;或者,第一终端根据接收的云端服务器发送的新的通信需求,向第一基站发送业务请求消息,该业务请求消息用于向第一基站请求所需的接入通信资源。In an implementation manner, the first terminal sends a service request message to the first base station according to the calculation offloading or communication offloading plan negotiated with the second terminal, and the service request message is used to request the first base station for calculation offloading or after communication offloading. The access communication resources required by the first terminal; or, the first terminal sends a service request message to the first base station according to the received new communication demand sent by the cloud server, and the service request message is used to request the first base station Required access to communication resources.
S506,第一终端接收第一基站发送的业务响应消息。S506: The first terminal receives the service response message sent by the first base station.
在一种实现方式中,第一终端接收来自第一基站的业务响应消息,该业务响应消息可以包括第一终端处理当前业务所需的接入通信资源;或者,还可以包括与待处理任务相关的数据。In an implementation manner, the first terminal receives a service response message from the first base station, and the service response message may include the access communication resources required by the first terminal to process the current service; or, it may also include tasks related to the task to be processed. The data.
在一种实现方式中,第一终端可以将部分待处理任务相关的数据转发给第二终端和/或云端服务器。第二终端和/或云端服务器对数据进行处理后,将处理后的结果发送给第一终端。In an implementation manner, the first terminal may forward part of the data related to the task to be processed to the second terminal and/or the cloud server. After the second terminal and/or the cloud server process the data, the processed result is sent to the first terminal.
S507,第一终端对接收到的数据进行联合处理。S507: The first terminal performs joint processing on the received data.
在一种实现方式中,第一终端对来自第二终端和/或云端服务器的处理后的数据进行联合处理。In an implementation manner, 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 computing and communication to a neighboring terminal or the cloud to avoid the problems of low service processing efficiency and reduced user experience caused by insufficient computing and communication resources.
图6示出了本申请实施例提供的一种终端的示意性结构图。该终端600包括任务需求分解模块610和资源分配策略模块620。FIG. 6 shows a schematic structural diagram of a terminal provided by an embodiment of the present application. The terminal 600 includes a task requirement decomposition module 610 and a resource allocation strategy module 620.
在一种实现方式中,任务需求分解模块610,用于确定待处理任务的任务分配方案,任务分配方案包括由至少一个第一设备处理部分或全部的待处理任务。In an implementation manner, the task requirement decomposition module 610 is used to determine a task allocation plan of the task to be processed, and the task allocation plan includes processing part or all of the task to be processed by at least one first device.
在一种实现方式中,资源分配策略模块620,用于根据任务分配方案的对资源的需求,确定满足任务分配方案需求的资源分配策略。In an implementation manner, the resource allocation strategy module 620 is configured to determine a resource allocation strategy that meets the requirements of the task allocation plan according to the resource requirements of the task allocation plan.
应理解,本申请实施例所说的资源可以包括以下至少一种:接入通信资源、侧行通信资源、计算资源、存储资源。It should be understood that the resources mentioned in the embodiments of the present application may include at least one of the following: access communication resources, side-line communication resources, computing resources, and storage resources.
还应理解,本申请实施例所说的第一设备可以包括以下至少一个:与第一终端相邻的第二终端、第一终端接入的第一基站、与第一终端相邻的第二基站或者云端服务器。It should also be understood that the first device mentioned in the embodiment of the present application may include at least one of the following: a second terminal adjacent to the first terminal, a first base station accessed by the first terminal, and a second terminal adjacent to the first terminal. Base station or cloud server.
在一种实现方式中,资源分配策略模块620,还用于:根据资源分配策略,请求基站 配置满足任务分配方案需求的接入通信资源;或者,根据资源分配策略,请求至少一个第二终端配置满足任务分配方案需求的侧行通信资源;或者,根据资源分配策略,请求至少一个第二终端配置满足任务分配方案需求的计算资源;或者,根据资源分配策略,请求云端服务器配置满足任务分配方案需求的计算资源。In an implementation manner, the resource allocation strategy module 620 is further configured to: according to the resource allocation strategy, request the base station to configure access communication resources that meet the requirements of the task allocation plan; or, according to the resource allocation strategy, request at least one second terminal configuration Side-line communication resources that meet the needs of the task allocation plan; or, according to the resource allocation strategy, request at least one second terminal to configure computing resources that meet the needs of the task allocation plan; or, according to the resource allocation strategy, request the cloud server configuration to meet the needs of the task allocation plan Computing resources.
在一种实现方式中,资源分配策略模块620,还用于:根据任务分配方案对资源的需求,对第一终端的资源进行分配。In an implementation manner, the resource allocation strategy module 620 is further configured to allocate resources of the first terminal according to resource requirements of the task allocation plan.
在一种实现方式中,任务需求分解模块610,还用于:与至少一个第一设备协商共同处理待处理任务;或者,与至少一个第一设备协商由第一设备处理待处理任务。In an implementation manner, the task requirement decomposition module 610 is further configured to: negotiate with at least one first device to jointly process the task to be processed; or negotiate with at least one first device to let the first device process the task to be processed.
在一种实现方式中,任务需求分解模块610,还用于:请求第一基站将部分或全部的待处理任务发送给所述至少一个第一设备;或者,请求第一基站将部分或全部的待处理任务发送给第二基站。In an implementation manner, the task requirement decomposition module 610 is further configured to: request the first base station to send part or all of the tasks to be processed to the at least one first device; or request the first base station to send part or all of the The task to be processed is sent to the second base station.
在一种实现方式中,任务需求分解模块610,还用于:向至少一个第一设备转发部分或全部的待处理任务;或者,请求至少一个第一设备处理部分或全部的待处理任务。In an implementation manner, the task requirement decomposition module 610 is further configured to: forward part or all of the to-be-processed tasks to at least one first device; or request at least one first device to process part or all of the to-be-processed tasks.
在一种实现方式中,终端设备600还包括:通信模块,用于接收至少一个第二终端对部分或全部待处理任务处理后的结果。In an implementation manner, the terminal device 600 further includes: a communication module, configured to receive a result of processing part or all of the tasks to be processed by the at least one second terminal.
应理解,本申请实施例所说的接入通信资源或侧行通信资源包括以下任意一种或多种:时域资源、频域资源、功率资源、码资源。It should be understood that the access communication resources or side-line communication resources mentioned in the embodiments of the present application include any one or more of the following: time domain resources, frequency domain resources, power resources, and code resources.
应理解,本申请实施例提供的资源分配方法可以由终端作为主体来执行。图7示出了本申请实施例提供的一种终端设备中用于通信、计算和存储资源分配的示意性结构图。It should be understood that the resource allocation method provided by the embodiment of the present application may be executed by the terminal as the main body. FIG. 7 shows a schematic structural diagram for communication, calculation, and storage resource allocation in a terminal device provided by an embodiment of the present application.
图7示出了本申请实施例提供的一种更为具体的终端设备结构图。FIG. 7 shows a more specific structure diagram of a terminal device provided by an embodiment of the present application.
该终端可以包括任务需求分解模块、业务场景确定模块、资源状态获取模块、资源分配策略模块。其中,资源状态获取模块具体还可以包括侧行通信模块、接入通信模块。资源分配策略模块具体还可以包括存储模块、计算模块以及侧行通信模块、接入通信模块等。The terminal may include a task requirement decomposition module, a business scenario determination module, a resource status acquisition module, and a resource allocation strategy module. Among them, the resource state acquisition module may specifically include a side-line communication module and an access communication module. The resource allocation strategy module may also specifically include a storage module, a calculation module, a side communication module, an access communication module, and the like.
在一种实现方式中,任务需求分解模块,可以用于对终端的待处理任务对不同类型资源的需求进行分解,获得待处理任务所需的通信需求(如通信速率和时延需求),计算需求(如运算操作需求)和存储需求(如存储大小)。In one implementation, the task requirement decomposition module can be used to decompose the needs of different types of resources for the tasks to be processed by the terminal, to obtain the communication requirements (such as communication rate and delay requirements) required by the tasks to be processed, and to calculate Requirements (such as computing operation requirements) and storage requirements (such as storage size).
在一种实现方式中,业务场景确定模块,可以用于根据业务需求分解模块输入的通信需求、计算需求和存储需求,并结合接入链路的通信资源状态、侧行链路的通信资源状态、计算资源状态和存储资源状态,确定终端的业务场景。In one implementation, the business scenario determination module can be used to decompose the communication requirements, calculation requirements, and storage requirements input by the module according to the business requirements, and combine the communication resource status of the access link and the communication resource status of the side link , Computing resource status and storage resource status, determine the business scenario of the terminal.
在一种实现方式中,资源状态获取模块,可以用于获取接入链路的通信资源状态、侧行链路的通信资源状态、计算资源状态和存储资源状态。In an implementation manner, the resource status acquisition module can be used to acquire the communication resource status of the access link, the communication resource status of the side link, the computing resource status, and the storage resource status.
在一种实现方式中,资源分配策略模块,可以用于根据业务场景确定模块输入的具体业务场景,确定相应的资源分配策略。In an implementation manner, the resource allocation strategy module can be used to determine the corresponding resource allocation strategy according to the specific business scenario input by the business scenario determination module.
在一种实现方式中,侧行通信模块,可以与邻近终端通信的收发模块。侧行通信模块例如可以是无线局域网(wireless fidelity,WiFi)模块或设备对设备的连接(device to device,D2D)模块等。In one implementation, the side-line communication module is a transceiver module that can communicate with neighboring terminals. The side-line communication module may be, for example, a wireless local area network (wireless fidelity, WiFi) module or a device-to-device connection (device to device, D2D) module, etc.
在一种实现方式中,接入通信模块,可以与基站通信的收发模块。接入通信模块例如可以用于长期演进系统(long term evolution,LTE)或5G中终端与基站之间的通信。In one implementation, a transceiver module that can communicate with the base station is connected to the communication module. The access communication module may be used, for example, for communication between a terminal and a base station in a long term evolution system (LTE) or 5G.
在一种实现方式中,计算模块,可以是对业务进行运算操作的模块。该计算模块例如 可以是图形处理单元(graphics processing unit,GPU)、神经网络处理单元(neural-network process unit,NPU)或者控制处理单元(control processing unit,CPU)等。In one implementation, the computing module may be a module that performs computing operations on services. The calculation module may be, for example, a graphics processing unit (GPU), a neural network processing unit (NPU), or a control processing unit (CPU).
在一种实现方式中,存储模块,可以为存储数据的内存或者存储设备等。In an implementation manner, the storage module may be a memory or storage device that stores data.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。A person of ordinary skill in the art may realize that the units and algorithm steps of the examples described in combination with the embodiments disclosed herein can be implemented by electronic hardware or a combination of computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraint conditions of the technical solution. Professionals and technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered beyond the scope of this application.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and conciseness of description, the specific working process of the above-described system, device, and unit can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed system, device, and method can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components may be combined or It can be integrated into another system, or some features can be ignored or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, the functional units in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(eead-only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium. Based on this understanding, the technical solution of this application essentially or the part that contributes to the existing technology or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (eead-only memory, ROM), random access memory (random access memory, RAM), magnetic disks or optical disks and other media that can store program codes. .
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。The above are only specific implementations of this application, but the scope of protection of this application is not limited to this. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed in this application. Should be covered within the scope of protection of this application. Therefore, the protection scope of this application should be subject to the protection scope of the claims.

Claims (23)

  1. 一种资源分配的方法,其特征在于,包括:A method for resource allocation, characterized in that it includes:
    第一终端确定待处理任务的任务分配方案,所述任务分配方案包括由至少一个第一设备完成第一待处理任务,所述第一待处理任务为部分或全部所述待处理任务;The first terminal determines a task allocation plan of the task to be processed, the task allocation plan includes the completion of a first task to be processed by at least one first device, 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 according to the resource demand of the task allocation plan, where:
    当所述第一待处理任务为部分所述待处理任务时,所述资源分配策略包括由所述至少一个第一设备分配满足所述第一待处理任务所需的资源,并由所述第一终端分配满足第二待处理任务所需的资源,所述第二待处理任务为所述待处理任务中除所述第一待处理任务之外的任务;When the first to-be-processed task is part of the to-be-processed task, the resource allocation strategy includes that the at least one first device allocates resources required by the first to-be-processed task, and the first A terminal allocates resources required to satisfy a second to-be-processed task, where the second to-be-processed task is a task other than the first to-be-processed task among the to-be-processed tasks;
    当所述第一待处理任务为全部所述待处理任务时,所述资源分配策略包括由所述至少一个第一设备分配满足所述第一待处理任务所需的资源。When the first to-be-processed tasks are all the to-be-processed tasks, the resource allocation strategy includes that the at least one first device allocates resources required by the first to-be-processed tasks.
  2. 根据权利要求1所述的方法,其特征在于,所述资源包括以下至少一种:The method according to claim 1, wherein the resource includes at least one of the following:
    通信资源、计算资源、存储资源。Communication resources, computing resources, and storage resources.
  3. 根据权利要求1或2所述的方法,其特征在于,所述第一设备包括以下至少一个:The method according to claim 1 or 2, wherein the first device comprises at least one of the following:
    与所述第一终端相邻的第二终端、所述第一终端接入的第一基站、与所述第一终端相邻的第二基站或者云端服务器。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. 根据权利要求3所述的方法,其特征在于,所述方法还包括:The method according to claim 3, wherein the method further comprises:
    所述第一终端根据所述资源分配策略,请求所述第一基站和/或第二基站配置满足所述任务分配方案需求的接入通信资源,所述接入通信资源用于所述第一终端与所述第一基站和/或第二基站之间的通信;或者,According to the resource allocation strategy, the first terminal requests the first base station and/or the second base station to configure access communication resources that meet the requirements of the task allocation scheme, and the access communication resources are used for the first Communication between the terminal and the first base station and/or the second base station; or,
    所述第一终端根据所述资源分配策略,请求所述至少一个第二终端配置满足所述任务分配方案需求的侧行通信资源,所述侧行通信资源用于所述第一终端与所述至少一个第二终端之间的通信;或者,According to the resource allocation strategy, the first terminal requests the at least one second terminal to configure side-line communication resources that meet the requirements of the task allocation plan, and the side-line communication resources are used for the first terminal and the Communication between at least one second terminal; or,
    所述第一终端根据所述资源分配策略,请求所述至少一个第二终端配置满足所述任务分配方案需求的计算资源;或者,According to the resource allocation strategy, the first terminal requests the at least one second terminal to configure computing resources that meet the requirements of the task allocation plan; or,
    所述第一终端根据所述资源分配策略,请求云端服务器配置满足所述任务分配方案需求的计算资源。According to the resource allocation strategy, the first terminal requests the cloud server to configure computing resources that meet the requirements of the task allocation plan.
  5. 根据权利要求1-4中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1-4, wherein the method further comprises:
    所述第一终端根据所述任务分配方案对资源的需求,对所述第一终端的资源进行分配。The first terminal allocates the resources of the first terminal according to the resource requirements of the task allocation plan.
  6. 根据权利要求1-5中任一项所述的方法,其特征在于,所述任务分配方案包括由至少一个第一设备完成第一待处理任务,还包括:The method according to any one of claims 1 to 5, wherein the task allocation scheme comprises that at least one first device completes the first to-be-processed task, and further comprises:
    所述第一终端请求所述至少一个第一设备完成所述第一待处理任务。The first terminal requests the at least one first device to complete the first task to be processed.
  7. 根据权利要求2-6中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 2-6, wherein the method further comprises:
    所述第一终端请求所述第一基站将所述第一待处理任务发送给所述至少一个第一设备。The first terminal requests the first base station to send the first task to be processed to the at least one first device.
  8. 根据权利要求1-7中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1-7, wherein the method further comprises:
    所述第一终端向所述至少一个第一设备转发所述第一待处理任务。The first terminal forwards the first task to be processed to the at least one first device.
  9. 根据权利要求1-8中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1-8, wherein the method further comprises:
    所述第一终端接收所述至少一个第一设备对所述第一待处理任务处理后的结果。The first terminal receives a result of processing the first task to be processed by the at least one first device.
  10. 根据权利要求2-9中任一项所述的方法,其特征在于,所述通信资源包括以下任意一种或多种:The method according to any one of claims 2-9, wherein the communication resource includes any one or more of the following:
    时域资源、频域资源、功率资源、码资源。Time domain resources, frequency domain resources, power resources, code resources.
  11. 一种终端设备,其特征在于,包括:A terminal device, characterized in that it comprises:
    任务需求分解模块,用于确定待处理任务的任务分配方案,所述任务分配方案包括由至少一个第一设备完成第一待处理任务,所述第一待处理任务为部分或全部所述待处理任务;The task requirement decomposition module is used to determine the task allocation plan of the task to be processed, the task allocation plan includes the completion of the first task to be processed by at least one first device, and the first task to be processed is part or all of the task to be processed task;
    资源分配策略模块,用于根据所述任务分配方案的对资源的需求,确定资源分配策略,其中,The resource allocation strategy module is used to determine the resource allocation strategy according to the resource requirements of the task allocation plan, where:
    当所述第一待处理任务为部分所述待处理任务时,所述资源分配策略包括由所述至少一个第一设备分配满足所述第一待处理任务所需的资源,并由所述第一终端分配满足第二待处理任务所需的资源,所述第二待处理任务为所述待处理任务中除所述第一待处理任务之外的任务;When the first to-be-processed task is part of the to-be-processed task, the resource allocation strategy includes that the at least one first device allocates resources required by the first to-be-processed task, and the first A terminal allocates resources required to satisfy a second to-be-processed task, where the second to-be-processed task is a task other than the first to-be-processed task among the to-be-processed tasks;
    当所述第一待处理任务为全部所述待处理任务时,所述资源分配策略包括由所述至少一个第一设备分配满足所述第一待处理任务所需的资源。When the first to-be-processed tasks are all the to-be-processed tasks, the resource allocation strategy includes that the at least one first device allocates resources required by the first to-be-processed tasks.
  12. 根据权利要求11所述的终端设备,其特征在于,所述资源包括以下至少一种:The terminal device according to claim 11, wherein the resource includes at least one of the following:
    通信资源、计算资源、存储资源。Communication resources, computing resources, and storage resources.
  13. 根据权利要求11或12所述的终端设备,其特征在于,所述第一设备包括以下至少一个:The terminal device according to claim 11 or 12, wherein the first device comprises at least one of the following:
    与所述第一终端相邻的第二终端、所述第一终端接入的第一基站、与所述第一终端相邻的第二基站或者云端服务器。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. 根据权利要求13所述的终端设备,其特征在于,所述资源分配策略模块,还用于:The terminal device according to claim 13, wherein the resource allocation strategy module is further configured to:
    根据所述资源分配策略,请求所述第一基站和/或所述第二基站配置满足所述任务分配方案需求的接入通信资源,所述接入通信资源用于所述第一终端与所述第一基站和/或第二基站之间的通信;或者,According to the resource allocation strategy, the first base station and/or the second base station are requested to configure access communication resources that meet the requirements of the task allocation scheme, and the access communication resources are used for the first terminal and all The communication between the first base station and/or the second base station; or,
    根据所述资源分配策略,请求所述至少一个第二终端配置满足所述任务分配方案需求的侧行通信资源,所述侧行通信资源用于所述第一终端与所述至少一个第二终端之间的通信;或者,According to the resource allocation strategy, request the at least one second terminal to configure side-line communication resources that meet the requirements of the task allocation plan, and the side-line communication resources are used for the first terminal and the at least one second terminal Communication between; or,
    根据所述资源分配策略,请求所述至少一个第二终端配置满足所述任务分配方案需求的计算资源;或者,According to the resource allocation strategy, request the at least one second terminal to configure computing resources that meet the requirements of the task allocation plan; or,
    根据所述资源分配策略,请求云端服务器配置满足所述任务分配方案需求的计算资源。According to the resource allocation strategy, the cloud server is requested to configure computing resources that meet the requirements of the task allocation plan.
  15. 根据权利要求11-14中任一项所述的终端设备,其特征在于,所述资源分配策略模块,还用于:The terminal device according to any one of claims 11-14, wherein the resource allocation strategy module is further configured to:
    根据所述任务分配方案对资源的需求,对所述第一终端的资源进行分配。The resources of the first terminal are allocated according to the resource requirements of the task allocation plan.
  16. 根据权利要求13-15中任一项所述的终端设备,其特征在于,所述任务需求分解模块,还用于:The terminal device according to any one of claims 13-15, wherein the task requirement decomposition module is further configured to:
    请求所述至少一个第一设备完成所述第一待处理任务。Request the at least one first device to complete the first task to be processed.
  17. 根据权利要求12-16中任一项所述的终端设备,其特征在于,所述任务需求分解模块,还用于:The terminal device according to any one of claims 12-16, wherein the task requirement decomposition module is further configured to:
    请求所述第一基站将所述第一待处理任务发送给所述至少一个第一设备。Request the first base station to send the first task to be processed to the at least one first device.
  18. 根据权利要求11-17中任一项所述的终端设备,其特征在于,所述终端设备还包括:The terminal device according to any one of claims 11-17, wherein the terminal device further comprises:
    通信模块,用于向所述至少一个第一设备转发所述第一待处理任务。The communication module is configured to forward the first task to be processed to the at least one first device.
  19. 根据权利要求11-18中任一项所述的终端设备,其特征在于,所述终端设备还包括:The terminal device according to any one of claims 11-18, wherein the terminal device further comprises:
    通信模块,用于接收所述至少一个第二终端对所述第一待处理任务处理后的结果。The communication module is configured to receive the result of the processing of the first task to be processed by the at least one second terminal.
  20. 根据权利要求12-19中任一项所述的终端设备,其特征在于,所述通信资源包括以下任意一种或多种:The terminal device according to any one of claims 12-19, wherein the communication resource includes any one or more of the following:
    时域资源、频域资源、功率资源、码资源。Time domain resources, frequency domain resources, power resources, code resources.
  21. 一种通信设备,其特征在于,所述通信设备包括:至少一个处理器和通信接口,所述通信接口用于所述通信设备与其他通信设备进行信息交互,当程序指令在所述至少一个处理器中执行时,使得所述通信设备实现如权利要求1至10中任一项所述的方法在第一终端上的功能。A communication device, characterized in that, the communication device comprises: at least one processor and a communication interface, the communication interface is used for the communication device to exchange information with other communication devices, when the program instructions are When executed in the device, the communication device is enabled to implement the function of the method according to any one of claims 1 to 10 on the first terminal.
  22. 一种通信系统,其特征在于,所述通信系统包括第一终端和至少一个第一设备,其中,所述第一终端用于执行如权利要求1至10中任一项所述的方法。A communication system, characterized in that the communication system includes a first terminal and at least one first device, wherein the first terminal is used to execute the method according to any one of claims 1 to 10.
  23. 一种计算存储介质,其特征在于,所述计算机程序存储介质具有程序指令,当所述程序指令被直接或间接执行时,使得如权利要求1至10中任一项所述的方法在所述第一终端上的功能得以实现。A computing storage medium, characterized in that the computer program storage medium has program instructions, and when the program instructions are directly or indirectly executed, the method according to any one of claims 1 to 10 is The functions on the first terminal are realized.
PCT/CN2020/127419 2019-11-25 2020-11-09 Resource allocation method and communication device WO2021103991A1 (en)

Applications Claiming Priority (2)

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

Publications (1)

Publication Number Publication Date
WO2021103991A1 true WO2021103991A1 (en) 2021-06-03

Family

ID=75922223

Family Applications (1)

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

Country Status (2)

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

Cited By (1)

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

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104869151A (en) * 2015-04-07 2015-08-26 北京邮电大学 Business unloading method and system
WO2016026117A1 (en) * 2014-08-21 2016-02-25 华为技术有限公司 Resource allocation and service transmission method and apparatus
CN109144730A (en) * 2018-08-28 2019-01-04 北京邮电大学 Task discharging method and device under a kind of cell
CN109343904A (en) * 2018-09-28 2019-02-15 燕山大学 A kind of mist calculating dynamic offloading method based on Lyapunov optimization
CN109857546A (en) * 2019-01-03 2019-06-07 武汉理工大学 The mobile edge calculations discharging method of multiserver and device based on Lyapunov optimization
CN110262845A (en) * 2019-04-30 2019-09-20 北京邮电大学 The enabled distributed computing task discharging method of block chain and system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105830529A (en) * 2014-11-24 2016-08-03 华为技术有限公司 Communication system, base station and communication method
US9942917B2 (en) * 2015-05-14 2018-04-10 Blackberry Limited Allocating resources for a device-to-device transmission
CN109392028B (en) * 2017-08-09 2021-06-15 华为技术有限公司 Data transmission method and device
CN108924796B (en) * 2018-08-15 2020-04-07 电子科技大学 Resource allocation and unloading proportion joint decision method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016026117A1 (en) * 2014-08-21 2016-02-25 华为技术有限公司 Resource allocation and service transmission method and apparatus
CN104869151A (en) * 2015-04-07 2015-08-26 北京邮电大学 Business unloading method and system
CN109144730A (en) * 2018-08-28 2019-01-04 北京邮电大学 Task discharging method and device under a kind of cell
CN109343904A (en) * 2018-09-28 2019-02-15 燕山大学 A kind of mist calculating dynamic offloading method based on Lyapunov optimization
CN109857546A (en) * 2019-01-03 2019-06-07 武汉理工大学 The mobile edge calculations discharging method of multiserver and device based on Lyapunov optimization
CN110262845A (en) * 2019-04-30 2019-09-20 北京邮电大学 The enabled distributed computing task discharging method of block chain and system

Cited By (2)

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

Also Published As

Publication number Publication date
CN112839360A (en) 2021-05-25
CN112839360B (en) 2023-04-18

Similar Documents

Publication Publication Date Title
JP7177259B2 (en) Data transmission method and device
WO2017166141A1 (en) Data sending method and apparatus, and base station
JP6731488B2 (en) Relay transmission method and device
WO2018202178A1 (en) Beam recovery method and device
CN110461033B (en) Receive operation mode indication for power saving
CN112584545B (en) Data transmission method and device
WO2021233217A1 (en) Capability information reporting method and apparatus
WO2022042600A1 (en) Communication method, apparatus and system
KR20200116908A (en) Data transmission control method and related products
WO2018233665A1 (en) Information interaction method, first base station, second base station and mobile communication terminal
TWI775009B (en) Base station and data transmission method thereof for mobile communication system
WO2021103991A1 (en) Resource allocation method and communication device
JP7480417B2 (en) Auxiliary information transmission method, reception method, device, terminal, and network side device
CN112788698B (en) Data processing method and device and terminal equipment
WO2012058823A1 (en) Resource scheduling among multiple radio access technologies
WO2020200103A1 (en) Method for determining bearer type, and communication device
WO2022187996A1 (en) Resource regulation and control method
EP3389324B1 (en) Method and device for dividing resource
WO2021109966A1 (en) Communication processing method and communication processing apparatus
WO2017193368A1 (en) Method and device for adjusting coding rate
WO2021062827A1 (en) Communication method, apparatus and system
WO2023134689A1 (en) Carrier determining method and related apparatus
EP4082173B1 (en) Device and method for allocating delay for media processing and transmission in mobile communication network
CN111614446B (en) Communication processing method and communication processing device
WO2022163375A1 (en) First user device, second user device and base station

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20893543

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20893543

Country of ref document: EP

Kind code of ref document: A1